[chirp_users] help running chirp-next on RPI
I have no luck trying to find the base program ..on the latest builds tarball for chirp-next
I have had no issue running chirp and running chirpw
Must be missing something very basic but I dont see any docs to guide me
THanks in advance
Robert Cartier kd1jg@icloud.com mailto:kd1jg@icloud.com
Any answers to this request?. I'm seeking elucidation too ! 73 Mike
===
On 13/01/2023 02:18, Robert Cartier via chirp_users wrote:
I have no luck trying to find the base program ..on the latest builds tarball for chirp-next
I have had no issue running chirp and running chirpw
Must be missing something very basic but I dont see any docs to guide me
THanks in advance
Robert Cartier kd1jg@icloud.com
chirp_users mailing list chirp_users@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_users This message was sent to Mike atpencoys@gmail.com To unsubscribe, send an email tochirp_users-unsubscribe@intrepid.danplanet.com To report this email as off-topic, please emailchirp_users-owner@intrepid.danplanet.com Searchable archive:https://www.mail-archive.com/chirp_users@intrepid.danplanet.com
Any answers to this request?. I'm seeking elucidation too ! 73 Mike
Try this:
$ sudo apt install git python3-wxgtk4.0 python3-serial python3-six python3-future python3-requests python3-pip
Then grab the tarball and run "pip install" on the tarball. Let me know if that works on the pi and I'll update the website docs.
--Dan
Dan, dont you mean 'pip3 install'.
It ran ok but with the warnings below. I have no idea where is put the files though. I cannot see them in my 'home' directory tree.
WARNING: Built wheel for chirp is invalid: Metadata 1.2 mandates PEP 440 version, but 'next-20230114' is not Failed to build chirp Installing collected packages: zipp, yattag, importlib-resources, chirp Running setup.py install for chirp ... done DEPRECATION: chirp was installed using the legacy 'setup.py install' method, because a wheel could not be built for it. pip 21.0 will remove support for this functionality. A possible replacement is to fix the wheel build issue reported above. You can find discussion regarding this at https://github.com/pypa/pip/issues/8368. Successfully installed chirp-next-20230114 importlib-resources-5.10.2 yattag-1.15.0 zipp-3.11.0 pi@RPi4-3:~/Downloads $
On 14/01/2023 15:14, Dan Smith via chirp_users wrote:
$ sudo apt install git python3-wxgtk4.0 python3-serial python3-six python3-future python3-requests python3-pip
Then grab the tarball and run "pip install" on the tarball. Let me know if that works on the pi and I'll update the website docs.
--Dan
Dan, dont you mean 'pip3 install'.
It depends on the system, but if you have a pip3, then yes.
It ran ok but with the warnings below. I have no idea where is put the files though. I cannot see them in my 'home' directory tree.
WARNING: Built wheel for chirp is invalid: Metadata 1.2 mandates PEP 440 version, but 'next-20230114' is not Failed to build chirp Installing collected packages: zipp, yattag, importlib-resources, chirp Running setup.py install for chirp ... done DEPRECATION: chirp was installed using the legacy 'setup.py install' method, because a wheel could not be built for it. pip 21.0 will remove support for this functionality. A possible replacement is to fix the wheel build issue reported above. You can find discussion regarding this at https://github.com/pypa/pip/issues/8368. Successfully installed chirp-next-20230114 importlib-resources-5.10.2 yattag-1.15.0 zipp-3.11.0 pi@RPi4-3:~/Downloads $
If you ran it as your own user, then ~/.local/bin is where they are. If you run it as root, it should put it in /usr/local/bin.
--Dan
At present I don't have a radio that chirp talks to so I'm unable to test further, but 'chirp-latest' appears to be functional on my Raspberry Pi 4 following the info in this thread. 73 Mike G8NXD.
====
$ sudo apt install git python3-wxgtk4.0 python3-serial python3-six python3-future python3-requests python3-pip
Then grab the tarball and run "pip install" on the tarball
If you ran the above as your own user, then ~/.local/bin is where they are. If you ran it as root, it should put it in /usr/local/bin. ====
Are there not any problems installing it as root?
----- Original Message ----- From: "Mike W" pencoys@gmail.com To: "Dan Smith via chirp_users" chirp_users@intrepid.danplanet.com Sent: Saturday, January 14, 2023 4:12 PM Subject: Re: [chirp_users] help running chirp-next on RPI
At present I don't have a radio that chirp talks to so I'm unable to test further, but 'chirp-latest' appears to be functional on my Raspberry Pi 4 following the info in this thread. 73 Mike G8NXD.
====
$ sudo apt install git python3-wxgtk4.0 python3-serial python3-six python3-future python3-requests python3-pip
Then grab the tarball and run "pip install" on the tarball
If you ran the above as your own user, then ~/.local/bin is where they are. If you ran it as root, it should put it in /usr/local/bin. ====
_______________________________________________ chirp_users mailing list chirp_users@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_users This message was sent to K0LNY at glenn@ervin.email To unsubscribe, send an email to chirp_users-unsubscribe@intrepid.danplanet.com To report this email as off-topic, please email chirp_users-owner@intrepid.danplanet.com Searchable archive: https://www.mail-archive.com/chirp_users@intrepid.danplanet.com
Works marginally, builds, installs, runs, however it seems to have some kind of a window rendering issue. Download seems to work, but doesnt render result window. Open stock lists yields a popup box attached.
Console spews this:
pi@raspberrypi:~/.local/bin $ ./chirp WARNING: Did not find localedir: /home/pi/.local/lib/python3.7/site-packages/chirp/locale
(chirp:2413): Gtk-CRITICAL **: 04:58:49.028: gtk_distribute_natural_allocation: assertion 'extra_space >= 0' failed ERROR: <function ChirpMain.open_file at 0x7190d588> raised unexpected exception Traceback (most recent call last): File "/home/pi/.local/lib/python3.7/site-packages/chirp/wxui/common.py", line 448, in run_safe return fn(*args, **kwargs) File "/home/pi/.local/lib/python3.7/site-packages/chirp/wxui/main.py", line 386, in open_file editorset = ChirpEditorSet(radio, filename, self._editors) File "/home/pi/.local/lib/python3.7/site-packages/chirp/wxui/main.py", line 119, in __init__ edit = self.MEMEDIT_CLS(radio, self._editors) File "/home/pi/.local/lib/python3.7/site-packages/chirp/wxui/memedit.py", line 465, in __init__ self.set_cell_attrs() File "/home/pi/.local/lib/python3.7/site-packages/chirp/wxui/memedit.py", line 482, in set_cell_attrs attr.SetFitMode(wx.grid.GridFitMode.Ellipsize()) AttributeError: 'GridCellAttr' object has no attribute 'SetFitMode'
(chirp:2413): Gtk-WARNING **: 04:58:58.917: Negative content width -4 (allocation 6, extents 5x5) while allocating gadget (node notebook, owner GtkNotebook)
My p Pi 3B Linux raspberrypi 5.10.103-v7+ #1529 SMP Tue Mar 8 12:21:37 GMT 2022 armv7l GNU/Linux
On Jan 14, 2023, at 7:14 AM, Dan Smith via chirp_users chirp_users@intrepid.danplanet.com wrote:
Any answers to this request?. I'm seeking elucidation too ! 73 Mike
Try this:
$ sudo apt install git python3-wxgtk4.0 python3-serial python3-six python3-future python3-requests python3-pip
Then grab the tarball and run "pip install" on the tarball. Let me know if that works on the pi and I'll update the website docs.
--Dan _______________________________________________ chirp_users mailing list chirp_users@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_users This message was sent to Lynda Leung at x-rogue@mermaid.org To unsubscribe, send an email to chirp_users-unsubscribe@intrepid.danplanet.com To report this email as off-topic, please email chirp_users-owner@intrepid.danplanet.com Searchable archive: https://www.mail-archive.com/chirp_users@intrepid.danplanet.com
(chirp:2413): Gtk-CRITICAL **: 04:58:49.028: gtk_distribute_natural_allocation: assertion 'extra_space >= 0' failed ERROR: <function ChirpMain.open_file at 0x7190d588> raised unexpected exception Traceback (most recent call last): File "/home/pi/.local/lib/python3.7/site-packages/chirp/wxui/common.py", line 448, in run_safe return fn(*args, **kwargs) File "/home/pi/.local/lib/python3.7/site-packages/chirp/wxui/main.py", line 386, in open_file editorset = ChirpEditorSet(radio, filename, self._editors) File "/home/pi/.local/lib/python3.7/site-packages/chirp/wxui/main.py", line 119, in __init__ edit = self.MEMEDIT_CLS(radio, self._editors) File "/home/pi/.local/lib/python3.7/site-packages/chirp/wxui/memedit.py", line 465, in __init__ self.set_cell_attrs() File "/home/pi/.local/lib/python3.7/site-packages/chirp/wxui/memedit.py", line 482, in set_cell_attrs attr.SetFitMode(wx.grid.GridFitMode.Ellipsize()) AttributeError: 'GridCellAttr' object has no attribute 'SetFitMode'
This is likely due to an insufficiently new wx library. Please file a bug!
--Dan
Hello Dan,
Was just going to open a new issue, but looks like you’ve already beat me to it. Do you want me to add any additional information to the ticket as you sort of already know the wxPython version is the issue?
Further more, Im running the current 32bit Raspbian (armhf). I’ll hold off upgrading to the new ARM64 architecture until we’ll get the base installation working first.
Lynda
On Jan 15, 2023, at 7:48 AM, Dan Smith via chirp_users chirp_users@intrepid.danplanet.com wrote:
(chirp:2413): Gtk-CRITICAL **: 04:58:49.028: gtk_distribute_natural_allocation: assertion 'extra_space >= 0' failed ERROR: <function ChirpMain.open_file at 0x7190d588> raised unexpected exception Traceback (most recent call last): File "/home/pi/.local/lib/python3.7/site-packages/chirp/wxui/common.py", line 448, in run_safe return fn(*args, **kwargs) File "/home/pi/.local/lib/python3.7/site-packages/chirp/wxui/main.py", line 386, in open_file editorset = ChirpEditorSet(radio, filename, self._editors) File "/home/pi/.local/lib/python3.7/site-packages/chirp/wxui/main.py", line 119, in __init__ edit = self.MEMEDIT_CLS(radio, self._editors) File "/home/pi/.local/lib/python3.7/site-packages/chirp/wxui/memedit.py", line 465, in __init__ self.set_cell_attrs() File "/home/pi/.local/lib/python3.7/site-packages/chirp/wxui/memedit.py", line 482, in set_cell_attrs attr.SetFitMode(wx.grid.GridFitMode.Ellipsize()) AttributeError: 'GridCellAttr' object has no attribute 'SetFitMode'
This is likely due to an insufficiently new wx library. Please file a bug!
--Dan _______________________________________________ chirp_users mailing list chirp_users@intrepid.danplanet.com http://intrepid.danplanet.com/mailman/listinfo/chirp_users This message was sent to Lynda Leung at x-rogue@mermaid.org To unsubscribe, send an email to chirp_users-unsubscribe@intrepid.danplanet.com To report this email as off-topic, please email chirp_users-owner@intrepid.danplanet.com Searchable archive: https://www.mail-archive.com/chirp_users@intrepid.danplanet.com
Was just going to open a new issue, but looks like you’ve already beat me to it. Do you want me to add any additional information to the ticket as you sort of already know the wxPython version is the issue?
I was able to reproduce it so I figured I'd just open it since nobody else had yet, so I'm good thanks.
Further more, Im running the current 32bit Raspbian (armhf). I’ll hold off upgrading to the new ARM64 architecture until we’ll get the base installation working first.
Shouldn't make any difference, FWIW.
--Dan
participants (5)
-
Dan Smith
-
K0LNY_Glenn
-
Lynda Leung
-
Mike W
-
Robert Cartier