On Wed, Mar 04, 2009 at 04:51:17PM +, wzins...@comcast.net wrote:
> (Though I'll try not to bother you for a few days!)
Actually, you can't. (-: Tomorrow I am leaving the town (even the
country) for a short vacation. Will be back March 9, late at night.
Oleg.
--
Oleg Broytmann
uss@lists.sourceforge.net
Sent: Wednesday, March 4, 2009 4:22:59 PM GMT +00:00 Monrovia
Subject: Re: [SQLObject] cannot insert with Sybase
On Wed, Mar 04, 2009 at 04:13:54PM +, wzins...@comcast.net wrote:
> Hello Oleg and others,
>
> But if I use 'id' instead of
On Wed, Mar 04, 2009 at 04:13:54PM +, wzins...@comcast.net wrote:
> Hello Oleg and others,
>
> But if I use 'id' instead of 'title_id' I get:
>
> File
> "/diska/data/workspace/PyXtern/Bibliothek/eggs/SQLObject-0.10.4-py2.5.egg/sqlobject/main.py",
> line 1203, in __init__
> File
> "/disk
Hello Oleg and others,
But if I use 'id' instead of 'title_id' I get:
File
"/diska/data/workspace/PyXtern/Bibliothek/eggs/SQLObject-0.10.4-py2.5.egg/sqlobject/main.py",
line 1203, in __init__
File
"/diska/data/workspace/PyXtern/Bibliothek/eggs/SQLObject-0.10.4-py2.5.egg/sqlobject/main.py",
On Wed, Mar 04, 2009 at 10:31:31AM +, wzins...@comcast.net wrote:
> from sqlobject import *
>
> class titles( SQLObject ):
>
> title_id = IntCol()
> title = StringCol()
>
> class sqlmeta:
> print 'class sqlmeta'
> idName = 'title_id'
[skip]
> newKey = 1234
> newTitle = "Mystery Book"
Hello Oleg and others,
Thanks sincerely for the help; I'm much further along because
now rows are inserted successfully. However, I still get an
odd error message referring to key 0 when I do a simple print
to show the values in the object.
BTW, I will do my best to preserve indenting but my
On Tue, Mar 03, 2009 at 05:55:43PM +, wzins...@comcast.net wrote:
> class sqlmeta:
> print 'class sqlmeta'
> idName = 'title_id'
> lazyUpdate = False
> autoCommit = True
sqlmeta doesn't have 'autoCommit' attribute.
(It'd also be helpful to send python code properly formatted.)
> b
Hello, ... has anyone gotten SQLObject to work with Sybase?
I can query the database but I can't insert. Any advice would be
appreciated. The table already exists and is extremely simple,
with just two columns, a key and a text string.
Here's the class for the table:
=