Yes, it happens every day in my cron job.
Here's an excerpt from the script's log:
cat $bourse.statsTable.txt |pastebinit
Traceback (most recent call last):
File "/usr/bin/pastebinit", line 217, in <module>
configxml = xml.dom.minidom.parseString(configtext)
File "/usr/lib/python2.7/xml/dom/minidom.py", line 1924, in parseString
return expatbuilder.parseString(string)
File "/usr/lib/python2.7/xml/dom/expatbuilder.py", line 940, in parseString
return builder.parseString(string)
File "/usr/lib/python2.7/xml/dom/expatbuilder.py", line 223, in parseString
parser.Parse(string, True)
xml.parsers.expat.ExpatError: not well-formed (invalid token): line 4, column 23
Even pastebinit -l gives that instead of listing supported services.
$HOME/.pastebinit.xml :
------
<pastebinit>
# <pa stebin>http://paste.ubuntu.com</pa stebin>
<author>MeMeMe</author>
<jabberid>[email protected]</jabberid>
<format>text</format>
</pastebinit>
# dmesg |pastebinit
#http://paste.ubuntu.com/911164/
------------
So I think the problem might lie with the comment lines in the config
file, or deliberately broken/nonexistent XML tags.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/975065
Title:
pastebinit crashed with ExpatError in parseString(): not well-formed
(invalid token): line 4, column 23
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pastebinit/+bug/975065/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs