fouadviv / google-blog-converters-appengine

Automatically exported from code.google.com/p/google-blog-converters-appengine
Apache License 2.0
0 stars 0 forks source link

Error blogger2wordpress no element found #67

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Run blogger2wordpress.sh (r89) on .xml file downloaded from blogger.

What is the expected output? What do you see instead?
Expect: wxr file as normal.

See:

Traceback (most recent call last):
  File "./bin/../src/blogger2wordpress/b2wp.py", line 269, in <module>
    translator = Blogger2Wordpress(wp_xml_doc)
  File "./bin/../src/blogger2wordpress/b2wp.py", line 69, in __init__
    self.feed = atom.FeedFromString(self.doc)
  File "/Users/lisab/Converters/google-blog-converters-r89/lib/atom/__init__.py", line 1338, in FeedFromString
    return CreateClassFromXMLString(Feed, xml_string)
  File "/Users/lisab/Converters/google-blog-converters-r89/lib/atom/__init__.py", line 93, in optional_warn_function
    return f(*args, **kwargs)
  File "/Users/lisab/Converters/google-blog-converters-r89/lib/atom/__init__.py", line 127, in CreateClassFromXMLString
    tree = ElementTree.fromstring(xml_string)
  File "<string>", line 86, in XML
SyntaxError: no element found: line 61806, column 1117

What version of the product are you using? On what operating system?

r89 on Mac OS 10.6.6

Please provide any additional information below.

Script works well on other Blogger xml files as expected. This is the second 
one I've had issues with - get the same errors.

Original issue reported on code.google.com by Lease...@gmail.com on 3 Feb 2011 at 3:50