Thanks for the quick replies Ryan and Steffen. I went ahead with the
requested changes (upgrading 2 plugins and removing the GitPlugin).
When upgrading (trac-admin /var/lib/trac/project upgrade), I still get the
following error which now only appears to fail on (DatabaseError: no such
table: wiki_namespace), full log as follows:
2013-01-16 13:29:04,941 Trac[env] INFO: --------------------------------
environment startup [Trac 1.0] --------------------------------
2013-01-16 13:29:05,116 Trac[env] INFO: Trac database schema version is 26,
should be 29
2013-01-16 13:29:05,116 Trac[env] WARNING: Component
<trac.env.EnvironmentSetup object at 0x88b126c> requires environment upgrade
2013-01-16 13:29:05,118 Trac[env] INFO: Trac database schema version is 26,
should be 29
2013-01-16 13:29:05,118 Trac[env] WARNING: Component
<trac.env.EnvironmentSetup object at 0x88b126c> requires environment upgrade
2013-01-16 13:29:05,119 Trac[env] INFO: Trac database schema version is 26,
should be 29
2013-01-16 13:29:05,121 Trac[model] ERROR: DatabaseError: no such table:
wiki_namespace
2013-01-16 13:29:05,124 Trac[console] ERROR: Exception in trac-admin
command:
Traceback (most recent call last):
File "build/bdist.linux-i686/egg/trac/admin/console.py", line 108, in
onecmd
rv = cmd.Cmd.onecmd(self, line) or 0
File "/usr/lib/python2.5/cmd.py", line 218, in onecmd
return self.default(line)
File "build/bdist.linux-i686/egg/trac/admin/console.py", line 284, in
default
return cmd_mgr.execute_command(*args)
File "build/bdist.linux-i686/egg/trac/admin/api.py", line 124, in
execute_command
return f(*fargs)
File "build/bdist.linux-i686/egg/trac/env.py", line 970, in _do_upgrade
self.env.upgrade(backup=no_backup is None)
File "build/bdist.linux-i686/egg/trac/env.py", line 686, in upgrade
if participant.environment_needs_upgrade(db):
File "build/bdist.linux-i686/egg/tractags/model.py", line 23, in
environment_needs_upgrade
if self._need_migration(db):
File "build/bdist.linux-i686/egg/tractags/model.py", line 47, in
_need_migration
db.rollback()
File "build/bdist.linux-i686/egg/trac/db/util.py", line 107, in
__getattr__
raise AttributeError
AttributeError:
Here are the plugins and Trac version I now run:
/usr/lib/python2.5/site-packages/Trac-1.0-py2.5.egg
/usr/lib/python2.5/site-packages/TracAccountManager-0.5dev_r12532-py2.5.egg
/usr/lib/python2.5/site-packages/TracAddCommentMacro-0.3-py2.5.egg
/usr/lib/python2.5/site-packages/TracAnnouncer-1.0dev_r12503-py2.5.egg
/usr/lib/python2.5/site-packages/TracMacroPost-0.2-py2.5.egg
/usr/lib/python2.5/site-packages/TracTags-0.6-py2.5.egg
/usr/lib/python2.5/site-packages/TracTocMacro-11.0.0.3-py2.5.egg
/usr/lib/python2.5/site-packages/TracCustomFieldAdmin-0.2.6_r10460-py2.5.egg:
/usr/lib/python2.5/site-packages/TracDateField-1.0.2_r10435-py2.5.egg:
/usr/lib/python2.5/site-packages/TracXMLRPC-1.1.2_r10706-py2.5.egg:
Can you please let me know how to proceed?
Thanks!
On Monday, January 14, 2013 10:31:35 PM UTC+2, hasienda wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 14.01.2013 12:14, Trac upgrade user wrote:
> > Hi,
> >
> > I'm running Trac 0.12 (Ubuntu 8.04, SQLite version 3.4.2, Python 2.5),
> > and hit issues with an upgrade to Trac 1.0(using easy_install). Here's
> > the error from the log file (/var/lib/trac/project/log/trac.log):
> >
> > After an upgrade from Trac 0.12 to Trac 1.0, I hit the following error:
> (snip)
> > /usr/lib/python2.5/site-packages/TracAnnouncer-0.11.1_r10458-py2.5.egg
>
> In addition to Ryan's comment on two other plugins, you're required to
> run a recent `trunk` revision of TracAnnouncer. You're version might not
> work at all, even cause nasty side-effects for other plugin and Trac
> core. We're just in the process of making it fit for 1.0, and the db
> backend code has been fixed weeks before. At any rate, be sure to follow
> `trunk` closely, and make sure to upgrade to announcer-1.0 as soon as it
> will be release.
>
> Steffen Hoffmann
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAlD0ayIACgkQ31DJeiZFuHf+cwCglnrMUqTL+H6UhfGOStfV5lxv
> JPMAn22vjSdosoUZgDzAYWfhAuwxcw/7
> =w2Rq
> -----END PGP SIGNATURE-----
>
--
You received this message because you are subscribed to the Google Groups "Trac
Users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/trac-users/-/XIaUKNqYVcEJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/trac-users?hl=en.