Opened 19 years ago
Closed 19 years ago
#310 closed defect (fixed)
peerreview error: no such table: CodeReviews
Reported by: | Akshay Guleria | Owned by: | Team5 |
---|---|---|---|
Priority: | normal | Component: | PeerReviewPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.9 |
Description
Hi,
just installed peerreview plugin and it gave me following error as soon as i hit the peerreview link on the navigation bar.
Trac detected an internal error:
no such table: CodeReviews
If you think this really should work and you can reproduce it. Then you should consider to report this problem to the Trac team.
Go to http://trac.edgewall.com/ and create a new ticket where you describe the problem, how to reproduce it. Don't forget to include the python traceback found below.
TracGuide — The Trac User and Administration Guide Python traceback
Traceback (most recent call last):
File "/usr/lib/python2.3/site-packages/trac/web/modpython_frontend.py", line 206, in handler
dispatch_request(mpr.path_info, mpr, env)
File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 139, in dispatch_request
dispatcher.dispatch(req)
File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 107, in dispatch
resp = chosen_handler.process_request(req)
File "build/bdist.linux-i686/egg/codereview/peerReviewMain.py", line 75, in process_request File "build/bdist.linux-i686/egg/codereview/dbBackend.py", line 38, in getMyCodeReviews File "build/bdist.linux-i686/egg/codereview/dbBackend.py", line 174, in execCodeReviewQuery File "/usr/lib/python2.3/site-packages/sqlite/main.py", line 244, in execute
self.rs = self.con.db.execute(SQL)
DatabaseError: no such table: CodeReviews
help is deeply appreciated.
Thanks Akshay
Apologies for jumping the gun and posting this ticket.
I restarted the web server and then realised i need to run the following: trac-admin /media/repo/TRAC/UNIX_Solutions upgrade
and bravo, it worked just like that.
hummaaan.. may be we should wiki this somewhere in the install instructions.
Thanks Akshay