Web extension problem

Post questions on how to use or achieve an effect in Inkscape.
ana

Export slicing extension

Postby ana » Fri Nov 26, 2010 5:00 am

I'm new with Inkscape and I'm trying to export slices through export layout pieces with html and css.
It doesn't work for me. Can't find the files and the error message is as follows:

traceback (most recent call last):
File "webslicer_export.py", line 421, in <module>
e.affect()
File "C:\Archivos de programa\Inkscape\share\extensions\inkex.py", line 215, in affect
self.effect()
File "webslicer_export.py", line 110, in effect
self.export_chids_of( self.get_slicer_layer() )
File "webslicer_export.py", line 203, in export_chids_of
self.register_unity_code( el, el_conf, parent_id )
File "webslicer_export.py", line 261, in register_unity_code
geo = self.get_relative_el_geometry(el,True)
File "webslicer_export.py", line 302, in get_relative_el_geometry
geometry = self.el_geo[el.attrib['id']]
KeyError: 'Header'

Any clue? :cry: :cry:
Thanks for your help

yo

Web extension problem

Postby yo » Fri Nov 26, 2010 7:13 am

I have a problem trying to export thru the Extension/Web/Slicer/Export layout pieces and html+css after slicing into rectangles every part of my layout and naming them (with id). No results. No images, no html file no css file, nowhere.
the error message is as follows.
Traceback (most recent call last):

File "webslicer_export.py", line 421, in <module>

e.affect()

File "C:\Archivos de programa\Inkscape\share\extensions\inkex.py", line 211, in affect

self.parse()

File "C:\Archivos de programa\Inkscape\share\extensions\inkex.py", line 139, in parse

self.document = etree.parse(stream)

File "lxml.etree.pyx", line 2692, in lxml.etree.parse (src/lxml/lxml.etree.c:49594)

File "parser.pxi", line 1522, in lxml.etree._parseDocument (src/lxml/lxml.etree.c:71582)

File "parser.pxi", line 1552, in lxml.etree._parseFilelikeDocument (src/lxml/lxml.etree.c:71892)

File "parser.pxi", line 1435, in lxml.etree._parseDocFromFilelike (src/lxml/lxml.etree.c:70807)

File "parser.pxi", line 997, in lxml.etree._BaseParser._parseDocFromFilelike (src/lxml/lxml.etree.c:67948)

File "parser.pxi", line 539, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:63824)

File "parser.pxi", line 625, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:64745)

File "parser.pxi", line 565, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:64088)

lxml.etree.XMLSyntaxError: Document is empty, line 1, column 1


any clue?
thanks a lot

gheesh
Posts: 1
Joined: Mon Jul 01, 2013 12:32 am

Re: Web extension problem

Postby gheesh » Mon Jul 01, 2013 1:21 am

This comes a little late for the OP, but for anyone who gets here: I got this same error and finally I saw that the elements I was trying to slice had somehow (my mistake) ended up in the web slicer layer instead of their original one. Cutting and pasting them in the correct layer (Layer 1) solved the issue.


Return to “Help with using Inkscape”