Opened 16 years ago
Closed 16 years ago
#3592 closed defect (wontfix)
tracdiscussion.init breaks Trac 0.11
Reported by: | Owned by: | Radek Bartoň | |
---|---|---|---|
Priority: | normal | Component: | DiscussionPlugin |
Severity: | normal | Keywords: | tracdiscussion, discussionplugin, init |
Cc: | Trac Release: | 0.11 |
Description
I've been trying to get the DiscussionPlugin plugin to work, but whenever I enable the tracdiscussion.init the entire TRAC system is down. Going to trac.ini and disabling it makes TRAC work again, but the Discussion page comes up with this error:
Oops… Trac detected an internal error: OperationalError: no such table: forum If you think this should work you can reproduce the problem, you should consider reporting this to the Trac team. Before you do that, though, please first try searching for similar issues, as it is quite likely that this problem has been reported before. For questions about installation and configuration of Trac, please try the mailing list instead of filing a ticket. Otherwise, please ==== How to Reproduce ==== While doing a GET operation on `/discussion`, Trac issued an internal error. ''(please provide additional details here)'' User Agent was: `Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; WOW64; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.0.04506; InfoPath.2)` ==== System Information ==== || '''Trac''' || `0.11` || || '''Python''' || `2.5.2 (r252:60911, Jul 31 2008, 17:44:49) ` [[br]] `[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)]` || || '''setuptools''' || `0.6c8` || || '''SQLite''' || `3.4.2` || || '''pysqlite''' || `2.4.0` || || '''Genshi''' || `0.5.1` || || '''mod_python''' || `3.3.1` || || '''Subversion''' || `1.4.6 (r28521)` || || '''jQuery:''' || `1.2.3` || ==== Python Traceback ==== {{{ Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg/trac/web/main.py", line 423, in _dispatch_request dispatcher.dispatch(req) File "/usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg/trac/web/main.py", line 197, in dispatch resp = chosen_handler.process_request(req) File "build/bdist.linux-i686/egg/tracdiscussion/core.py", line 77, in process_request return api.process_discussion(context) + (None,) File "build/bdist.linux-i686/egg/tracdiscussion/api.py", line 62, in process_discussion is_moderator) File "build/bdist.linux-i686/egg/tracdiscussion/api.py", line 415, in _do_action self.data['groups'] = self.get_groups(context) File "build/bdist.linux-i686/egg/tracdiscussion/api.py", line 902, in get_groups context.cursor.execute(sql) File "/usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg/trac/db/util.py", line 51, in execute return self.cursor.execute(sql) File "/usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg/trac/db/sqlite_backend.py", line 58, in execute args or []) File "/usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg/trac/db/sqlite_backend.py", line 50, in _rollback_on_error return function(self, *args, **kwargs) OperationalError: no such table: forum }}} a new ticket at the Trac project site, where you can describe the problem and explain how to reproduce it. Python Traceback Most recent call last: File "/usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg/trac/web/main.py", line 423, in _dispatch_request Code fragment: try: if not env and env_error: raise HTTPInternalError(env_error) try: dispatcher = RequestDispatcher(env) dispatcher.dispatch(req) except RequestDone: pass resp = req._response or [] except HTTPException, e: Local variables: Name Value after [u' except RequestDone:', u' pass', u' resp = ... before [u' try:', u' if not env and env_error:', u' raise ... dispatcher <trac.web.main.RequestDispatcher object at 0x9612c0c> e OperationalError('no such table: forum',) env <trac.env.Environment object at 0x95fdbcc> env_error None exc_info (<class 'pysqlite2.dbapi2.OperationalError'>, OperationalError('no such ... filename '/usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg/trac/web/main.py' frames [{'function': '_dispatch_request', 'lines_before': [u' try:', u' ... has_admin True line u' dispatcher.dispatch(req)' lineno 422 message u'OperationalError: no such table: forum' req <Request "GET u'/discussion'"> resp [] tb <traceback object at 0x96fa284> tb_hide None traceback 'Traceback (most recent call last):\n File ... File "/usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg/trac/web/main.py", line 197, in dispatch Code fragment: req.args.get('__FORM_TOKEN') != req.form_token: raise HTTPBadRequest('Missing or invalid form token. ' 'Do you have cookies enabled?') # Process the request and render the template resp = chosen_handler.process_request(req) if resp: if len(resp) == 2: # Clearsilver chrome.populate_hdf(req) template, content_type = \ self._post_process_request(req, *resp) Local variables: Name Value chosen_handler <tracdiscussion.core.DiscussionCore object at 0x9721f4c> chrome <trac.web.chrome.Chrome object at 0x968f66c> err (<class 'pysqlite2.dbapi2.OperationalError'>, OperationalError('no such ... handler <tracdiscussion.core.DiscussionCore object at 0x9721f4c> req <Request "GET u'/discussion'"> self <trac.web.main.RequestDispatcher object at 0x9612c0c> File "build/bdist.linux-i686/egg/tracdiscussion/core.py", line 77, in process_request Local variables: Name Value api <tracdiscussion.api.DiscussionApi object at 0x95cb5ac> context <Context <Resource 'discussion-core'>> req <Request "GET u'/discussion'"> self <tracdiscussion.core.DiscussionCore object at 0x9721f4c> File "build/bdist.linux-i686/egg/tracdiscussion/api.py", line 62, in process_discussion Local variables: Name Value context <Context <Resource 'discussion-core'>> db <trac.db.pool.PooledConnection object at 0x95cb82c> forum None group None is_moderator True message None modes ['forum-list'] self <tracdiscussion.api.DiscussionApi object at 0x95cb5ac> topic None File "build/bdist.linux-i686/egg/tracdiscussion/api.py", line 415, in _do_action Local variables: Name Value context <Context <Resource 'discussion-core'>> direction u'asc' forum None group None is_moderator True message None mode 'forum-list' modes ['forum-list'] order u'id' self <tracdiscussion.api.DiscussionApi object at 0x95cb5ac> topic None File "build/bdist.linux-i686/egg/tracdiscussion/api.py", line 902, in get_groups Local variables: Name Value context <Context <Resource 'discussion-core'>> desc False order_by 'id' self <tracdiscussion.api.DiscussionApi object at 0x95cb5ac> sql 'SELECT COUNT(f.id) FROM forum f WHERE f.forum_group = 0' File "/usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg/trac/db/util.py", line 51, in execute Code fragment: # -- In case of SQL errors, uncomment the following 'print' statements # print 'execute', repr(sql) if args: # print repr(args) return self.cursor.execute(sql_escape_percent(sql), args) return self.cursor.execute(sql) def executemany(self, sql, args=None): # print 'executemany', repr(sql) if args: # print repr(args) Local variables: Name Value args None self <trac.db.util.IterableCursor object at 0x96284dc> sql 'SELECT COUNT(f.id) FROM forum f WHERE f.forum_group = 0' File "/usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg/trac/db/sqlite_backend.py", line 58, in execute Code fragment: raise def execute(self, sql, args=None): if args: sql = sql % (('?',) * len(args)) return self._rollback_on_error(sqlite.Cursor.execute, sql, args or []) def executemany(self, sql, args=None): if args: sql = sql % (('?',) * len(args[0])) return self._rollback_on_error(sqlite.Cursor.executemany, sql, args or []) Local variables: Name Value args None self <trac.db.sqlite_backend.PyFormatCursor object at 0x968a6ac> sql 'SELECT COUNT(f.id) FROM forum f WHERE f.forum_group = 0' File "/usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg/trac/db/sqlite_backend.py", line 50, in _rollback_on_error Code fragment: sqlite_version_string = '%d.%d.%d' % (_ver[0], _ver[1], int(_ver[2])) class PyFormatCursor(sqlite.Cursor): def _rollback_on_error(self, function, *args, **kwargs): try: return function(self, *args, **kwargs) except sqlite.DatabaseError, e: self.cnx.rollback() raise def execute(self, sql, args=None): if args: Local variables: Name Value args ('SELECT COUNT(f.id) FROM forum f WHERE f.forum_group = 0', []) e OperationalError('no such table: forum',) function <method 'execute' of 'pysqlite2.dbapi2.Cursor' objects> kwargs {} self <trac.db.sqlite_backend.PyFormatCursor object at 0x968a6ac> File "/usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg/trac/web/main.py", line 423, in _dispatch_request dispatcher.dispatch(req) File "/usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg/trac/web/main.py", line 197, in dispatch resp = chosen_handler.process_request(req) File "build/bdist.linux-i686/egg/tracdiscussion/core.py", line 77, in process_requestFile "build/bdist.linux-i686/egg/tracdiscussion/api.py", line 62, in process_discussionFile "build/bdist.linux-i686/egg/tracdiscussion/api.py", line 415, in _do_actionFile "build/bdist.linux-i686/egg/tracdiscussion/api.py", line 902, in get_groupsFile "/usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg/trac/db/util.py", line 51, in execute return self.cursor.execute(sql) File "/usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg/trac/db/sqlite_backend.py", line 58, in execute args or []) File "/usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg/trac/db/sqlite_backend.py", line 50, in _rollback_on_error return function(self, *args, **kwargs) System Information: User Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; WOW64; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.0.04506; InfoPath.2) Trac: 0.11 Python: 2.5.2 (r252:60911, Jul 31 2008, 17:44:49) [GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] setuptools: 0.6c8 SQLite: 3.4.2 pysqlite: 2.4.0 Genshi: 0.5.1 mod_python: 3.3.1 Subversion: 1.4.6 (r28521) jQuery: 1.2.3
Also, the Discussionplugin requires the SpamFilterPlugin, but SpamFilterPlugin also destroys my TRAC system, unless I disable the tracspamfilter.api component. Maybe I need help getting the spamfilter.api to work and then the tracdiscussion.init component will work. I can provide you my trac.log log from when TRAC works but tracdiscussion.init is disabled and so discussion doesn't work:
2008-08-21 15:00:45,931 Trac[env] WARNING: base_url option not set in configuration, generated links may be incorrect 2008-08-21 15:00:45,931 Trac[env] WARNING: base_url option not set in configuration, generated links may be incorrect 2008-08-21 15:00:45,932 Trac[main] DEBUG: Dispatching <Request "GET u'/chrome/common/css/admin.css'"> 2008-08-21 15:00:45,932 Trac[main] DEBUG: Dispatching <Request "GET u'/chrome/common/css/admin.css'"> 2008-08-21 15:00:45,981 Trac[session] DEBUG: Retrieving session for ID u'dm42' 2008-08-21 15:00:45,981 Trac[session] DEBUG: Retrieving session for ID u'dm42' 2008-08-21 15:00:46,048 Trac[main] DEBUG: 5840 unreachable objects found. 2008-08-21 15:00:46,048 Trac[main] DEBUG: 5840 unreachable objects found. 2008-08-21 15:00:46,117 Trac[main] DEBUG: Dispatching <Request "GET u'/chrome/common/js/trac.js'"> 2008-08-21 15:00:46,119 Trac[session] DEBUG: Retrieving session for ID u'dm42' 2008-08-21 15:00:46,143 Trac[main] DEBUG: 62 unreachable objects found. 2008-08-21 15:00:46,148 Trac[main] DEBUG: Dispatching <Request "GET u'/chrome/common/js/search.js'"> 2008-08-21 15:00:46,148 Trac[main] DEBUG: Dispatching <Request "GET u'/chrome/common/js/search.js'"> 2008-08-21 15:00:46,151 Trac[session] DEBUG: Retrieving session for ID u'dm42' 2008-08-21 15:00:46,151 Trac[session] DEBUG: Retrieving session for ID u'dm42' 2008-08-21 15:00:46,176 Trac[main] DEBUG: 59 unreachable objects found. 2008-08-21 15:00:46,176 Trac[main] DEBUG: 59 unreachable objects found. 2008-08-21 15:00:46,182 Trac[main] DEBUG: Dispatching <Request "GET u'/chrome/common/trac_logo_mini.png'"> 2008-08-21 15:00:46,184 Trac[session] DEBUG: Retrieving session for ID u'dm42' 2008-08-21 15:00:46,203 Trac[main] DEBUG: Dispatching <Request "GET u'/chrome/common/topbar_gradient.png'"> 2008-08-21 15:00:46,203 Trac[main] DEBUG: Dispatching <Request "GET u'/chrome/common/topbar_gradient.png'"> 2008-08-21 15:00:46,206 Trac[session] DEBUG: Retrieving session for ID u'dm42' 2008-08-21 15:00:46,206 Trac[session] DEBUG: Retrieving session for ID u'dm42' 2008-08-21 15:00:46,287 Trac[main] DEBUG: 62 unreachable objects found. 2008-08-21 15:00:46,294 Trac[main] DEBUG: Dispatching <Request "GET u'/search/opensearch'"> 2008-08-21 15:00:46,299 Trac[session] DEBUG: Retrieving session for ID u'dm42' 2008-08-21 15:00:46,315 Trac[main] DEBUG: 62 unreachable objects found. 2008-08-21 15:00:46,315 Trac[main] DEBUG: 62 unreachable objects found. 2008-08-21 15:00:46,319 Trac[chrome] DEBUG: Prepare chrome data for request 2008-08-21 15:00:46,323 Trac[perm] DEBUG: No policy allowed dm42 performing SPAM_CONFIG on None 2008-08-21 15:00:46,323 Trac[perm] DEBUG: No policy allowed dm42 performing SPAM_MONITOR on None 2008-08-21 15:00:46,335 Trac[main] DEBUG: Dispatching <Request "GET u'/chrome/common/dots.gif'"> 2008-08-21 15:00:46,335 Trac[main] DEBUG: Dispatching <Request "GET u'/chrome/common/dots.gif'"> 2008-08-21 15:00:46,344 Trac[session] DEBUG: Retrieving session for ID u'dm42' 2008-08-21 15:00:46,344 Trac[session] DEBUG: Retrieving session for ID u'dm42' 2008-08-21 15:00:46,389 Trac[main] DEBUG: 62 unreachable objects found. 2008-08-21 15:00:46,389 Trac[main] DEBUG: 62 unreachable objects found. 2008-08-21 15:00:46,396 Trac[main] DEBUG: 142 unreachable objects found. 2008-08-21 15:00:46,397 Trac[main] DEBUG: Dispatching <Request "GET u'/chrome/common/topbar_gradient2.png'"> 2008-08-21 15:00:46,400 Trac[session] DEBUG: Retrieving session for ID u'dm42' 2008-08-21 15:00:46,430 Trac[main] DEBUG: 276 unreachable objects found. 2008-08-21 15:00:49,383 Trac[main] DEBUG: Dispatching <Request "GET u'/admin/general/plugin'"> 2008-08-21 15:00:49,383 Trac[main] DEBUG: Dispatching <Request "GET u'/admin/general/plugin'"> 2008-08-21 15:00:49,387 Trac[svn_fs] DEBUG: Subversion bindings imported 2008-08-21 15:00:49,387 Trac[svn_fs] DEBUG: Subversion bindings imported 2008-08-21 15:00:49,391 Trac[session] DEBUG: Retrieving session for ID u'dm42' 2008-08-21 15:00:49,391 Trac[session] DEBUG: Retrieving session for ID u'dm42' 2008-08-21 15:00:49,422 Trac[api] DEBUG: action controllers for ticket workflow: ['ConfigurableTicketWorkflow'] 2008-08-21 15:00:49,422 Trac[api] DEBUG: action controllers for ticket workflow: ['ConfigurableTicketWorkflow'] 2008-08-21 15:00:49,433 Trac[perm] DEBUG: No policy allowed dm42 performing SPAM_CONFIG on None 2008-08-21 15:00:49,433 Trac[perm] DEBUG: No policy allowed dm42 performing SPAM_CONFIG on None 2008-08-21 15:00:49,433 Trac[perm] DEBUG: No policy allowed dm42 performing SPAM_MONITOR on None 2008-08-21 15:00:49,433 Trac[perm] DEBUG: No policy allowed dm42 performing SPAM_MONITOR on None 2008-08-21 15:00:49,649 Trac[chrome] DEBUG: Prepare chrome data for request 2008-08-21 15:00:49,649 Trac[chrome] DEBUG: Prepare chrome data for request 2008-08-21 15:00:50,315 Trac[main] DEBUG: 1192 unreachable objects found. 2008-08-21 15:00:50,315 Trac[main] DEBUG: 1192 unreachable objects found. 2008-08-21 15:00:50,424 Trac[main] DEBUG: Dispatching <Request "GET u'/chrome/common/js/folding.js'"> 2008-08-21 15:00:50,427 Trac[session] DEBUG: Retrieving session for ID u'dm42' 2008-08-21 15:00:50,453 Trac[main] DEBUG: 62 unreachable objects found. 2008-08-21 15:00:50,680 Trac[main] DEBUG: Dispatching <Request "GET u'/chrome/common/expanded.png'"> 2008-08-21 15:00:50,680 Trac[main] DEBUG: Dispatching <Request "GET u'/chrome/common/expanded.png'"> 2008-08-21 15:00:50,683 Trac[session] DEBUG: Retrieving session for ID u'dm42' 2008-08-21 15:00:50,683 Trac[session] DEBUG: Retrieving session for ID u'dm42' 2008-08-21 15:00:50,708 Trac[main] DEBUG: 274 unreachable objects found. 2008-08-21 15:00:50,708 Trac[main] DEBUG: 274 unreachable objects found. 2008-08-21 15:00:50,712 Trac[main] DEBUG: Dispatching <Request "GET u'/chrome/common/collapsed.png'"> 2008-08-21 15:00:50,715 Trac[session] DEBUG: Retrieving session for ID u'dm42' 2008-08-21 15:00:50,760 Trac[loader] DEBUG: Loading trac.ticket.web_ui from /usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg 2008-08-21 15:00:50,760 Trac[loader] DEBUG: Loading trac.ticket.web_ui from /usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg 2008-08-21 15:00:50,767 Trac[main] DEBUG: Dispatching <Request "GET u'/chrome/common/expanded.png'"> 2008-08-21 15:00:50,777 Trac[main] DEBUG: Dispatching <Request "GET u'/chrome/common/expanded.png'"> 2008-08-21 15:00:50,781 Trac[session] DEBUG: Retrieving session for ID u'dm42' 2008-08-21 15:00:50,793 Trac[session] DEBUG: Retrieving session for ID u'dm42' 2008-08-21 15:00:50,807 Trac[main] DEBUG: 62 unreachable objects found. 2008-08-21 15:00:50,822 Trac[loader] DEBUG: Loading trac.mimeview.php from /usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg 2008-08-21 15:00:50,822 Trac[loader] DEBUG: Loading trac.mimeview.php from /usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg 2008-08-21 15:00:50,823 Trac[loader] DEBUG: Loading trac.ticket.query from /usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg 2008-08-21 15:00:50,823 Trac[loader] DEBUG: Loading trac.ticket.query from /usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg 2008-08-21 15:00:50,823 Trac[loader] DEBUG: Loading trac.attachment from /usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg 2008-08-21 15:00:50,823 Trac[loader] DEBUG: Loading trac.attachment from /usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg 2008-08-21 15:00:50,824 Trac[loader] DEBUG: Loading trac.versioncontrol.svn_fs from /usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg 2008-08-21 15:00:50,824 Trac[loader] DEBUG: Loading trac.versioncontrol.svn_fs from /usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg 2008-08-21 15:00:50,824 Trac[loader] DEBUG: Loading trac.mimeview.patch from /usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg 2008-08-21 15:00:50,824 Trac[loader] DEBUG: Loading trac.mimeview.patch from /usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg 2008-08-21 15:00:50,824 Trac[loader] DEBUG: Loading trac.mimeview.txtl from /usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg 2008-08-21 15:00:50,824 Trac[loader] DEBUG: Loading trac.mimeview.txtl from /usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg 2008-08-21 15:00:50,850 Trac[loader] DEBUG: Skipping "trac.mimeview.txtl = trac.mimeview.txtl [textile]": ("textile>=2.0" not found) 2008-08-21 15:00:50,850 Trac[loader] DEBUG: Skipping "trac.mimeview.txtl = trac.mimeview.txtl [textile]": ("textile>=2.0" not found) 2008-08-21 15:00:50,850 Trac[loader] DEBUG: Loading trac.admin.web_ui from /usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg 2008-08-21 15:00:50,850 Trac[loader] DEBUG: Loading trac.admin.web_ui from /usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg 2008-08-21 15:00:50,851 Trac[loader] DEBUG: Loading trac.ticket.admin from /usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg 2008-08-21 15:00:50,851 Trac[loader] DEBUG: Loading trac.ticket.admin from /usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg 2008-08-21 15:00:50,851 Trac[loader] DEBUG: Loading trac.mimeview.rst from /usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg 2008-08-21 15:00:50,851 Trac[loader] DEBUG: Loading trac.mimeview.rst from /usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg 2008-08-21 15:00:50,890 Trac[main] DEBUG: 59 unreachable objects found. 2008-08-21 15:00:50,938 Trac[loader] DEBUG: Skipping "trac.mimeview.rst = trac.mimeview.rst [rest]": ("docutils>=0.3" not found) 2008-08-21 15:00:50,938 Trac[loader] DEBUG: Skipping "trac.mimeview.rst = trac.mimeview.rst [rest]": ("docutils>=0.3" not found) 2008-08-21 15:00:50,938 Trac[loader] DEBUG: Loading trac.db.postgres from /usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg 2008-08-21 15:00:50,938 Trac[loader] DEBUG: Loading trac.db.postgres from /usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg 2008-08-21 15:00:50,939 Trac[loader] DEBUG: Loading trac.versioncontrol.web_ui from /usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg 2008-08-21 15:00:50,939 Trac[loader] DEBUG: Loading trac.versioncontrol.web_ui from /usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg 2008-08-21 15:00:50,939 Trac[loader] DEBUG: Loading trac.timeline from /usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg 2008-08-21 15:00:50,939 Trac[loader] DEBUG: Loading trac.timeline from /usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg 2008-08-21 15:00:50,940 Trac[loader] DEBUG: Loading trac.mimeview.pygments from /usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg 2008-08-21 15:00:50,940 Trac[loader] DEBUG: Loading trac.mimeview.pygments from /usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg 2008-08-21 15:00:50,951 Trac[loader] DEBUG: Skipping "trac.mimeview.pygments = trac.mimeview.pygments [pygments]": ("Pygments>=0.6" not found) 2008-08-21 15:00:50,951 Trac[loader] DEBUG: Skipping "trac.mimeview.pygments = trac.mimeview.pygments [pygments]": ("Pygments>=0.6" not found) 2008-08-21 15:00:50,951 Trac[loader] DEBUG: Loading trac.about from /usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg 2008-08-21 15:00:50,951 Trac[loader] DEBUG: Loading trac.about from /usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg 2008-08-21 15:00:50,951 Trac[loader] DEBUG: Loading trac.ticket.roadmap from /usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg 2008-08-21 15:00:50,965 Trac[main] DEBUG: 62 unreachable objects found. 2008-08-21 15:00:50,951 Trac[loader] DEBUG: Loading trac.ticket.roadmap from /usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg 2008-08-21 15:00:50,966 Trac[loader] DEBUG: Loading trac.mimeview.silvercity from /usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg 2008-08-21 15:00:50,966 Trac[loader] DEBUG: Loading trac.mimeview.silvercity from /usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg 2008-08-21 15:00:50,999 Trac[loader] DEBUG: Skipping "trac.mimeview.silvercity = trac.mimeview.silvercity [silvercity]": ("SilverCity>=0.9.4" not found) 2008-08-21 15:00:50,999 Trac[loader] DEBUG: Skipping "trac.mimeview.silvercity = trac.mimeview.silvercity [silvercity]": ("SilverCity>=0.9.4" not found) 2008-08-21 15:00:50,999 Trac[loader] DEBUG: Loading trac.wiki.macros from /usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg 2008-08-21 15:00:50,999 Trac[loader] DEBUG: Loading trac.wiki.macros from /usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg 2008-08-21 15:00:51,000 Trac[loader] DEBUG: Loading trac.db.sqlite from /usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg 2008-08-21 15:00:51,000 Trac[loader] DEBUG: Loading trac.db.sqlite from /usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg 2008-08-21 15:00:51,000 Trac[loader] DEBUG: Loading trac.wiki.web_ui from /usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg 2008-08-21 15:00:51,000 Trac[loader] DEBUG: Loading trac.wiki.web_ui from /usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg 2008-08-21 15:00:51,001 Trac[loader] DEBUG: Loading trac.mimeview.enscript from /usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg 2008-08-21 15:00:51,001 Trac[loader] DEBUG: Loading trac.mimeview.enscript from /usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg 2008-08-21 15:00:51,001 Trac[loader] DEBUG: Loading trac.web.auth from /usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg 2008-08-21 15:00:51,001 Trac[loader] DEBUG: Loading trac.web.auth from /usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg 2008-08-21 15:00:51,002 Trac[loader] DEBUG: Loading trac.admin.console from /usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg 2008-08-21 15:00:51,002 Trac[loader] DEBUG: Loading trac.admin.console from /usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg 2008-08-21 15:00:51,003 Trac[loader] DEBUG: Loading trac.db.mysql from /usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg 2008-08-21 15:00:51,003 Trac[loader] DEBUG: Loading trac.db.mysql from /usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg 2008-08-21 15:00:51,004 Trac[loader] DEBUG: Loading trac.search from /usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg 2008-08-21 15:00:51,004 Trac[loader] DEBUG: Loading trac.search from /usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg 2008-08-21 15:00:51,004 Trac[loader] DEBUG: Loading trac.prefs from /usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg 2008-08-21 15:00:51,004 Trac[loader] DEBUG: Loading trac.prefs from /usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg 2008-08-21 15:00:51,004 Trac[loader] DEBUG: Loading trac.ticket.report from /usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg 2008-08-21 15:00:51,004 Trac[loader] DEBUG: Loading trac.ticket.report from /usr/lib/python2.5/site-packages/Trac-0.11-py2.5.egg 2008-08-21 15:00:51,005 Trac[loader] DEBUG: Loading acct_mgr.admin from /usr/lib/python2.5/site-packages/TracAccountManager-0.2.1dev_r3857-py2.5.egg 2008-08-21 15:00:51,005 Trac[loader] DEBUG: Loading acct_mgr.admin from /usr/lib/python2.5/site-packages/TracAccountManager-0.2.1dev_r3857-py2.5.egg 2008-08-21 15:00:51,005 Trac[loader] DEBUG: Loading acct_mgr.db from /usr/lib/python2.5/site-packages/TracAccountManager-0.2.1dev_r3857-py2.5.egg 2008-08-21 15:00:51,005 Trac[loader] DEBUG: Loading acct_mgr.db from /usr/lib/python2.5/site-packages/TracAccountManager-0.2.1dev_r3857-py2.5.egg 2008-08-21 15:00:51,008 Trac[loader] DEBUG: Loading acct_mgr.htfile from /usr/lib/python2.5/site-packages/TracAccountManager-0.2.1dev_r3857-py2.5.egg 2008-08-21 15:00:51,008 Trac[loader] DEBUG: Loading acct_mgr.htfile from /usr/lib/python2.5/site-packages/TracAccountManager-0.2.1dev_r3857-py2.5.egg 2008-08-21 15:00:51,008 Trac[loader] DEBUG: Loading acct_mgr.http from /usr/lib/python2.5/site-packages/TracAccountManager-0.2.1dev_r3857-py2.5.egg 2008-08-21 15:00:51,008 Trac[loader] DEBUG: Loading acct_mgr.http from /usr/lib/python2.5/site-packages/TracAccountManager-0.2.1dev_r3857-py2.5.egg 2008-08-21 15:00:51,008 Trac[loader] DEBUG: Loading acct_mgr.notification from /usr/lib/python2.5/site-packages/TracAccountManager-0.2.1dev_r3857-py2.5.egg 2008-08-21 15:00:51,008 Trac[loader] DEBUG: Loading acct_mgr.notification from /usr/lib/python2.5/site-packages/TracAccountManager-0.2.1dev_r3857-py2.5.egg 2008-08-21 15:00:51,009 Trac[loader] DEBUG: Loading acct_mgr.pwhash from /usr/lib/python2.5/site-packages/TracAccountManager-0.2.1dev_r3857-py2.5.egg 2008-08-21 15:00:51,009 Trac[loader] DEBUG: Loading acct_mgr.pwhash from /usr/lib/python2.5/site-packages/TracAccountManager-0.2.1dev_r3857-py2.5.egg 2008-08-21 15:00:51,009 Trac[loader] DEBUG: Loading acct_mgr.svnserve from /usr/lib/python2.5/site-packages/TracAccountManager-0.2.1dev_r3857-py2.5.egg 2008-08-21 15:00:51,009 Trac[loader] DEBUG: Loading acct_mgr.svnserve from /usr/lib/python2.5/site-packages/TracAccountManager-0.2.1dev_r3857-py2.5.egg 2008-08-21 15:00:51,009 Trac[loader] DEBUG: Loading acct_mgr.web_ui from /usr/lib/python2.5/site-packages/TracAccountManager-0.2.1dev_r3857-py2.5.egg 2008-08-21 15:00:51,009 Trac[loader] DEBUG: Loading acct_mgr.web_ui from /usr/lib/python2.5/site-packages/TracAccountManager-0.2.1dev_r3857-py2.5.egg 2008-08-21 15:00:51,010 Trac[loader] DEBUG: Loading acct_mgr.api from /usr/lib/python2.5/site-packages/TracAccountManager-0.2.1dev_r3857-py2.5.egg 2008-08-21 15:00:51,010 Trac[loader] DEBUG: Loading acct_mgr.api from /usr/lib/python2.5/site-packages/TracAccountManager-0.2.1dev_r3857-py2.5.egg 2008-08-21 15:00:51,010 Trac[loader] DEBUG: Loading tractoc.macro from /usr/lib/python2.5/site-packages/TracTocMacro-11.0.0.3-py2.5.egg 2008-08-21 15:00:51,010 Trac[loader] DEBUG: Loading tractoc.macro from /usr/lib/python2.5/site-packages/TracTocMacro-11.0.0.3-py2.5.egg 2008-08-21 15:00:51,010 Trac[loader] DEBUG: Loading ticketdelete.web_ui from /usr/lib/python2.5/site-packages/TracTicketDelete-2.0-py2.5.egg 2008-08-21 15:00:51,010 Trac[loader] DEBUG: Loading ticketdelete.web_ui from /usr/lib/python2.5/site-packages/TracTicketDelete-2.0-py2.5.egg 2008-08-21 15:00:51,011 Trac[loader] DEBUG: Loading spamfilter.session from /usr/lib/python2.5/site-packages/TracSpamFilter-0.2.1dev_r6990-py2.5.egg 2008-08-21 15:00:51,011 Trac[loader] DEBUG: Loading spamfilter.session from /usr/lib/python2.5/site-packages/TracSpamFilter-0.2.1dev_r6990-py2.5.egg 2008-08-21 15:00:51,011 Trac[loader] DEBUG: Loading spamfilter.ip_blacklist from /usr/lib/python2.5/site-packages/TracSpamFilter-0.2.1dev_r6990-py2.5.egg 2008-08-21 15:00:51,011 Trac[loader] DEBUG: Loading spamfilter.ip_blacklist from /usr/lib/python2.5/site-packages/TracSpamFilter-0.2.1dev_r6990-py2.5.egg 2008-08-21 15:00:51,020 Trac[loader] DEBUG: Skipping "spamfilter.ip_blacklist = tracspamfilter.filters.ip_blacklist [dns]": ("dnspython>=1.3.5" not found) 2008-08-21 15:00:51,020 Trac[loader] DEBUG: Skipping "spamfilter.ip_blacklist = tracspamfilter.filters.ip_blacklist [dns]": ("dnspython>=1.3.5" not found) 2008-08-21 15:00:51,021 Trac[loader] DEBUG: Loading spamfilter.adapters from /usr/lib/python2.5/site-packages/TracSpamFilter-0.2.1dev_r6990-py2.5.egg 2008-08-21 15:00:51,021 Trac[loader] DEBUG: Loading spamfilter.adapters from /usr/lib/python2.5/site-packages/TracSpamFilter-0.2.1dev_r6990-py2.5.egg 2008-08-21 15:00:51,021 Trac[loader] DEBUG: Loading spamfilter.ip_throttle from /usr/lib/python2.5/site-packages/TracSpamFilter-0.2.1dev_r6990-py2.5.egg 2008-08-21 15:00:51,021 Trac[loader] DEBUG: Loading spamfilter.ip_throttle from /usr/lib/python2.5/site-packages/TracSpamFilter-0.2.1dev_r6990-py2.5.egg 2008-08-21 15:00:51,021 Trac[loader] DEBUG: Loading spamfilter.extlinks from /usr/lib/python2.5/site-packages/TracSpamFilter-0.2.1dev_r6990-py2.5.egg 2008-08-21 15:00:51,021 Trac[loader] DEBUG: Loading spamfilter.extlinks from /usr/lib/python2.5/site-packages/TracSpamFilter-0.2.1dev_r6990-py2.5.egg 2008-08-21 15:00:51,021 Trac[loader] DEBUG: Loading spamfilter.bayes from /usr/lib/python2.5/site-packages/TracSpamFilter-0.2.1dev_r6990-py2.5.egg 2008-08-21 15:00:51,021 Trac[loader] DEBUG: Loading spamfilter.bayes from /usr/lib/python2.5/site-packages/TracSpamFilter-0.2.1dev_r6990-py2.5.egg 2008-08-21 15:00:51,040 Trac[loader] DEBUG: Skipping "spamfilter.bayes = tracspamfilter.filters.bayes [spambayes]": ("spambayes" not found) 2008-08-21 15:00:51,040 Trac[loader] DEBUG: Skipping "spamfilter.bayes = tracspamfilter.filters.bayes [spambayes]": ("spambayes" not found) 2008-08-21 15:00:51,040 Trac[loader] DEBUG: Loading spamfilter from /usr/lib/python2.5/site-packages/TracSpamFilter-0.2.1dev_r6990-py2.5.egg 2008-08-21 15:00:51,040 Trac[loader] DEBUG: Loading spamfilter from /usr/lib/python2.5/site-packages/TracSpamFilter-0.2.1dev_r6990-py2.5.egg 2008-08-21 15:00:51,041 Trac[loader] DEBUG: Loading spamfilter.akismet from /usr/lib/python2.5/site-packages/TracSpamFilter-0.2.1dev_r6990-py2.5.egg 2008-08-21 15:00:51,041 Trac[loader] DEBUG: Loading spamfilter.akismet from /usr/lib/python2.5/site-packages/TracSpamFilter-0.2.1dev_r6990-py2.5.egg 2008-08-21 15:00:51,041 Trac[loader] DEBUG: Loading spamfilter.admin from /usr/lib/python2.5/site-packages/TracSpamFilter-0.2.1dev_r6990-py2.5.egg 2008-08-21 15:00:51,041 Trac[loader] DEBUG: Loading spamfilter.admin from /usr/lib/python2.5/site-packages/TracSpamFilter-0.2.1dev_r6990-py2.5.egg 2008-08-21 15:00:51,041 Trac[loader] DEBUG: Loading spamfilter.regex from /usr/lib/python2.5/site-packages/TracSpamFilter-0.2.1dev_r6990-py2.5.egg 2008-08-21 15:00:51,041 Trac[loader] DEBUG: Loading spamfilter.regex from /usr/lib/python2.5/site-packages/TracSpamFilter-0.2.1dev_r6990-py2.5.egg 2008-08-21 15:00:51,042 Trac[loader] DEBUG: Loading TracDiscussion.core from /usr/lib/python2.5/site-packages/TracDiscussion-0.6-py2.5.egg 2008-08-21 15:00:51,042 Trac[loader] DEBUG: Loading TracDiscussion.core from /usr/lib/python2.5/site-packages/TracDiscussion-0.6-py2.5.egg 2008-08-21 15:00:51,042 Trac[loader] DEBUG: Loading TracDiscussion.api from /usr/lib/python2.5/site-packages/TracDiscussion-0.6-py2.5.egg 2008-08-21 15:00:51,042 Trac[loader] DEBUG: Loading TracDiscussion.api from /usr/lib/python2.5/site-packages/TracDiscussion-0.6-py2.5.egg 2008-08-21 15:00:51,042 Trac[loader] DEBUG: Loading TracDiscussion.init from /usr/lib/python2.5/site-packages/TracDiscussion-0.6-py2.5.egg 2008-08-21 15:00:51,042 Trac[loader] DEBUG: Loading TracDiscussion.init from /usr/lib/python2.5/site-packages/TracDiscussion-0.6-py2.5.egg 2008-08-21 15:00:51,043 Trac[loader] DEBUG: Loading TracDiscussion.search from /usr/lib/python2.5/site-packages/TracDiscussion-0.6-py2.5.egg 2008-08-21 15:00:51,043 Trac[loader] DEBUG: Loading TracDiscussion.search from /usr/lib/python2.5/site-packages/TracDiscussion-0.6-py2.5.egg 2008-08-21 15:00:51,043 Trac[loader] DEBUG: Loading TracDiscussion.timeline from /usr/lib/python2.5/site-packages/TracDiscussion-0.6-py2.5.egg 2008-08-21 15:00:51,043 Trac[loader] DEBUG: Loading TracDiscussion.timeline from /usr/lib/python2.5/site-packages/TracDiscussion-0.6-py2.5.egg 2008-08-21 15:00:51,043 Trac[loader] DEBUG: Loading TracDiscussion.wiki from /usr/lib/python2.5/site-packages/TracDiscussion-0.6-py2.5.egg 2008-08-21 15:00:51,043 Trac[loader] DEBUG: Loading TracDiscussion.wiki from /usr/lib/python2.5/site-packages/TracDiscussion-0.6-py2.5.egg 2008-08-21 15:00:51,043 Trac[loader] DEBUG: Loading TracDiscussion.admin from /usr/lib/python2.5/site-packages/TracDiscussion-0.6-py2.5.egg 2008-08-21 15:00:51,043 Trac[loader] DEBUG: Loading TracDiscussion.admin from /usr/lib/python2.5/site-packages/TracDiscussion-0.6-py2.5.egg 2008-08-21 15:00:51,044 Trac[loader] DEBUG: Loading TracDiscussion.notification from /usr/lib/python2.5/site-packages/TracDiscussion-0.6-py2.5.egg 2008-08-21 15:00:51,044 Trac[loader] DEBUG: Loading TracDiscussion.notification from /usr/lib/python2.5/site-packages/TracDiscussion-0.6-py2.5.egg 2008-08-21 15:00:51,064 Trac[default_workflow] DEBUG: Workflow actions at initialization: {'resolve': {'operations': [u'set_resolution'], 'name': 'resolve', 'default': 0, 'newstate': u'closed', 'oldstates': [u'new', u'assigned', u'accepted', u'reopened'], 'permissions': [u'TICKET_MODIFY']}, 'accept': {'operations': [u'set_owner_to_self'], 'name': 'accept', 'default': 0, 'newstate': u'accepted', 'oldstates': [u'new', u'assigned', u'accepted', u'reopened'], 'permissions': [u'TICKET_MODIFY']}, 'leave': {'operations': [u'leave_status'], 'name': 'leave', 'default': 1, 'newstate': u'*', 'oldstates': [u'*'], 'permissions': []}, 'reopen': {'operations': [u'del_resolution'], 'name': 'reopen', 'default': 0, 'newstate': u'reopened', 'oldstates': [u'closed'], 'permissions': [u'TICKET_CREATE']}, 'reassign': {'operations': [u'set_owner'], 'name': 'reassign', 'default': 0, 'newstate': u'assigned', 'oldstates': [u'new', u'assigned', u'accepted', u'reopened'], 'permissions': [u'TICKET_MODIFY']}, '_reset': {'operations': ['reset_workflow'], 'name': 'reset', 'default': 0, 'newstate': 'new', 'oldstates': [], 'permissions': []}} 2008-08-21 15:00:51,064 Trac[default_workflow] DEBUG: Workflow actions at initialization: {'resolve': {'operations': [u'set_resolution'], 'name': 'resolve', 'default': 0, 'newstate': u'closed', 'oldstates': [u'new', u'assigned', u'accepted', u'reopened'], 'permissions': [u'TICKET_MODIFY']}, 'accept': {'operations': [u'set_owner_to_self'], 'name': 'accept', 'default': 0, 'newstate': u'accepted', 'oldstates': [u'new', u'assigned', u'accepted', u'reopened'], 'permissions': [u'TICKET_MODIFY']}, 'leave': {'operations': [u'leave_status'], 'name': 'leave', 'default': 1, 'newstate': u'*', 'oldstates': [u'*'], 'permissions': []}, 'reopen': {'operations': [u'del_resolution'], 'name': 'reopen', 'default': 0, 'newstate': u'reopened', 'oldstates': [u'closed'], 'permissions': [u'TICKET_CREATE']}, 'reassign': {'operations': [u'set_owner'], 'name': 'reassign', 'default': 0, 'newstate': u'assigned', 'oldstates': [u'new', u'assigned', u'accepted', u'reopened'], 'permissions': [u'TICKET_MODIFY']}, '_reset': {'operations': ['reset_workflow'], 'name': 'reset', 'default': 0, 'newstate': 'new', 'oldstates': [], 'permissions': []}} 2008-08-21 15:00:51,073 Trac[env] WARNING: base_url option not set in configuration, generated links may be incorrect 2008-08-21 15:00:51,073 Trac[env] WARNING: base_url option not set in configuration, generated links may be incorrect 2008-08-21 15:00:51,073 Trac[main] DEBUG: Dispatching <Request "GET u'/chrome/common/expanded.png'"> 2008-08-21 15:00:51,073 Trac[main] DEBUG: Dispatching <Request "GET u'/chrome/common/expanded.png'"> 2008-08-21 15:00:51,166 Trac[session] DEBUG: Retrieving session for ID u'dm42' 2008-08-21 15:00:51,166 Trac[session] DEBUG: Retrieving session for ID u'dm42' 2008-08-21 15:00:51,245 Trac[main] DEBUG: 5525 unreachable objects found. 2008-08-21 15:00:51,245 Trac[main] DEBUG: 5525 unreachable objects found. 2008-08-21 15:00:52,512 Trac[main] DEBUG: Dispatching <Request "GET u'/chrome/common/expanded.png'"> 2008-08-21 15:00:52,515 Trac[session] DEBUG: Retrieving session for ID u'dm42' 2008-08-21 15:00:52,549 Trac[main] DEBUG: 62 unreachable objects found.
Attachments (0)
Change History (7)
comment:1 Changed 16 years ago by
Status: | new → assigned |
---|
comment:2 Changed 16 years ago by
Also notice that spamfilter support is present only in 0.10 branch of the plugin so far and it can be disabled simply by disabling TracDiscussion.SpamFilter component. It is not good idea to use 0.10 branch of the plugin on Trac 0.11...
comment:3 Changed 16 years ago by
Well I did an easy_install of discussionplugin from http://www.trac-hacks.org/svn/discussionplugin/0.11. Disabled all of the tracspamfilter and that doesn't change anything, still same forum table missing and tracdiscussion.init TRAC crash. I guess I'll look through the trac.db file but I don't know much about that database and im not very new to using sqlite.
comment:5 Changed 16 years ago by
Sorry if i didn't put in my email, this is my first ever ticket here.
comment:6 Changed 16 years ago by
Now when your DB is broken simple reinstall won't help. You need to open your trac.db in sqlite console (sqlite or sqlite3 command) and fix it using SQL statemens. Are you familiar with SQL? The reason why this state occurs is not realy clear to me unless I'll happen aggain and there will be logs from that event. But I'm pretty sure that this is more bug or race condition in sqlite itself than in the plugin. It happened to some user once before but only once and never to me. Although upgrade procedure could be more intelligent and it can test for presence of appended tables, it isn't worth the effort and it could lead to further problems with compatibility.
comment:7 Changed 16 years ago by
Resolution: | → wontfix |
---|---|
Status: | assigned → closed |
Won't fix unitil, more info will be supplied.
I think that your environment upgrade was somehow interrupted or broken during DiscussionPlugin installation or upgrade. Now you have some tables of plugin but 'forum' table is missing. Check if any of tables 'topic', 'message' or 'forum_group' is presend and if so drop them. Also delete row from 'system' table where 'name' field contains 'discussion_verison' value. Then try to upgrade your environment aggain. If this message will be still occuring post here debug log from environment upgrade.