Open l29ah opened 7 years ago
@l29ah thank you for your report.
Can you provide more information on how to reproduce the problem? I tested with linuxcnc master branch and configs/sim/axis/axis.ini
. First, I created a file called doublequote.ngc
with the content
" issue 321
when I opened it in axis with File > Open, I got a pop-up which stated "Near line 2 of /home/jepler/doublequote.ngc: Bad character '"' used". After dismissing this pop-up, AXIS and LinuxCNC continued as usual.
I also tried renaming the file to ".ngc
in case you meant that the problem related to the name of the file instead of the content of the file. However, this also didn't produce a problem.
I tested at v2.8.0-pre1-3316-g9346a55a3
. The difference from -3315 to -3316 is not likely to be relevant.
Could this be an issue with a file saved with a windows editor or a word processor?
https://dump.bitcheese.net/files/wicibaj/table-zig.ngc there's my file
@jethornton the file @l29ah attached has UNIX line endings, so that's not it.
Unfortunately, I don't reproduce the problem using table-zig.ngc either. Does it reproduce for you when using the sample configuration configs/sim/axis/axis.ini
?
@jepler , I get the same result as you using the Axis sim, Bad character '"' used. However I just noticed L29ah is using 2.8... and testing on my plasma which is running 2.8 I get the same result Bad character '"' used.
Just reproduced it with a file containing "test
. Maybe it reproduces only when linuxcnc is ran over ssh's X forwarding facility; other pop-ups like the file selection dialog work well tho.
@l29ah what if it's another invalid program not involving the "
character? For instance, if the first and only line is G999
then you should get the message "G code out of range", created by the same code that would show the pop-up in the other case.
@l29ah are you using a different user interface language besides English?
Yes, with G999
it's the same. No, English here.
Here are the steps I follow to reproduce the issue:
"
This is what I expected to happen:
axis complaining about incorrect file contents
This is what happened instead:
axis stops responding to any user input
Information about my hardware and software:
lsb_release -a
): Gentooscripts/get-version-from-git
): v2.8.0-pre1-3315-ga7aeaa608