[Qgis-user] Missing primary key.
Jürgen E. Fischer
jef at norbit.de
Sat Jan 8 15:06:24 PST 2011
On Sat, 08. Jan 2011 at 16:06:20 -0600, Byron Como wrote:
> On 1/8/2011 3:15 PM, Jürgen E. Fischer wrote:
> > So you have oids on the geometry table you try to insert, but QGIS is still
> > complaining?
> That is correct.
Strange.
> > I deleted the 2.7 installation and installed 2.5 (see below).
You don't need to install 2.5. You already installed it with QGIS, but having
other python installations should be a problem either.
> My path statement is:
> PATH=C:\OSGeo4W\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\OSGeo4W\apps\msys\bin
Where did you look that up? The system's PATH should be left alone by the
INSTALL. So you shouldn't have any "global" OSGeo4W entries there.
> Try "import psycopg2" in the python console (or a python started from the
> OSGeo4W shell). It's output might shed some light on the problem.
>
> >>> import psycopg2
> >>> psycopg2
> <module 'psycopg2' from
> 'C:\OSGeo4W\apps\Python25\lib\site-packages\psycopg2\__init__.pyc'>
Hm, that looks fine - no idea why postgis manager is complaining.
Jürgen
--
Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-20
Dipl.-Inf. (FH) Rheinstraße 13 Fax. +49-4931-918175-50
Software Engineer D-26506 Norden http://www.norbit.de
--
norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH
Rheinstrasse 13, 26506 Norden
GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502
More information about the Qgis-user
mailing list