#8452 closed defect (fixed)
table trac.WIKI does not exist
Reported by: | shabbychef | Owned by: | Ryan J Ollos |
---|---|---|---|
Priority: | normal | Component: | BackLinksMacro |
Severity: | major | Keywords: | |
Cc: | Trac Release: | 0.12 |
Description (last modified by )
this macro seems to fail, with the error:
Error: Macro BackLinks(None) failed 1146Table 'trac.WIKI' doesn't exist
Attachments (0)
Change History (7)
comment:1 Changed 14 years ago by
Description: | modified (diff) |
---|
comment:2 follow-up: 3 Changed 13 years ago by
comment:3 follow-up: 4 Changed 12 years ago by
Replying to anonymous:
+1 anyone solved that?
I got the problem when I decided to use MySQL. In BackLinks.py, replace the string "WIKI" by "wiki" and that will work :
sql = 'SELECT w1.name FROM wiki w1, ' + \ '(SELECT name, MAX(version) AS VERSION FROM wiki GROUP BY NAME) w2 ' + \ 'WHERE w1.version = w2.version AND w1.name = w2.name '
comment:4 Changed 12 years ago by
Owner: | changed from Trap to Ryan J Ollos |
---|---|
Status: | new → assigned |
Replying to terreorange:
I got the problem when I decided to use MySQL. In BackLinks.py, replace the string "WIKI" by "wiki" and that will work:
Thanks, I'll get the change applied to the trunk now. More work on this macro is in store for the near future.
comment:5 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
(In [11875]) Fixes #8452: Changed incorrectly named table: WIKI
-> wiki
. Thank you terreorange.
comment:6 follow-up: 7 Changed 12 years ago by
I assumed that this is working well on 0.12 then, and added the 0.12 tag to the project wiki page.
comment:7 Changed 12 years ago by
Replying to rjollos:
I assumed that this is working well on 0.12 then, and added the 0.12 tag to the project wiki page.
Yes, I confirm, I use Trac 0.12.
+1 anyone solved that?