about error

Questions about BrainVisa usage and installation

Moderators: denghien, riviere

Post Reply
wangmengyang
Posts: 4
Joined: Sat Oct 26, 2013 4:48 am

about error

Post by wangmengyang »

My systeem is winxp.
When I ran brainvisa.bat,
there is an error: unable to open database file.
OperationalError
neuroHierarchy.py (128) in openDatabases:
?
sqlFSODatabase.py (445) in __init__:
?
sqlFSODatabase.py (656) in checkTables:
?
sqlFSODatabase.py (583) in _getDatabaseCursor:
?
sqlite_tools.py (101) in _getConnection:
?
I want to know how to manage it. Thanks!
User avatar
riviere
Site Admin
Posts: 1361
Joined: Tue Jan 06, 2004 12:21 pm
Location: CEA NeuroSpin, Saint Aubin, France
Contact:

Re: about error

Post by riviere »

Does this happen when you open BrainVisa the first time, before anything is configured ?
It seems that it tries to use a database which does not exist or something like that.
Denis
wangmengyang
Posts: 4
Joined: Sat Oct 26, 2013 4:48 am

Re: about error

Post by wangmengyang »

riviere wrote:Does this happen when you open BrainVisa the first time, before anything is configured ?
It seems that it tries to use a database which does not exist or something like that.
Denis
Yes,this happen when I open Brainvisa first time. How should I configure it?
User avatar
riviere
Site Admin
Posts: 1361
Joined: Tue Jan 06, 2004 12:21 pm
Location: CEA NeuroSpin, Saint Aubin, France
Contact:

Re: about error

Post by riviere »

Had you ever run BrainVisa before with the same user account ? Maybe there is a remaining old config file which references databases which do not exist any longer ?
You can try moving out the (older) Brainvisa config file. It is found in <home directory>/.brainvisa and is named options.minf. You can rename it (options.minf.bak for instance) and try starting brainvisa again.
(<home directory> is generally on Windows C:\Documents and Settings\<user name>)

Denis
Post Reply