Bug #10608
closedLinux Mint 21.1 - chirp won't open a chirp .img file if the path contains a percent-sign (%).
100%
Description
In Linux Mint 21.1 I installed chirp-20230601-py3-none-any.whl according to the instructions on your web pages.
Chirp starts OK, but when I try to open a .img file (in this case the file is:
/home/dmk/daveSrc%/baofeng/Baofeng_UV-5R_20230601.img
it throws an error:
Traceback (most recent call last):
File "/home/dmk/.local/lib/python3.10/site-packages/chirp/wxui/main.py", line 1014, in menu_open
CONF.set('last_dir', d, 'state')
File "/home/dmk/.local/lib/python3.10/site-packages/chirp/wxui/config.py", line 107, in set
return self._config.set(key, value, section or self._section)
File "/home/dmk/.local/lib/python3.10/site-packages/chirp/wxui/config.py", line 58, in set
self._config.set(section, key, value)
File "/usr/lib/python3.10/configparser.py", line 1205, in set
super().set(section, option, value)
File "/usr/lib/python3.10/configparser.py", line 895, in set
value = self._interpolation.before_set(self, section, option,
File "/usr/lib/python3.10/configparser.py", line 402, in before_set
raise ValueError("invalid interpolation syntax in %r at "
ValueError: invalid interpolation syntax in '/home/dmk/daveSrc%/baofeng' at position 17
The PATH parser stops at the % sign.
Updated by Dan Smith 12 months ago
- Status changed from New to Closed
- % Done changed from 0 to 100
Applied in changeset github|c94b26bebc0a77944210c2849378cfc59dde3c53.