On Mon, Feb 10, 2020 at 10:23 PM Stefan Hett <[email protected]> wrote: > > On 2/10/2020 2:22 AM, Ryan Ollos wrote: > > On Fri, Feb 7, 2020 at 2:57 PM Stefan Hett <[email protected]> wrote: >> >> Yes, did that multiple times. And Trac itself seems to be running on 1.0.19 >> correctly (as it's also visible in the version number in the footer). Only >> the plugin "name"/"text" on the page does seem to state the old version >> number. > > > Probably the egg for 0.12.7 is still present on Python's search path. You may > need to locate and delete it. > > Are you using pip? You can try repeating "pip uninstall Trac" until it says > not installed, then: pip install "trac==1.0.19". > > Or, locate Python's site-packages dir and look for traces of the old egg. > > - Ryan > > Thanks Ryan, that was it I guess. > > After manually removing the directory: > "Lib/site-package/Trac-0.12.7-py2.7.egg-info" and restarting the webserver, > the plugins page shows the proper version now. > > Maybe it would be worth adding such a note to the Trac upgrade procedure, as > for people not regularly working with egg-packages, it's not an obvious step.
pip and easy_install automatically remove old *.egg-info directory and install new *.egg-info. That step typically is not needed. I think the issue is caused by something wrong in your environment. -- Jun Omae <[email protected]> (大前 潤) -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/CAEVLMahZu1D%2BBcGpa%3DmcoAF5mCN%2BWhCdugJhJ2AmaS0hxNAsqg%40mail.gmail.com.
