← Back to team overview

ubuntustudio-bugs team mailing list archive

[Bug 1093280] Re: Export to WMF fails with AttributeError

 

Tested with a random pdf and no problem.

Arch Linux 64-bit, KDE Plasma 5
Inkscape 0.92pre1 15073 (GTK3)

-- 
You received this bug notification because you are a member of Ubuntu
Studio Bugs, which is subscribed to inkscape in Ubuntu.
Matching subscriptions: Ubuntu Studio Bugs
https://bugs.launchpad.net/bugs/1093280

Title:
  Export to WMF fails with AttributeError

Status in Inkscape:
  New
Status in inkscape package in Ubuntu:
  New

Bug description:
  Exporting a PDF file to WMF fails:

  UniConvertor failed:

  Cannot list directory /home/skipper/.uniconvertor:[Errno 2] No such file or directory: '/home/skipper/.uniconvertor'
  ignoring it in font_path
  Cannot list directory /home/skipper/.uniconvertor:[Errno 2] No such file or directory: '/home/skipper/.uniconvertor'
  ignoring it in font_path
  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/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/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/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/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/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/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/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))
  AttributeError: 'NoneType' object has no attribute 'TextBoundingBox'

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: inkscape 0.48.3.1-1ubuntu6
  ProcVersionSignature: Ubuntu 3.5.0-21.32-generic 3.5.7.1
  Uname: Linux 3.5.0-21-generic x86_64
  ApportVersion: 2.6.1-0ubuntu9
  Architecture: amd64
  Date: Sun Dec 23 15:41:20 2012
  InstallationDate: Installed on 2012-04-24 (242 days ago)
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120421)
  MarkForUpload: True
  ProcEnviron:
   LANGUAGE=de_DE:en
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=de_DE.UTF-8
   SHELL=/bin/bash
  SourcePackage: inkscape
  UpgradeStatus: Upgraded to quantal on 2012-10-22 (61 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/inkscape/+bug/1093280/+subscriptions