← Back to team overview

desktop-packages team mailing list archive

[Bug 738108] Re: Inkscape UI can pass invalid values to Datamatrix extension

 

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

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to inkscape in Ubuntu.
https://bugs.launchpad.net/bugs/738108

Title:
  Inkscape UI can pass invalid values to Datamatrix extension

Status in Inkscape: A Vector Drawing Tool:
  Fix Released
Status in inkscape package in Ubuntu:
  Fix Released
Status in inkscape package in Debian:
  Fix Released

Bug description:
  Binary package hint: inkscape

  This bug in Inkscape's handling of the Datamatrix extension was
  reported in Debian: http://bugs.debian.org/cgi-
  bin/bugreport.cgi?bug=618835

  * Go to Extensions->Render->Barcode - Datamatrix
  * Select Rows = 19, Cols = 10,  Square Size / px = 4
  * Click "Apply"
  >> The extension raises an error

  The main problem here is that Inkscape uses spin-buttons in the
  extension dialog, which invite the user to scroll through any
  combination of row/col values.  However, the extension itself only
  accepts a finite set of combinations... in other words, the user can
  very easily select an invalid input for the script.  Combining this
  with "Live preview" leads to bad results!

  It might be better (if a bit ugly) to have a drop-down list containing
  only the valid row/col combinations.

  ProblemType: Crash
  DistroRelease: Ubuntu 11.04
  Package: inkscape 0.48.1-2ubuntu1
  ProcVersionSignature: Ubuntu 2.6.38-7.35-generic 2.6.38
  Uname: Linux 2.6.38-7-generic x86_64
  NonfreeKernelModules: nvidia
  Architecture: amd64
  Date: Sat Mar 19 09:03:24 2011
  EcryptfsInUse: Yes
  ExecutablePath: /usr/share/inkscape/extensions/render_barcode_datamatrix.py
  InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
  InterpreterPath: /usr/bin/python2.7
  ProcCmdline: /usr/bin/python render_barcode_datamatrix.py --text=Inkscape --rows=19 --cols=10 --size=4 /tmp/ink_ext_XXXXXX.svgPFP0SV
  ProcEnviron:
   LANGUAGE=en_GB:en
   PATH=(custom, user)
   LANG=en_GB.UTF-8
   SHELL=/bin/bash
  PythonArgs: ['render_barcode_datamatrix.py', '--text=Inkscape', '--rows=19', '--cols=10', '--size=4', '/tmp/ink_ext_XXXXXX.svgPFP0SV']
  SourcePackage: inkscape
  Title: render_barcode_datamatrix.py crashed with TypeError in encode(): 'NoneType' object is not iterable
  UpgradeStatus: Upgraded to natty on 2011-02-27 (19 days ago)
  UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

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