Opened 6 years ago
Closed 6 years ago
#3673 closed defect (fixed)
wxGUI: UnicodeEncodeError when querying vector map
Reported by: | mlennert | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 7.8.0 |
Component: | wxGUI | Version: | svn-trunk |
Keywords: | wxGUI query encoding | Cc: | |
CPU: | Unspecified | Platform: | Unspecified |
Description
Querying a vector map, I get the following error:
Traceback (most recent call last): File "/data/home/mlennert/SRC/GRASS/grass_trunk/dist.x86_64-pc- linux-gnu/gui/wxpython/mapwin/buffered.py", line 1379, in MouseActions self.OnLeftUp(event) File "/data/home/mlennert/SRC/GRASS/grass_trunk/dist.x86_64-pc- linux-gnu/gui/wxpython/mapwin/buffered.py", line 1560, in OnLeftUp y=self.mouse['end'][1]) File "/data/home/mlennert/SRC/GRASS/grass_trunk/dist.x86_64-pc- linux-gnu/etc/python/grass/pydispatch/signal.py", line 229, in emit dispatcher.send(signal=self, *args, **kwargs) File "/data/home/mlennert/SRC/GRASS/grass_trunk/dist.x86_64-pc- linux-gnu/etc/python/grass/pydispatch/dispatcher.py", line 349, in send **named File "/data/home/mlennert/SRC/GRASS/grass_trunk/dist.x86_64-pc- linux-gnu/etc/python/grass/pydispatch/robustapply.py", line 60, in robustApply return receiver(*arguments, **named) File "/data/home/mlennert/SRC/GRASS/grass_trunk/dist.x86_64-pc- linux-gnu/gui/wxpython/mapdisp/frame.py", line 912, in Query self.QueryMap(east, north, qdist, rast, vect) File "/data/home/mlennert/SRC/GRASS/grass_trunk/dist.x86_64-pc- linux-gnu/gui/wxpython/mapdisp/frame.py", line 976, in QueryMap self.dialogs['query'] = QueryDialog(parent=self, data=result) File "/data/home/mlennert/SRC/GRASS/grass_trunk/dist.x86_64-pc- linux-gnu/gui/wxpython/gui_core/query.py", line 52, in __init__ self._model = QueryTreeBuilder(self.data, column=self._colNames[1]) File "/data/home/mlennert/SRC/GRASS/grass_trunk/dist.x86_64-pc- linux-gnu/gui/wxpython/gui_core/query.py", line 238, in QueryTreeBuilder addNode(parent=model.root, data=part, model=model) File "/data/home/mlennert/SRC/GRASS/grass_trunk/dist.x86_64-pc- linux-gnu/gui/wxpython/gui_core/query.py", line 227, in addNode addNode(parent=node, data=v, model=model) File "/data/home/mlennert/SRC/GRASS/grass_trunk/dist.x86_64-pc- linux-gnu/gui/wxpython/gui_core/query.py", line 227, in addNode addNode(parent=node, data=v, model=model) File "/data/home/mlennert/SRC/GRASS/grass_trunk/dist.x86_64-pc- linux-gnu/gui/wxpython/gui_core/query.py", line 230, in addNode v = str(v) UnicodeEncodeError : 'ascii' codec can't encode character u'\xe8' in position 25: ordinal not in range(128)
g.version -g version=7.7.svn date=2018 revision=r73472M build_date=2018-10-01 build_platform=x86_64-pc-linux-gnu build_off_t_size=8
Change History (3)
follow-up: 3 comment:1 by , 6 years ago
comment:3 by , 6 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
In 73493: