On Tuesday, April 05, 2011 12:53:47 pm JK wrote: > Hello Jacek and Ed! > > I am so sorry to bother you with my still unsolved problem: > "sqlite3.OperationalError:unable to open database file" > > Today, I have downloaded dabo-0.9.3-win.zip file from > "http://dabodev.com/download#latest" and expanded it into > c:/dabo folder. > > After carefully clearing all traces of Dabo from my > Python26/Lib/site-packages folder, I have python-setup.py-installed > brand new Dabo there again. > Everything went smoothly. The install-log.txt file has 1570 lines. > Nevertheless, the >>>dabo.dApp() results in my favorite > "sqlite3.OperationalError". > > I have tried to check everything I was told: > > 1. The Dabo path is without czech punctuations (except of the path to > the "Dabo" folder in c:/Doc&Sett/... see next item) > 2. Deleted "Dabo" folder from c:/Documents and > Settings/administrátor/Data aplikací/ - new one appeared again > 3. Renamed the c:/Dabo/ide/sample.cnxml file into sample.cnxml.temp and > made sure, its header is <?xml version="1.0" encoding="utf-8" > standalone="yes"?> > 4. Is there anything else I can do? > > The incriminated output is constantly this: > >>> app = dabo.dApp() > > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > File "dabo\dApp.py", line 214, in __init__ > self._frameworkPrefs = dabo.dPref(key="dabo_framework") > File "dabo\dPref.py", line 77, in __init__ > forceCreate=True) > File "dabo\db\dConnection.py", line 32, in __init__ > self._connection = self._openConnection(**kwargs) > File "dabo\db\dConnection.py", line 80, in _openConnection > return > self._connectInfo.getConnection(forceCreate=self._forceCreate, **kwargs) > File "dabo\db\dConnectInfo.py", line 105, in getConnection > return self._backendObject.getConnection(self, **kwargs) > File "dabo\db\dbSQLite.py", line 71, in getConnection > self._connection = self.dbapi.connect(pth, factory=DictConnection, > isolation_level=None) > File "dabo\db\dbSQLite.py", line 51, in __init__ > dbapi.Connection.__init__(self, *args, **kwargs) > sqlite3.OperationalError: unable to open database file
This smells of a permissions problem. Sqlite will happily create new files all day long as long as it has the rights to do so. Are you running the app as a user that can write to the location where the database file is being created? > > Your platonic Dabouser Tovim. > -- Adrian Klaver [email protected] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/[email protected]
