I’m trying to make a .exe for my pygtk app.
I’m using pygtk+glade, gtkbuilder, sqlalchemy , sqlsever ,pyodbc connector… But the log file that is created for the py2exe when i try to run the .exe created with py2exe, has this bug:
\modConfiguracion\main_config.py", line 30, in __init__
File "sqlalchemy\ext\sqlsoup.pyc", line 546, in __init__
File "sqlalchemy\schema.pyc", line 2355, in __init__
File "sqlalchemy\schema.pyc", line 2428, in _bind_to
File "sqlalchemy\engine\__init__.pyc", line 338, in create_engine
File "sqlalchemy\engine\strategies.pyc", line 69, in create
File "sqlalchemy\dialects\mssql\pyodbc.pyc", line 246, in __init__
File "sqlalchemy\connectors\pyodbc.pyc", line 41, in __init__
File "sqlalchemy\dialects\mssql\base.pyc", line 1151, in __init__
File "sqlalchemy\engine\default.pyc", line 129, in __init__
AttributeError: 'module' object has no attribute 'paramstyle'
Line 30 of my code is:
self.db = sqlalchemy.ext.sqlsoup.SqlSoup('mssql://'+var_globales.user+':'+var_globales.passwd+'@'+var_globales.server+'/'+var_globales.base+'')
I solved the problem. i was reinstall every my pygtk+python+sqlalchemy enviroment, make changes in the setup.py of py2exe for my app.
thanks a lot…