You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
"Third-party extensions
Third-party extensions need to be updated to work with this version of
Inkscape.
For extension writers
[TBC - not final] Extensions have undergone some fundamental changes.
Inkscape's stock extensions have been moved to their own repository and were
updated for compatibility with Python 3. Internally, extensions have been
reorganized and many functions have been deprecated.
[Extension manager? How-to-guide for updating? New API elements?
Documentation?]
Instructions for updating old extensions are available at Updating your
Extension for 1.0
Also note the changed command line options."
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 withargparser
.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.
The text was updated successfully, but these errors were encountered: