I figured it out. It was the script loading tracd that specifically
required trac version 1.2.2. I'm not sure why it needs that. Perhaps it
doesn't. I updated the version in the script and now it seems to load as
expected. I may have a couple more questions as I make sure nothing is
missing, but for now it seems OK.
On 12/2/2022 2:51 PM, 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.
If I restore the original trac folder (copied before upgrade),
everything is happy again, but, of course in version 1.2.2.
Did I miss a step somewhere?
Thanks,
-- Bill
--
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/74bd5d94-5af9-ad5f-3aaf-0ee684ba4f35%40pbjzone.com
<https://groups.google.com/d/msgid/trac-users/74bd5d94-5af9-ad5f-3aaf-0ee684ba4f35%40pbjzone.com?utm_medium=email&utm_source=footer>.
--
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/c9d41a48-d8b4-09a3-b2da-a04ba7f9a6a1%40pbjzone.com.