[GRASS-dev] [GRASS GIS] #2177: g.gui.animation fail to create gif

Markus Neteler neteler at osgeo.org
Fri Feb 7 13:31:19 PST 2014


Hi Anna,

so some feedback here:

 I tried in my brain scan location (that's a limited dataset):

GRASS 7.0.svn (markus_brain_ct):~ > g.gui.animation
GRASS 7.0.svn (markus_brain_ct):~ >
GRASS_INFO_MESSAGE(19932,1): ERROR: Unsupported temporal database.
Version mismatch.

GRASS_INFO_MESSAGE(19932,1): Supported temporal database version is: 2

GRASS_INFO_MESSAGE(19932,1): Please remove your old temporal database.

GRASS_INFO_MESSAGE(19932,1): A new one will be created automatically.

GRASS_INFO_MESSAGE(19932,1): Current temporal database info:

GRASS_INFO_MESSAGE(19932,1): DBMI interface:..... sqlite3

GRASS_INFO_MESSAGE(19932,1): Temporal database:..
/home/neteler/grassdata/markus_brain_ct/PERMANENT/tgis/sqlite.db
GRASS_INFO_END(19932,1)
Traceback (most recent call last):
  File "/home/neteler/software/grass70/dist.x86_64-unknown-linux-gnu/scripts/g.gui.animation",
line 139, in <module>
    GuiModuleMain(main)
  File "/home/neteler/software/grass70/dist.x86_64-unknown-linux-gnu/etc/gui/wxpython/core/utils.py",
line 1070, in GuiModuleMain
    mainfn()
  File "/home/neteler/software/grass70/dist.x86_64-unknown-linux-gnu/scripts/g.gui.animation",
line 129, in main
    frame = AnimationFrame(parent=None, giface=StandaloneGrassInterface())
  File "/home/neteler/software/grass70/dist.x86_64-unknown-linux-gnu/etc/gui/wxpython/animation/frame.py",
line 63, in __init__
    tgis.init()
  File "/home/neteler/software/grass70/dist.x86_64-unknown-linux-gnu/etc/python/grass/temporal/core.py",
line 588, in init
    "info":get_database_info_string()}))
  File "/home/neteler/software/grass70/dist.x86_64-unknown-linux-gnu/etc/python/grass/pygrass/messages/__init__.py",
line 262, in fatal
    raise FatalError(message)
grass.pygrass.messages.FatalError: Unsupported temporal database.
Version mismatch.
Supported temporal database version is: 2
Please remove your old temporal database.
A new one will be created automatically.
Current temporal database info:
DBMI interface:..... sqlite3
Temporal database:..
/home/neteler/grassdata/markus_brain_ct/PERMANENT/tgis/sqlite.db

I am not scared at all but I feel that it should suggest how to remove
it, in the phrase
"Please remove your old temporal database."

A silly user would do:
g.list db
--> db does not exist

GRASS 7.0.svn (markus_brain_ct):~ > db.tables -p
No tables found

so it is not that obvious how to "reach" the file. I have now simply removed it.

Perhaps also trap the "Version mismatch" with try/except or so?

More I'll add to the ticket.

Markus


More information about the grass-dev mailing list