Sometimes certain plugins when they check to see if they are installed correctly only do a partial examination of the tables of the database or only check certain properties so it may have only partially updated and it looks at that partial update and thinks you are fully updated.
I looked at the source very quickly, and it looks like there could be a couple of culprits. Questions that could help you isolate where you got to in the upgrade process: (*) What database backend are you using? MySQL/PostGRES/Sqlite3? If you are using Sqlite3, when it attempts to do a rollback it can't undo newly created tables. That might have left the system in a strange spot in the upgrade. (*) Does the milestone teams plugin appear in your plugins list? (*) Do you have any errors in your log message which indicate an error when you go to perform any of the actions it provides? Looking at the source [1] which does the table setup leads to the following questions: (*) You could look to see if there is a row in the system table with a name of 'milestoneteams_plugins_version'. If it is present, what is the value of that key? (*) Was there a milestone_teams table created? Is there anything in that table? If you post any answers you have, it'll help in figuring this out. If you need a hand in figuring out how to find the answers, we can give you some instructions. [1] : http://trac-hacks.org/browser/milestoneteamsplugin/0.11/milestoneteams/setup.py -Nelson On Tue, May 8, 2012 at 5:42 AM, Roger Oberholtzer < [email protected]> wrote: > Is anyone using the MilestoneTeams plugin on Trac 0.12? I installed it > and have it enabled. But I get nothing - no place to specify the > milestone leader or members. It did request that the database be updated > to add the required variables. I got this message at that time: > > MilestoneTeams plugin needs an upgrade > * Upgrading db > Creating 'milestone_teams' table. > Registering plugin version. > Done upgrading > AttributeError: 'NoneType' object has no attribute 'rollback' > > Perhaps the AttributeError resulted in an incomplete job of updating the > database? I do not get the message to do the update again, so some part > of it must be done. I do not see any messages in the Trac log file. If I > run the update again, it says "Database is up to date, no upgrade > necessary." > > -- > Roger Oberholtzer > > -- > You received this message because you are subscribed to the Google Groups > "Trac Users" group. > 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. > > -- You received this message because you are subscribed to the Google Groups "Trac Users" group. 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.
