Hello Guest it is May 06, 2021, 09:40:34 PM

Author Topic: General error opening gcode file - fix  (Read 186 times)

0 Members and 1 Guest are viewing this topic.

General error opening gcode file - fix
« on: March 07, 2020, 04:38:35 PM »
Hi!

I had a problem here on my setup switching from Mach3 to Mach4.
After some experimenting I found the reason for the problem and I thought I'd share the solution here.
Maybe it helps someone.

I store my gcode files on a NAS.
The CNC computer mounts the NAS share as a nework drive to access the gcode files.
That worked perfect with Mach3.
Mach4 however refuses to open these files. I get a "General error opening file" (or similar - I have a non-english Windows installation).
Copying the file to the desktop or a local drive works fine and Mach4 is able to open the copied files without any problem.

My NAS shares files read-only and that is obviously the problem.
Mach4 needs write access to gcode files in order to open them.
Exporting the directory read-writeable fixed the problem.

Maybe NFS could brush up the error message a bit. Something like "Gcode file needs write permission to open!" would be nice.

Well, hope that helps someone.

Cheers
  Lothar
« Last Edit: March 07, 2020, 04:40:09 PM by blue-v »