On Friday, December 2, 2022 at 3:51:32 PM UTC-5 Bill Buklis wrote:
> I'm trying to upgrade a local trac system on Windows (using tracd) to 1.4 > from 1.2.2. I've upgraded the plugins as much as possible. Everything > seemed to go relatively smoothly. > > I ran pip install --upgrade Trac. This seems to work properly. Displaying > "pip list" shows the trac version as 1.4.3. > > I ran trac-admin <tracfolder> upgrade. Everything seems fine. > > I ran trac-admin <tracfolder> wiki upgrade. Wiki files seem to be updated > properly. > > I then restarted the trac service. > > However, the main page now displays: > *Warning:* > > - Error with navigation contributor "AdminModule" > - Error with navigation contributor "SearchModule" > - Error with navigation contributor "RoadmapModule" > - Error with navigation contributor "QueryModule" > - Error with navigation contributor "ReportModule" > - Error with navigation contributor "TicketModule" > - Error with navigation contributor "TimelineModule" > - Error with navigation contributor "WikiModule" > > Configuration Error > > Cannot find implementation(s) of the IPermissionPolicy interface named > DefaultTicketPolicy, DefaultWikiPolicy. Please check that the Component > is enabled or update the option [trac] permission_policies in trac.ini. > > > In addition the "Powered by Trac" version still shows 1.2.2, which I think > may be the crux of the problem. However, I can't see why. > > Python version is 2.7. It is the only version installed. > > I turned on INFO logging and the log also shows that it is starting > version 1.2.2. The traceback is odd in that it shows a path to .py files > located in a folder that does not exist. For example: > > File > "c:\users\<unknownuser>\appdata\local\temp\easy_install-jdu2wl\Trac-1.2.2-py2.7-win-amd64.egg.tmp\trac\env.py", > line 942, in open_environment > needs_upgrade = env.needs_upgrade() > > where <unknownuser> is similar to an actual user folder, but different. > Regardless, the mentioned egg or py file can't be found anywhere as near I > can tell. > > Was the server still running? It appears the code may have loaded to memory. -- 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 trac-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/f58cd384-3338-4822-87db-398df861f641n%40googlegroups.com.