Re: [sqlalchemy] core integrity error

2015-03-13 Thread Adam Watson
it if anyone could read it and help me figure it out: http://stackoverflow.com/questions/29036357/sqlalchemy-core-integrity-error First, are you sure the table is empty before you start? Entries from previous import attempts might trigger this error. Second, what

Re: [sqlalchemy] core integrity error

2015-03-13 Thread Simon King
Error when using sqlalchemy core. I'd really appreciate it if anyone could read it and help me figure it out: http://stackoverflow.com/questions/29036357/sqlalchemy-core-integrity-error First, are you sure the table is empty before you start? Entries from previous import attempts might

Re: [sqlalchemy] core integrity error

2015-03-13 Thread Adam Watson
Watson adamcw...@gmail.com wrote: I recently posted a question on stack overflow regarding an Integrity Error when using sqlalchemy core. I'd really appreciate it if anyone could read it and help me figure it out: http://stackoverflow.com/questions/29036357/sqlalchemy-core

Re: [sqlalchemy] core integrity error

2015-03-13 Thread Adam Watson
it and help me figure it out: http://stackoverflow.com/questions/29036357/sqlalchemy-core-integrity-error First, are you sure the table is empty before you start? Entries from previous import attempts might trigger this error. Second, what happens if you insert each row separately? ie

Re: [sqlalchemy] core integrity error

2015-03-13 Thread Adam Watson
posted a question on stack overflow regarding an Integrity Error when using sqlalchemy core. I'd really appreciate it if anyone could read it and help me figure it out: http://stackoverflow.com/questions/29036357/sqlalchemy-core-integrity-error First, are you sure the table

[sqlalchemy] core integrity error

2015-03-13 Thread Adam Watson
I recently posted a question on stack overflow regarding an Integrity Error when using sqlalchemy core. I'd really appreciate it if anyone could read it and help me figure it out: http://stackoverflow.com/questions/29036357/sqlalchemy-core-integrity-error -- You received this message because

Re: [sqlalchemy] core integrity error

2015-03-13 Thread Simon King
/29036357/sqlalchemy-core-integrity-error First, are you sure the table is empty before you start? Entries from previous import attempts might trigger this error. Second, what happens if you insert each row separately? ie. insert = Attributes.__table__.insert() for attr in attrList: stmt