#508: Trac plugin does not working in the Bloodhound Theme ------------------------+-------------------- Reporter: goody80 | Owner: nobody Type: defect | Status: new Priority: major | Milestone: Component: dashboard | Version: 0.5.3 Resolution: | Keywords: ------------------------+--------------------
Comment (by olemis): Thanks for providing further details . Please see inline comments . Replying to [comment:9 goody80]: [...] > > {{{ > 2013-04-25 18:07:18,858 Trac[theme] ERROR: BH: Quick create ticket failed PRIMARY KEY must be unique > Traceback (most recent call last): > File "/data/bloodhound/installer/bloodhound/lib/python2.6/site- packages/bhtheme/theme.py", line 424, in process_request > ticket_id = self.create(req, summary, desc, attrs, True) > File "/data/bloodhound/installer/bloodhound/lib/python2.6/site- packages/bhtheme/theme.py", line 460, in create > listener.ticket_created(t) > }}} Up to this point this only means that ticket was successfully created and thereby ticket listeners will be notified of the fact ... > {{{ > File "/usr/lib/python2.6/site-packages/TracBacklog-0.4.0_dev- py2.6.egg/backlog/web_ui.py", line 180, in ticket_created > (ticket.id, rank)) > File "/data/bloodhound/installer/bloodhound/lib/python2.6/site- packages/trac/db/util.py", line 65, in execute > return self.cursor.execute(sql_escape_percent(sql), args) > }}} trachacks:BacklogPlugin being one such listener subsequently executing an (undisclosed) SQL query ... > {{{ > File "/data/bloodhound/installer/bloodhound/lib/python2.6/site- packages/trac/db/sqlite_backend.py", line 78, in execute > result = PyFormatCursor.execute(self, *args) > File "/data/bloodhound/installer/bloodhound/lib/python2.6/site- packages/trac/db/sqlite_backend.py", line 56, in execute > args or []) > File "/data/bloodhound/installer/bloodhound/lib/python2.6/site- packages/trac/db/sqlite_backend.py", line 48, in _rollback_on_error > return function(self, *args, **kwargs) > IntegrityError: PRIMARY KEY must be unique > }}} > ... that fails when being processed by Trac DB API modules . So this may be one of four options 1. An error in trachacks:BacklogPlugin 2. An error in Trac DB API 3. An error caused by a modification we made in Trac DB API 4. Interactions between activated components thus causing this error Could you please mention if you get the same error using /newticket form ? -- Ticket URL: <https://issues.apache.org/bloodhound/ticket/508#comment:10> Apache Bloodhound <https://issues.apache.org/bloodhound/> The Apache Bloodhound issue tracker