Hi, Frank Barknecht hat gesagt: // Frank Barknecht wrote: > I started using Webware CVS and my PyDiddy-Wiki stopped working :( > There are two problems. First extraURLPath seems to have changed and > uses a new algorithm. So my old code: > > path_info = self.request().extraURLPath() > > gives an empty path_info.
I can provide some more information on this problem, that seems not so easy to solve, as I expected. One of the bad guys seems to be serverSideInfoForRequestNewAlgorithm() in Application.py. Here I get different paths computed by the old and by the new algorithm. Example, when calling http://localhost/wk.cgi/pydiddy/EditingTips: serverSideInfo should be: ('/dos/ibm/hdc18/f/src/python/webware/workdir/pydiddy/Main.py', '/dos/ibm/hdc18/f/src/python/webware/workdir/pydiddy', 'pydiddy') EditingTips serverSideInfo is : ('/dos/ibm/hdc18/f/src/python/webware/workdir/pydiddy/Main.py', '/dos/ibm/hdc18/f/src/python/webware/workdir/pydiddy', 'pydiddy') (sorry for the long paths) "pydiddy" is the context, "EditingTips" is part of the extraURLPath, or better, it should be. I tried to narrow down, why this is removed from the extraURL. What puzzles me a bit is, that the current request's urlPath() is empty. I changed Application.py a bit to have serverSideInfoForRequestNewAlgorithm() print out the urlPath print 'serverSideInfo should be:', info, extraPath fullPath = request.urlPath() print "fullPath: %s" % fullPath and then I get this in the logs: fullPath: /pydiddy/ when I thought, that should be "/pydiddy/EditingTips", or am I wrong? I more and more get the feeilg, that something here is very wrong, but I have no idea, what this might be. ciao -- Frank Barknecht _ ______footils.org__ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss
