[chirp_users] chirp on CentOS 7
I've had chirp running previously but that was a couple of years ago and I think I had CentOS 6 then. When I download the latest version OR run the version from the epel repo I get the following error:
$ chirpw Traceback (most recent call last): File "/usr/bin/chirpw", line 24, in <module> from chirp.drivers import * File "/usr/lib/python2.7/site-packages/chirp/drivers/idrp.py", line 16, in <module> import serial File "/usr/lib/python2.7/site-packages/serial-0.0.97-py2.7.egg/serial/__init__.py", line 10, in <module> from . import utilities, abc, model, marshal, errors, properties, meta, hooks, test, request File "/usr/lib/python2.7/site-packages/serial-0.0.97-py2.7.egg/serial/model.py", line 1291 exec(source, namespace) SyntaxError: unqualified exec is not allowed in function 'from_meta' it contains a nested function with free variables
I'm running the python 2.7.5 which came with CentOS 7.
I've googled this and can't find anything related to chirp. There are some who claim it's a python bug but that seems unlikely as this is a very well used and tested version of python. Any ideas?
I'm looking forward to getting my FT-60 which somehow lost all of its memory reloaded with my repeaters.
Thanks!
Yeasu doesn't support Chirp. They're a Windows supported product only and that CHIRP could Damage the Radio's beyond Repair. I was also told that they don't support Linux only Windows.Kinda of Sucks but that's what there Policy is.
John KA3USB
On Wed, Jul 3, 2019, 12:24 AM Tracy Reed treed@ultraviolet.org wrote:
I've had chirp running previously but that was a couple of years ago and I think I had CentOS 6 then. When I download the latest version OR run the version from the epel repo I get the following error:
$ chirpw Traceback (most recent call last): File "/usr/bin/chirpw", line 24, in <module> from chirp.drivers import * File "/usr/lib/python2.7/site-packages/chirp/drivers/idrp.py", line 16, in <module> import serial File "/usr/lib/python2.7/site-packages/serial-0.0.97-py2.7.egg/serial/__init__.py", line 10, in <module> from . import utilities, abc, model, marshal, errors, properties, meta, hooks, test, request File "/usr/lib/python2.7/site-packages/serial-0.0.97-py2.7.egg/serial/model.py", line 1291 exec(source, namespace) SyntaxError: unqualified exec is not allowed in function 'from_meta' it contains a nested function with free variables
I'm running the python 2.7.5 which came with CentOS 7.
I've googled this and can't find anything related to chirp. There are some who claim it's a python bug but that seems unlikely as this is a very well used and tested version of python. Any ideas?
I'm looking forward to getting my FT-60 which somehow lost all of its memory reloaded with my repeaters.
Thanks!
-- Tracy Reed _______________________________________________ chirp_users mailing list chirp_users@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_users This message was sent to John at beall.john@gmail.com To unsubscribe, send an email to chirp_users-unsubscribe@intrepid.danplanet.com
But Chirp definitely supports Yaesu radios.
What Yaesu does is compleatly irrelevant.
He may well have a Python library missing.
On 03 July 2019 at 03:17 John Beall beall.john@gmail.com wrote: Yeasu doesn't support Chirp.
I have a CentOS7 box here, so I just installed Chirp from the EPEL repository, and it fires up fine. The install pulled in pyserial and python-suds as dependencies.
=========================================================================================================================== Package Arch Version Repository Size =========================================================================================================================== Installing: chirp noarch 20190410-1.el7 epel 1.3 M Installing for dependencies: pyserial noarch 2.6-6.el7 base 124 k python-suds noarch 0.4.1-5.el7 base 204 k
Looking at the system here, I don't have a serial-0.9.97 anywhere in site packages, but it appears in your stacktrace. I suspect a only or conflicting version of that and/or pyserial.
mike, kj6vcp
Hello Tracy,
Here are my compiling steps for Centos6 and they might point out an issue in your PythonSerial (not PySerial) setup:
http://www.trinityos.com/HAM/CentosDigitalModes/hampacketizing-centos.html#3...
--David KI6ZHD
On 06/30/2019 11:30 PM, Tracy Reed wrote:
I've had chirp running previously but that was a couple of years ago and I think I had CentOS 6 then. When I download the latest version OR run the version from the epel repo I get the following error:
$ chirpw Traceback (most recent call last): File "/usr/bin/chirpw", line 24, in <module> from chirp.drivers import * File "/usr/lib/python2.7/site-packages/chirp/drivers/idrp.py", line 16, in <module> import serial File "/usr/lib/python2.7/site-packages/serial-0.0.97-py2.7.egg/serial/__init__.py", line 10, in <module> from . import utilities, abc, model, marshal, errors, properties, meta, hooks, test, request File "/usr/lib/python2.7/site-packages/serial-0.0.97-py2.7.egg/serial/model.py", line 1291 exec(source, namespace) SyntaxError: unqualified exec is not allowed in function 'from_meta' it contains a nested function with free variables
I'm running the python 2.7.5 which came with CentOS 7.
I've googled this and can't find anything related to chirp. There are some who claim it's a python bug but that seems unlikely as this is a very well used and tested version of python. Any ideas?
I'm looking forward to getting my FT-60 which somehow lost all of its memory reloaded with my repeaters.
Thanks!
Just an FYI but I maintain chirp for EL 7 via Fedora EPEL...
https://fedoraproject.org/wiki/EPEL
Thanks, Richard
On Sun, 30 Jun 2019 23:30:33 -0700 Tracy Reed treed@ultraviolet.org wrote:
I've had chirp running previously but that was a couple of years ago and I think I had CentOS 6 then. When I download the latest version OR run the version from the epel repo I get the following error:
$ chirpw Traceback (most recent call last): File "/usr/bin/chirpw", line 24, in <module> from chirp.drivers import * File "/usr/lib/python2.7/site-packages/chirp/drivers/idrp.py", line 16, in <module> import serial File "/usr/lib/python2.7/site-packages/serial-0.0.97-py2.7.egg/serial/__init__.py", line 10, in <module> from . import utilities, abc, model, marshal, errors, properties, meta, hooks, test, request File "/usr/lib/python2.7/site-packages/serial-0.0.97-py2.7.egg/serial/model.py", line 1291 exec(source, namespace) SyntaxError: unqualified exec is not allowed in function 'from_meta' it contains a nested function with free variables
I'm running the python 2.7.5 which came with CentOS 7.
I've googled this and can't find anything related to chirp. There are some who claim it's a python bug but that seems unlikely as this is a very well used and tested version of python. Any ideas?
I'm looking forward to getting my FT-60 which somehow lost all of its memory reloaded with my repeaters.
Thanks!
After doing a fresh install of Fedora 30, I had to manually install this - python2-pyserial-3.4-2fc30.noarch - for chirp to work.
On Wed, Jul 3, 2019 at 12:12 PM Fred fredferickson@gmail.com wrote:
After doing a fresh install of Fedora 30, I had to manually install this - python2-pyserial-3.4-2fc30.noarch - for chirp to work.
You shouldn't have had to do that...
$ rpm -q --requires chirp /usr/bin/python2 pygtk2 python(abi) = 2.7 python2-libxml2 python2dist(pyserial) python2dist(suds-jurko)
$ rpm -q --provides python2-pyserial pyserial = 3.4-2.fc30 python-pyserial = 3.4-2.fc30 python2-pyserial = 3.4-2.fc30 python2.7dist(pyserial) = 3.4 python2dist(pyserial) = 3.4
So chirp on Fedora requires "python2dist(pyserial)" which the python2-pyserial package provides. It should have been picked up automatically...
Thanks, Richard
On Wed, 3 Jul 2019 16:44:16 -0500 Richard Shaw hobbes1069@gmail.com wrote:
On Wed, Jul 3, 2019 at 12:12 PM Fred fredferickson@gmail.com wrote:
After doing a fresh install of Fedora 30, I had to manually install this - python2-pyserial-3.4-2fc30.noarch - for chirp to work.
You shouldn't have had to do that...
$ rpm -q --requires chirp /usr/bin/python2 pygtk2 python(abi) = 2.7 python2-libxml2 python2dist(pyserial) python2dist(suds-jurko)
$ rpm -q --provides python2-pyserial pyserial = 3.4-2.fc30 python-pyserial = 3.4-2.fc30 python2-pyserial = 3.4-2.fc30 python2.7dist(pyserial) = 3.4 python2dist(pyserial) = 3.4
So chirp on Fedora requires "python2dist(pyserial)" which the python2-pyserial package provides. It should have been picked up automatically...
Thanks, Richard
I've never had to do it before with Fedora either. I didn't mention that my fresh install of Fedora 30 was the beta (Mate desktop) version. Since the op was using Centos, I thought it wouldn't matter.
Thanks for your answers.
Fred
participants (7)
-
David Ranch
-
Fred
-
John Beall
-
Michael Pittaro
-
Nigel A. Gunn G8IFF/W8IFF
-
Richard Shaw
-
Tracy Reed