Edgewall Software
Modify

Opened 17 years ago

Closed 17 years ago

#5791 closed defect (worksforme)

Multiple Project update

Reported by: didley@… Owned by: Christopher Lenz
Priority: normal Milestone:
Component: admin/console Version: devel
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

I'm using multiple project and the standalone server. I'm starting the standalone Server with the -e option. For some Projects I'm using different plugins than for other Projects. Sometimes not ever called upon to upgrade my database for example "trac-admin G:\Project\0.11r5852 upgrade". For this Project I didn't changed the Plugin. So it is nothing to update. I did change it for a other Project. This happens not always.

Attachments (0)

Change History (3)

comment:1 by ThurnerRupert, 17 years ago

the strange thing is (and i am not sure if this is realted), that if one of the projects contains an error in the plugins, none of the projects seem to work?

example

2007-08-05 17:53:38,879 Trac[__init__] DEBUG: Loading wikiwyg.web_ui from /home/rt/lib/python2.4/site-packages/TracWikiwyg-1.0-py2.4.egg
2007-08-05 17:53:38,879 Trac[__init__] ERROR: Skipping "wikiwyg.web_ui = wikiwyg.web_ui": (can't import "No module named web_ui")
2007-08-05 17:53:38,879 Trac[__init__] DEBUG: Loading hg from /home/rt/lib/python2.4/site-packages/TracMercurial-0.11.0.1-py2.4.egg

which shows up in a log file where no plugin is enabled.

comment:2 by ThurnerRupert, 17 years ago

Milestone: 0.110.11.1
Priority: normalhigh
Severity: normalcritical

nobody else seems to notice anything, so it seems to block 0.11 unecessarily. increase the priority though …

comment:3 by osimons, 17 years ago

Milestone: 0.11.1
Priority: highnormal
Resolution: worksforme
Severity: criticalnormal
Status: newclosed

I'm not quite sure if there is an actual issue in this ticket, other than understanding how plugins are loaded and works for multiple projects when run i a shared process (like standalone).

I've recently added some information about plugin loading that should help clarify the various behaviours that can be seen: wiki:TracPlugins#Isthewrongversionofthepluginloading

Note also that not all plugins will trigger upgrade, simply because they don't store any information in the database or otherwise don't have need to modify other than what is provided by the running plugin.

Closing as 'worksforme'.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Christopher Lenz.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christopher Lenz to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.