I just upgraded again from 1.6.0 to 1.6.1, and that fixed the problem. Seems like http://moinmo.in/MoinMoinBugs/1.6.0LanguageIgnoreBrowserConfigurationError (which was fixed in 1.6.1) was the culprit after all.
Martin Martin Spacek wrote: > I just upgraded to 1.6.0 final from 1.6.0beta1. Everything seemed to be > fine, but my (free) monitoring service, siteuptime.com, started > complaining that the wiki (http://swindale.ecc.ubc.ca) was down, even > though it obviously wasn't when I viewed it in various browsers on > various networks. > > I just tried a few other monitoring services and they're all reporting > that it's down. One of them gave it as a 500 Internal Server error. > > I checked my moin.log, and it looks like every time a monitoring service > tries to access the site, I get one of these: > > 2008-01-28 17:49:25,674 ERROR AttributeError: 'NoneType' object has no > attribute 'startswith' > Traceback (most recent call last): > File "/usr/lib/python2.5/site-packages/MoinMoin/request/__init__.py", > line 1248, in run > self.page = wikiutil.getFrontPage(self) > File "/usr/lib/python2.5/site-packages/MoinMoin/wikiutil.py", line > 783, in getFrontPage > return getLocalizedPage(request, request.cfg.page_front_page) > File "/usr/lib/python2.5/site-packages/MoinMoin/wikiutil.py", line > 752, in getLocalizedPage > i18n_name = request.getText(pagename, formatted=False) > File "/usr/lib/python2.5/site-packages/MoinMoin/request/__init__.py", > line 273, in <lambda> > self.getText = lambda text, i18n=self.i18n, request=self, > lang=self.lang, **kv: i18n.getText(text, request, lang, **kv) > File "/usr/lib/python2.5/site-packages/MoinMoin/i18n/__init__.py", > line 234, in getText > t.loadLanguage(request) > File "/usr/lib/python2.5/site-packages/MoinMoin/i18n/__init__.py", > line 178, in loadLanguage > needsupdate = cache.needsUpdate(langfilename) > File "/usr/lib/python2.5/site-packages/MoinMoin/caching.py", line 92, > in needsUpdate > ctime = os.path.getmtime(self._filename()) > File "/usr/lib/python2.5/site-packages/MoinMoin/caching.py", line 75, > in _filename > return os.path.join(self.arena_dir, self.key) > File "posixpath.py", line 60, in join > if b.startswith('/'): > AttributeError: 'NoneType' object has no attribute 'startswith' > > > However, when I access it with a web browser, the site displays fine, > and nothing shows up in the log. My site is a single language English > site. I found a bug report that sounds similar, but doesn't apply in my > case: > > http://moinmo.in/MoinMoinBugs/1.6.0LanguageIgnoreBrowserConfigurationError > > I'm using Twisted. I've attached my wikiconfig.py, with a couple of > sensitive fields replaced with 'blahblah'. > > Any ideas? > > Thanks, > > Martin > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Moin-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/moin-user
