Opened 7 years ago

#6518 new defect

Ticket creation error w/ TracBacklog 0.2.1

Reported by: jcampbell@… Owned by: Odd Simon Simonsen
Priority: normal Component: XmlRpcPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11


Currently installed: Trac 0.11.6, TracBacklog 0.2.1 and TracXMLRPC 1.0.6

Whenever I create a ticket via XML-RPC, I receive the following error:

2010-02-01 14:04:21,735 Trac[web_ui] ERROR: column ticket_id is not unique
2010-02-01 14:04:21,737 Trac[web_ui] ERROR: Traceback (most recent call last):

    File "/usr/lib/python2.6/site-packages/TracXMLRPC-1.0.6-py2.6.egg/tracrpc/", line 182, in process_xml_request

        result = XMLRPCSystem(self.env).get_method(method)(req, args)

    File "/usr/lib/python2.6/site-packages/TracXMLRPC-1.0.6-py2.6.egg/tracrpc/", line 94, in call

        result = self.callable(req, *args)

    File "/usr/lib/python2.6/site-packages/TracXMLRPC-1.0.6-py2.6.egg/tracrpc/", line 150, in create


    File "build/bdist.linux-i686/egg/backlog/", line 136, in ticket_created


    File "/usr/lib/python2.6/site-packages/trac/db/", line 64, in execute

        return self.cursor.execute(sql_escape_percent(sql), args)

    File "/usr/lib/python2.6/site-packages/trac/db/", line 80, in execute

        PyFormatCursor.execute(self, *args)

    File "/usr/lib/python2.6/site-packages/trac/db/", line 59, in execute

        args or [])

    File "/usr/lib/python2.6/site-packages/trac/db/", line 51, in _rollback_on_error

        return function(self, *args, **kwargs)

IntegrityError: column ticket_id is not unique

I checked and the "backlog" table is the only table in the database with a ticket_id column and it currently is a primary key. I verified this is a problem that only arises when TracBacklog is installed by removing that plugin.

Attachments (0)

Change History (0)

Modify Ticket

as new The owner will remain Odd Simon Simonsen.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.