Re: ProgrammingError: can't adapt (None)
Federico Di Gregorio <fog-NGVKUo/i/[email protected]>
| Newsgroups | gmane.comp.python.db.psycopg.devel |
|---|---|
| Organization | initd.org |
| Message-ID | <[email protected]> |
Il giorno lun, 09/03/2009 alle 21.33 +0100, Federico Di Gregorio ha scritto: > Il giorno lun, 09/03/2009 alle 19.42 +0100, Hartmut Goebel ha scritto: > > Federico Di Gregorio schrieb: > > > > > Yes but they are converted to array not to something that can be used in > > > an insert. Anyway, "can't adapt" is an error. What's the content of the > > > row? > > > > It's simply "None" :-) > > Then it should work. Can you try the following? Ouch. It does _not_ work when you call getquoted(). Terrible terrible bug in adapt(); it is really amazing this did not show up before. A fix has already been committed to bzr. :) federico -- Federico Di Gregorio http://people.initd.org/fog Debian GNU/Linux Developer [email protected] INIT.D Developer fog-NGVKUo/i/[email protected] Spesso crescere ed andare a vivere da soli è l'unico modo di restare bambini. -- Alice Fontana _______________________________________________ Psycopg mailing list Psycopg-IAPFreCvJWPBWskQ1e/[email protected] http://lists.initd.org/mailman/listinfo/psycopg
signature.asc
(application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEABECAAYFAkm1hIkACgkQvcCgrgZGjeu7egCgolilqx+sW2xaoMO+2pJj05gt GOcAn24nhqNQ0rnmPyhHExiB8loAH4fR =uovD -----END PGP SIGNATURE-----