render_barcode_datamatrix.py crashed with TypeError in encode(): 'NoneType' object is not iterable

Bug #833971 reported by Johan Adler
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
New
Undecided
Unassigned
inkscape (Ubuntu)
New
Undecided
Unassigned

Bug Description

jadler@server:~$ lsb_release -rd
Description: Ubuntu 11.04
Release: 11.04
jadler@server:~$ apt-cache policy inkscape
inkscape:
  Installed: 0.48.1-2ubuntu2
  Candidate: 0.48.1-2ubuntu2
  Version table:
 *** 0.48.1-2ubuntu2 0
        500 http://se.archive.ubuntu.com/ubuntu/ natty/main amd64 Packages
        100 /var/lib/dpkg/status
jadler@server:~$

Trying out the 2D barcode generation, tried live preview while changing number of rows and columns.

ProblemType: Crash
DistroRelease: Ubuntu 11.04
Package: inkscape 0.48.1-2ubuntu2
ProcVersionSignature: Ubuntu 2.6.38-10.46-generic 2.6.38.7
Uname: Linux 2.6.38-10-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Thu Aug 25 19:37:02 2011
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=http://wz.se/1b --rows=19 --cols=20 --size=4 /tmp/ink_ext_XXXXXX.svgILPX0V
ProcEnviron:
 LANGUAGE=en_US:en
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
PythonArgs: ['render_barcode_datamatrix.py', '--text=http://wz.se/1b', '--rows=19', '--cols=20', '--size=4', '/tmp/ink_ext_XXXXXX.svgILPX0V']
SourcePackage: inkscape
Title: render_barcode_datamatrix.py crashed with TypeError in encode(): 'NoneType' object is not iterable
UpgradeStatus: Upgraded to natty on 2011-06-09 (77 days ago)
UserGroups: adm admin cdrom chipcard dialout libvirtd lpadmin plugdev sambashare vboxusers

Revision history for this message
Johan Adler (johan-adler) wrote :
visibility: private → public
tags: removed: need-duplicate-check
Revision history for this message
su_v (suv-lp) wrote :

Duplicate of Bug #738108 “Inkscape UI can pass invalid values to Datamatrix extension”?

Revision history for this message
Alex Valavanis (valavanisalex) wrote :

Yes, this is almost certainly a duplicate. The bug is fixed in Ubuntu Oneiric, and will also be fixed upstream in inkscape 0.49. Might be worth backporting the patch to Ubuntu Natty and Maverick.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.