Re: [Simpleweb-py-users] simpleweb-admin createtables does not work
Status: Beta
Brought to you by:
essiene
|
From: simpleweb-users <sim...@li...> - 2006-12-11 13:02:28
|
The problem here seems to be that simpleweb is swallowing the *real*
error and throwing up a misleading one. Another user Sam Montgomery had
this same problem and tracked it down to bad installation of sqlite on
windows.
We'll probably need to put a nice SQlite Win32 howto on the Howto's Section.
cheers,
Essien
Edwin Nathaniel wrote:
> Hi Essien,
>
> I've come to realize the problem lies in the line of:
>
> db_plugin = dblayer.SqlObjectDB('sqlite:%s' % (db_path))
>
> the db_path variable I got it from the code on your website from Mervin
> Beng.
>
> I put 3 SQLite3 files on C:\WINNT\System32 (which are the sqlite3.def,
> sqlite3.dll and sqlite3.exe)
>
>
> On 12/7/06, *Edwin Nathaniel* < xan...@gm...
> <mailto:xan...@gm...>> wrote:
>
> Hi Essien,
>
> I'm testing on this simpleweb of yours. Here's what I've done so far:
>
> My project directory is: H:\works\python\www
> I executed: simpleweb-admin createproject todolist
> I went to: H:\works\python\www\todolist directory and all files are
> there including config.py
> I modified config.py and models.py
> I ran : simpleweb-admin createtables and it spits out the "Can not
> find config.py. Is this a valid simpleweb project directory?" error
>
> My platform is Windows XP SP2 running Python 2.4 with all paths setup.
>
>
> Thanks
>
> PS: Minor complain: too many dependencies to be called "simpleweb".
> I'm having a painful experience to install simpleweb and its
> dependencies one by one behind company's firewall. It would be great
> if you could write a tutorial on how to install simpleweb manually
> ^_^. Otherwise, keep up the good job!
>
>
>
>
|