[Stoq-devel] [Bug 2809] New: - Creating a delivery service using
psycopg2 fails
bugzilla-daemon at async.com.br
bugzilla-daemon at async.com.br
Fri Sep 1 14:01:20 BRT 2006
http://bugs.async.com.br/show_bug.cgi?id=2809
Summary: Creating a delivery service using psycopg2 fails
Product: Stoqlib
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: (unset)
Priority: (unset)
Component: Database
AssignedTo: nobody at async.com.br
ReportedBy: jdahlin at async.com.br
QAContact: stoq-devel at async.com.br
OtherBugsDependingO 2796
nThis:
Estimated Hours: 0.0
Traceback (most recent call last):
File "/home/jdahlin/dev/async/kiwi/kiwi/ui/wizard.py", line 111, in
on_next_button__clicked
self._change_step(self._current.next_step())
File "/home/jdahlin/dev/async/stoq/stoq/gui/config.py", line 353, in
next_step clean_database(self.wizard.config)
File "/home/jdahlin/dev/async/stoq/stoq/lib/startup.py", line 123, in
clean_database
initialize_system(verbose=verbose)
File "/home/jdahlin/dev/async/kiwi/kiwi/argcheck.py", line 180, in wrapper
return func(*args, **kwargs)
File "/home/jdahlin/dev/async/stoqlib/stoqlib/lib/admin.py", line 162, in
initialize_system
ensure_system_parameters()
File "/home/jdahlin/dev/async/stoqlib/stoqlib/lib/parameters.py", line 686,
in ensure_system_parameters
param.set_defaults(update)
File "/home/jdahlin/dev/async/stoqlib/stoqlib/lib/parameters.py", line 481,
in set_defaults
self.ensure_delivery_service()
File "/home/jdahlin/dev/async/stoqlib/stoqlib/lib/parameters.py", line 574,
in ensure_delivery_service
service = Service(connection=self.conn)
File "/home/jdahlin/dev/async/SQLObject/sqlobject/declarative.py", line 93,
in _wrapper
return_value = fn(self, *args, **kwargs)
File "/home/jdahlin/dev/async/stoqlib/stoqlib/domain/base.py", line 250, in
__init__
BaseDomain.__init__(self, *args, **kwargs)
File "/home/jdahlin/dev/async/SQLObject/sqlobject/declarative.py", line 93,
in _wrapper
return_value = fn(self, *args, **kwargs)
File "/home/jdahlin/dev/async/SQLObject/sqlobject/main.py", line 1219, in
__init__
self._create(id, **kw)
File "/home/jdahlin/dev/async/stoqlib/stoqlib/domain/base.py", line 90, in
_create
super(AbstractModel, self)._create(*args, **kwargs)
File "/home/jdahlin/dev/async/SQLObject/sqlobject/main.py", line 1248, in
_create
self._SO_finishCreate(id)
File "/home/jdahlin/dev/async/SQLObject/sqlobject/main.py", line 1272, in
_SO_finishCreate
id, names, values)
File "/home/jdahlin/dev/async/SQLObject/sqlobject/dbconnection.py", line 811,
in queryInsertID
return self._dbConnection._queryInsertID(
File "/home/jdahlin/dev/async/SQLObject/sqlobject/postgres/pgconnection.py",
line 129, in _queryInsertID
c.execute(q)
psycopg2.ProgrammingError: syntax error at or near "," at character 96
More information about the Stoq-devel
mailing list