and this used to work?  if you're using 0.7, it uses a fairly primitive system 
based on __import__().  you'd want to make sure py2exe is putting every .py 
file under dialects/ into the final package.


On Apr 9, 2013, at 3:35 PM, Don Dwiggins <ddwigg...@advpubtech.com> wrote:

> I have an application using SA that I distribute in "compiled" form, using 
> py2exe.  This has been working well, but I recently ran into a problem.  I do 
> a create_engine with the string 
> "mssql+pyodbc://%(UserName)s:%(Password)s@%(DSN)s"  (the parameters are 
> filled in using a "%" operator).
> 
> This works without a problem when I run the source code.  However, when I 
> freeze it, I get "ArgumentError: Could not determine dialect for 
> 'mssql+pyodbc'."  (Running on the same machine, with the same environment.)
> 
> In case it might be relevant: I've recently moved my development from a 
> Windows XP machine to a Windows 7 environment on a 64-bit machine.  However, 
> I'm using 32-bit Python, and generating 32-bit executables.
> 
> -- 
> Don Dwiggins
> Advanced Publishing Technology
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "sqlalchemy" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to sqlalchemy+unsubscr...@googlegroups.com.
> To post to this group, send email to sqlalchemy@googlegroups.com.
> Visit this group at http://groups.google.com/group/sqlalchemy?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sqlalchemy+unsubscr...@googlegroups.com.
To post to this group, send email to sqlalchemy@googlegroups.com.
Visit this group at http://groups.google.com/group/sqlalchemy?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to