-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Thanks for writing a much-needed extension. However, when we installed and used it in Windows 10, we encountered a problem. We moved the INX and PY files to C:\Program Files\Inkscape\share\inkscape\extensions, and installed pdf2svg-x64 to C:\Program Files, and added the PATH environmental variable.
When we tried to render LaTex, we got this error (a similar error also occured in Mac)
DeprecationWarning: Effect.OptionParser or optparse has been deprecated and replaced with argparser. You must change self.OptionParser.add_option to self.arg_parser.add_argument; the arguments are similar.
self.OptionParser.add_option("-l", "--latexcmd",
C:\Program Files\Inkscape\share\inkscape\extensions\writetex2.py:320: DeprecationWarning: Effect.affect is now Effect.run(). The output argument has changed.
e.affect()
C:\Program Files\Inkscape\share\inkscape\extensions\writetex2.py:71: DeprecationWarning: Effect.selected is now a dict in the SvgDocumentElement class. Use self.svg.selected.
if len(self.selected) == 0:
C:\Program Files\Inkscape\share\inkscape\extensions\writetex2.py:74: DeprecationWarning: Effect.selected is now a dict in the SvgDocumentElement class. Use self.svg.selected.
node = self.selected[i]
Traceback (most recent call last):
File "C:\Program Files\Inkscape\share\inkscape\extensions\writetex2.py", line 320, in
e.affect()
File "C:\Program Files\Inkscape\share\inkscape\extensions\inkex\deprecated\deprecatedeffect.py", line 220, in affect