Dropped the tables mentioned, re-ran trac-admin upgrade, i got:

*The upgrade failed. Please fix the issue and try again.*
*TypeError: 'NoneType' object has no attribute '__getitem__'*

Re-ran trac-admin upgrade again I got: 
*OperationalError: (1050, "Table 'peer_review' already exists")*

It's like an infinite loop :( 



On Wednesday, May 25, 2016 at 12:20:27 PM UTC-7, RjOllos wrote:
>
>
>
> On Wednesday, May 25, 2016 at 12:06:11 PM UTC-7, Erick D wrote:
>>
>> My trac server specs:
>> Trac 1.0.1
>> Python 2.7.3 (default, Feb 27 2014, 20:09:21) [GCC 4.6.3]
>> MySQL server: "5.5.40-0ubuntu0.12.04.1", client: "5.5.47"
>>
>>
>> I installed PeerReviewPlugin from 
>> https://trac-hacks.org/wiki/PeerReviewPlugin
>>
>> I get the following error when Trac asks to Run "trac-admin /var/path to 
>> env/repo upgrade"
>>
>> *PeerReview: running upgrade  db2*
>> *The upgrade failed. Please fix the issue and try again.*
>> *OperationalError: (1050, "Table 'peer_review' already exists")*
>>
>> The table peer_review does in fact exist on mysql db. How can I bypass 
>> this?
>>
>> Please advice.
>>
>> Thanks!
>>
>
> There was some discussion about that in this ticket:
> https://trac-hacks.org/ticket/12777
>
> In absence of improvements to the upgrade mechanism you'll need to login 
> to MySQL and drop the table(s).
>
> - Ryan
>  
>

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to