Comments on: Blog Migration Secrets http://girtby.net/archives/2008/12/08/blog-migration-secrets/ this blog is girtby.net Wed, 30 Sep 2009 01:44:34 -0400 http://wordpress.org/?v=2.9-rare hourly 1 By: Jared http://girtby.net/archives/2008/12/08/blog-migration-secrets/comment-page-1/#comment-2272 Jared Wed, 21 Jan 2009 18:29:42 +0000 http://girtby.net/?p=3638#comment-2272 <p>I'm trying run this script, and this is the traceback I was getting:</p> <pre><code>Traceback (most recent call last): File "m2wp-mysql.py", line 291, in <module> exporter.export() File "m2wp-mysql.py", line 263, in export output = self.wxr.finalise() File "m2wp-mysql.py", line 193, in finalise wxr = self.display() File "m2wp-mysql.py", line 72, in display return self.xml.toprettyxml('') File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/xml/dom/minidom.py", line 57, in toprettyxml self.writexml(writer, "", indent, newl, encoding) File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/xml/dom/minidom.py", line 1744, in writexml node.writexml(writer, indent, addindent, newl) File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/xml/dom/minidom.py", line 814, in writexml node.writexml(writer,indent+addindent,addindent,newl) File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/xml/dom/minidom.py", line 814, in writexml node.writexml(writer,indent+addindent,addindent,newl) File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/xml/dom/minidom.py", line 814, in writexml node.writexml(writer,indent+addindent,addindent,newl) File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/xml/dom/minidom.py", line 814, in writexml node.writexml(writer,indent+addindent,addindent,newl) File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/xml/dom/minidom.py", line 1143, in writexml raise ValueError("']]>' not allowed in a CDATA section") ValueError: ']]>' not allowed in a CDATA section </code></pre> <p>I had some hivelogic enkoder blocks in my posts that were causing this. Took them out and everything was ok.</p> I’m trying run this script, and this is the traceback I was getting:

Traceback (most recent call last):
  File "m2wp-mysql.py", line 291, in <module>
    exporter.export()
  File "m2wp-mysql.py", line 263, in export
    output = self.wxr.finalise()
  File "m2wp-mysql.py", line 193, in finalise
    wxr = self.display()
  File "m2wp-mysql.py", line 72, in display
    return self.xml.toprettyxml('')
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/xml/dom/minidom.py", line 57, in toprettyxml
    self.writexml(writer, "", indent, newl, encoding)
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/xml/dom/minidom.py", line 1744, in writexml
    node.writexml(writer, indent, addindent, newl)
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/xml/dom/minidom.py", line 814, in writexml
    node.writexml(writer,indent+addindent,addindent,newl)
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/xml/dom/minidom.py", line 814, in writexml
    node.writexml(writer,indent+addindent,addindent,newl)
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/xml/dom/minidom.py", line 814, in writexml
    node.writexml(writer,indent+addindent,addindent,newl)
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/xml/dom/minidom.py", line 814, in writexml
    node.writexml(writer,indent+addindent,addindent,newl)
  File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/xml/dom/minidom.py", line 1143, in writexml
    raise ValueError("']]>' not allowed in a CDATA section")
ValueError: ']]>' not allowed in a CDATA section

I had some hivelogic enkoder blocks in my posts that were causing this. Took them out and everything was ok.

]]>
By: Dave http://girtby.net/archives/2008/12/08/blog-migration-secrets/comment-page-1/#comment-1926 Dave Mon, 08 Dec 2008 19:22:58 +0000 http://girtby.net/?p=3638#comment-1926 <p>No problem. :)</p> <p>Yeah, why not. I'll get one set up.</p> No problem. :)

Yeah, why not. I’ll get one set up.

]]>
By: alastair http://girtby.net/archives/2008/12/08/blog-migration-secrets/comment-page-1/#comment-1925 alastair Mon, 08 Dec 2008 19:04:26 +0000 http://girtby.net/?p=3638#comment-1925 <p>A thousand pardons, how stupid of me.</p> <p>Is there enough interest to start a launchpad project now? :)</p> A thousand pardons, how stupid of me.

Is there enough interest to start a launchpad project now? :)

]]>
By: Dave http://girtby.net/archives/2008/12/08/blog-migration-secrets/comment-page-1/#comment-1924 Dave Mon, 08 Dec 2008 14:47:56 +0000 http://girtby.net/?p=3638#comment-1924 <p>Glad you found the script useful. I really must patch in some of the changes others have made.</p> <p>BTW it's Dave, not Daniel. :)</p> Glad you found the script useful. I really must patch in some of the changes others have made.

BTW it’s Dave, not Daniel. :)

]]>