Hasn't made its way to Sid, which uses pastebinit-0.11-2.

The patch I sent in fixes your problem. The code is trying to parse the
xml file as a string, rather than trying to parse the data it extracted
from the xml file.

There are two important variables. One is 'configfile' which is the
actual xml pathname. The other is 'configtext' which is where the
contents of the configfile is read into.

the code does an

f=open(configfile)

then

configtext=f.read()

so here we have configfile which probably contains something like 
"/home/user/.pastebinit.xml" and configtext which should be something like:
"<pastebinit>
    <pastebin>http://pastebin.ca</pastebin>
    <author>ml</author>
    <jabberid>[email protected]</jabberid>
    <format>text</format>
</pastebinit>"

the broken version of the code then checks to see if a configfile
exists, then if it does, it tries to read CONFIGFILE, but it should be
trying to read configTEXT.

I think once this is fixed 'upstream' not in the distros, then it will
make its way into the distros.

I will email this page to the developers in case they're not aware of
it.

-- 
0.11 does not work as expected
https://bugs.launchpad.net/bugs/312456
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to