• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

I just did the following:

  1. View TablePlugin
  2. Click on the header row of the first example table to sort by first column
What happened was that I was presented with an oops page telling me that the topic does not exist! After this I could not view this topic any longer. In addition, a number of other plugin pages were not visible any longer, and bug Item211 resurfaced.

However, several minutes later, all the missing topics were visible again!

I wonder whether this has anything to do with the linking of the plugin topics? Note that the SpreadSheetPlugin topic did not disappear, and further, that some, but not all the plugin .pm files disappeared (see Item211).

After the topics resurfaced, sorting the table did not have the above effect.

I realize that this will be hard to fix, but I have seen this behavior often enough (see Item211) that it is not just a fluke...

After some more observations I have the following theory:

  • Every 5 min or so the develop branch is regenerated
  • At this point, there are no plugins in the system
  • Then 2-3 minutes later mklinks.sh is run and recreates the links to the plugins
  • At this point, everything works.
  • Another 2-3 minutes later the cycle starts all over again.

Consequentially, we only have 2-3 minutes where the system is in a consistent state. I think that other things are wiped out also, such as style sheets as I have observed that at times pages don't look right in viewing either.

I think we need to do two things:

  1. Verify that this theory is correct
  2. If so, ensure that the regenerated developbranch is not available until after it has been brought into a consistent state.

In order to do (1), I would appreciate if somebody with access to ethermage would check the update script as to the order of events. We should also check: (i) why does SpreadSheetPlugin not get wiped out and (ii) why, for some plugins (see Item211) the .pm files do not get wiped out. --TW

Good guess, but no.
  • Every 5 mins the develop branch is svn updates
  • mklinks.sh is run, and all plugins are "refreshed" (though not uninstalled at any point)
One flaw is that the method chosed for updating plugins is copy, not link (I don't know why, this seems excessively expensive to me). As a result, when a plugin has changed, it can never be updated, because mklinks.sh sees the differences and assumes there's a problem. I've hacked it for now, but it really ought to link instead of copying.


I have fixed the mklinks.sh script so it is a bit less aggressive about removing plugins stuff. However it may cause problems, it really should use links and not copy the files into place, but I won't know why it does until Sven returns. Closed for now. CC

Summary Something weird going on with plugins on develop branch
ReportedBy ThomasWeigert

AppliesTo Engine
Priority Urgent
CurrentState Closed

Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r6 - 2005-08-22 - CrawfordCurrie
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback