The upgrade to gremlin in master (well gscreen based on master)
to report g code errors gives me an error report:
Traceback (most recent call last):
File "/home/chris/emc2-dev/lib/python/gladevcp/hal_gremlin.py", line 70, in
self.gstat.connect('file-loaded', lambda w, f: self._load(f))
> File "/home/chris/emc2-dev/lib/python/gremlin.py", line 351, in
> report_gcode_error
> + str(seq) + " of\n" + filename + "\n" + error_str + "\n")
> IOError: [Errno 9] Bad file descriptor
>
> It actually does print the gcode error and file name properly...
> Is this because hal_gremlin need
On Mon, Sep 10, 2012 at 10:58:28AM -0500, Daniel Rogge wrote:
> +def report_gcode_error(self, result, seq, filename):
> + error_str = gcode.strerror(result)
> + sys.stderr.write("G-Code error in " + os.path.basename(filename) + "\n"
> + "Near line "
> + + st