python 3.3/3.4 psycopg2 assertion failure on syncdb

89 views
Skip to first unread message

Demian Brecht

unread,
Apr 9, 2013, 2:40:13 AM4/9/13
to django...@googlegroups.com
Before I spend too much time digging into this, I'm wondering if
anyone else has run into this. I have both 3.3 (from binaries) and 3.4
(from source) installed on OSX 10.8.3 (running postgre 9.2.2.0). I
haven't set up any models for my app yet, but upon running syncdb, I'm
getting:

Assertion failed: (PyBytes_Check(((typecastObject*)cast)->name)),
function _pq_fetch_tuples, file psycopg/pqpath.c, line 1138.
Abort trap: 6

Can anyone shed some light on this before I dig into gdb?

Thanks,

--
Demian Brecht
http://demianbrecht.github.com

Demian Brecht

unread,
Apr 9, 2013, 2:54:52 AM4/9/13
to django...@googlegroups.com
> Assertion failed: (PyBytes_Check(((typecastObject*)cast)->name)),
> function _pq_fetch_tuples, file psycopg/pqpath.c, line 1138.
> Abort trap: 6

Oops. I had built psycopg2 against 3.4, which is where this error
comes up. Built against 3.3, everything works as expected.

I need sleep :P
Reply all
Reply to author
Forward
0 new messages