I'm tried different paths but extension is throws error
/usr/share/inkscape/extensions/export_layers.py:17: 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("--path", action="store", type="string", dest="path", default="~/", help="")
/usr/share/inkscape/extensions/export_layers.py:18: 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('-f', '--filetype', action='store', type='string', dest='filetype', default='jpeg', help='Exported file type')
/usr/share/inkscape/extensions/export_layers.py:19: 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("--crop", action="store", type="inkbool", dest="crop", default=False)
/usr/share/inkscape/extensions/export_layers.py:20: 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("--dpi", action="store", type="float", dest="dpi", default=90.0)
/usr/share/inkscape/extensions/export_layers.py:108: DeprecationWarning: Effect.affect is now `Effect.run()`. The `output` argument has changed.
e.affect()
/usr/share/inkscape/extensions/export_layers.py:24: DeprecationWarning: self.args[-1] is now self.options.input_file
curfile = self.args[-1]
I'm tried different paths but extension is throws error