Closed rox97 closed 1 year ago
I've just download the new version after your last commit 7 hours ago and the script from console now works like a charm! But I keep getting the same error in prusaslicer
Is a " " (empty space) in the path to your python exe or the script?
Yes
/usr/local/Cellar/python@3.10/3.10.10_1/bin/python3.10 /Users/andrearossetti/Library/Application\ Support/PrusaSlicer-alpha/prusa_slicer_post_processing_script.py;
You need to mask the empty spaces as described here: https://manual.slic3r.org/advanced/post-processing Also the path needs to be the full path like C:....
I'm using macOS and the path is the full path. The path in macOS doesn't start with C:... Also I've tried to change the path to the script with a path without a space and it gives the same error. Trying with the ! mask you sent me, the error is that he can't find the file because the path is incomplete. Could it be that this script works only on windows?
This is the the paths with the mask:
/usr/local/Cellar/python@3.10/3.10.10_1/bin/python3.10 /Users/andrearossetti/Library/Application! Support/PrusaSlicer-alpha/prusa_slicer_post_processing_script.py;
and the is the error:
Post-processing script /us/local/Cellar/python@3.10/3.10.10_1/bin/python3.10 /Users/andrearossetti/Library/Application! Support/PrusaSlicer-alpha/prusa_slicer_post_processing_script.py on file /var/folders/7q/qzimm0d121_gtxOycd6vryr0000gn/T/.55218.gcode.pp failed. Error code: 2 Output: usr/local/Cellar/python@3.10/3.10.10_1/bin/python3.10: can't open file '/Users/andrearossetti/Library/Application!': [Errno 2] No such file or directory
/usr/local/Cellar/python@3.10/3.10.10_1/bin/python3.10 /Users/andrearossetti/Downloads/arc-overhang-prusaslicer-integration-main/prusa_slicer_post_processing_script.py;
This is the other path that I tried to use. As you can see, there are no spaces but the error it's the same: EOFError: EOF when reading a line
Probably, but I cant fix that Issue, as i dont have a mac to test solutions. But least the console works.
Hi. I tried to use the script, both in prusaslicer and via console. In prusaslicer I got this error: `Post-processing script /usr/local/Cellar/python@3.10/3.10.10_1/bin/python3.10 /Users/andrearossetti/Library/Application) Support/PrusaSlicer-alpha/prusa_slicer_post_processing_script.py on file /var/folders/7q/qzjmm0d121_gtxOycd6vryr0000gn/T/.40741.gcode.pp failed. Error code: 1 Output: Traceback (most recent call last): File "/Users/andrearossetti/Library/Application Support/PrusaSlicer-alpha/prusa_slicer_post_processing_script.py", line 1158, in