[web2py] Re: Web2py binary distribution and psycopg2 driver

2012-03-08 Thread Sundar
I tried the binary of 1.99.7 and the driver pg8000. I am getting the error message global name 'psycopg2_adapt' is not defined Where am I going wrong? Sundar === On Thursday, January 12, 2012 12:51:50 AM UTC+5:30, Massimo Di Pierro wrote: > > w

[web2py] Re: Web2py binary distribution and psycopg2 driver

2012-01-13 Thread Alan Etkin
Sorry, I probably used the psycopg windows binaries with web2py source so using those installers will not solve the problem. On 11 ene, 08:53, Álvaro J. Iradier wrote: > Thanks for your comments. > > Do you remember how you did it? I can make it work correctly when > using the source version of w

[web2py] Re: Web2py binary distribution and psycopg2 driver

2012-01-11 Thread Massimo Di Pierro
we will include pg8000 in web2py in the next version On Jan 11, 12:27 pm, Mariano Reingart wrote: > For python 2.5 you need at least: > > bz2.pyd > library.zip > MSVCR71.dll > psycopg2._psycopg.pyd > python25.dll > test.exe > unicodedata.pyd > w9xpopen.exe > > NOTE the psycopg2._psycopg.pyd bina

[web2py] Re: Web2py binary distribution and psycopg2 driver

2012-01-11 Thread Álvaro J . Iradier
Thanks for your comments. Do you remember how you did it? I can make it work correctly when using the source version of web2py, and I install psycopg under the python installation (c:\python27). However, when trying the binary distribution, I have tried extracting the files from the psycopg versi

[web2py] Re: Web2py binary distribution and psycopg2 driver

2012-01-11 Thread Alan Etkin
I think i installed one of the listed binary files listed here without problems: http://stickpeople.com/projects/python/win-psycopg/ Regards On 10 ene, 17:14, Álvaro J. Iradier wrote: > Hi, > > I was trying to distribute an application with web2py binary for > windows, but I required the Postgre

[web2py] Re: Web2py binary distribution and psycopg2 driver

2012-01-10 Thread Álvaro J . Iradier
Does setup_exe.py work at all? When I run it, A "PyFPDF Template Designer" pop ups. The line causing it is: from gluon.import_all import base_modules, contributed_modules Trying setup_exe_2.6.py, there is a syntax error in line 113: if os.path.exists('dist/site-packages') shutil.rmtr

[web2py] Re: Web2py binary distribution and psycopg2 driver

2012-01-10 Thread Brian M
You should be able to build your own web2py executable using setup_exe.py. I've been able to include pyodbc that way for a project that needed MS SQL access - see no reason it shouldn't also work for the PostrgreSQL driver too. ~Brian