#2 Error

closed
nobody
None
5
2005-07-03
2005-06-04
Anonymous
No

The execution does abort with the following error
message on one web server.
Please advise.

Traceback (most recent call last):
File "sitemap_gen.py", line 1201, in ?
sitemap.Generate()
File "sitemap_gen.py", line 832, in Generate
input.ProduceURLs(self.ConsumeURL)
File "sitemap_gen.py", line 585, in ProduceURLs
os.path.walk(self._path, PerFile, None)
File "/usr/lib/python2.3/posixpath.py", line 290, in walk
walk(name, func, arg)
File "/usr/lib/python2.3/posixpath.py", line 290, in walk
walk(name, func, arg)
File "/usr/lib/python2.3/posixpath.py", line 290, in walk
walk(name, func, arg)
File "/usr/lib/python2.3/posixpath.py", line 290, in walk
walk(name, func, arg)
File "/usr/lib/python2.3/posixpath.py", line 290, in walk
walk(name, func, arg)
File "/usr/lib/python2.3/posixpath.py", line 290, in walk
walk(name, func, arg)
File "/usr/lib/python2.3/posixpath.py", line 282, in walk
func(arg, top, names)
File "sitemap_gen.py", line 564, in PerFile
path = os.path.join(dirpath, name)
File "/usr/lib/python2.3/posixpath.py", line 65, in join
path += '/' + b
UnicodeDecodeError: 'ascii' codec can't decode byte
0x85 in position 1: ordinal not in range(128)

Submitter:
Christoph Franke
http://www.f-it.biz
mailto:webmaster@f-it.biz

Discussion

  • Logged In: YES
    user_id=1291523

    I have the same error on my Apache server. Python works in
    version python2.2. Were is the problem?

     
  • Wyvern
    Wyvern
    2005-07-03

    Logged In: YES
    user_id=1281107

    I'm going to go ahead and close this issue -- it should be
    fixed in the 1.1 version of the script.

    If you're still having troubles, I'd urge you to browse or
    question the user group for Sitemaps.

    http://groups-beta.google.com/group/google-sitemaps

     
  • Wyvern
    Wyvern
    2005-07-03

    • status: open --> closed