[Bug 708515] Re: Optimized SVG save fails with Attribute error - no 'infilename'

jazzynico 708515 at bugs.launchpad.net
Sat Feb 14 14:37:12 UTC 2015


** Changed in: scour
       Status: Fix Committed => Fix Released

** Changed in: inkscape
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to scour in Ubuntu.
https://bugs.launchpad.net/bugs/708515

Title:
  Optimized SVG save fails with Attribute error - no 'infilename'

Status in Inkscape: A Vector Drawing Tool:
  Fix Released
Status in Scour - Cleaning SVG Files:
  Fix Released
Status in scour package in Ubuntu:
  Fix Released

Bug description:
  Attempting to create SVG for an ebook, going through the following
  steps:

  1. Create a new document
  2. Import a graphic image from my file system, choose the 'link' option vs. 'embed'
  3. Select the image, go to document properties and re-size the canvas based on the selection.
  4. Select 'Save As', choose optimized SVG, enable the 'viewbox' option

  Save fails with this error:

  Traceback (most recent call last):
    File "scour.inkscape.py", line 54, in <module>
      e.affect(output=False)
    File "/Applications/Inkscape.app/Contents/Resources/extensions/inkex.py", line 227, in affect
      self.effect()
    File "scour.inkscape.py", line 47, in effect
      sys.stdout.write(scourString(input.read(), self.options).encode("UTF-8"))
    File "/Applications/Inkscape.app/Contents/Resources/extensions/scour.py", line 2306, in scourString
      embedRasters(elem, options)		
    File "/Applications/Inkscape.app/Contents/Resources/extensions/scour.py", line 1950, in embedRasters
      if options.infilename: infilename = options.infilename
  AttributeError: Values instance has no attribute 'infilename'

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



More information about the foundations-bugs mailing list