Suddently one of the Trac databases on a machine had a blank screen
and asked me to run:
Trac Error
TracError: The Trac Environment needs to be upgraded.
Run "trac-admin /path_to_project/trac upgrade"


This resulted in the following stack trace error:

sudo trac-admin /path_to_project/trac upgrade
Traceback (most recent call last):
  File "/usr/bin/trac-admin", line 8, in <module>
    load_entry_point('Trac==0.11b1', 'console_scripts', 'trac-admin')
()
  File "/usr/lib/python2.5/site-packages/Trac-0.11b1-py2.5.egg/trac/
admin/console.py", line 1194, in run
    return admin.onecmd(command)
  File "/usr/lib/python2.5/site-packages/Trac-0.11b1-py2.5.egg/trac/
admin/console.py", line 102, in onecmd
    rv = cmd.Cmd.onecmd(self, line) or 0
  File "/usr/lib/python2.5/cmd.py", line 219, in onecmd
    return func(arg)
  File "/usr/lib/python2.5/site-packages/Trac-0.11b1-py2.5.egg/trac/
admin/console.py", line 1105, in do_upgrade
    self.__env.upgrade(backup=do_backup)
  File "/usr/lib/python2.5/site-packages/Trac-0.11b1-py2.5.egg/trac/
env.py", line 433, in upgrade
    self.backup(backup_dest)
  File "/usr/lib/python2.5/site-packages/Trac-0.11b1-py2.5.egg/trac/
env.py", line 400, in backup
    dest = '%s.%i.bak' % (db_name, self.get_version())
TypeError: an integer is required


I'm quite blank and a quick google search did not help me. Any ideas
of what to try next?
The error occured after an ubuntu "apt-get dist-upgrade" to most
recent distribution. The strange thing is that there are other trac
databases also on the machine (sharing the trac install). And these
run fine. Even with the exact same trac.ini configuration file.

Any ideas on where I should look or what to do?

Thanks a lot for your input :)

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-users@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to