Project

General

Profile

Actions

Bug #11842

open

Copy Paste broken Linux mint python 3.10

Added by Jeff Hapke 3 days ago. Updated 3 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
02/19/2025
Due date:
% Done:

0%

Estimated time:
Chirp Version:
next
Model affected:
Generic CSV
Platform:
Linux
Debug Log:
I read the instructions above:
Yes

Description

(Describe what you were doing)
Copy Paste memory locations
(Describe what you expected to happen)
Copy Paste memory locations
(Describe what actually happened instead)
ERROR: raised unexpected exception
Traceback (most recent call last):
File "/home/jhapke/.local/pipx/venvs/chirp/lib/python3.10/site-packages/chirp/wxui/common.py", line 652, in run_safe
return fn(*args, **kwargs)
File "/home/jhapke/.local/pipx/venvs/chirp/lib/python3.10/site-packages/chirp/wxui/main.py", line 1545, in menu_paste
self.current_editorset.cb_paste()
File "/home/jhapke/.local/pipx/venvs/chirp/lib/python3.10/site-packages/chirp/wxui/main.py", line 314, in cb_paste
return self.current_editor.cb_paste()
File "/home/jhapke/.local/pipx/venvs/chirp/lib/python3.10/site-packages/chirp/wxui/memedit.py", line 852, in undo_wrapper
with self.undo_context(name):
File "/usr/lib/python3.10/contextlib.py", line 135, in __enter
_
return next(self.gen)
File "/home/jhapke/.local/pipx/venvs/chirp/lib/python3.10/site-packages/chirp/wxui/memedit.py", line 967, in undo_context
self.undo_ctx = actiontype(self, name)
File "/home/jhapke/.local/pipx/venvs/chirp/lib/python3.10/site-packages/chirp/wxui/memedit.py", line 766, in __init
_
self._pre_pos = self._memedit._grid.GetGridCursorCoords()
AttributeError: 'ChirpMemoryGrid' object has no attribute 'GetGridCursorCoords'

(Has this ever worked before? New radio? Does it work with OEM software?)
this is a new chirp install on a new linux mint computer


Files

config.txt (1.62 KB) config.txt Jeff Hapke, 02/19/2025 05:51 PM
US FRS and GMRS Channels.csv (4.54 KB) US FRS and GMRS Channels.csv Jeff Hapke, 02/19/2025 05:51 PM
linux_system_info.txt (828 Bytes) linux_system_info.txt Jeff Hapke, 02/19/2025 05:51 PM
chirp_debug-mlsycfl9.txt (6.86 KB) chirp_debug-mlsycfl9.txt Jeff Hapke, 02/19/2025 07:20 PM
Actions #2

Updated by Dan Smith 3 days ago

Thanks, this is a recent regression just in the most recent build, I'm sure. Since you didn't include the full debug log (since you're running at the console I guess) it's hard to tell, but I'm sure it's because the version of wx in your Mint install is very old.

Actions #3

Updated by Dan Smith 3 days ago

Yeah, confirmed on Ubuntu 22.04 (wxPython 4.0.7). This also affected the Move Up/Down operations which have been broken for years on distros with than ancient version, even though nobody else had reported it.

Anyway, fixed for the end of week build, thanks.

Actions #4

Updated by Jeff Hapke 3 days ago

Found and adding degug log

Actions

Also available in: Atom PDF