[GRASS-user] first littel experience with wxpython GUI

Martin Landa landa.martin at gmail.com
Thu Mar 20 08:48:51 EDT 2008


Hi,

to be more clear, for running GUI you need to have *write* permission
to the current mapset (g.tempfile is used, not tempfile from Python).
You can add other mapsets to the search patch from 'Config->GRASS
working environment->Mapset access'.

I hope this it helps.

Martin

2008/3/20, Martin Landa <landa.martin at gmail.com>:
> Hi,
>
>  2008/3/20, Dr. Manuel Seeger <seeger at uni-trier.de>:
>
> >  GRASS 6.3.svn (Attert_Praktikum):~ > ERROR: MAPSET Anne - permission denied
>  >  ERROR: MAPSET Anne - permission denied
>  >  ERROR: MAPSET Anne - permission denied
>  >  ERROR: MAPSET Anne - permission denied
>
>
> These errors are not GUI-related, you have simply no access to this
>  mapset. I will fix wxGUI not to crash. In any case you need to set up
>  permissions if you want to access this mapset.
>
>
>  Martin
>
>
>  >  GRASS_INFO_ERROR(497,1): MAPSET Anne - permission denied
>  >  GRASS_INFO_END(497,1)
>  >  Traceback (most recent call last):
>  >   File "/usr/local/grass-6.3.svn/etc/wxpython/wxgui.py", line 1360, in
>  >  <module>
>  >     sys.exit(main())
>  >   File "/usr/local/grass-6.3.svn/etc/wxpython/wxgui.py", line 1353, in main
>  >     app = GMApp(workspaceFile)
>  >   File "/usr/local/grass-6.3.svn/etc/wxpython/wxgui.py", line 1275, 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_.PyApp__BootstrapApp(*args, **kwargs)
>  >   File "/usr/local/grass-6.3.svn/etc/wxpython/wxgui.py", line 1291, in
>  >  OnInit
>  >     workspace = self.workspaceFile)
>  >   File "/usr/local/grass-6.3.svn/etc/wxpython/wxgui.py", line 157, in
>  >  __init__
>  >     self.NewDisplay(show=False)
>  >   File "/usr/local/grass-6.3.svn/etc/wxpython/wxgui.py", line 1027, in
>  >  NewDisplay
>  >     auimgr=self._auimgr, showMapDisplay=show)
>  >   File
>  >  "/usr/local/grass-6.3.svn/etc/wxpython/gui_modules/wxgui_utils.py", line
>  >  77, in __init__
>  >     self.Map = render.Map()    # instance of render.Map to be associated
>  >  with display
>  >   File "/usr/local/grass-6.3.svn/etc/wxpython/gui_modules/render.py",
>  >  line 201, in __init__
>  >     self.mapfile   = utils.GetTempfile()
>  >   File "/usr/local/grass-6.3.svn/etc/wxpython/gui_modules/utils.py",
>  >  line 41, in GetTempfile
>  >     "pid=%d" % os.getpid()])
>  >   File "/usr/local/grass-6.3.svn/etc/wxpython/gui_modules/gcmd.py", line
>  >  361, in __init__
>  >     self.PrintModuleOutput()))
>  >  gui_modules.gcmd.CmdError
>  >
>  >  Greetings
>  >  Manuel
>  >
>  >
>  >  Martin Landa schrieb:
>  >
>  > > Hi,
>  >  >
>  >  > 2008/3/18, Dr. Manuel Seeger <seeger at uni-trier.de>:
>  >  >
>  >  > [snip]
>  >  >
>  >  >>  wxpython shows all mapsets present, but then crashes when I try to
>  >  >>  access those which were created by another user. I did not see any
>  >  >>
>  >  > [snip]
>  >  >
>  >  > It seems to work on my laptop, can you send me error message, traceback?
>  >  >
>  >  > Martin
>  >  >
>  >  >
>  >
>  >
>  >  --
>  >
>  >
>  > _______________________________________________________________________
>  >  Dr. Manuel Seeger
>  >  Wiss. Assistent                         Scientific Assistant
>  >  Physische Geographie                    Dpt. of Physical Geography
>  >  FB VI - Geographie/Geowissenschaften    Geography/Geosciences
>  >  Universität Trier                       University of Trier
>  >  D - 54286 Trier
>  >  Tel.:   +49-651-201 4557
>  >  Fax:    +49-651-201 3976
>  >  Web:    http://www-neu.uni-trier.de/index.php?id=9607
>  >
>  >
>
>
>
> --
>  Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa *
>


-- 
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa *


More information about the grass-user mailing list