Hi! Just put somewhere an explicit "import sqlite". It should be enough.
David pdamoc napsal(a): > Hello, > > I've tried packing an app I've made with py2exe and run into > trouble... > first it was an EGG issue, I've fixed that installing everything as a > directory > next came the sqlite issue... I simply cannot get it to work > > after I build the .exe I keep getting: > > Traceback (most recent call last): > File "patch.py", line 53, in <module> > File "model.pyc", line 87, in __init__ > File "model.pyc", line 56, in createDB > File "sqlalchemy\schema.pyc", line 1190, in __init__ > File "sqlalchemy\schema.pyc", line 1095, in __init__ > File "sqlalchemy\schema.pyc", line 1114, in connect > File "sqlalchemy\engine\__init__.pyc", line 154, in create_engine > File "sqlalchemy\engine\strategies.pyc", line 44, in create > File "sqlalchemy\engine\url.pyc", line 92, in get_dialect > ImportError: unknown database 'sqlite' > > The app works fine when I start it as a script. > > any idea is welcomed! > > Thank you in advance. > Peter. > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalchemy@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en -~----------~----~----~----~------~----~------~--~---