#11298 closed defect (duplicate)
ProgrammingError: relation "tags" does not existLINE 1: SELECT tag FROM tags WHERE tagspace='wiki' AND name='WikiSta... ^
| Reported by: | Owned by: | Steffen Hoffmann | |
|---|---|---|---|
| Priority: | normal | Component: | TagsPlugin |
| Severity: | normal | Keywords: | tractags |
| Cc: | Trac Release: | 1.0 |
Description
How to Reproduce
While doing a GET operation on /wiki, Trac issued an internal error.
(please provide additional details here)
Request parameters:
{}
User agent: Mozilla/5.0 (Windows NT 5.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.62 Safari/537.36
System Information
Trac | 1.0
|
Agilo | 1.3.10-PRO
|
Genshi | 0.7 (without speedups)
|
psycopg2 | 2.0.14
|
Pygments | 1.4
|
Python | 2.6.8 (unknown, Mar 14 2013, 09:31:22) [GCC 4.6.2 20111027 (Red Hat 4.6.2-2)]
|
setuptools | 0.8
|
Subversion | 1.7.10 (r1485443)
|
jQuery | 1.7.2
|
Enabled Plugins
binary-agilo | 1.3.10-PRO
|
SQLExecutor | 1.0.6
|
TestManager | 1.7.1
|
TracAccountManager | 0.4.3
|
TracGenericClass | 1.1.5
|
TracGenericWorkflow | 1.0.4
|
TracPermRedirect | 3.0
|
TracTags | 0.6
|
Python Traceback
Traceback (most recent call last):
File "build/bdist.linux-x86_64/egg/trac/web/main.py", line 497, in _dispatch_request
dispatcher.dispatch(req)
File "build/bdist.linux-x86_64/egg/trac/web/main.py", line 233, in dispatch
content_type)
File "build/bdist.linux-x86_64/egg/trac/web/chrome.py", line 968, in render_template
stream |= self._filter_stream(req, method, filename, stream, data)
File "/root/.local/lib/python2.6/site-packages/Genshi-0.7-py2.6-linux-x86_64.egg/genshi/core.py", line 133, in __or__
return Stream(_ensure(function(self)), serializer=self.serializer)
File "build/bdist.linux-x86_64/egg/trac/web/chrome.py", line 1147, in inner
data)
File "build/bdist.linux-x86_64/egg/tractags/wiki.py", line 42, in filter_stream
return self._wiki_view(req, stream)
File "build/bdist.linux-x86_64/egg/tractags/wiki.py", line 87, in _wiki_view
tags = self._page_tags(req)
File "build/bdist.linux-x86_64/egg/tractags/wiki.py", line 83, in _page_tags
tags = sorted(tag_system.get_tags(req, resource))
File "build/bdist.linux-x86_64/egg/tractags/api.py", line 203, in get_tags
.get_resource_tags(req, resource))
File "build/bdist.linux-x86_64/egg/tractags/api.py", line 120, in get_resource_tags
(self.realm, resource.id))
File "build/bdist.linux-x86_64/egg/trac/db/util.py", line 65, in execute
return self.cursor.execute(sql_escape_percent(sql), args)
ProgrammingError: relation "tags" does not exist
LINE 1: SELECT tag FROM tags WHERE tagspace='wiki' AND name='WikiSta...
^
Attachments (0)
Change History (4)
comment:2 follow-up: 3 Changed 12 years ago by
| Component: | SELECT A HACK → TagsPlugin |
|---|---|
| Owner: | changed from anonymous to Steffen Hoffmann |
Please try installing TagsPlugin 0.7dev from the tagsplugin/trunk. I'm fairly certain that TagsPlugin 0.6 is not compatible with Trac 1.0.
comment:3 Changed 12 years ago by
| Resolution: | → duplicate |
|---|---|
| Status: | new → closed |
Replying to rjollos:
I'm fairly certain that TagsPlugin 0.6 is not compatible with Trac 1.0.
This has been discussed in #9521 for a while, and more important: fixed reliably for trunk. Treat it as tags-0.7-rc, if you want. There are a few edges I hope to round out before next release.
For Trac revisions even a bit before 1.0 release there is definitely no choice other than using a plugin revision newer than 0.6, as Ryan already pointed out. No news here, sorry.
comment:4 Changed 12 years ago by
Please follow-up on #9521, if you find a problem with the current solution implemented during the work on that ticket. Still thanks for taking time to report this here.



trac-admin /var/lib/trac/scrum upgradeafter installing tractags plugin, the upgrade phase ended in error: