Opened 10 years ago

Last modified 10 years ago

defect #95 (closed: DONE)

Roadmap errors after installing/upgrading to agile-trac

Test Complete Size: 5 Test Complete Date: 04/06/2009
Documentation Complete Size: 0 Documentation Complete Date:
Acceptance Complete Size: 1 Acceptance Complete Date: 04/06/2009
Reported by: bvosburgh Owned by: ja11sop
Milestone: Clean up of Plugin with Patch Component: agiletrac patch to core
Version: Plugin 0.1.5 Keywords:
Cc: Blocked By:
Blocking: Patch SVN Revision:
Patch Trac Version: not_applicable
In Iterations: 20

Description

Installed agile-trac (11.3) to existing Trac 11.3 installation. Everything appears to work with the except of Roadmap:

Ubuntu 8.04, Apache2, mod_python

Traceback (most recent call last):

File "/usr/lib/python2.5/site-packages/Trac-0.11.4rc1-py2.5.egg/trac/web/api.py", line 367, in send_error

'text/html')

File "/usr/lib/python2.5/site-packages/Trac-0.11.4rc1-py2.5.egg/trac/web/chrome.py", line 728, in render_template

if not req.session or not int(req.session.get('accesskeys', 0)):

File "/usr/lib/python2.5/site-packages/Trac-0.11.4rc1-py2.5.egg/trac/web/api.py", line 194, in getattr

value = self.callbacks[name](self)

File "/usr/lib/python2.5/site-packages/Trac-0.11.4rc1-py2.5.egg/trac/web/main.py", line 267, in _get_session

return Session(self.env, req)

File "/usr/lib/python2.5/site-packages/Trac-0.11.4rc1-py2.5.egg/trac/web/session.py", line 156, in init

self.promote_session(sid)

File "/usr/lib/python2.5/site-packages/Trac-0.11.4rc1-py2.5.egg/trac/web/session.py", line 214, in promote_session

"WHERE sid=%s OR sid=%s ", (sid, self.req.authname))

File "/usr/lib/python2.5/site-packages/Trac-0.11.4rc1-py2.5.egg/trac/db/util.py", line 50, in execute

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

File "/usr/lib/python2.5/site-packages/Trac-0.11.4rc1-py2.5.egg/trac/db/util.py", line 50, in execute

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

ProgrammingError?: current transaction is aborted, commands ignored until end of transaction block

Change History

Have a look at the list of modified files related to this ticket.

Changed 10 years ago by ja11sop

  • test_complete_size changed from undefined to 0
  • doc_complete_size changed from undefined to 0
  • acceptance_complete_size changed from undefined to 0

From your call trace it looks like you are in fact using Trac-0.11.4rc1, not trac 0.11.3. You should be able to overwrite the trac directory in your 0.11.4rc1 egg folder with the 0.11.3 patch but as we've never tried this I wouldn't recommend it. I'd suggest you use a released version of trac instead. I'll mark this as invalid for now, but feel free to raise a new issue later (or re-open this one) if after trying this on a supported install you still hit issues.

Changed 10 years ago by ja11sop

  • test_complete_size changed from 0 to undefined
  • doc_complete_size changed from 0 to undefined
  • acceptance_complete_size changed from 0 to undefined

Changed 10 years ago by ja11sop

Re-opening this as I've just been able to replicate this. Can you tell me what your database back-end is? Is it by chance Postgresql 8.3?

Changed 10 years ago by ja11sop

  • test_complete_size changed from undefined to 5
  • doc_complete_size changed from undefined to 0
  • acceptance_complete_size changed from undefined to 1

This appears to be a postgresql issue. We have a local fix for this and will push it out tomorrow.

Changed 10 years ago by ja11sop

  • acceptance_complete_date set to 04/06/09
  • test_complete_date set to 04/06/09
Note: See TracTickets for help on using tickets.