Pyhton Tracebeck error on whil reating index file

Bug #670186 reported by gerald urbas on 2010-11-03
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
google-sitemapgen (Ubuntu)
Medium
Unassigned

Bug Description

Binary package hint: google-sitemapgen

Traceback (most recent call last):
  File "/usr/bin/google-sitemapgen", line 2092, in <module>
    sitemap.Generate()
  File "/usr/bin/google-sitemapgen", line 1665, in Generate
    self.WriteIndex()
  File "/usr/bin/google-sitemapgen", line 1810, in WriteIndex
    fd.write(sitemap_index_header)
UnboundLocalError: local variable 'sitemap_index_header' referenced before assignment

Does create all Index files (indexed about 10 Logfiles, with 9 Gzipeed), but fails to fill up the index so - Gsitempa may not work properly on 10.04 LTS system

Stefano Rivera (stefanor) wrote :

A simple typo in the source. Forwarded upstream: http://code.google.com/p/sitemap-generators/issues/detail?id=36

Changed in google-sitemapgen (Ubuntu):
importance: Undecided → Medium
status: New → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package google-sitemapgen - 1.5-2ubuntu1

---------------
google-sitemapgen (1.5-2ubuntu1) natty; urgency=low

  * Corrected upstream typo: sitemap__index_header -> sitemap_index_header
    (LP: #670186)
 -- Stefano Rivera <email address hidden> Sat, 06 Nov 2010 17:20:46 +0200

Changed in google-sitemapgen (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.