py2exe + SQLite problem

Armin a at nospam.org
Fri Jan 30 06:50:08 EST 2009


Gabriel Genellina wrote:
> En Thu, 29 Jan 2009 13:05:11 -0200, Armin <a at nospam.org> escribió:
> 
>> I have frozen a running application which is using SQLite with py2exe.
>> When I start the exe file I see in the log file of the exe:
>> Traceback (most recent call last):
>>    File "dpconf.py", line 666, in ?
>>    File "dpconf.py", line 251, in __init__
>>    File "sqlite\main.pyc", line 255, in execute
>> _sqlite.DatabaseError: no such table: genslaveopt
>>
>> The table exist in the database file ... no problem with the plain 
>> python version.
> 
> Did you solve this problem? As you posted 4 related messages and the 
> last one might imply a solution to this first one...

Yes, the distutil option 'data_files' failed to copy the database files 
to the dist directory. All dbopen calls have created empty db files ...

--Armin

PS: any comments on the data_files issue ??

> 



More information about the Python-list mailing list