[GRASS-dev] [GRASS-user] g.gui.animation fails at launching

Anna Petrášová kratochanna at gmail.com
Thu Nov 6 19:29:43 PST 2014


On Fri, Oct 31, 2014 at 5:25 PM, Anna Petrášová <kratochanna at gmail.com>
wrote:

>
>
> On Thu, Oct 30, 2014 at 10:48 AM, Anna Petrášová <kratochanna at gmail.com>
> wrote:
>
>>
>>
>> On Thu, Oct 30, 2014 at 8:38 AM, Anna Petrášová <kratochanna at gmail.com>
>> wrote:
>>
>>>
>>>
>>> On Thu, Oct 30, 2014 at 5:26 AM, Annalisa Minelli <annagrass6 at gmail.com>
>>> wrote:
>>>
>>>> Hi all,
>>>> I'm experiencing a problem in launching g.gui.animation..
>>>> wich doesn't load and it returns me the following error:
>>>> "Error in atexit._run_exitfuncs"
>>>>
>>>> ..here the complete output: http://pastebin.com/FwMQa1jF
>>>>
>>>
>>> Hm, not sure when this got broken. For now, you can edit file
>>> gui/wxpython/animation/g.gui.animation.py and instead of last line
>>>
>>
>> the error is caused by r62374
>> http://trac.osgeo.org/grass/changeset/62374/grass/trunk
>>
>> I don't say this commit is wrong, maybe the GuiModuleMain is wrong.  Any
>> opinion? I remember GuiModuleMain had some problems on Mac, too.
>>
>
> If there won't be any progress on this soon, I will probably stop using
> the process forking in GuiModuleMain for g.gui.* modules. It seems that it
> brings a lot of problems and typing & after the command does the same
> without any problems. On Windows, we can't use it anyway and I remember
> some crashing on Mac, too. So let's have it less convenient but more stable.
>

OK, I removed the the current GuiModuleMain implementation, so
g.gui.animation should work again. We have to find less fragile solution or
just get used to typing &.

>
> Anna
>
>>
>> Anna
>>
>>>
>>> GuiModuleMain(main)
>>>
>>>
>>> use
>>>
>>>
>>> main()
>>>
>>>
>>> and recompile. That should fix it, but it will block your command line
>>> unless you use &
>>>
>>>
>>> Anna
>>>
>>>>
>>>> I compiled GRASS yesterday (checking out the grass70 release version),
>>>> it seemed fine and I used this configure:
>>>> ./configure --with-proj-share=/usr/local/share/proj/ --with-python
>>>> --with-cxx --with-freetype --with-freetype-includes=/usr/include/freetype2/
>>>> --with-includes=/usr/local/lib --with-wxwidgets --enable-largefile
>>>> --enable-64bit --with-sqlite --with-sqlite-includes=/usr/include/
>>>> --with-opengl --with-postgres
>>>> --with-postgres-includes=/usr/include/postgresql/
>>>> --with-tcltk-includes=/usr/include/tcl8.5 --with-gdal --with-netcdf
>>>> --with-ffmpeg --with-motif --with-geos --with-odbc --with-mysql
>>>> --with-mysql-includes=/usr/include/mysql/
>>>>
>>>> Many thanks,
>>>> Annalisa
>>>>
>>>> _______________________________________________
>>>> grass-user mailing list
>>>> grass-user at lists.osgeo.org
>>>> http://lists.osgeo.org/mailman/listinfo/grass-user
>>>>
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20141106/ab377518/attachment.html>


More information about the grass-dev mailing list