agesys-dev team mailing list archive
-
agesys-dev team
-
Mailing list archive
-
Message #00002
[Bug 545104] Re: Can't get "Inserting large data sets" tutorial to work
** Branch linked: lp:oursql
--
Can't get "Inserting large data sets" tutorial to work
https://bugs.launchpad.net/bugs/545104
You received this bug notification because you are a member of Agesys
Team, which is subscribed to oursql.
Status in oursql python bindings for mysql: Fix Committed
Bug description:
Was having trouble using the IterWrapper classes so tried to test with the tutorial example (see attached file). It fails with the following traceback:
[OVALTINE-VM6 flitney]# python oursqltest.py
In main!
Traceback (most recent call last):
File "oursql_test.py", line 46, in ?
db.insert_blobs();
File "oursql_test.py", line 30, in insert_blobs
iw = oursql.IterWrapper([u'foo', u'bar'])
File "statement.pyx", line 30, in oursql.IterWrapper.__cinit__ (oursqlx/oursql.c:6429)
AttributeError: 'list' object has no attribute 'next'
Thanks,
Dave