Project

General

Profile

Actions

Bug #10302

closed

Linux fails bank editor with older wxpython

Added by Dan Smith almost 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
01/20/2023
Due date:
% Done:

100%

Estimated time:
Chirp Version:
next (py3)
Model affected:
Any with a bank
Platform:
Linux
Debug Log:
I read the instructions above:

Description

wxPython is missing GridSelectNone on <= 4.2.0:

Traceback (most recent call last):
  File "/danplanet/users/dan/dev/chirp.git/chirp/wxui/common.py", line 448, in run_safe
    return fn(*args, **kwargs)
  File "/danplanet/users/dan/dev/chirp.git/chirp/wxui/main.py", line 392, in open_file
    editorset = ChirpEditorSet(radio, filename, self._editors)
  File "/danplanet/users/dan/dev/chirp.git/chirp/wxui/main.py", line 128, in __init__
    banks = self.BANK_CLS(radio, self._editors)
  File "/danplanet/users/dan/dev/chirp.git/chirp/wxui/bankedit.py", line 83, in __init__
    self._grid.SetSelectionMode(wx.grid.Grid.GridSelectNone)
AttributeError: type object 'Grid' has no attribute 'GridSelectNone'
Actions

Also available in: Atom PDF