-
Notifications
You must be signed in to change notification settings - Fork 3
Description
Pathops extension, which I had added manually some years ago to an earlier version of Inkscape, was deleted when I updated my Mac OS Inkscape.app to Inkscape 1.1.1.
I manually copied the current inkscape-extension-pathops files to the correct folder and saw that the relevant menus and submenus appeared after restarting Inkscape.
Unfortunately, running an extension such as Intersection fails and instead returns an error:
"
pathops.py:238: 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.
"
If I do what this error is suggesting and replace all occurrences of the problematic term in the .py file, I get a different error:
"
Traceback (most recent call last):
File "pathops.py", line 1, in
self.arg_parser.add_argument
NameError: name 'self' is not defined
"
I am wondering if there is some repair or alteration that needs to be done to make the pathops extension compatible with Inkscape 1.1.1 for Mac OS. This is beyond my coding abilities but it may be something quite easy to do for those who understand the errors.
Any assistance would be appreciated.