On Monday, April 22, 2013 8:53:39 AM UTC-4, BlueShadow wrote: > so I found the error causing this error: "<type > 'exceptions.AttributeError'> type object 'datetime.datetime' has no > attribute 'datetime'" > I had in my db.py from datetime import datetime and in one of my modules > I had import datetime (and accordingly I used datetime.now() inside the app > and datetime.datetime.now() in the module). > which worked great on my server but apperently not on windows.
Can you show a code example that fails on Windows? I tried the above on Windows and cannot reproduce the exception. > > So I changed that. Now I get the next error: > <class 'sqlite3.DatabaseError'> file is encrypted or is not a database > > the database is not encrypted and works fine in production. I had this > error before and I know how to work around it: delete the content of the > databases folder, export and import db via a csv file. > > which is kind of annoying is there a fix for this? > Maybe have a look here: http://www.sqlite.org/howtocorrupt.html > The shell inside web2py is still not working. I tried this line print > "test" no reaction at all. > What versions of Python and web2py on Windows? Do you have pywin32 installed (if not, install it)? Anthony -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.