[Yum-devel] [UG] problems using under python/win

Thomas Kalka thomas at co-buero.de
Sun Oct 9 10:43:17 UTC 2005


I'm trying to use urlgrabber with python on a windows box.
I was wondering, why it works only for some urls.

In grabber.py
path = os.path.normpath(path)
changes pathes from "/example/test/page.html" to 
"\\example\\test\page.html"", which afterterwards get urlencoded and 
thus lead to 404 errors on all pages not in the root directory of the 
server.

os.path is used in different places in the code, maybe leading to other 
problems for windows users.


--Thomas Kalka



More information about the Yum-devel mailing list