Heidi Estrin
unread,Mar 13, 2013, 9:42:20 AM3/13/13Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message as abuse
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-blog...@googlegroups.com
Hi. When I try to convert the xml file I downloaded from Wordpress, using wordpress2blogger, this is the error I get (below). How can I fix this? Any help appreciated! - Heidi
Error encountered during conversion.
Traceback (most recent call last):
File "/base/data/home/apps/wordpress2blogger/1.351455968489003159/wordpress2blogger.py", line 43, in post
translator.Translate(input, self.response.out)
File "/base/data/home/apps/wordpress2blogger/1.351455968489003159/wp2b.py", line 150, in Translate
xml.sax.parseString(self.RemoveMetaData(doc), self)
File "/base/python_runtime/python_dist/lib/python2.5/xml/sax/__init__.py", line 49, in parseString
parser.parse(inpsrc)
File "/base/python_runtime/python_dist/lib/python2.5/xml/sax/expatreader.py", line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/base/python_runtime/python_dist/lib/python2.5/xml/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/base/python_runtime/python_dist/lib/python2.5/xml/sax/expatreader.py", line 207, in feed
self._parser.Parse(data, isFinal)
File "/base/python_runtime/python_dist/lib/python2.5/xml/sax/expatreader.py", line 304, in end_element
self._cont_handler.endElement(name)
File "/base/data/home/apps/wordpress2blogger/1.351455968489003159/wp2b.py", line 188, in endElement
handler(self.contents.strip())
File "/base/data/home/apps/wordpress2blogger/1.351455968489003159/wp2b.py", line 214, in endPubdate
self._ToBlogTime(self._WordpressPubDateToTime(content)))
File "/base/data/home/apps/wordpress2blogger/1.351455968489003159/wp2b.py", line 517, in _WordpressPubDateToTime
return time.strptime(wp_date[:-6], '%a, %d %b %Y %H:%M:%S')
File "/base/python_runtime/python_dist/lib/python2.5/_strptime.py", line 330, in strptime
(data_string, format))
ValueError: time data did not match format: data=Fri Jun 05 07:02:34 -070 fmt=%a, %d %b %Y %H:%M:%S