[GRASS-dev] [GRASS-SVN] r60679 - grass/trunk/lib/python/script

Anna Petrášová kratochanna at gmail.com
Mon Jul 7 12:58:55 PDT 2014


On Sun, Jul 6, 2014 at 3:59 AM, Helmut Kudrnovsky <hellik at web.de> wrote:

> Martin Landa wrote
> > Hi,
> >
> > 2014-07-02 20:54 GMT+02:00 Martin Landa <
>
> > landa.martin@
>
> > >:
> >>> It's because it can't find v.in.gps. I suggest to add to the patch
> >>> something like this:
> >>
> >> thanks, I included modified patch to the next build n1011. Martin
> >
> > seems to be set forward, committed as r61135, feel free to improve.
> Martin
>
> tested with:
>
> GRASS 7.1.svn> g.version -g
> version=7.1.svn
> date=2014
> revision=61158
> build_date=2014-07-06
> build_platform=i686-pc-mingw32
>
> it fails with:
>
> Launching <wxpython> GUI in the background, please wait...
> GRASS 7.1.svn> Traceback (most recent call last):
>   File "C:\OSGeo4W\apps\grass\grass-7.1.svn\gui\wxpython\wxgui.py", line
> 138, in
>  <module>
>     sys.exit(main())
>   File "C:\OSGeo4W\apps\grass\grass-7.1.svn\gui\wxpython\wxgui.py", line
> 131, in
>  main
>     app = GMApp(workspaceFile)
>   File "C:\OSGeo4W\apps\grass\grass-7.1.svn\gui\wxpython\wxgui.py", line
> 45,
> in
> __init__
>     wx.App.__init__(self, False)
>   File
> "C:\OSGeo4W\apps\Python27\lib\site-packages\wx-2.8-msw-unicode\wx\_core.p
> y", line 7981, in __init__
>     self._BootstrapApp()
>   File
> "C:\OSGeo4W\apps\Python27\lib\site-packages\wx-2.8-msw-unicode\wx\_core.p
> y", line 7555, in _BootstrapApp
>     return _core_.PyApp__BootstrapApp(*args, **kwargs)
>   File "C:\OSGeo4W\apps\grass\grass-7.1.svn\gui\wxpython\wxgui.py", line
> 79,
> in
> OnInit
>     workspace = self.workspaceFile)
>   File "C:\OSGeo4W\apps\grass\grass-7.1.svn\gui\wxpython\lmgr\frame.py",
> line 12
> 1, in __init__
>     self._moduleTreeBuilder = LayerManagerModuleTree()
>   File "C:\OSGeo4W\apps\grass\grass-7.1.svn\gui\wxpython\lmgr\menudata.py",
> line
>  62, in __init__
>     MenuTreeModelBuilder.__init__(self, filename,
> expandAddons=expandAddons)
>   File "C:\OSGeo4W\apps\grass\grass-7.1.svn\gui\wxpython\core\menutree.py",
> line
>  66, in __init__
>     expAddons(xmlTree)
>   File
> "C:\OSGeo4W\apps\grass\grass-7.1.svn\gui\wxpython\core\toolboxes.py",
> lin
> e 271, in expandAddons
>     _expandAddonsItem(root)
>   File
> "C:\OSGeo4W\apps\grass\grass-7.1.svn\gui\wxpython\core\toolboxes.py",
> lin
> e 431, in _expandAddonsItem
>     addons = _getAddons()
>   File
> "C:\OSGeo4W\apps\grass\grass-7.1.svn\gui\wxpython\core\toolboxes.py",
> lin
> e 404, in _getAddons
>     flags='a').splitlines())
>   File "C:\OSGeo4W\apps\grass\grass-7.1.svn\gui\wxpython\core\gcmd.py",
> line
> 704
> , in RunCommand
>     ps = grass.start_command(GetRealCmd(prog), flags, overwrite, quiet,
> verbose,
>  **kwargs)
>   File
> "C:\OSGeo4W\apps\grass\grass-7.1.svn\etc\python\grass\script\core.py", li
> ne 354, in start_command
>     return Popen(args, **popts)
>   File
> "C:\OSGeo4W\apps\grass\grass-7.1.svn\etc\python\grass\script\core.py", li
> ne 58, in __init__
>     raise OSError
> OSError
>
>
>
It's because gui doesn't reflect recent changes by Martin.  I temporarily
fixed it in r61171 but I don't really understand current status, is it
still work in progress? By the way the Popen class should be changed
according two Glynn's suggestions to let Popen throw the error.

Anna



> -----
> best regards
> Helmut
> --
> View this message in context:
> http://osgeo-org.1560.x6.nabble.com/Re-GRASS-SVN-r60679-grass-trunk-lib-python-script-tp5143645p5149811.html
> Sent from the Grass - Dev mailing list archive at Nabble.com.
> _______________________________________________
> grass-dev mailing list
> grass-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20140707/94b05d57/attachment.html>


More information about the grass-dev mailing list