Script bash
It won't make any difference whether you have an installed or RIP build.
The easy rule is don't ever use % unless you want all offsets etc to carry over to the next program.
This normally applies to programs running through ngcgui
When you do use it, they must be top and bottom of the file, with no M2 or M30 terminating.
For all other instances, just terminate the file with M2
regards
Please Log in or Create an account to join the conversation.
- grzesiekzxr
- Offline
- Senior Member
-
- Posts: 75
- Thank you received: 0
Thanks for response,
As I wrote tried many ways to wrap the gcod and any one of them work .
In every combination FILTER display error:
emc/task/emctask.cc 374: interp_error: File ended with no percent sign
File ended with no percent sign
not posible to open /tmp/tmpOHyGor/test.inv
Good to know that :
"
It won't make any difference whether you have an installed or RIP build."
I was thinking that this produce an error.
Now I don't know what should I looking for to find cause/solution this strange behaviour ?
Maybe if one of the important files is corrupt I can find it and fix it.
Do You have any idea what to do?
I very much appreciate your support,
regards.
Please Log in or Create an account to join the conversation.
In every combination FILTER display error:
emc/task/emctask.cc 374: interp_error: File ended with no percent sign
File ended with no percent sign
not posible to open /tmp/tmpOHyGor/test.inv
The FILTER is not displaying any error
The interpreter is giving the error, but there is also an error that suggests the file supposed to be passed to the filter could not be opened,
so who knows what rubbish is being passed to the interpreter.
Why is it trying to open a file in /tmp ?
You will need to attach the filter file and the .inv file you are passing to it, before the error you say you are getting can be tested.
regards
Please Log in or Create an account to join the conversation.
- grzesiekzxr
- Offline
- Senior Member
-
- Posts: 75
- Thank you received: 0
#!/bin/bash
cat $1 |sed 's/X\([ ]*\)\([-0-9\.]*\)/X[-1*[\2]]/g'
exit 0
GCODE file:
g17 g21
f 4444
g1x2 y5
m2
regads.
Please Log in or Create an account to join the conversation.
Just tried loading both your gcode and another one of mine through the same filter.
No errors and shows what would be expected
There is obviously something else in the chain in your setup
regards
Please Log in or Create an account to join the conversation.
- grzesiekzxr
- Offline
- Senior Member
-
- Posts: 75
- Thank you received: 0
thank You,
''No errors and shows what would be expected''
I see the same on the other computer.
I 'm thinking about upgrading to newest version 2.6.5 (I believe that during this process errors wiil be removed),
Could You give me some tips to avoid unnecessary problems.
regards.
Please Log in or Create an account to join the conversation.
Could You give me some tips to avoid unnecessary problems.
I can but point you to the page, everything is there, no special black arts required
regards
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
- grzesiekzxr
- Offline
- Senior Member
-
- Posts: 75
- Thank you received: 0
Before Christmas I got a lot of duties so that delay.
wiki.linuxcnc.org/cgi-bin/wiki.pl?UpdatingTo2.6
Of course I know this page ,but (always is BUT
![:lol: :lol:](/media/kunena/emoticons/grin.png)
When I try to add cd have an error scanning the cd-room
E: failed to mount the cd-room (I was trying with three CD "ISO")
I know you have helped me a lot and this thread is not about the upgrade, so just as I'm done with this I will tell what it turned out.
Peaceful and happy christmas
![:) :)](/media/kunena/emoticons/smile.png)
Thank You.
regards
Please Log in or Create an account to join the conversation.
article.gmane.org/gmane.linux.distributions.emc.user/52401
if you use zsync, it can resume a download, do a checksum and allow you to update your image without downloading the whole thing again
regards
Please Log in or Create an account to join the conversation.