Project

General

Profile

Actions

Bug #7869

closed

Ubuntu 18.04x64, Chirpw don't run

Added by Dae k almost 4 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
05/10/2020
Due date:
% Done:

0%

Estimated time:
Chirp Version:
daily
Model affected:
(All models)
Platform:
Linux
Debug Log:
I read the instructions above:

Description

Sudo apt install chrip
ok, everything it's fine,
when i launch it by icone, nothing do.

on terminal
chirpw

msi@msi-GS60-2PC-Ghost:~$ sudo chirpw 
Traceback (most recent call last):
  File "/usr/bin/chirpw", line 20, in 
    from chirp import logger
ModuleNotFoundError: No module named 'chirp'

ok, fine ...
sudo purge chirp && sudo autoremove
sudo add-apt-repository ppa:ubuntu-hams-updates/ppa ; sudo update ; sudo apt install chirp

ok
sudo chirpw

msi@msi-GS60-2PC-Ghost:~$ chirpw 
Traceback (most recent call last):
  File "/usr/bin/chirpw", line 20, in 
    from chirp import logger
ModuleNotFoundError: No module named 'chirp'

ok ...
sudo purge chirp && sudo autoremove
sudo apt-add-repository ppa:dansmith/chirp-snapshots : sudo apt update ; sudo apt install chirp-daily

ok
sudo chipw

SAME !

and when i try on manual...

msi@msi-GS60-2PC-Ghost:~/Chirp/chirp-daily-20200430$ ./chirpw 
Traceback (most recent call last):
  File "./chirpw", line 20, in 
    from chirp import chirp_common
  File "/home/msi/Chirp/chirp-daily-20200430/chirp/chirp_common.py", line 979
    except errors.InvalidDataError, e:
                                  ^
SyntaxError: invalid syntax

WHY ?

Lubuntu 18.04.4x64

Actions #1

Updated by Tony Fuller almost 4 years ago

It looks like python3 is being chosen to run chirpw which is not compatible. Try your last test again but with @python2 ~/Chirp/chirp-daily-20200430chirpw@

Actions #2

Updated by Dae k almost 4 years ago

msi@msi-GS60-2PC-Ghost:~/Chirp/chirp-daily-20200430$ python2 ./setup.py

No handlers could be found for logger "chirp.drivers.ga510"
make : on entre dans le répertoire « /home/msi/Chirp/chirp-daily-20200430/locale »
make: *** Aucune règle pour fabriquer la cible « clean ». Arrêt.
make : on quitte le répertoire « /home/msi/Chirp/chirp-daily-20200430/locale »
LOC: [('share/chirp/locale/de/LC_MESSAGES', ['locale/de/LC_MESSAGES/CHIRP.mo']), ('share/chirp/locale/en_US/LC_MESSAGES', ['locale/en_US/LC_MESSAGES/CHIRP.mo']), ('share/chirp/locale/es_ES/LC_MESSAGES', ['locale/es_ES/LC_MESSAGES/CHIRP.mo']), ('share/chirp/locale/fr/LC_MESSAGES', ['locale/fr/LC_MESSAGES/CHIRP.mo']), ('share/chirp/locale/hu/LC_MESSAGES', ['locale/hu/LC_MESSAGES/CHIRP.mo']), ('share/chirp/locale/it/LC_MESSAGES', ['locale/it/LC_MESSAGES/CHIRP.mo']), ('share/chirp/locale/nl/LC_MESSAGES', ['locale/nl/LC_MESSAGES/CHIRP.mo']), ('share/chirp/locale/pl/LC_MESSAGES', ['locale/pl/LC_MESSAGES/CHIRP.mo']), ('share/chirp/locale/pt_BR/LC_MESSAGES', ['locale/pt_BR/LC_MESSAGES/CHIRP.mo']), ('share/chirp/locale/ru/LC_MESSAGES', ['locale/ru/LC_MESSAGES/CHIRP.mo']), ('share/chirp/locale/uk_UA/LC_MESSAGES', ['locale/uk_UA/LC_MESSAGES/CHIRP.mo'])]
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
   or: setup.py --help [cmd1 cmd2 ...]
   or: setup.py --help-commands
   or: setup.py cmd --help

error: no commands supplied

=/

Actions #3

Updated by Dae k almost 4 years ago

oh Wait !
i have some error, but THAT WORK !
next update can support pyton 3 ?

msi@msi-GS60-2PC-Ghost:~/Chirp/chirp-daily-20200430$ sudo python2 ./chirpw
[sudo] Mot de passe de msi : 
WARNING: python-future package is not available; chirp.drivers.ga510 requires it
WARNING: python-future package is not available; chirp.drivers.tk8180 requires it

(process:4277): Gtk-WARNING **: 14:26:38.880: Locale not supported by C library.
    Using the fallback 'C' locale.

(chirpw:4277): GLib-GIO-CRITICAL **: 14:27:06.173: g_dbus_proxy_new: assertion 'G_IS_DBUS_CONNECTION (connection)' failed
ERROR: uv5r._ident_radio: Radio did not respond
ERROR: uv5r._ident_radio: Radio did not respond
ERROR: -- Exception: --
ERROR: Traceback (most recent call last):
  File "/home/msi/Chirp/chirp-daily-20200430/chirp/ui/clone.py", line 256, in run
    self.__radio.sync_in()
  File "/home/msi/Chirp/chirp-daily-20200430/chirp/drivers/uv5r.py", line 809, in sync_in
    self._mmap = _do_download(self)
  File "/home/msi/Chirp/chirp-daily-20200430/chirp/drivers/uv5r.py", line 543, in _do_download
    data = _ident_radio(radio)
  File "/home/msi/Chirp/chirp-daily-20200430/chirp/drivers/uv5r.py", line 538, in _ident_radio
    raise error
RadioError: Radio did not respond

ERROR: ----------------
ERROR: Erreur de clonage: Radio did not respond
ERROR: --- Exception Dialog: Radio did not respond ---
ERROR: None

ERROR: ----------------------------
WARNING: Bandplan North American Band Plan has duplicates [1800000-2000000 160 Meter Band simplex , 1800000-2000000 160 Meter Band simplex mode: CW ]
WARNING: Bandplan North American Band Plan has duplicates [1800000-1810000 Digimodes simplex , 1800000-1810000 Digital Modes simplex ]
WARNING: Bandplan North American Band Plan has duplicates [1999000-2000000 Beacons simplex mode: CW , 1999000-2000000 Beacons simplex ]
WARNING: Bandplan North American Band Plan has duplicates [3500000-4000000 80 Meter Band simplex , 3500000-4000000 80 Meter Band simplex ]
WARNING: Bandplan North American Band Plan has duplicates [7000000-7300000 40 Meter Band simplex , 7000000-7300000 40 Meter Band simplex ]
WARNING: Bandplan North American Band Plan has duplicates [10100000-10150000 30 Meter Band simplex , 10100000-10150000 30 Meter Band simplex ]
WARNING: Bandplan North American Band Plan has duplicates [10130000-10140000 All narrow band digimodes simplex , 10130000-10140000 RTTY simplex mode: RTTY ]
WARNING: Bandplan North American Band Plan has duplicates [10140000-10150000 All modes, digimodes, no phone simplex , 10140000-10150000 Packet simplex ]
WARNING: Bandplan North American Band Plan has duplicates [14000000-14350000 20 Meter Band simplex , 14000000-14350000 20 Meter Band simplex ]
WARNING: Bandplan North American Band Plan has duplicates [18068000-18168000 17 Meter Band simplex , 18068000-18168000 17 Meter Band simplex ]
WARNING: Bandplan North American Band Plan has duplicates [21000000-21450000 15 Meter Band simplex , 21000000-21450000 15 Meter Band simplex ]
WARNING: Bandplan North American Band Plan has duplicates [24890000-24990000 12 Meter Band simplex , 24890000-24990000 12 Meter Band simplex ]
WARNING: Bandplan North American Band Plan has duplicates [28000000-28070000 CW simplex mode: CW , 28000000-28070000 CW simplex mode: CW ]
WARNING: Bandplan North American Band Plan has duplicates [28150000-28190000 All narrow band modes, digimodes simplex , 28150000-28190000 CW simplex mode: CW ]
WARNING: Bandplan North American Band Plan has duplicates [29000000-29200000 All modes, AM preferred simplex mode: AM , 29000000-29200000 AM simplex mode: AM ]
WARNING: Bandplan North American Band Plan has duplicates [29300000-29510000 Satellite downlink simplex , 29300000-29510000 Satellite Downlinks simplex ]
WARNING: Bandplan North American Band Plan has duplicates [1800000-2000000 160 Meter Band simplex , 1800000-2000000 160 Meter Band simplex mode: CW ]
WARNING: Bandplan North American Band Plan has duplicates [1800000-1810000 Digimodes simplex , 1800000-1810000 Digital Modes simplex ]
WARNING: Bandplan North American Band Plan has duplicates [1999000-2000000 Beacons simplex mode: CW , 1999000-2000000 Beacons simplex ]
WARNING: Bandplan North American Band Plan has duplicates [3500000-4000000 80 Meter Band simplex , 3500000-4000000 80 Meter Band simplex ]
WARNING: Bandplan North American Band Plan has duplicates [7000000-7300000 40 Meter Band simplex , 7000000-7300000 40 Meter Band simplex ]
WARNING: Bandplan North American Band Plan has duplicates [10100000-10150000 30 Meter Band simplex , 10100000-10150000 30 Meter Band simplex ]
WARNING: Bandplan North American Band Plan has duplicates [10130000-10140000 All narrow band digimodes simplex , 10130000-10140000 RTTY simplex mode: RTTY ]
WARNING: Bandplan North American Band Plan has duplicates [10140000-10150000 All modes, digimodes, no phone simplex , 10140000-10150000 Packet simplex ]
WARNING: Bandplan North American Band Plan has duplicates [14000000-14350000 20 Meter Band simplex , 14000000-14350000 20 Meter Band simplex ]
WARNING: Bandplan North American Band Plan has duplicates [18068000-18168000 17 Meter Band simplex , 18068000-18168000 17 Meter Band simplex ]
WARNING: Bandplan North American Band Plan has duplicates [21000000-21450000 15 Meter Band simplex , 21000000-21450000 15 Meter Band simplex ]
WARNING: Bandplan North American Band Plan has duplicates [24890000-24990000 12 Meter Band simplex , 24890000-24990000 12 Meter Band simplex ]
WARNING: Bandplan North American Band Plan has duplicates [28000000-28070000 CW simplex mode: CW , 28000000-28070000 CW simplex mode: CW ]
WARNING: Bandplan North American Band Plan has duplicates [28150000-28190000 All narrow band modes, digimodes simplex , 28150000-28190000 CW simplex mode: CW ]
WARNING: Bandplan North American Band Plan has duplicates [29000000-29200000 All modes, AM preferred simplex mode: AM , 29000000-29200000 AM simplex mode: AM ]
WARNING: Bandplan North American Band Plan has duplicates [29300000-29510000 Satellite downlink simplex , 29300000-29510000 Satellite Downlinks simplex ]


Actions #4

Updated by Bernhard Hailer almost 4 years ago

  • Status changed from New to Feedback
  • Priority changed from Urgent to Normal

Chirp currently runs on Python 2.7, but it is gradually been updated to support Python 3.x. No, it won't be the next release, but it's being actively worked on.

Does this post help: https://chirp.danplanet.com/issues/7845#note-3 ?

Actions #5

Updated by Bernhard Hailer over 3 years ago

  • Status changed from Feedback to Closed

Appears to be resolved.

Actions

Also available in: Atom PDF