On Aug 26, 2010, at 9:14 AM, JK wrote:
> I have downloaded:
> 1) dabo-0.9.2-win.zip, extracted it into c:/dabo and placed dabo.pth
> file with "c:\dabo" instruction in the Python25/Lib/site-packages/ folder.
> 2) DaboRuntimeSetup.exe and installed it into c:/daboruntime
You don't need the DaboRuntimeSetup.exe file. It is designed for people
who want to try out Dabo without having to install anything like wxPython, db
adapters, or even Python itself. You can delete it from the Control Panel -
Add/Remove Programs.
> ad 1) When in Python25 shell, I can successfully call "import dabo".
> But running a file.py with
> "import dabo~app = dabo.dApp()~app.start()" script results in the
> following result message:
> "Unable to open database file".
> This file I was running in the PyScripter editor, which pinpointed
> dbSQLite.py file and line 49.
I'm not familiar with PyScripter, but in the past, running Dabo through
other programs has caused all sorts of hard-to-reproduce conflicts and errors.
Typically, these editors/shells do their own "magic" to the environment when
they run, and either that magic messes up Dabo, or vice-versa.
Try keeping it simple: open up a DOS terminal window by running cmd.exe
(Start -> Run... -> cmd.exe). Once you have a terminal window, run Python by
typing 'python' at the prompt. Then run the commands you tried above and see
how they work.
-- Ed Leafe
_______________________________________________
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]