Adrian Klaver
Not a member
Adrian Klaver's latest activity
Wednesday, January 09 2013
-
Adrian Klaver commented at 4:45 PMThanks for looking at it. I am still groping my way through distutils to see if there is a solution.
Monday, December 31 2012
-
Adrian Klaver commented at 3:59 PMI am afraid the previous idea would not work for the case:
sudo python setup.py install
As soon as sudo is invoked the PATH gets restricted.
My personal short t... -
Adrian Klaver commented at 3:33 AMWell that is not going to work. The various steps seem to take place as discrete actions with no state saved. I thought of using the pg_config setting in setup....
Sunday, December 30 2012
-
Adrian Klaver commented at 10:39 PMSeems this is where the problem arises:
def finalize_options(self):
"""Complete the build system configuation.""" build_ext.finalize_options(self) ... -
Adrian Klaver commented at 10:13 PMHave been doing some digging around.
What I found so far.
In the sudoers file there in a setting env_reset that restricts the PATH when using sudo. There are ot... -
Adrian Klaver commented at 3:47 PMThe PATH for root also contains the pg_config directory. As I said in the original problem report, when I run build/install entirely as root there is no problem...
Saturday, December 29 2012
-
Adrian Klaver created the ticket at 11:05 PMos-linux
There seems to an issue using sudo when installing from source or pip. setup.py complains that pg_config cannot be found on the path.
Checking the PATH...
Wednesday, September 26 2012
-
Adrian Klaver commented at 2:07 PMWorks for me. Not sure I follow the InterfaceError/TypeError debate though. Per my example from 2.4.2 above, psycopg2 used to raise TypeError for invalid parame...
-
Adrian Klaver commented at 2:36 AMPatched and it works after a fashion. In particular the error message is confusing:
InterfaceError: you cannot specify keyword arguments (conection_factory) tog...
Tuesday, September 25 2012
-
Adrian Klaver commented at 11:31 PMHow can it be forbidden? When:
_connect(dsn, connection_factory=connection_factory, async=async)
I see both a dsn and a connection_factory argument.