Page 1 of 1

Inkscape: "UniConvertor failed" when trying to copy/paste

Posted: Sun Jan 26, 2014 1:35 am
by ^rooker
[PROBLEM]
Me, a happy Inkscape user, suddenly ran into a minor, but rather annoying problem. The system was Xubuntu Precise Pangolin (12.04.1 LTS, 64bit) and Inkscape version "0.48.3.1 r9886" from the default repositories.

The issue was as follows:

Every time I copied some object into the clipboard (hitting "Ctrl+C"), an error message popped up. At the top it said:
Inkscape has received additional data from the script executed. The script did not return an error, but this may indicate the results will not be as expected.
followed by the actual error message:

Code: Select all

UniConvertor failed:

Cannot list directory /home/pb/.uniconvertor:[Errno 2] No such file or directory: '/home/pb/.uniconvertor'
ignoring it in font_path
Cannot list directory /home/pb/.uniconvertor:[Errno 2] No such file or directory: '/home/pb/.uniconvertor'
ignoring it in font_path
I can't find font Sans. I'll use Slim instead
Fontsystem not yet implemented in UniConvertor. See /usr/share/doc/python-uniconvertor/README.Debian for more info
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python2.7/dist-packages/uniconvertor/__init__.py", line 88, in uniconv
    saver(doc, output_file)
  File "/usr/lib/python2.7/dist-packages/uniconvertor/app/plugins/plugins.py", line 201, in __call__
    module.save(document, file, filename, options)
  File "/usr/lib/python2.7/dist-packages/uniconvertor/app/plugins/Filters/wmfsaver.py", line 461, in save
    saver.SaveDocument(document)
  File "/usr/lib/python2.7/dist-packages/uniconvertor/app/plugins/Filters/wmfsaver.py", line 403, in SaveDocument
    left, bottom, right, top = doc.BoundingRect()
  File "/usr/lib/python2.7/dist-packages/uniconvertor/app/Graphics/document.py", line 221, in BoundingRect
    rect = layer.bounding_rect
  File "/usr/lib/python2.7/dist-packages/uniconvertor/app/Graphics/base.py", line 352, in __getattr__
    getattr(self, method)()
  File "/usr/lib/python2.7/dist-packages/uniconvertor/app/Graphics/compound.py", line 174, in update_rects
    boxes = map(lambda o: o.coord_rect, self.objects)
  File "/usr/lib/python2.7/dist-packages/uniconvertor/app/Graphics/compound.py", line 174, in <lambda>
    boxes = map(lambda o: o.coord_rect, self.objects)
  File "/usr/lib/python2.7/dist-packages/uniconvertor/app/Graphics/base.py", line 352, in __getattr__
    getattr(self, method)()
  File "/usr/lib/python2.7/dist-packages/uniconvertor/app/Graphics/text.py", line 492, in update_rects
    rect = apply(Rect, a.font.TextBoundingBox(self.text, a.font_size, a))
TypeError: TextBoundingBox() takes exactly 3 arguments (4 given)
And after a few seconds more windows pop up, with the same text at the top, but this time it just says:

Code: Select all

No layers found
to be continued...