#1723 closed defect (fixed)
Installation failed
Reported by: | anonymous | Owned by: | Russ Tyndall |
---|---|---|---|
Priority: | high | Component: | TimingAndEstimationPlugin |
Severity: | blocker | Keywords: | |
Cc: | Trac Release: | 0.10 |
Description
I'm using Trac 0.10.4 on Debian Sarge, installed all plugin requirements as described in http://trac.edgewall.org/wiki/TracPlugins, downloaded http://trac-hacks.org/changeset/latest/timingandestimationplugin/branches/trac0.10?old_path=/&filename=timingandestimationplugin/branches/trac0.10&format=zip, created the `egg' and tried to install it:
# trac-admin /srv/trac/project/ upgrade Timing and Estimation needs an upgrade Upgrading Database Creating bill_date table Creating report_version table no migration for upgrade2 ('No module named upgrade2',) ['__doc__', '__getitem__', '__init__', '__module__', '__str__', 'args'] no migration for upgrade3 ('No module named upgrade3',) ['__doc__', '__getitem__', '__init__', '__module__', '__str__', 'args'] Running migrate version 4 Upgrading fields Upgrading reports Command failed: iteration over non-sequence
My Trac is not working anymore, I'm just getting this error message:
Internal Error The Trac Environment needs to be upgraded. Run trac-admin /srv/trac/project upgrade"
Thanks in advance for any help,
Thomas
Attachments (0)
Change History (8)
comment:1 Changed 17 years ago by
comment:2 Changed 17 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:3 Changed 17 years ago by
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Thanks for your quick help, but it doesn't help: I uninstalled the old version by removing the .egg file from /usr/lib/python2.3/site-packages and deleting the entry in /usr/lib/python2.3/site-packages/easy-install.pth (is this all I have to do?) and then reinstalled the version:
/usr/src/trac-hacks/timingandestimationplugin/branches/trac0.10/dist# easy_install timingandestimationplugin-0.4.4-py2.3.egg Processing timingandestimationplugin-0.4.4-py2.3.egg Copying timingandestimationplugin-0.4.4-py2.3.egg to /usr/lib/python2.3/site-packages Adding timingandestimationplugin 0.4.4 to easy-install.pth file Installed /usr/lib/python2.3/site-packages/timingandestimationplugin-0.4.4-py2.3.egg Processing dependencies for timingandestimationplugin==0.4.4 Finished processing dependencies for timingandestimationplugin==0.4.4
Then I started the upgrade process again:
# trac-admin /srv/trac/project upgrade Timing and Estimation needs an upgrade Upgrading reports updating report: Ticket Work Summary updating report: Milestone Work Summary updating report: Developer Work Summary updating report: Ticket Hours updating report: Ticket Hours with Description updating report: Ticket Hours Grouped By Component updating report: Ticket Hours Grouped By Component with Description updating report: Ticket Hours Grouped By Milestone updating report: Ticket Hours Grouped By MileStone with Description Done Upgrading Upgrade done.
Now, this works, but I still get this error message, when I open my trac:
Internal Error The Trac Environment needs to be upgraded. Run trac-admin /srv/trac/project upgrade"
Thanks again for your help,
Thomas
comment:4 Changed 17 years ago by
There is another version dropping a bit later today that might clear up the problem.
Before then:
- What does it tell you when you run trac-admin against it a second time?
- Did you remember to restart your web-server?
Thanks, Russ
comment:5 Changed 17 years ago by
Just FYI there is another version available now, that might give you better luck.
comment:6 Changed 17 years ago by
There is another version dropping a bit later today that might clear up the problem.
Thanks, I will try it later today.
What does it tell you when you run trac-admin against it a second time?
Always the same:
# trac-admin /srv/trac/project upgrade Timing and Estimation needs an upgrade Upgrading reports updating report: Ticket Work Summary updating report: Milestone Work Summary updating report: Developer Work Summary updating report: Ticket Hours updating report: Ticket Hours with Description updating report: Ticket Hours Grouped By Component updating report: Ticket Hours Grouped By Component with Description updating report: Ticket Hours Grouped By Milestone updating report: Ticket Hours Grouped By MileStone with Description Done Upgrading Upgrade done.
Did you remember to restart your web-server?
Yes, i did restart Apache several times...
Kind regards,
Thomas
comment:7 Changed 17 years ago by
Hello again,
I have now installed version 0.4.5 and after an upgrade of the database, everything works fine now:
# trac-admin /srv/trac/project upgrade Timing and Estimation needs an upgrade Upgrading Database Dropping report_version table Upgrading reports Upgrading usermanual Done Upgrading Upgrade done.
Thanks again for your help,
Thomas
P.S. I don't had to restart Apache. ;-)
comment:8 Changed 17 years ago by
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Hello again,
I have now installed version 0.4.5 and after an upgrade of the database, everything works fine now:
# trac-admin /srv/trac/project upgrade Timing and Estimation needs an upgrade Upgrading Database Dropping report_version table Upgrading reports Upgrading usermanual Done Upgrading Upgrade done.
Thanks again for your help,
Thomas
P.S. I don't had to restart Apache. ;-)
Sorry about that, someone just installed the plugin fresh and it worked. I will look to see if I can figure out whats going on here.
To get your trac up and running again, you should be able to just remove that egg and remove the line in trac config that tells it to be enabled (If you got far enough to add that). Else, I should have this fixed soon and you could just upgrade to the version that works.
Cheers,
Russ