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

On Thu, Oct 30, 2014 at 5:26 AM, Annalisa Minelli <annagrass6@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

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@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

On Thu, Oct 30, 2014 at 8:38 AM, Anna Petrášová <kratochanna@gmail.com>
wrote:

On Thu, Oct 30, 2014 at 5:26 AM, Annalisa Minelli <annagrass6@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.

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@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

On Thu, Oct 30, 2014 at 10:48 AM, Anna Petrášová <kratochanna@gmail.com>
wrote:

On Thu, Oct 30, 2014 at 8:38 AM, Anna Petrášová <kratochanna@gmail.com>
wrote:

On Thu, Oct 30, 2014 at 5:26 AM, Annalisa Minelli <annagrass6@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.

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@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

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

On Thu, Oct 30, 2014 at 10:48 AM, Anna Petrášová <kratochanna@gmail.com>
wrote:

On Thu, Oct 30, 2014 at 8:38 AM, Anna Petrášová <kratochanna@gmail.com>
wrote:

On Thu, Oct 30, 2014 at 5:26 AM, Annalisa Minelli <annagrass6@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@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user