Opened 17 years ago

Closed 17 years ago

#812 closed defect (duplicate)

TracEnv won't upgrade

Reported by: anonymous Owned by: Radek Bartoň
Priority: normal Component: DiscussionPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10


After installing from source and modifying the trac.ini configuration to include Discussion. I have to upgrade the environment, but it doesn't work:

devspot:~/discussionplugin/0.10# trac-admin /tracenvironment/ upgrade
Database is up to date, no upgrade necessary.

So I get errors about column names when I try Discussion :

Traceback (most recent call last):
  File "/var/lib/python-support/python2.3/trac/web/", line 356, in dispatch_request
  File "/var/lib/python-support/python2.3/trac/web/", line 224, in dispatch
    resp = chosen_handler.process_request(req)
  File "build/bdist.linux-i686/egg/tracdiscussion/", line 70, in process_request
  File "build/bdist.linux-i686/egg/tracdiscussion/", line 31, in render_discussion
  File "build/bdist.linux-i686/egg/tracdiscussion/", line 352, in _do_action
  File "build/bdist.linux-i686/egg/tracdiscussion/", line 785, in get_groups
  File "/var/lib/python-support/python2.3/trac/db/", line 48, in execute
    return self.cursor.execute(sql)
  File "/usr/lib/python2.3/site-packages/sqlite/", line 244, in execute = self.con.db.execute(SQL)
DatabaseError: no such column:

Attachments (0)

Change History (1)

comment:1 Changed 17 years ago by Radek Bartoň

Resolution: duplicate
Status: newclosed

This is the duplicate of ticket #790, but thank you for reporting. Changes I made didn't help to solve this problem on some systems. Could you report info about your sqlite and pysqlite version to ticket #790. Perhaps some versions of sqlite has problem with this SQL statement:

SELECT,, g.description, (SELECT COUNT( AS forums FROM forum f WHERE f.forum_group = FROM forum_group g ORDER BY ASC;

but I don't know yet which versions and why.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Radek Bartoň.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment

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

Note: See TracTickets for help on using tickets.