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.
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?

The shell inside web2py is still not working. I tried this line print 
"test" no reaction at all.

My app was first created with web2py 1.9.something and I upgraded always 
almost imidiately.

-- 

--- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to