Opened 5 years ago

Last modified 4 years ago

#10156 closed defect

DefaultCC plugin doesn't work with Release 1.0 — at Initial Version

Reported by: o.staron@… Owned by: jeangui
Priority: normal Component: DefaultCcPlugin
Severity: normal Keywords:
Cc: Trac Release: 1.0

Description

2012-07-17 17:09:50,723 Trac[env] ERROR: Exception caught while checking for upgrade: Traceback (most recent call last):

File "/usr/local/lib/python2.7/site-packages/Trac-1.0dev_r11123-py2.7.egg/trac/env.py", line 819, in open_environment

needs_upgrade = env.needs_upgrade()

File "/usr/local/lib/python2.7/site-packages/Trac-1.0dev_r11123-py2.7.egg/trac/env.py", line 655, in needs_upgrade

if participant.environment_needs_upgrade(db):

File "build/bdist.linux-x86_64/egg/defaultcc/admin.py", line 59, in environment_needs_upgrade

db.rollback()

File "/usr/local/lib/python2.7/site-packages/Trac-1.0dev_r11123-py2.7.egg/trac/db/util.py", line 107, in getattr

raise AttributeError

AttributeError: 2012-07-17 17:09:58,509 Trac[main] ERROR: Internal Server Error: Traceback (most recent call last):

File "/usr/local/lib/python2.7/site-packages/Trac-1.0dev_r11123-py2.7.egg/trac/web/main.py", line 490, in _dispatch_request

dispatcher.dispatch(req)

File "/usr/local/lib/python2.7/site-packages/Trac-1.0dev_r11123-py2.7.egg/trac/web/main.py", line 224, in dispatch

content_type)

File "/usr/local/lib/python2.7/site-packages/Trac-1.0dev_r11123-py2.7.egg/trac/web/chrome.py", line 995, in render_template

stream |= self._filter_stream(req, method, filename, stream, data)

File "/usr/lib/python2.7/site-packages/genshi/core.py", line 132, in or

return Stream(_ensure(function(self)), serializer=self.serializer)

File "/usr/local/lib/python2.7/site-packages/Trac-1.0dev_r11123-py2.7.egg/trac/web/chrome.py", line 1176, in inner

data)

File "build/bdist.linux-x86_64/egg/defaultcc/admin.py", line 109, in filter_stream

default_ccs = DefaultCC.select(self.env)

File "build/bdist.linux-x86_64/egg/defaultcc/model.py", line 83, in select

cursor.execute("SELECT name,cc FROM component_default_cc "

File "/usr/local/lib/python2.7/site-packages/Trac-1.0dev_r11123-py2.7.egg/trac/db/util.py", line 66, in execute

return self.cursor.execute(sql)

File "/usr/local/lib/python2.7/site-packages/Trac-1.0dev_r11123-py2.7.egg/trac/db/sqlite_backend.py", line 78, in execute

result = PyFormatCursor.execute(self, *args)

File "/usr/local/lib/python2.7/site-packages/Trac-1.0dev_r11123-py2.7.egg/trac/db/sqlite_backend.py", line 56, in execute

args or [])

File "/usr/local/lib/python2.7/site-packages/Trac-1.0dev_r11123-py2.7.egg/trac/db/sqlite_backend.py", line 48, in _rollback_on_error

return function(self, *args, kwargs)

OperationalError: no such table: component_default_cc

Change History (0)

Note: See TracTickets for help on using tickets.