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
Steps to reproduce the behavior (please change as needed):
Open the file with Inkscape
Extensions - Roland CutStudio - Open in CutStudio
Does the issue also occur on a second computer? UNKNOWN. Installation on MacOS reportedly works.
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
Traceback (most recent call last):
File "C:\Program Files\Inkscape\share\inkscape\extensions\roland_cutstudio.py", line 414, in
Popen([which("CutStudio\CutStudio.exe", True), "/import", destination], creationflags=DETACHED_PROCESS, close_fds=True)
File "C:\Program Files\Inkscape\share\inkscape\extensions\roland_cutstudio.py", line 89, in which
raise Exception("Cannot find " + str(program) + " in any of these paths: " + str(pathlist) + ". Either the program is not installed, PATH is not set correctly, or this is a bug.")
Exception: Cannot find CutStudio\CutStudio.exe in any of these paths: ['C:\Program Files\Inkscape\bin', 'C:\Program Files\Inkscape\bin\', 'C:\WINDOWS\system32', 'C:\WINDOWS', 'C:\WINDOWS\System32\Wbem', 'C:\WINDOWS\System32\WindowsPowerShell\v1.0\', 'C:\WINDOWS\System32\OpenSSH\', 'C:\Program Files\PuTTY\', 'C:\Program Files\WireGuard\', 'C:\Program Files\WinMerge', 'C:\Program Files\dotnet\', 'C:\WSJT\wsjtx\bin', 'C:\Users\dtwit\AppData\Local\Microsoft\WindowsApps', 'C:\Program Files (x86)\Nmap', 'C:\SDelete', 'C:\Program Files\CutStudio', '', 'C:\Program Files\Inkscape\bin\', 'C:\Program Files', 'C:\Program Files (x86)', 'C:\Program Files\', 'C:\Program Files\Inkscape\share']. Either the program is not installed, PATH is not set correctly, or this is a bug.
Versions (please complete the following information):
Or you find CutStudio somewhere and install it. Or switch to Inkcut and get rid of CutStudio :-) Unfortunately, Inkcut doesn't support special features like cropmark detection.
Thanks Max. I was confused by the code/instructions section Using Without CutStudio Installed - I presumed that meant this extension would work as a standalone converter, but I guess not under Windows?
Yes, the extension will fall back to just saving the file when CutStudio is missing. I never expected that someone needs this on Windows. Feel free to contribute improved code that solves the issue.
Describe the bug
When installed on Windows 10 under Inkscape 1.2, with CutStudio not installed, the Extension throws Exceptions.
To Reproduce
Input file:
Does the bug also happen with this test file: https://github.com/mgmax/inkscape-roland-cutstudio/raw/master/test-input.svg ? YES
Steps to reproduce the behavior (please change as needed):
Does the issue also occur on a second computer? UNKNOWN. Installation on MacOS reportedly works.
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
Traceback (most recent call last):
File "C:\Program Files\Inkscape\share\inkscape\extensions\roland_cutstudio.py", line 414, in
Popen([which("CutStudio\CutStudio.exe", True), "/import", destination], creationflags=DETACHED_PROCESS, close_fds=True)
File "C:\Program Files\Inkscape\share\inkscape\extensions\roland_cutstudio.py", line 89, in which
raise Exception("Cannot find " + str(program) + " in any of these paths: " + str(pathlist) + ". Either the program is not installed, PATH is not set correctly, or this is a bug.")
Exception: Cannot find CutStudio\CutStudio.exe in any of these paths: ['C:\Program Files\Inkscape\bin', 'C:\Program Files\Inkscape\bin\', 'C:\WINDOWS\system32', 'C:\WINDOWS', 'C:\WINDOWS\System32\Wbem', 'C:\WINDOWS\System32\WindowsPowerShell\v1.0\', 'C:\WINDOWS\System32\OpenSSH\', 'C:\Program Files\PuTTY\', 'C:\Program Files\WireGuard\', 'C:\Program Files\WinMerge', 'C:\Program Files\dotnet\', 'C:\WSJT\wsjtx\bin', 'C:\Users\dtwit\AppData\Local\Microsoft\WindowsApps', 'C:\Program Files (x86)\Nmap', 'C:\SDelete', 'C:\Program Files\CutStudio', '', 'C:\Program Files\Inkscape\bin\', 'C:\Program Files', 'C:\Program Files (x86)', 'C:\Program Files\', 'C:\Program Files\Inkscape\share']. Either the program is not installed, PATH is not set correctly, or this is a bug.
Versions (please complete the following information):
Additional context
I tried setting the PATH to include "C:\Program Files\CutStudio" but this didn't help.
The text was updated successfully, but these errors were encountered: