Bug #7099
closedChirp wont run in Ubuntu
0%
Description
I wasn't able to get CHIRP to open after installing from the PPA so I downloaded the tar. I’m running Ubuntu 19.04 and have installed: python-gtk2, python-serial, python-libxml2. When I try to run the chirpw file downloaded directly form the site I get an error and it doesn't open. I think this might affect both the PPA and tar download. I am able to download and install this build on Windows 10.
Steps to reproduce:
1st Download chirp-daily-20190905.tar.gz
2nd tar chirp-daily-20190905.tar.gz
3rd cd chirp-daily-20190905
4th ./chirpw
5th Get error:
$ ./chirpw
Traceback (most recent call last):
File "./chirpw", line 20, in
from chirp import chirp_common
File "/home/cdbingham/Desktop/chirp-daily-20190905/chirp/chirp_common.py", line 979
except errors.InvalidDataError, e:
^
If you need any more information let me know. Thanks in advance.
Files
Updated by Dan Smith over 5 years ago
You're probably running it with python3 unintentionally. Try:
$ python2 chirpw
or
$ python2.7 chirpw
You might also run "dpkg -L" on whatever your python2-having package is to see where the python 2.x interpreter is.
Updated by Charles Bingham about 5 years ago
When I run python -V I get: Python 3.7.3. So your right it’s not running 2 or 2.7.
When I specifically try python2 or python2.7, CHIRP now runs. I did get the following in the terminal, so I installed python-future:
$ python2 chirpw
WARNING: python-future package is not available; chirp.drivers.tk8180 requires it
I am now able to run the tar package thanks.
However, I'm still not able to get the package from the PPA to fully load. Is this related to the python version? I don’t know how to change that. When I try to open it from the applications list it starts to run but never fully loads (CHIRP in bar with spinning icon). I have attached the log file.
Updated by Charles Bingham about 5 years ago
For some reason it cut off the bottom of the log file.
[2019-09-24 15:05:11,924] chirp.ui.mainapp - INFO: Skipping existing stock config
[2019-09-24 15:05:11,925] chirp.ui.mainapp - INFO: Skipping existing stock config
[2019-09-24 15:05:11,926] chirp.ui.reporting - INFO: Not reporting due to recent failure
[2019-09-24 15:05:11,926] chirp.ui.reporting - DEBUG: Reporting is disabled
Updated by Tony Fuller about 5 years ago
WARNING: python-future package is not available; chirp.drivers.tk8180 requires it
Try running sudo -H pip install future to get the future package.
However, I'm still not able to get the package from the PPA to fully load
What is the error that apt-get install gives you?
Updated by Bernhard Hailer almost 5 years ago
- Status changed from New to Feedback
- Priority changed from High to Normal
Is this resolved?
Updated by Bernhard Hailer over 4 years ago
- Status changed from Feedback to Closed
No more feedback by submitter.