Pin 'halui.estop.is−activated' does not exist, when clearly it does

More
12 Jul 2019 05:50 - 12 Jul 2019 05:52 #139143 by JetForMe

cmorley wrote: When I looked at your postgui file I see this on line 13 :

net e-stop-active <= halui.estop.is−activated

Chris M


So, yeah. Not a file encoding issue. But I copy-pasted it from the documentation page, which actually has "&minus;" in the HTML source, which ends up rendering a 3-byte UTF8 character, and not a hyphen. It probably should be "&hyphen;", but really, the source files should be encoded as UTF8 and just typed directly.

Thank you for noticing. I was editing the file in BBEdit on a Mac and it displayed it as a hyphen-looking thing, and I couldn't see anything amiss.
Last edit: 12 Jul 2019 05:52 by JetForMe.

Please Log in or Create an account to join the conversation.

More
12 Jul 2019 05:58 #139144 by cmorley
So that fixed the problem? - excellent - ya sometimes a new set of eyes...
Never cam across that error before.

Chris M

Please Log in or Create an account to join the conversation.

More
12 Jul 2019 07:14 #139151 by JetForMe
Yup, totally fixed the problem. Not the problem inherent in the HTML docs, but the problem in my HAL file :)

Please Log in or Create an account to join the conversation.

More
12 Jul 2019 07:19 #139153 by pl7i92
it is highly recomented to set your editor to utf-8

Please Log in or Create an account to join the conversation.

More
12 Jul 2019 07:23 #139155 by JetForMe
My editor *is* UTF-8. It can be argued that's what caused the problem. When I copied the pin name from the web docs, it was wrong, but it wasn't visibly wrong in a UTF-8 editor. An ASCII-only editor would've shown it as a set of garbage characters, as Chris M pointed out.

Please Log in or Create an account to join the conversation.

More
12 Jul 2019 08:56 #139159 by rodw
Which editor are you using? You can't go past Geany.
I am always very wary copying and pasting from a web site I often paste it into a ascii text editor before using it if I have any doubt.

Please Log in or Create an account to join the conversation.

More
13 Jul 2019 00:51 #139222 by JetForMe
It's the LinuxCNC website! It's just generated badly (either the source material or the HTML generator is wrong).

Please Log in or Create an account to join the conversation.

More
13 Jul 2019 07:13 #139235 by pl7i92
you shoudt prefer the pdf Documentation on all stuff
as best you can use it direct on the mashine side

Please Log in or Create an account to join the conversation.

More
15 Jul 2019 13:59 - 15 Jul 2019 14:01 #139430 by andypugh

JetForMe wrote: It's the LinuxCNC website! It's just generated badly (either the source material or the HTML generator is wrong).


FWIW I agree with you here. Code snippets in the docs should work.

Which page of the html docs did you get it from?
Last edit: 15 Jul 2019 14:01 by andypugh.

Please Log in or Create an account to join the conversation.

Time to create page: 0.104 seconds
Powered by Kunena Forum