Hello,
when I try to export anything from Inkscape 0.47 (on Windows) to Tikz using the export script from http://code.google.com/p/inkscape2tikz/, all I get is a traceback:
Traceback (most recent call last): File "F:\Wolfgang\Inkscape\share\extensions\tikz_export.py", line 1389, in <module> main_inkscape() File "F:\Wolfgang\Inkscape\share\extensions\tikz_export.py", line 1379, in main_inkscape effect.affect() File "F:\Wolfgang\Inkscape\share\extensions\inkex.py", line 207, in affect self.effect() File "F:\Wolfgang\Inkscape\share\extensions\tikz_export.py", line 1294, in effect graphics_state = GraphicsState(none) NameError: global name 'none' is not defined
This is a "minimum" Inkscape file as an example:
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" width="297mm" height="210mm" id="svg8293" version="1.1" inkscape:version="0.47 r22583" sodipodi:docname="Neues Dokument 3"> <defs id="defs8295"> <inkscape:perspective sodipodi:type="inkscape:persp3d" inkscape:vp_x="0 : 372.04724 : 1" inkscape:vp_y="0 : 1000 : 0" inkscape:vp_z="1052.3622 : 372.04724 : 1" inkscape:persp3d-origin="526.18109 : 248.03149 : 1" id="perspective8302" /> </defs> <sodipodi:namedview inkscape:document-units="mm" pagecolor="#ffffff" bordercolor="#666666" borderopacity="1.0" inkscape:pageopacity="0.0" inkscape:pageshadow="2" inkscape:zoom="0.43415836" inkscape:cx="82.314657" inkscape:cy="380" inkscape:current-layer="layer1" id="namedview8297" showgrid="false" inkscape:window-width="1280" inkscape:window-height="1001" inkscape:window-x="-4" inkscape:window-y="-4" inkscape:window-maximized="1" /> <metadata id="metadata8299"> rdf:RDF <cc:Work rdf:about=""> dc:formatimage/svg+xml</dc:format> <dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> dc:title</dc:title> </cc:Work> </rdf:RDF> </metadata> <g inkscape:label="Layer 1" inkscape:groupmode="layer" id="layer1"> <path style="fill:#ffffff;fill-opacity:0;stroke:#000000;stroke-width:0.11977783;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1" d="m 356.82309,267.12003 117.84762,0 0,71.78234 -117.84762,0 0,-71.78234 z" id="rect8304" /> <g style="font-size:32px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:Linux Biolinum O;-inkscape-font-specification:Linux Biolinum O" id="text9078"> <path d="m 389.61287,296.83294 0,7.8399 c 0.003,1.20865 -0.0187,2.3593 -0.064,3.45195 -0.0453,1.09266 -0.13068,2.07531 -0.256,2.94796 l 0.032,0.096 c -6.7e-4,-0.004 0.13666,-0.02 0.41199,-0.048 0.27533,-0.028 0.69265,-0.044 1.25199,-0.048 0.54398,0.004 0.95198,0.02 1.22398,0.048 0.27199,0.028 0.40799,0.044 0.408,0.048 l 0.064,-0.096 c -0.12535,-0.91465 -0.21068,-1.9093 -0.256,-2.98396 -0.0453,-1.07465 -0.0667,-2.2133 -0.064,-3.41595 l 0,-7.8399 c -0.001,-0.21273 0.005,-0.62635 0.0166,-1.24088 0.012,-0.61449 0.0365,-1.24145 0.0735,-1.88086 0.0369,-0.63938 0.0922,-1.10278 0.16593,-1.3902 2.14529,0.016 3.7586,0.08 4.83993,0.19199 1.08131,0.11202 1.62263,0.17602 1.62398,0.192 l 0.064,-0.128 c -0.032,-0.24331 -0.048,-0.54864 -0.048,-0.91599 -1e-5,-0.36731 0.016,-0.77663 0.048,-1.22798 l -0.064,-0.096 c -0.26201,0.032 -0.56201,0.056 -0.89999,0.072 -0.33801,0.016 -0.678,0.024 -1.01998,0.024 l -12.35184,0 c -0.342,2e-5 -0.682,-0.008 -1.01999,-0.024 -0.338,-0.016 -0.63799,-0.04 -0.89999,-0.072 l -0.064,0.096 c 0.032,0.45135 0.048,0.86068 0.048,1.22798 0,0.36735 -0.016,0.67268 -0.048,0.91599 l 0.064,0.128 c 0.001,-0.016 0.54266,-0.08 1.62398,-0.192 1.08132,-0.11198 2.69463,-0.17598 4.83994,-0.19199 0.0737,0.28742 0.12898,0.75082 0.16592,1.3902 0.0369,0.63941 0.0614,1.26637 0.0735,1.88086 0.012,0.61453 0.0176,1.02815 0.0166,1.24088 z" style="" id="path9083" /> <path d="m 403.59892,301.88887 c 0.34399,-1.6053 0.92798,-2.61862 1.75197,-3.03996 0.82399,-0.42131 1.45598,-0.60265 1.89598,-0.54399 0.61198,-0.0193 1.18798,0.20334 1.72798,0.66799 0.53998,0.46467 0.82798,1.28733 0.86399,2.46797 0.001,0.14467 -0.0333,0.25534 -0.104,0.33199 -0.0707,0.0767 -0.18534,0.11534 -0.344,0.116 z m 8.67189,5.82393 c -0.55468,0.60666 -1.17333,1.05732 -1.85598,1.35198 -0.68267,0.29466 -1.46132,0.44133 -2.33597,0.43999 -0.97466,0.0393 -1.96132,-0.39932 -2.95996,-1.31598 -0.99866,-0.91665 -1.53732,-2.54729 -1.61598,-4.89194 l 8.60789,0 c 0.17798,-6.6e-4 0.31798,-0.0473 0.41999,-0.13999 0.10199,-0.0927 0.15399,-0.22733 0.156,-0.404 0.0373,-1.41464 -0.34134,-2.70529 -1.13599,-3.87195 -0.79466,-1.16664 -2.22931,-1.7853 -4.30394,-1.85598 -1.60332,0.016 -3.07663,0.68801 -4.41994,2.01598 -1.34332,1.32799 -2.05664,3.21597 -2.13998,5.66393 0.007,1.88864 0.58466,3.46329 1.73198,4.72393 1.14732,1.26066 2.82063,1.91531 5.01994,1.96398 1.15997,-0.0147 2.20796,-0.28133 3.14396,-0.79999 0.93597,-0.51866 1.71196,-1.20132 2.32797,-2.04797 z" style="" id="path9085" /> <path d="m 415.22795,308.00079 -0.51199,2.52797 c 0.87465,0.316 1.7093,0.53999 2.50396,0.67199 0.79465,0.132 1.48531,0.196 2.07198,0.192 2.0333,-0.0727 3.40661,-0.58333 4.11994,-1.53198 0.71332,-0.94865 1.04665,-1.89931 0.99999,-2.85196 -0.0347,-1.27465 -0.44534,-2.2053 -1.23198,-2.79197 -0.78667,-0.58665 -1.74132,-1.05331 -2.86397,-1.39998 -0.60333,-0.17199 -1.19665,-0.43599 -1.77997,-0.79199 -0.58333,-0.35599 -0.89666,-0.92398 -0.93999,-1.70398 0.022,-0.66331 0.27399,-1.18464 0.75599,-1.56398 0.48199,-0.37931 1.06198,-0.57264 1.73998,-0.57999 0.78265,0.0333 1.4173,0.27868 1.90397,0.73599 0.48665,0.45734 0.83332,0.92667 1.03999,1.40798 l 0.41599,-0.032 0.608,-2.14397 -0.064,-0.096 c -0.43934,-0.25265 -0.98467,-0.48331 -1.63598,-0.69199 -0.65134,-0.20865 -1.36466,-0.31932 -2.13998,-0.332 -1.18265,-0.003 -2.2733,0.31535 -3.27195,0.95599 -0.99866,0.64067 -1.52932,1.62333 -1.59198,2.94796 0.003,0.42067 0.0607,0.81134 0.172,1.17199 0.11132,0.36067 0.25666,0.66333 0.43599,0.90799 0.34733,0.46933 0.78865,0.84266 1.32398,1.11998 0.53532,0.27734 1.09665,0.52267 1.68398,0.73599 0.89398,0.30401 1.60997,0.624 2.14797,0.95999 0.53799,0.336 0.81398,0.87999 0.82799,1.63198 -0.012,0.85666 -0.26,1.52732 -0.74399,2.01197 -0.484,0.48467 -1.13199,0.73133 -1.94397,0.74 -0.73533,-0.007 -1.42466,-0.20867 -2.06798,-0.604 -0.64332,-0.39532 -1.14865,-0.94065 -1.51598,-1.63598 z" style="" id="path9087" /> <path d="m 428.19543,297.34493 -2.04797,0 c -0.064,-0.005 -0.096,0.0374 -0.096,0.128 l 0,1.15198 c -0.005,0.0907 0.0373,0.13335 0.128,0.128 l 2.01597,0 0,4.92794 c -0.004,0.99599 -0.02,1.97998 -0.048,2.95196 -0.028,0.97199 -0.044,1.71598 -0.048,2.23197 0.012,0.76333 0.244,1.37265 0.696,1.82798 0.45199,0.45533 1.05198,0.68866 1.79997,0.69999 0.66465,0.005 1.29531,-0.11733 1.89198,-0.368 0.59665,-0.25066 1.20331,-0.66132 1.81997,-1.23198 l -0.38399,-0.89599 c -0.418,0.248 -0.79,0.408 -1.11599,0.48 -0.326,0.072 -0.68999,0.104 -1.09198,0.096 -0.422,-6.6e-4 -0.706,-0.16732 -0.85199,-0.49999 -0.14601,-0.33266 -0.214,-0.82732 -0.204,-1.48398 0.004,-0.47332 0.02,-1.04665 0.048,-1.71998 0.028,-0.67332 0.044,-1.48664 0.048,-2.43997 l 0,-4.57594 2.91196,0 c 0.17199,6.8e-4 0.33999,-0.0326 0.504,-0.1 0.16398,-0.0673 0.25198,-0.17265 0.26399,-0.31599 l 0,-0.79999 c -0.005,-0.12799 -0.0907,-0.19199 -0.25599,-0.192 l -3.42396,0 c -0.001,-1.1193 0.009,-1.92863 0.032,-2.42797 0.0227,-0.49931 0.0653,-1.17263 0.128,-2.01997 -10e-6,-0.21865 -0.096,-0.32531 -0.288,-0.32 -0.378,0.16735 -0.74999,0.32868 -1.11598,0.484 -0.366,0.15534 -0.858,0.26068 -1.47599,0.31599 l -0.064,0.096 c 0.10733,0.63334 0.17266,1.21467 0.19599,1.74398 0.0233,0.52934 0.0327,1.23866 0.028,2.12797 z" style="" id="path9089" /> </g> </g> </svg>
TIA,
Sincerely,
Wolfgang
I can't test it on Inkscape for the moment (i'm not in my personal PC), but from the looks of it, it appears that there's a typo in the plugin code.
It can easily be fixed by replacing line 1294 of your F:\Wolfgang\Inkscape\share\extensions\tikz_export.py file, from: graphics_state = GraphicsState(none) to graphics_state = GraphicsState(None)
And then see if the extension works as expected after this change.
On 12/12/09 15:56 , Wolfgang Keller wrote:
Hello,
when I try to export anything from Inkscape 0.47 (on Windows) to Tikz using the export script from http://code.google.com/p/inkscape2tikz/, all I get is a traceback:
Traceback (most recent call last): File "F:\Wolfgang\Inkscape\share\extensions\tikz_export.py", line 1389, in<module> main_inkscape() File "F:\Wolfgang\Inkscape\share\extensions\tikz_export.py", line 1379, in main_inkscape effect.affect() File "F:\Wolfgang\Inkscape\share\extensions\inkex.py", line 207, in affect self.effect() File "F:\Wolfgang\Inkscape\share\extensions\tikz_export.py", line 1294, in effect graphics_state = GraphicsState(none) NameError: global name 'none' is not defined
This is a "minimum" Inkscape file as an example:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" width="297mm" height="210mm" id="svg8293" version="1.1" inkscape:version="0.47 r22583" sodipodi:docname="Neues Dokument 3"> <defs id="defs8295"> <inkscape:perspective sodipodi:type="inkscape:persp3d" inkscape:vp_x="0 : 372.04724 : 1" inkscape:vp_y="0 : 1000 : 0" inkscape:vp_z="1052.3622 : 372.04724 : 1" inkscape:persp3d-origin="526.18109 : 248.03149 : 1" id="perspective8302" />
</defs> <sodipodi:namedview inkscape:document-units="mm" pagecolor="#ffffff" bordercolor="#666666" borderopacity="1.0" inkscape:pageopacity="0.0" inkscape:pageshadow="2" inkscape:zoom="0.43415836" inkscape:cx="82.314657" inkscape:cy="380" inkscape:current-layer="layer1" id="namedview8297" showgrid="false" inkscape:window-width="1280" inkscape:window-height="1001" inkscape:window-x="-4" inkscape:window-y="-4" inkscape:window-maximized="1" /> <metadata id="metadata8299"> <rdf:RDF> <cc:Work rdf:about=""> <dc:format>image/svg+xml</dc:format> <dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> <dc:title></dc:title> </cc:Work> </rdf:RDF> </metadata> <g inkscape:label="Layer 1" inkscape:groupmode="layer" id="layer1"> <path style="fill:#ffffff;fill-opacity:0;stroke:#000000;stroke-width:0.11977783;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1" d="m 356.82309,267.12003 117.84762,0 0,71.78234 -117.84762,0 0,-71.78234 z" id="rect8304" /> <g style="font-size:32px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:Linux Biolinum O;-inkscape-font-specification:Linux Biolinum O" id="text9078"> <path d="m 389.61287,296.83294 0,7.8399 c 0.003,1.20865 -0.0187,2.3593 -0.064,3.45195 -0.0453,1.09266 -0.13068,2.07531 -0.256,2.94796 l 0.032,0.096 c -6.7e-4,-0.004 0.13666,-0.02 0.41199,-0.048 0.27533,-0.028 0.69265,-0.044 1.25199,-0.048 0.54398,0.004 0.95198,0.02 1.22398,0.048 0.27199,0.028 0.40799,0.044 0.408,0.048 l 0.064,-0.096 c -0.12535,-0.91465 -0.21068,-1.9093 -0.256,-2.98396 -0.0453,-1.07465 -0.0667,-2.2133 -0.064,-3.41595 l 0,-7.8399 c -0.001,-0.21273 0.005,-0.62635 0.0166,-1.24088 0.012,-0.61449 0.0365,-1.24145 0.0735,-1.88086 0.0369,-0.63938 0.0922,-1.10278 0.16593,-1.3902 2.14529,0.016 3.7586,0.08 4.83993,0.19199 1.08131,0.11202 1.62263,0.17602 1.62398,0.192 l 0.064,-0.128 c -0.032,-0.24331 -0.048,-0.54864 -0.048,-0.91599 -1e-5,-0.36731 0.016,-0.77663 0.048,-1.22798 l -0.064,-0.096 c -0.26201,0.032 -0.56201,0.056 -0.89999,0.072 -0.33801,0.016 -0.678,0.024 -1.01998,0.024 l -12.35184,0 c -0.342,2e-5 -0.682,-0.008 -1.01999,-0.024 -0.338,-0.016 -0.63799,-0.04 -0.89999,-0.072 l -0.064,0.096 c 0.032,0.45135 0.048,0.86068 0.048,1.22798 0,0.36735 -0.016,0.67268 -0.048,0.91599 l 0.064,0.128 c 0.001,-0.016 0.54266,-0.08 1.62398,-0.192 1.08132,-0.11198 2.69463,-0.17598 4.83994,-0.19199 0.0737,0.28742 0.12898,0.75082 0.16592,1.3902 0.0369,0.63941 0.0614,1.26637 0.0735,1.88086 0.012,0.61453 0.0176,1.02815 0.0166,1.24088 z" style="" id="path9083" /> <path d="m 403.59892,301.88887 c 0.34399,-1.6053 0.92798,-2.61862 1.75197,-3.03996 0.82399,-0.42131 1.45598,-0.60265 1.89598,-0.54399 0.61198,-0.0193 1.18798,0.20334 1.72798,0.66799 0.53998,0.46467 0.82798,1.28733 0.86399,2.46797 0.001,0.14467 -0.0333,0.25534 -0.104,0.33199 -0.0707,0.0767 -0.18534,0.11534 -0.344,0.116 z m 8.67189,5.82393 c -0.55468,0.60666 -1.17333,1.05732 -1.85598,1.35198 -0.68267,0.29466 -1.46132,0.44133 -2.33597,0.43999 -0.97466,0.0393 -1.96132,-0.39932 -2.95996,-1.31598 -0.99866,-0.91665 -1.53732,-2.54729 -1.61598,-4.89194 l 8.60789,0 c 0.17798,-6.6e-4 0.31798,-0.0473 0.41999,-0.13999 0.10199,-0.0927 0.15399,-0.22733 0.156,-0.404 0.0373,-1.41464 -0.34134,-2.70529 -1.13599,-3.87195 -0.79466,-1.16664 -2.22931,-1.7853 -4.30394,-1.85598 -1.60332,0.016 -3.07663,0.68801 -4.41994,2.01598 -1.34332,1.32799 -2.05664,3.21597 -2.13998,5.66393 0.007,1.88864 0.58466,3.46329 1.73198,4.72393 1.14732,1.26066 2.82063,1.91531 5.01994,1.96398 1.15997,-0.0147 2.20796,-0.28133 3.14396,-0.79999 0.93597,-0.51866 1.71196,-1.20132 2.32797,-2.04797 z" style="" id="path9085" /> <path d="m 415.22795,308.00079 -0.51199,2.52797 c 0.87465,0.316 1.7093,0.53999 2.50396,0.67199 0.79465,0.132 1.48531,0.196 2.07198,0.192 2.0333,-0.0727 3.40661,-0.58333 4.11994,-1.53198 0.71332,-0.94865 1.04665,-1.89931 0.99999,-2.85196 -0.0347,-1.27465 -0.44534,-2.2053 -1.23198,-2.79197 -0.78667,-0.58665 -1.74132,-1.05331 -2.86397,-1.39998 -0.60333,-0.17199 -1.19665,-0.43599 -1.77997,-0.79199 -0.58333,-0.35599 -0.89666,-0.92398 -0.93999,-1.70398 0.022,-0.66331 0.27399,-1.18464 0.75599,-1.56398 0.48199,-0.37931 1.06198,-0.57264 1.73998,-0.57999 0.78265,0.0333 1.4173,0.27868 1.90397,0.73599 0.48665,0.45734 0.83332,0.92667 1.03999,1.40798 l 0.41599,-0.032 0.608,-2.14397 -0.064,-0.096 c -0.43934,-0.25265 -0.98467,-0.48331 -1.63598,-0.69199 -0.65134,-0.20865 -1.36466,-0.31932 -2.13998,-0.332 -1.18265,-0.003 -2.2733,0.31535 -3.27195,0.95599 -0.99866,0.64067 -1.52932,1.62333 -1.59198,2.94796 0.003,0.42067 0.0607,0.81134 0.172,1.17199 0.11132,0.36067 0.25666,0.66333 0.43599,0.90799 0.34733,0.46933 0.78865,0.84266 1.32398,1.11998 0.53532,0.27734 1.09665,0.52267 1.68398,0.73599 0.89398,0.30401 1.60997,0.624 2.14797,0.95999 0.53799,0.336 0.81398,0.87999 0.82799,1.63198 -0.012,0.85666 -0.26,1.52732 -0.74399,2.01197 -0.484,0.48467 -1.13199,0.73133 -1.94397,0.74 -0.73533,-0.007 -1.42466,-0.20867 -2.06798,-0.604 -0.64332,-0.39532 -1.14865,-0.94065 -1.51598,-1.63598 z" style="" id="path9087" /> <path d="m 428.19543,297.34493 -2.04797,0 c -0.064,-0.005 -0.096,0.0374 -0.096,0.128 l 0,1.15198 c -0.005,0.0907 0.0373,0.13335 0.128,0.128 l 2.01597,0 0,4.92794 c -0.004,0.99599 -0.02,1.97998 -0.048,2.95196 -0.028,0.97199 -0.044,1.71598 -0.048,2.23197 0.012,0.76333 0.244,1.37265 0.696,1.82798 0.45199,0.45533 1.05198,0.68866 1.79997,0.69999 0.66465,0.005 1.29531,-0.11733 1.89198,-0.368 0.59665,-0.25066 1.20331,-0.66132 1.81997,-1.23198 l -0.38399,-0.89599 c -0.418,0.248 -0.79,0.408 -1.11599,0.48 -0.326,0.072 -0.68999,0.104 -1.09198,0.096 -0.422,-6.6e-4 -0.706,-0.16732 -0.85199,-0.49999 -0.14601,-0.33266 -0.214,-0.82732 -0.204,-1.48398 0.004,-0.47332 0.02,-1.04665 0.048,-1.71998 0.028,-0.67332 0.044,-1.48664 0.048,-2.43997 l 0,-4.57594 2.91196,0 c 0.17199,6.8e-4 0.33999,-0.0326 0.504,-0.1 0.16398,-0.0673 0.25198,-0.17265 0.26399,-0.31599 l 0,-0.79999 c -0.005,-0.12799 -0.0907,-0.19199 -0.25599,-0.192 l -3.42396,0 c -0.001,-1.1193 0.009,-1.92863 0.032,-2.42797 0.0227,-0.49931 0.0653,-1.17263 0.128,-2.01997 -10e-6,-0.21865 -0.096,-0.32531 -0.288,-0.32 -0.378,0.16735 -0.74999,0.32868 -1.11598,0.484 -0.366,0.15534 -0.858,0.26068 -1.47599,0.31599 l -0.064,0.096 c 0.10733,0.63334 0.17266,1.21467 0.19599,1.74398 0.0233,0.52934 0.0327,1.23866 0.028,2.12797 z" style="" id="path9089" /> </g> </g> </svg>
TIA,
Sincerely,
Wolfgang
Wolfgang Keller-2 wrote:
Hello,
when I try to export anything from Inkscape 0.47 (on Windows) to Tikz using the export script from http://code.google.com/p/inkscape2tikz/, all I get is a traceback:
Traceback (most recent call last): File "F:\Wolfgang\Inkscape\share\extensions\tikz_export.py", line 1389, in <module> main_inkscape() File "F:\Wolfgang\Inkscape\share\extensions\tikz_export.py", line 1379, in main_inkscape effect.affect() File "F:\Wolfgang\Inkscape\share\extensions\inkex.py", line 207, in affect self.effect() File "F:\Wolfgang\Inkscape\share\extensions\tikz_export.py", line 1294, in effect graphics_state = GraphicsState(none) NameError: global name 'none' is not defined ...
Sorry about that. I have now fixed the typo.
- Kjell Magne Fauske
Hello,
Sorry about that. I have now fixed the typo.
And here comes the next traceback:
Traceback (most recent call last): File "F:\Wolfgang\Inkscape\share\extensions\tikz_export.py", line 1389, in <module> main_inkscape() File "F:\Wolfgang\Inkscape\share\extensions\tikz_export.py", line 1379, in main_inkscape effect.affect() File "F:\Wolfgang\Inkscape\share\extensions\inkex.py", line 207, in affect self.effect() File "F:\Wolfgang\Inkscape\share\extensions\tikz_export.py", line 1295, in effect goptions, transformation = self.convert_svgstate_to_tikz(graphics_state, graphics_state, self.document.getroot()) File "F:\Wolfgang\Inkscape\share\extensions\tikz_export.py", line 736, in convert_svgstate_to_tikz stroke = state.stroke.get('stroke') AttributeError: 'NoneType' object has no attribute 'get'
Sincerely,
Wolfgang
Wolfgang Keller-2 wrote:
Hello,
Sorry about that. I have now fixed the typo.
And here comes the next traceback:
Traceback (most recent call last): File "F:\Wolfgang\Inkscape\share\extensions\tikz_export.py", line 1389, in <module> main_inkscape() File "F:\Wolfgang\Inkscape\share\extensions\tikz_export.py", line 1379, in main_inkscape effect.affect() File "F:\Wolfgang\Inkscape\share\extensions\inkex.py", line 207, in affect self.effect() File "F:\Wolfgang\Inkscape\share\extensions\tikz_export.py", line 1295, in effect goptions, transformation = self.convert_svgstate_to_tikz(graphics_state, graphics_state, self.document.getroot()) File "F:\Wolfgang\Inkscape\share\extensions\tikz_export.py", line 736, in convert_svgstate_to_tikz stroke = state.stroke.get('stroke') AttributeError: 'NoneType' object has no attribute 'get'
Sincerely,
Wolfgang
The version of the extension on the web is currently out of sync with my local hg-repository. Unfortunately I don't have access to my home computer at the moment. I will upload a fix later today. I'm sorry for the inconvenience (Note to self: Remember to run tests before pushing changes to the main repository :().
- Kjell Magne Fauske
Wolfgang Keller-2 wrote:
Hello,
Sorry about that. I have now fixed the typo.
And here comes the next traceback:
Traceback (most recent call last): File "F:\Wolfgang\Inkscape\share\extensions\tikz_export.py", line 1389, in <module> main_inkscape() File "F:\Wolfgang\Inkscape\share\extensions\tikz_export.py", line 1379, in main_inkscape effect.affect() File "F:\Wolfgang\Inkscape\share\extensions\inkex.py", line 207, in affect self.effect() File "F:\Wolfgang\Inkscape\share\extensions\tikz_export.py", line 1295, in effect goptions, transformation = self.convert_svgstate_to_tikz(graphics_state, graphics_state, self.document.getroot()) File "F:\Wolfgang\Inkscape\share\extensions\tikz_export.py", line 736, in convert_svgstate_to_tikz stroke = state.stroke.get('stroke') AttributeError: 'NoneType' object has no attribute 'get'
Sincerely,
Wolfgang
I have now fixed the bug (hopefully). Sorry for the inconvenience.
Regards, Kjell Magne Fauske
participants (3)
-
Kjell Magne Fauske
-
ricardo lafuente
-
Wolfgang Keller