Skip to content
This repository has been archived by the owner on Dec 10, 2024. It is now read-only.

Error when click "Apply" #21

Open
zexanein opened this issue May 2, 2021 · 2 comments
Open

Error when click "Apply" #21

zexanein opened this issue May 2, 2021 · 2 comments

Comments

@zexanein
Copy link

zexanein commented May 2, 2021

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]
@dmitry-t
Copy link

dmitry-t commented May 8, 2021

I can't see an error here. All of these are warnings.

@zexanein
Copy link
Author

I can't see an error here. All of these are warnings.

But there is no any layer in export folder

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants