Re: [sqlalchemy] Re: Required properties of first arg to bulk_insert_mappings

2017-11-21 Thread Skip Montanaro
load it. I > don't think SQLAlchemy has any specific tools for that. > > Simon > > On Tue, Nov 21, 2017 at 12:15 PM, Skip Montanaro > <skip.montan...@gmail.com> wrote: >> Thanks. I guess I'm still a bit confused. The problem I've been trying >> to solve h

[sqlalchemy] Re: Required properties of first arg to bulk_insert_mappings

2017-11-20 Thread Skip Montanaro
I've narrowed down my problem space a bit. Consider this simple code: from sqlalchemy import (Integer, String, Column, MetaData, create_engine) from sqlalchemy.orm import sessionmaker from sqlalchemy.ext.declarative import declarative_base METADATA = MetaData() BASE =

[sqlalchemy] Required properties of first arg to bulk_insert_mappings

2017-11-20 Thread Skip Montanaro
I'm trying to insert a list of dictionaries into a table using bulk_insert_mappings(). When I call it, I get this error: AttributeError: 'Table' object has no attribute 'mapper' I'm having trouble (in general) figuring out which of the various ways of specifying my table(s) are appropriate.

[sqlalchemy] Re: Buildbot

2007-05-01 Thread skip . montanaro
can't resolve. If someone would like to help me figure things out I'd be most appreciative. Skip Montanaro --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups sqlalchemy group. To post to this group, send email

[sqlalchemy] Re: Buildbot

2007-05-01 Thread skip . montanaro
Rick a) using the included pysqlite in Python 2.5+ and issues with Rick that Rick b) conflict with the sqlite library that ships with OSX Rick and out of those, I would bet (b). The sqlite that ships for Rick Coredata with OSX Tiger is old, and I think that SA

[sqlalchemy] Re: SQLAlchemy test suite - no success/failure exit code

2007-03-17 Thread skip . montanaro
Michael go into python and type: Michael from pysqlite2 import dbapi2 Michael dbapi2.sqlite_version Well, that failed: $ /tmp/python-buildbot/local/bin/python Python 2.6a0 (trunk:54421, Mar 17 2007, 11:17:17) [GCC 4.0.0 (Apple Computer, Inc. build 5026)] on darwin

[sqlalchemy] Re: SQLAlchemy test suite - no success/failure exit code

2007-03-16 Thread skip . montanaro
Michael all tests pass on Mac OSX with the latest sqlite (as well as Michael postgres, mysql). Hmmm... Then I wonder what's different about the buildbot setup and a normal interactive run. Michael solaris, not so sure, ill have a look later. There's no particular need. I was

[sqlalchemy] Re: SQLAlchemy test suite - no success/failure exit code

2007-03-16 Thread skip . montanaro
Michael geez, what version of sqlite / pysqlite / python is running Michael there ? tons of those errors ive never seen before. That will have to wait for me to get home. Probably not until tomorrow at the earliest. I'll let you know what I figure out. Perhaps I can tweak the

[sqlalchemy] Re: SQLAlchemy test suite - no success/failure exit code

2007-03-16 Thread skip . montanaro
Michael ah, in fact one failure youre having, the testcast failure, Michael is indicative of running against a very old sqlite. Can you tell me what version I'm using other than very old? Here's what I see: $ otool -L lib-dynload/_sqlite3.so lib-dynload/_sqlite3.so:

[sqlalchemy] Re: SQLAlchemy test suite - no success/failure exit code

2007-03-15 Thread skip . montanaro
Michael OK this was something small, the alltests.py scripts needed Michael to call testbase's main() function and not its runTests() Michael method, so that the exit code is propigated. rev 2414. Excellent. Trying a test run now... Skip

[sqlalchemy] Re: Announcing Elixir!

2007-02-13 Thread skip . montanaro
Jonathan Anyway, we might just end up keeping both... I say punt and pick one. Even it it's a coin flip. Skip --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups sqlalchemy group. To post to this group, send

[sqlalchemy] Re: SQLAlchemy 0.3.2 released

2006-12-11 Thread skip . montanaro
Mike yeah, still waiting for someone to show me some easy Mike non-commercial library that can create a decent PDF out of either Mike markdown, or HTML, or whatever... Why not load the HTML into a web browser, print it, but select Save as PDF instead of completing the print? Are