|
[psycopg] #100: null pointer: msg#00009python.db.psycopg.devel
#100: null pointer -----------------------------------------+---------------------------------- Reporter: brian AT equal / ed DOT net | Owner: fog Type: defect | Status: new Priority: high | Milestone: PSYCOPG 2.0 Component: psycopg2 | Version: 2.0beta Severity: critical | Keywords: -----------------------------------------+---------------------------------- >>> psycopg2.connect(db='idportal', user='brian') Traceback (most recent call last): File "<stdin>", line 1, in ? TypeError: 'db' is an invalid keyword argument for this function >>> psycopg2.connect(database='idportal', user='brian') <connection object at 0xb7ab2120; dsn: 'dbname=idportal user=brian', closed: 0> >>> c = psycopg2.connect(database='idportal', user='brian') >>> c.execute("COPY idportal_user TO STDOUT CSV") Traceback (most recent call last): File "<stdin>", line 1, in ? AttributeError: 'psycopg2._psycopg.connection' object has no attribute 'execute' >>> c.cursor().execute("COPY idportal_user TO STDOUT CSV") Traceback (most recent call last): File "<stdin>", line 1, in ? SystemError: null argument to internal routine >>> -- Ticket URL: <http://www.initd.org/tracker/psycopg/ticket/100> psycopg <http://initd.org/> psycopg_______________________________________________ Psycopg mailing list Psycopg-IAPFreCvJWPBWskQ1e/+sw@xxxxxxxxxxxxxxxx http://lists.initd.org/mailman/listinfo/psycopg |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Bug report with dictcursor: 00009, Federico Di Gregorio |
|---|---|
| Next by Date: | Re: [psycopg] #100: null pointer: 00009, psycopg |
| Previous by Thread: | [psycopg] #99: Patch for cursor.execute and cursor.executemany to return cursor objecti: 00009, psycopg |
| Next by Thread: | Re: [psycopg] #100: null pointer: 00009, psycopg |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |