export slices as HTML+CSS fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Low
|
su_v |
Bug Description
This bug was encountered from the following menus:
Extensions-
When the extension runs, it returns the following message:
Traceback (most recent call last):
File "webslicer_
e.affect()
File "C:\Program Files (x86)\Inkscape\
self.effect()
File "webslicer_
error = self.validate_
File "webslicer_
self.unique_
File "webslicer_
for child in el.getchildren():
AttributeError: 'NoneType' object has no attribute 'getchildren'
Related branches
tags: | added: extensions-plugins |
Changed in inkscape: | |
milestone: | 0.91.1 → 0.92 |
status: | Fix Committed → Fix Released |
Reproduced with Inkscape 0.48.4 and 0.48+devel r12419 on OS X 10.7.5 if trying to export without having defined any slicer rectangles in the current document (or more precisely: reproduced if the layer 'Web Slicer' is missing in the current document - export fails silently if the layer is present but empty).
Catching the error and returning a message explaining to the user to first create at least one slicer rectangle before applying 'Web > Slicer > Export layout pieces and HTML+CSS code' would be more user-friendly.
Basic description of the features of the extension: tavmjong. free.fr/ INKSCAPE/ MANUAL/ html/Extensions -Web.html# Extensions- Web-Slicer>
<http://