Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#2843 closed defect (invalid)

g.gui fails to import set_gui_path

Reported by: marisn Owned by:
Priority: major Milestone: 7.2.0
Component: Python Version: svn-trunk
Keywords: Cc:
CPU: Unspecified Platform: Unspecified

Description

GRASS 7 trunk after svn up && make distclean && conf && make (repeated the dance twice to confirm it)

Something missing after r67326 and r67311?

g.gui
Launching <wxpython> GUI in the background, please wait...
Traceback (most recent call last):
  File "/home/maris/soft/grass_trunk/dist.x86_64-pc-linux-gnu/gui/wxpython/wxgui.py", line 146, in <module>
    sys.exit(main())
  File "/home/maris/soft/grass_trunk/dist.x86_64-pc-linux-gnu/gui/wxpython/wxgui.py", line 133, in main
    app = GMApp(workspaceFile)
  File "/home/maris/soft/grass_trunk/dist.x86_64-pc-linux-gnu/gui/wxpython/wxgui.py", line 47, in __init__
    wx.App.__init__(self, False)
  File "/usr/lib64/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py", line 8628, in __init__
    self._BootstrapApp()
  File "/usr/lib64/python2.7/site-packages/wx-3.0-gtk2/wx/_core.py", line 8196, in _BootstrapApp
    return _core_.PyApp__BootstrapApp(*args, **kwargs)
  File "/home/maris/soft/grass_trunk/dist.x86_64-pc-linux-gnu/gui/wxpython/wxgui.py", line 80, in OnInit
    from lmgr.frame import GMFrame
  File "/home/maris/soft/grass_trunk/dist.x86_64-pc-linux-gnu/gui/wxpython/lmgr/frame.py", line 50, in <module>
    from lmgr.layertree        import LayerTree, LMIcons
  File "/home/maris/soft/grass_trunk/dist.x86_64-pc-linux-gnu/gui/wxpython/lmgr/layertree.py", line 36, in <module>
    from gui_core.forms       import GUI
  File "/home/maris/soft/grass_trunk/dist.x86_64-pc-linux-gnu/gui/wxpython/gui_core/forms.py", line 85, in <module>
    from grass.script.setup import set_gui_path
ImportError: cannot import name set_gui_path

Change History (2)

comment:1 by marisn, 8 years ago

Resolution: invalid
Status: newclosed

For some reason setup.py file was marked as deleted in my SVN checkout. Although it doesn't make any sense (read - I have no idea why it was so), svn revert fixed the issue.

Sorry for noise.

comment:2 by neteler, 8 years ago

Milestone: 7.1.07.2.0

Milestone renamed

Note: See TracTickets for help on using tickets.