sbz codec: error with extra fields

Bug #609075 reported by Olivier Berten
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SwatchBooker
Fix Committed
Undecided
Unassigned

Bug Description

Traceback (most recent call last):
  File "/usr/lib/swatchbooker/swatchbooker.pyw", line 1899, in run
    self.parent().sb = SwatchBook(self.fname)
  File "/usr/lib/python2.6/dist-packages/swatchbook/__init__.py", line 196, in __init__
    self.read(file,codec)
  File "/usr/lib/python2.6/dist-packages/swatchbook/__init__.py", line 245, in read
    eval('codecs.'+codec).read(self,file)
  File "/usr/lib/python2.6/dist-packages/swatchbook/codecs/sbz.py", line 62, in read
    sbz.readmaterial(material,swatchbook)
  File "/usr/lib/python2.6/dist-packages/swatchbook/codecs/sbz.py", line 120, in readmaterial
    sbz.sitem.extra[xmlunescape(elem.attrib['type'])] = xmlunescape(elem.text)
AttributeError: type object 'sbz' has no attribute 'sitem'

Related branches

Changed in swatchbooker:
status: New → Fix Committed
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.