On Mon, Jul 21, 2008 at 2:23 PM, Bernd Bartmann wrote: > Hi, > > I'm trying to upgrade from moin-1.6.2 to moin-1.7.1. After following > the HelpOnUpdating guide to the point where I should run the > "migation data" command I get an error message when trying to access > the wiki: > > > ConfigurationError > ImportError: cannot import name http > Check that the file is in the same directory as the server script. If > it is not, you must add the path of the directory where the file is > located to the python path in the server script. See the comments at > the top of the server script. > Check that the configuration file name is either "wikiconfig.py" or > the module name specified in the wikis list in farmconfig.py. Note > that the module name does not include the ".py" suffix. > Error in your configuration file "D:/moin/rd_wiki\wikiconfig.py" > around line 189. > > The problematic line seems to be related to the http auth code that I > use for AD authentication: > > from MoinMoin.auth.http import http > from MoinMoin.auth import moin_session > auth = [http, moin_session] > > Any ideas what I can do to solve the issue?
Looks like it now has to be: from MoinMoin.auth.http import HTTPAuth auth = [HTTPAuth()] Why does this have to change with every new version? Best regards, Bernd. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Moin-user mailing list Moin-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user