Open keen101 opened 3 years ago
hi. you can try my fork https://github.com/vmario89/Inkscape-OUTPUT-PRO which works with PyQt5 on Windows/Linux and Inkscape 1.0+
Hey @vmario89 I tried your fork. Unfortunately I get the error module 'inkex.utils' has no attribute 'get_user_directory'
when trying to export.
Kubuntu 20.10 with Inkscape 1.0.1
hi. oh might be the case that inkscape 1.0 does not offer that python method yet, but inkscape 1.1 should do the job i think. could you try that? regards, MArio
Using PopOS 20.04. PyQt4 is too old and this extention does not work without it.
I actually did install PyQt4 a cludgy way using this method: https://askubuntu.com/questions/1265294/pyqt4-on-ubuntu-20-04-install
My system says PYQt4 is installed, yet still has errors as the extension can not find it. andrew@pop-os:~$ sudo apt install python-qt4 Reading package lists... Done Building dependency tree
Reading state information... Done python-qt4 is already the newest version (4.12.1+dfsg-2).
/home/andrew/.config/inkscape/extensions/outputpro/cmyk.py:50: DeprecationWarning: invalid escape sequence ) return simplestyle.formatColor3f(float(1.00 - float(re.split('[,)\s]+',value.group())[2])), float(1.00), float(1.00)) /home/andrew/.config/inkscape/extensions/outputpro/cmyk.py:60: DeprecationWarning: invalid escape sequence ) return simplestyle.formatColor3f(float(1.00), float(1.00 - float(re.split('[,)\s]+',value.group())[3])), float(1.00)) /home/andrew/.config/inkscape/extensions/outputpro/cmyk.py:70: DeprecationWarning: invalid escape sequence ) return simplestyle.formatColor3f(float(1.00), float(1.00), float(1.00 - float(re.split('[,)\s]+',value.group())[4]))) /home/andrew/.config/inkscape/extensions/outputpro/cmyk.py:80: DeprecationWarning: invalid escape sequence ) return simplestyle.formatColor3f(float(1.00 - float(re.split('[,)\s]+',value.group())[5])), float(1.00 - float(re.split('[,)\s]+',value.group())[5])), float(1.00 - float(re.split('[,)\s]+',value.group())[5]))) /home/andrew/.config/inkscape/extensions/outputpro/cmyk.py:80: DeprecationWarning: invalid escape sequence ) return simplestyle.formatColor3f(float(1.00 - float(re.split('[,)\s]+',value.group())[5])), float(1.00 - float(re.split('[,)\s]+',value.group())[5])), float(1.00 - float(re.split('[,)\s]+',value.group())[5]))) /home/andrew/.config/inkscape/extensions/outputpro/cmyk.py:80: DeprecationWarning: invalid escape sequence ) return simplestyle.formatColor3f(float(1.00 - float(re.split('[,)\s]+',value.group())[5])), float(1.00 - float(re.split('[,)\s]+',value.group())[5])), float(1.00 - float(re.split('[,)\s]+',value.group())[5]))) /home/andrew/.config/inkscape/extensions/outputpro/cmyk.py:91: DeprecationWarning: invalid escape sequence ( open(temp_dir + "separationK.svg","w").write(re.sub("#[a-fA-F0-9]{6}( icc-color(.?))?", representK, svg_ready)) /home/andrew/.config/inkscape/extensions/outputpro/cmyk.py:96: DeprecationWarning: invalid escape sequence ( open(temp_dir + "separationC.svg","w").write(re.sub("#[a-fA-F0-9]{6}( icc-color(.?))?", representC, svg_ready)) /home/andrew/.config/inkscape/extensions/outputpro/cmyk.py:97: DeprecationWarning: invalid escape sequence ( open(temp_dir + "separationM.svg","w").write(re.sub("#[a-fA-F0-9]{6}( icc-color(.?))?", representM, svg_ready)) /home/andrew/.config/inkscape/extensions/outputpro/cmyk.py:98: DeprecationWarning: invalid escape sequence ( open(temp_dir + "separationY.svg","w").write(re.sub("#[a-fA-F0-9]{6}( icc-color(.?))?", representY, svg_ready)) /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, stat Traceback (most recent call last): File "outputpro.py", line 8, in
from PyQt4 import QtGui
ModuleNotFoundError: No module named 'PyQt4'