Opened 11 years ago

Closed 11 years ago

#366 closed defect (fixed)

ValueError: unsupported format character '<' (0x3c) at index 4

Reported by: scizmeli Owned by: martinl
Priority: major Milestone: 6.4.0
Component: wxGUI Version: svn-trunk
Keywords: ValueError: unsupported format characte Cc: grass-dev@…
CPU: x86-32 Platform: Linux

Description

On a fresh Debian testing upgrade, I installed grass-6.4.svn-i686-pc-linux-gnu-11_10_2008.tar.gz. I launch grass, select the spearfish dataset and when I press the "Start GRASS" button, it creashes, giving me the following error in the command line :

GRASS 6.4.svn (spearfish60):~ > Traceback (most recent call last):

File "/usr/local/./grass-6.4.svn-11_10_2008/etc/wxpython/wxgui.py", line 1566, in <module>

sys.exit(main())

File "/usr/local/./grass-6.4.svn-11_10_2008/etc/wxpython/wxgui.py", line 1559, in main

app = GMApp(workspaceFile)

File "/usr/local/./grass-6.4.svn-11_10_2008/etc/wxpython/wxgui.py", line 1481, in init

wx.App.init(self, False)

File "/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 7836, in init

self._BootstrapApp()

File "/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 7433, in _BootstrapApp

return _core_.PyAppBootstrapApp(*args, kwargs)

File "/usr/local/./grass-6.4.svn-11_10_2008/etc/wxpython/wxgui.py", line 1497, in OnInit?

workspace = self.workspaceFile)

File "/usr/local/./grass-6.4.svn-11_10_2008/etc/wxpython/wxgui.py", line 177, in init

self.NewDisplay?(show=False)

File "/usr/local/./grass-6.4.svn-11_10_2008/etc/wxpython/wxgui.py", line 1162, in NewDisplay?

auimgr=self._auimgr, showMapDisplay=show)

File "/usr/local/grass-6.4.svn-11_10_2008/etc/wxpython/gui_modules/wxgui_utils.py", line 81, in init

self.Map = render.Map() # instance of render.Map to be associated with display

File "/usr/local/grass-6.4.svn-11_10_2008/etc/wxpython/gui_modules/render.py", line 386, in init

self.InitRegion?()

File "/usr/local/grass-6.4.svn-11_10_2008/etc/wxpython/gui_modules/render.py", line 413, in InitRegion?

self.GetWindow?()

File "/usr/local/grass-6.4.svn-11_10_2008/etc/wxpython/gui_modules/render.py", line 458, in GetWindow?

sys.stderr.write("%s %<s>: %s" % (_("Unable to open file"), windfile, e))

ValueError?: unsupported format character '<' (0x3c) at index 4

Attachments (1)

python-bugreport.txt (7.9 KB) - added by scizmeli 11 years ago.
Bug Buddy Python report file

Download all attachments as: .zip

Change History (4)

Changed 11 years ago by scizmeli

Attachment: python-bugreport.txt added

Bug Buddy Python report file

comment:1 Changed 11 years ago by martinl

Owner: changed from grass-dev@… to martinl
Status: newassigned

Fixed in r34339 (6.4) and r34339 (7.0). Now wxGUI should be quited properly when WIND file cannot be read. Please test it out.

comment:2 Changed 11 years ago by martinl

Cc: grass-dev@… added

comment:3 Changed 11 years ago by martinl

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.