Opened 15 years ago
Last modified 12 years ago
#4118 closed defect
PeerReview fails after install — at Version 9
Reported by: | Owned by: | Sebastian Marek | |
---|---|---|---|
Priority: | high | Component: | PeerReviewPlugin |
Severity: | critical | Keywords: | |
Cc: | erne.castro@…, Peter, Stjujsckij Nickolaj | Trac Release: | 0.11 |
Description (last modified by )
After installing PeerReview plugin, both globally or local to a particular Trac environment, I can't use the plugin.
One clue: After installing, it didn't make me upgrade the environment.
The traceback is:
Python Traceback Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/trac/web/main.py", line 406, in dispatch_request dispatcher.dispatch(req) File "/usr/lib/python2.5/site-packages/trac/web/main.py", line 237, in dispatch resp = chosen_handler.process_request(req) File "build/bdist.linux-x86_64/egg/codereview/peerReviewMain.py", line 75, in process_request File "build/bdist.linux-x86_64/egg/codereview/dbBackend.py", line 38, in getMyCodeReviews File "build/bdist.linux-x86_64/egg/codereview/dbBackend.py", line 174, in execCodeReviewQuery File "/usr/lib/python2.5/site-packages/trac/db/util.py", line 51, in execute return self.cursor.execute(sql) File "/usr/lib/python2.5/site-packages/trac/db/util.py", line 51, in execute return self.cursor.execute(sql) ProgrammingError: relation "codereviews" does not exist
Change History (9)
comment:1 follow-up: 2 Changed 15 years ago by
comment:3 Changed 15 years ago by
Priority: | normal → high |
---|---|
Severity: | major → critical |
comment:5 follow-up: 7 Changed 15 years ago by
Cc: | Peter added |
---|---|
Trac Release: | 0.10 → 0.11 |
Let me guess: this bug only manifests itself on Postgres backend. PeerReview plugin uses uppercase letters in it's tables and columns names, and for this to work on PG all names have to be double-quoted. Solution is to manually change all table & field names in DB to lowercase
comment:6 Changed 14 years ago by
I have the same problem, but when I upgrade
environment I get a message:
Database is up to date, no upgrade necessary.
But Trac doesn't work and says that I have to upgrade environment. What to do?
comment:7 Changed 14 years ago by
Cc: | Stjujsckij Nickolaj added |
---|
comment:8 Changed 13 years ago by
Another alternative is to change db_default.py prior to compiling / installing so each of the table and column names are lowercase.
comment:9 Changed 13 years ago by
Description: | modified (diff) |
---|
I have actually the same error:
relation "codereviews" does not exist
I did get a notification to upgrade the environment, this error was shown after the environment was upgraded.
Trac. 0.11.3