Here's what I get when using two paths with two different colors. I am trying to interpolate the styles and path so I can create a new swatch:
interp.py:115: SyntaxWarning: "is" with a literal. Did you mean "=="? if strokestyle is 'color': interp.py:125: SyntaxWarning: "is" with a literal. Did you mean "=="? if fillstyle is 'color': /usr/lib/python3/dist-packages/apport/report.py:13: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses import fnmatch, glob, traceback, errno, sys, atexit, locale, imp Traceback (most recent call last): File "interp.py", line 283, in <module> Interp().run() File "/usr/share/inkscape/extensions/inkex/base.py", line 140, in run self.save_raw(self.effect()) File "interp.py", line 101, in effect if isgradient(sst['stroke']) and isgradient(est['stroke']): File "interp.py", line 99, in <lambda> isgradient = lambda x: x.startswith('url(#') AttributeError: 'NoneType' object has no attribute 'startswith'
I also tried the AppImage and the error is the same :(
my interpolate inkscape in linux mint dosen't work, when i make the interpolate appear text like on screen
How did you install Inkscape?
I want to add to this thread because my inerpolate extension doesn't work either.
I installed Inkscape in Lubuntu 20.04 thru the Inkscape.dev PPA (http://ppa.launchpad.net/inkscape.dev/stable/ubuntu), now running version 1.0.1 (1.0.1+r73).
Here's what I get when using two paths with two different colors. I am trying to interpolate the styles and path so I can create a new swatch:
interp.py:115: SyntaxWarning: "is" with a literal. Did you mean "=="?
if strokestyle is 'color':
interp.py:125: SyntaxWarning: "is" with a literal. Did you mean "=="?
if fillstyle is 'color':
/usr/lib/python3/dist-packages/apport/report.py:13: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
import fnmatch, glob, traceback, errno, sys, atexit, locale, imp
Traceback (most recent call last):
File "interp.py", line 283, in <module>
Interp().run()
File "/usr/share/inkscape/extensions/inkex/base.py", line 140, in run
self.save_raw(self.effect())
File "interp.py", line 101, in effect
if isgradient(sst['stroke']) and isgradient(est['stroke']):
File "interp.py", line 99, in <lambda>
isgradient = lambda x: x.startswith('url(#')
AttributeError: 'NoneType' object has no attribute 'startswith'
I also tried the AppImage and the error is the same :(
The extension is broken in that version. You can follow bug reports affecting that extension at https://gitlab.com/inkscape/extensions/-/issues?scope=all&utf8=%E2%9C%93&state=all&search=interpol