Multi-Extrusion-post-processing-scripts-for-Slic3r icon indicating copy to clipboard operation
Multi-Extrusion-post-processing-scripts-for-Slic3r copied to clipboard

<Slic3r> Can't do inplace edit without backup at C:\Program Files\Repetier-Host\Slic3r\Multi-Extrusion-scripts\wipe_towers_v02.pl line 98.

Open lemmingDev opened this issue 9 years ago • 2 comments

Script doesn't run on Windows "Can't do inplace edit without backup at C:\Program Files\Repetier-Host\Slic3r\Multi-Extrusion-scripts\wipe_towers_v02.pl line 98."

lemmingDev avatar Oct 31 '15 23:10 lemmingDev

I solved this by adding the fix from slic3r.org. It's written about at the bottom of this page. http://manual.slic3r.org/advanced/post-processing

If you are getting a can't do inplace edit without backup error when specifying the post-process script, try adding $^I = '.bak'; before the while loop. This will create a backup file of the generated G-Code file. Windows does not like to have two scripts creating and/or accessing a single file at once, so a backup is needed.

GFBsoul avatar Nov 26 '15 12:11 GFBsoul

Thanks! I will look into this and try to provide a fix that works for mac and windows users!

makertum avatar Dec 03 '15 08:12 makertum