Opened 11 years ago

Last modified 11 years ago

#2072 closed defect

Trouble loading workspace.gxw — at Initial Version

Reported by: richardc Owned by: grass-dev@…
Priority: normal Milestone: 7.0.0
Component: wxGUI Version: unspecified
Keywords: nviz, workspace Cc:
CPU: x86-32 Platform: Linux

Description

I'm unable to load the workspace.gxw file in GRASS 7 (57592)

I receive the following error: Reading workspace file </home/user/RESEARCH/workspace_ ..GRASS7nviz.gxw> failed. Invalid file, unable to parse XML document.

Reason: invalid literal for int() with base 10: '7000.0'

Traceback (most recent call last):

File "/home/user/grass7/grass7_trunk/dist.i686-pc-linux-gnu/etc/gui/wxpython/lmgr/frame.py", line 1113, in LoadWorkspaceFile

gxwXml = ProcessWorkspaceFile(etree.parse(filename))

File "/home/user/grass7/grass7_trunk/dist.i686-pc-linux-gnu/etc/gui/wxpython/core/workspace.py", line 58, in init

self.processFile()

File "/home/user/grass7/grass7_trunk/dist.i686-pc-linux-gnu/etc/gui/wxpython/core/workspace.py", line 149, in processFile

self.processLayers(display)

File "/home/user/grass7/grass7_trunk/dist.i686-pc-linux-gnu/etc/gui/wxpython/core/workspace.py", line 176, in processLayers

cmd, selected, vdigit, nviz = self.processLayer(item)

File "/home/user/grass7/grass7_trunk/dist.i686-pc-linux-gnu/etc/gui/wxpython/core/workspace.py", line 238, in processLayer

nviz = self.processLayerNviz(node_nviz)

File "/home/user/grass7/grass7_trunk/dist.i686-pc-linux-gnu/etc/gui/wxpython/core/workspace.py", line 378, in processLayerNviz

nvizvectorpoints)

File "/home/user/grass7/grass7_trunk/dist.i686-pc-linux-gnu/etc/gui/wxpython/core/workspace.py", line 443, in processLayerNvizNode

value = cast(self.getNodeText(node_tag, 'value'))

ValueError: invalid literal for int() with base 10: '7000.0'

After deleting the following, the 'Please wait, loading workspace' notice remains visible and layers are not loaded into the 3Dview.

<size>

<value>7000.0</value> </size>

I also notice in the command console, not sure if relevant:

Loading raster map <srtm_cgiar_mosaic2_cp_int16@PERMANENT>... Translating colors from raster map <srtm_cgiar_mosaic2_cp_int16@PERMANENT>...

Change History (0)

Note: See TracTickets for help on using tickets.