singanamala / 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

wordpress2blogger gives me "not valid XML" error #45

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Get the tarball of r-79
2. cd bin
3. ./wordpress2blogger wordpress.2009-12-20.xml

What is the expected output? What do you see instead?
I'm expecting an XML of the converted blog to the standard output, but
instead I get this error Input WordPress document is not valid XML!!

Error appears around line 725, column 25

<wp:comment_author_url>http://CVirus.Foolab.org</wp:comment_
------------------------^

I attached the xml file.

Original issue reported on code.google.com by cvir...@gmail.com on 23 Dec 2009 at 8:01

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Hello, I'm having an error going on too!
"Error encountered during conversion.

Traceback (most recent call last):
File 
"/base/data/home/apps/wordpress2blogger/1.340555247028447310/wordpress2blogger.p
y", line 43, in post
translator.Translate(input, self.response.out)
File "/base/data/home/apps/wordpress2blogger/1.340555247028447310/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 301, in start_element
self._cont_handler.startElement(name, AttributesImpl(attrs))
File "/base/data/home/apps/wordpress2blogger/1.340555247028447310/wp2b.py", 
line 174, in startElement
handler()
File "/base/data/home/apps/wordpress2blogger/1.340555247028447310/wp2b.py", 
line 320, in startComment
self.comments[0].link.append(self.current_post.link[0])
IndexError: list index out of range"

Do you think somebody could fix it?  Thanks a bunch!

Original comment by Jojogu...@gmail.com on 14 May 2011 at 10:50

Attachments:

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
i am having the same problems as everyone else and it's driving me nuts. I'm 
trying to convert my XML on http://wordpress2blogger.appspot.com for Blogger 
and the XML has errors. I've tried downloading different softwares to help, but 
nothing is working. Can you please have a look through and repair it for me?! 
THANK YOU! x

Original comment by memoirso...@gmail.com on 25 Jun 2011 at 9:43

Attachments:

GoogleCodeExporter commented 8 years ago
Here is a converted wordpress file for lego-x.wordperss.

This error was from a bug in the program.  I'll update it with this fix.

Original comment by jlu...@google.com on 27 Jun 2011 at 2:27

Attachments:

GoogleCodeExporter commented 8 years ago
And here is the cleaned and converted versions of the 
memoirsofawardrobe.wordpress.

There was one section in the Wordpress XML file that had the nested CDATA 
problem that others have been having.  I removed the offending script element 
in the cleaned version of the file.

Original comment by jlu...@google.com on 27 Jun 2011 at 2:29

Attachments:

GoogleCodeExporter commented 8 years ago
Thanks a bunch!  But, I'm sorry, cn you fix it again?  I posted a LOT since the 
one you just fixed.

The error is:

Traceback (most recent call last):
File 
"/base/data/home/apps/wordpress2blogger/1.340555247028447310/wordpress2blogger.p
y", line 43, in post
translator.Translate(input, self.response.out)
File "/base/data/home/apps/wordpress2blogger/1.340555247028447310/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 301, in start_element
self._cont_handler.startElement(name, AttributesImpl(attrs))
File "/base/data/home/apps/wordpress2blogger/1.340555247028447310/wp2b.py", 
line 174, in startElement
handler()
File "/base/data/home/apps/wordpress2blogger/1.340555247028447310/wp2b.py", 
line 320, in startComment
self.comments[0].link.append(self.current_post.link[0])
IndexError: list index out of range

Thanks!

Original comment by Jojogu...@gmail.com on 28 Jun 2011 at 1:37

Attachments:

GoogleCodeExporter commented 8 years ago
I've fixed this particular bug, submitted it to the project, and updated the 
appspot site.

Please try to convert your wordpress file using:

 http://wordpress2blogger.appspot.com/

Let me know if you encounter any more errors.

Original comment by jlu...@google.com on 28 Jun 2011 at 3:41

GoogleCodeExporter commented 8 years ago
Thanks a bunch!  It works now!

Original comment by Jojogu...@gmail.com on 29 Jun 2011 at 1:37

GoogleCodeExporter commented 8 years ago
Thank you so so so so so much!!! You legend!
Memoirsofawardrobe

Original comment by memoirso...@gmail.com on 30 Jun 2011 at 4:43

GoogleCodeExporter commented 8 years ago
Hi, 

My friend told me you can fix my XML as I'd like to change over to Blogger:

Anything you can do to help would be much obliged!

Original comment by thesuper...@gmail.com on 30 Jun 2011 at 5:31

Attachments:

GoogleCodeExporter commented 8 years ago
Here you go, converted for Blogger.

Original comment by jlu...@google.com on 30 Jun 2011 at 6:22

Attachments:

GoogleCodeExporter commented 8 years ago
Thankyou for this. Unfortunately when I uploaded the file to blogger it 
returned this error: bX-3l6s8l

If you could help with this I'd appreciate it.

Original comment by thesuper...@gmail.com on 4 Jul 2011 at 8:03

GoogleCodeExporter commented 8 years ago
This must be getting old for you... but can you convert another file?
Thanks!

Original comment by glenro...@gmail.com on 11 Jul 2011 at 9:45

Attachments:

GoogleCodeExporter commented 8 years ago
Sorry for the delay.  I had to add one namespace line for atom elements and 
remove two offending XML characters.  The cleaned wordpress and blogger 
converted files are attached.

Original comment by jlu...@google.com on 19 Jul 2011 at 4:35

Attachments:

GoogleCodeExporter commented 8 years ago
Hi I think you just responded to the comment below but missed mine. The 
converted blogger file you did for me on the 30th June keeps getting rejected. 
I'm really sorry to ask again but would you mind having a another go?

Thanks so much

Original comment by thesuper...@gmail.com on 20 Jul 2011 at 7:27

Attachments:

GoogleCodeExporter commented 8 years ago
I'm also getting error in converting my wordpress to blogger. When I use the 
site, http://wordpress2blogger.appspot.com/ for conversion, it gives the error 
"Error encountered during conversion.Input WordPress document is not valid 
XML!!Error appears around line 14609, column 62".

And when i just go to my blogger and direct import the xml file, it gives the 
error "Sorry, the import failed due to a server error. The error code is 
bX-izedxv". 

I have attached my wordpress xml file. Could you plz help me to solve that 
error?

Original comment by thethtet...@gmail.com on 7 Aug 2011 at 4:34

Attachments:

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Hello, I am receiving the same error. This is the message I get:

Error encountered during conversion.

Input WordPress document is not valid XML!!

Error appears around line 677, column 0

I've attached the file. any help would be really appreciated. Thanks!

Original comment by joviansa...@gmail.com on 12 Aug 2011 at 6:36

Attachments:

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I don't know if you are still doing these - But i have the same error as 
everyone else.  I tried looking for the nested CDATA, but to be honest - i 
didn't know what I was looking for (not a programmer)

Error encountered during conversion.

Input WordPress document is not valid XML!!

Error appears around line 3601, column 141

<wp:post_type>post</wp:post_type>
--------------------------------------------------------------------------------
------------------------------------------------------------^

Original comment by robinson...@gmail.com on 28 Sep 2011 at 12:06

Attachments:

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I'm having the same problem ;A; Here's the message

Error encountered during conversion.

Input WordPress document is not valid XML!!

Error appears around line 3379, column 74

<category domain="tag"><![CDATA[straight]]></category>

Original comment by ctatab...@gmail.com on 25 Oct 2011 at 10:53

Attachments:

GoogleCodeExporter commented 8 years ago
Same problem. Don't know how to split things or anything.

Original comment by thatdude...@gmail.com on 3 Nov 2011 at 8:48

Attachments:

GoogleCodeExporter commented 8 years ago
Just wondering if you could help me out, im getting the same problem but dont 
know where the nested CDATA would be. If you could modify it for me that would 
be great, thanks!

Original comment by eazycust...@gmail.com on 4 Nov 2011 at 6:15

Attachments:

GoogleCodeExporter commented 8 years ago
I need my XML cleaned up too from wordpress! Thanks!

Original comment by txk...@gmail.com on 6 Nov 2011 at 3:39

Attachments:

GoogleCodeExporter commented 8 years ago
avoid more than 50 posts in a day 
http://freegadgetgifts.blogspot.com/

Original comment by joinli...@gmail.com on 6 Nov 2011 at 8:21

GoogleCodeExporter commented 8 years ago
Hello, I have the same error:

Error encountered during conversion.

Input WordPress document is not valid XML!!

Error appears around line 185, column 65

tag_slug><wp:tag_name><![CDATA
-----------------------------^

Thanks in advance... 

Original comment by trantorn...@gmail.com on 12 Nov 2011 at 6:25

Attachments:

GoogleCodeExporter commented 8 years ago
Hello if you  find time, pls fix also the error:
Error encountered during conversion.

Input WordPress document is not valid XML!!

Error appears around line 2615, column 8

<wp:meta_value><![CDATA[1]]></wp:meta_value>
-------^

Original comment by rbbeltra...@gmail.com on 3 Dec 2011 at 8:56

Attachments:

GoogleCodeExporter commented 8 years ago
Hi! I've a problem when i try to convert a file>.< This is the message that 
appear:

Error encountered during conversion.

Input WordPress document is not valid XML!!

Error appears around line 69, column 117

e;">Data di Nascita</span>: 2221992.<br />
-----------------------------^

I have attached the file that i should convert! 

Thank you very much!

Original comment by AishaCai...@gmail.com on 4 Dec 2011 at 8:19

Attachments:

GoogleCodeExporter commented 8 years ago
Hello, I've got issues with XML validation as well:

Error encountered during conversion.

Input WordPress document is not valid XML!!

Error appears around line 2789, column 16

</wp:comment>
---------------^

Thanks in advance for any help you can give me.

Original comment by jacopo...@gmail.com on 13 Dec 2011 at 1:31

Attachments:

GoogleCodeExporter commented 8 years ago
Could somebody please fix this xml file. I am having a problem in converting it 
to blogger.

Original comment by ad...@techwizz.tk on 16 Dec 2011 at 7:37

Attachments:

GoogleCodeExporter commented 8 years ago
Error encountered during conversion. 

 Input WordPress document is not valid XML!!  Error appears around line 4404, column 7  <p>Created to bring people back to their memories of childho ------^  

please help 

Original comment by nikhil2...@gmail.com on 19 Apr 2012 at 10:33

Attachments:

GoogleCodeExporter commented 8 years ago
Hello, kind person.

I'm having all of the problems described above about invalid XML.  I attached 
what I downloaded.

I deeply appreciate any advice and help.

Ed Blume
Madison, WI

Original comment by EBlume2...@gmail.com on 20 Apr 2012 at 7:36

Attachments:

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Hi,
To add to EBlume2...@gmail.com's post (right before this one): Here is the 
error that we've been getting with the conversion of that file (renamed to 
wordpress.wxr):

--
$ bin/wordpress2blogger.sh wordpress.wxr
Input WordPress document is not valid XML!!

Error appears around line 58279, column 516

                                                <wp:meta_key>_edit_last</wp:meta_key>

Original comment by katiemck...@gmail.com on 20 Apr 2012 at 8:01

GoogleCodeExporter commented 8 years ago
Hi,

This is pissing off since wordpress is just making things worser for me. These 
are my blog entries from 2005. And I need to move them to Blogger. I know you 
must be really burdened with all the people asking you for help. but I need 
this badly man. There is around 4-5 years of bloggin in these posts. Its just 
too large to do it manually. Can you please help me out with it?

Thank a mil
- Nikhil

Original comment by iamnikhi...@gmail.com on 17 May 2012 at 6:13

Attachments:

GoogleCodeExporter commented 8 years ago
Hello, I'm trying to import my wordpress blog but I'm getting the following 
error:

Input WordPress document is not valid XML!!

Error appears around line 1112, column 58

<pubDate>Sun, 08 Apr 2012 01:30:35 +0000</pubDate>

Can somebody help?

Original comment by theremai...@gmail.com on 13 Jun 2012 at 1:18

Attachments:

GoogleCodeExporter commented 8 years ago
I need help in making my imported xml file valid. For some reason i am not able 
to find the error even after hours of trying.Any help will be appreciated.
Thanks.

Original comment by sreenidh...@gmail.com on 11 Aug 2012 at 9:11

Attachments:

GoogleCodeExporter commented 8 years ago
so i need to solve this problem about convert my wordpress to blogger..This 
problem was 

Error encountered during conversion.

Input WordPress document is not valid XML!!

Error appears around line 3490, column 4786

Original comment by halilkad...@gmail.com on 17 Sep 2012 at 4:08

Attachments:

GoogleCodeExporter commented 8 years ago
the same issu. I tried to fix it but cannot succed in . It's strange 'casu i 
expoerted 3 wordpress blog an the last one had this issue. The other 2 has been 
migrated without problems

Original comment by fabio.ma...@gmail.com on 13 Nov 2012 at 12:13

Attachments:

GoogleCodeExporter commented 8 years ago
I'm having the same problem...getting a "not valid XML" error:

Error encountered during conversion.
Input WordPress document is not valid XML!!
Error appears around line 856, column 731
<wp:comment_author_url></wp:comment_author_url>

Would you be able to fix it for me, please?

Original comment by gcsp...@gmail.com on 7 Jan 2013 at 10:43

Attachments:

GoogleCodeExporter commented 8 years ago
I recently moved from wordpress to blogger, but one particular post could not 
convert despite using XML Spliter to reduce file. 

Error encountered during conversion.
Input WordPress document is not valid XML!!
Error appears around line 17772, column 55
<wp:meta_key>akismet_history</wp:meta_key>
------------------------------------------------------^
Please help me.
Thank you

Original comment by nellieyb...@gmail.com on 14 Jan 2013 at 11:16

Attachments:

GoogleCodeExporter commented 8 years ago
Hello! I have the error to ask you to help to solve
==========================��
�====
Error encountered during conversion.

Input WordPress document is not valid XML!!

Error appears around line 36311, column 0

</wp:postmeta>
^
======================

Original comment by ivani.sh...@gmail.com on 15 Jan 2013 at 3:30

Attachments:

GoogleCodeExporter commented 8 years ago
Sorry,I've solved my problem.

Original comment by ivani.sh...@gmail.com on 15 Jan 2013 at 6:21

GoogleCodeExporter commented 8 years ago
Can anyone help me on this issue, please?

Error encountered during conversion.

Input WordPress document is not valid XML!!

Error appears around line 2493, column 70

  <wp:post_type>post</wp:post_type>
---------------------------------------------------------------------^

Original comment by abhayrar...@gmail.com on 3 Apr 2013 at 9:01

Attachments:

GoogleCodeExporter commented 8 years ago
Please help I'm getting error! 

Error encountered during conversion.

Input WordPress document is not valid XML!!

Error appears around line 5828, column 21

<pubDate>Thu, 12 Jul 2012 05:50:37 +0000</pubDate>
--------------------^

Original comment by chimiy...@gmail.com on 19 Apr 2013 at 8:42

Attachments:

GoogleCodeExporter commented 8 years ago
Hi please can you help me with this error? I attached the file 
Error encountered during conversion.

Input WordPress document is not valid XML!!

Error appears around line 1204, column 8

</wp:postmeta>
-------^

Original comment by rapmusic...@gmail.com on 29 Jul 2013 at 7:20

Attachments: