Machsupport Forum

Mach Discussion => Mach4 General Discussion => Topic started by: blue-v on March 07, 2020, 04:38:35 PM

Title: General error opening gcode file - fix
Post by: blue-v 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