Edgewall Software
Modify

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#9333 closed defect (cantfix)

OperationalError: no such table: review_current

Reported by: luoyonggang@… Owned by:
Priority: normal Milestone:
Component: general Version:
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

如何重现

当在 /CodeReview 上执行 GET 操作时,Trac发生了内部错误。

(请在此提供其它详细情况)

系统信息

Trac 0.12dev-r9663
Babel 0.9.5
Docutils 0.6
FullBlog 0.1.1-r7774
Genshi 0.6
Mercurial 1.5.2
mod_wsgi 2.8 (WSGIProcessGroup WSGIApplicationGroup 127.0.1.1|/p)
Pygments 1.3.1
pysqlite 2.4.1
Python 2.6.5 (r265:79063, Apr 16 2010, 13:28:26)
[GCC 4.4.3]
setuptools 0.6c11
SQLite 3.6.22
Subversion 1.6.6 (r40053)

已启用插件

ChangeLogMacro 0.2-r7928
FootNoteMacro 1.02
graphviz 0.7.6dev
Latex 0.1-r5294
PageAuthzPolicyEditor 0.12dev-r7144
ReportToDetailedRSS 1.0.1
SvnAuthzAdminPlugin 0.1.2.-Moved.to.Trac.0.11-
TracAccountManager 0.2.1dev-r7737
TracCodeReview 1.0
TracDiscussion 0.7-r7899
TracFullBlogPlugin 0.1.1-r7774
TracIncludeMacro 2.1
TracKeywordSuggest 0.2
TracMasterTickets 2.1.3
TracMercurial 0.12.0.21dev-r9657
TracNoAnonymous 2.1
TracPaste 0.2
TracPoll 0.2
TracSectionEditPlugin 0.1
TracTags 0.6
TracTicketDepgraph 0.11
TracTocMacro 11.0.0.3
TracWikiToPdfPlugin 2.3.1
TracWysiwyg 0.2-r7772
WikiCalendarMacro Rev

Python Traceback

Traceback (most recent call last):
  File "build/bdist.linux-i686/egg/trac/web/main.py", line 512, in _dispatch_request
    dispatcher.dispatch(req)
  File "build/bdist.linux-i686/egg/trac/web/main.py", line 233, in dispatch
    resp = chosen_handler.process_request(req)
  File "build/bdist.linux-i686/egg/codereview/web_ui.py", line 358, in process_request
    return self._display_html(req)
  File "build/bdist.linux-i686/egg/codereview/web_ui.py", line 263, in _display_html
    undergoing_items = crp.get_codereviews_by_key("Undergoing", start_rev, key=keywords, not_shown=not_shown)
  File "build/bdist.linux-i686/egg/codereview/model.py", line 100, in get_codereviews_by_key
    id_cs, priority_cs = self.get_revisions_by_status(status, start_rev)
  File "build/bdist.linux-i686/egg/codereview/model.py", line 56, in get_revisions_by_status
    status_list + [last_rev, start_rev])
  File "build/bdist.linux-i686/egg/trac/db/util.py", line 122, in execute
    return self.cursor.execute(sql_escape_percent(sql), args)
  File "build/bdist.linux-i686/egg/trac/db/sqlite_backend.py", line 78, in execute
    result = PyFormatCursor.execute(self, *args)
  File "build/bdist.linux-i686/egg/trac/db/sqlite_backend.py", line 56, in execute
    args or [])
  File "build/bdist.linux-i686/egg/trac/db/sqlite_backend.py", line 48, in _rollback_on_error
    return function(self, *args, **kwargs)
OperationalError: no such table: review_current

Attachments (0)

Change History (2)

comment:1 by Remy Blank, 15 years ago

Resolution: cantfix
Status: newclosed

PluginIssue (TracCodeReview).

comment:2 by Carsten Klein <carsten.klein@…>, 15 years ago

Just for the record: did you do a trac-admin <env-dir> upgrade after having enabled the plugin? I seems that the tables required by that plugin have not been installed.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.