Re: [BUGS] BUG #5641: Can not create any python language

2011-01-06 Thread areveille
This was the final step : it worked out. Thanks for your time, your understandable explanations! Alban, -- View this message in context: http://postgresql.1045698.n5.nabble.com/BUG-5641-Can-not-create-any-python-language-tp2801518p3330632.html Sent from the PostgreSQL - bugs mailing list archi

Re: [BUGS] BUG #5641: Can not create any python language

2011-01-06 Thread Ashesh Vashi
Are the python binaries in your system level PATH environment? If not, you need to make sure the bin folder of python should be in your system level PATH variable. Check this link for the reference: http://geekswithblogs.net/renso/archive/2009/10/21/how-to-set-the-windows-path-in-windows-7.aspx Th

Re: [BUGS] BUG #5641: Can not create any python language

2011-01-06 Thread areveille
In fact I always had plpython.dll since I duplicated the file (one named plpython.dll and the other plpython3.dll). Anyways, now I have deleted plpython3.dll (so I just have plpython.dll) and "create language plpython;" answers : ERREUR: n'a pas pu charger la bibliothèque « C:/Program Files/Post

Re: [BUGS] BUG #5641: Can not create any python language

2011-01-06 Thread Ashesh Vashi
This warning will be there for any dlls. So - you can ignore them. If you have renamed the plpython.dll to plpython3.dll, then please revert it back to original one. And, then try to create the language. -- Thanks & Regards, Ashesh Vashi EnterpriseDB INDIA: Enterprise PostgreSQL Company

Re: [BUGS] BUG #5641: Can not create any python language

2011-01-06 Thread Ashesh Vashi
And, make sure you create the plpythonu language not plpython3u. -- Thanks & Regards, Ashesh Vashi EnterpriseDB INDIA: Enterprise PostgreSQL Company *http://www.linkedin.com/in/asheshvashi* On Thu, Jan 6, 2011 at 8:46 PM, A

Re: [BUGS] BUG #5641: Can not create any python language

2011-01-06 Thread areveille
The result is still the same (means "ERREUR: n'a pas pu charger la bibliothèque « C:/Program Files/PostgreSQL/9.0/lib/plpython3.dll » : unknown error 126" = Can't load C:/Program Files/PostgreSQL/9.0/lib/plpython3.dll -- View this message in context: http://postgresql.1045698.n5.nabble.com/BUG

Re: [BUGS] BUG #5641: Can not create any python language

2011-01-06 Thread areveille
Hi, I used dependency walker in order to see which dependencies could be unsatified in plpython.dll and indeed some of them were missing : - python26.dll (I had python2.7 installed but obviously it requires 2.6.) - some .dll that are in the bin folder of posgreSQL So I installed python 2.6 and

Re: [BUGS] BUG #5641: Can not create any python language

2011-01-06 Thread Ashesh Vashi
It shows you all the dependent dlls (present or missing) in it. It also shows the exported functions by that particular dll. That gives you idea, if something is wrong with your environment or some dlls are missing. You can check more details on http://dependencywalker.com/ (NOTE: bottom of the p

Re: [BUGS] BUG #5641: Can not create any python language

2011-01-06 Thread Robert Haas
On Thu, Jan 6, 2011 at 9:08 AM, areveille wrote: > I'm facing the same issue in the same environment and the solution given by > Ashesh Vashi is not working. :( > Once I have copied plpython.dll as plpython3.dll, I still can't create the > language plpython3u for a database. I guess the obvious q

Re: [BUGS] BUG #5641: Can not create any python language

2011-01-06 Thread Ashesh Vashi
Hi Alban, Can you please open the plpython.dll (now, plpython3.dll) in the dependency walker and check if it satisfies all the required dlls? You can find the dependency walker @ dependencywalker.com. -- Thanks & Regards, Ashesh Vashi EnterpriseDB INDIA: Enterprise PostgreSQL Company

Re: [BUGS] BUG #5641: Can not create any python language

2011-01-06 Thread areveille
Hi, I'm facing the same issue in the same environment and the solution given by Ashesh Vashi is not working. :( Once I have copied plpython.dll as plpython3.dll, I still can't create the language plpython3u for a database. Is there another work around? Thanks, Alban. -- View this message in c

Re: [BUGS] BUG #5641: Can not create any python language

2010-09-09 Thread Ashesh Vashi
Hi Ron, I am able to reproduce the issue on my side.. Thanks for the report. I found that - plpython.dll is not exporting any plpython_call_handler function, but plpython3_call_handler. For the work around, you can follow this link: 1) Go to PostgreSQL lib directory i.e. C:\Program Files\Pos

Re: [BUGS] BUG #5641: Can not create any python language

2010-09-09 Thread Ashesh Vashi
Hi, Can you share the postgresql log file, when you tried to create the python language on PG 9.0? -- Thanks & Regards, Ashesh Vashi EnterpriseDB INDIA On Fri, Sep 3, 2010 at 3:03 AM, Ron Park wrote: > > The following bug has been logged online: > > Bug reference: 5641 > Logged by:

[BUGS] BUG #5641: Can not create any python language

2010-09-02 Thread Ron Park
The following bug has been logged online: Bug reference: 5641 Logged by: Ron Park Email address: rpar...@gmail.com PostgreSQL version: 9.0 Operating system: Windows 7 professional 64 bit Description:Can not create any python language Details: when trying to create p