TWOPASS error (should be User Error)

More
02 Oct 2019 08:58 #146869 by phillc54
I am getting a twopass error when loading a userspace component from a .tcl HAL file in Gmoccapy.
The same component using the same .tcl HAL file loads fine from Axis.
I tried the last three lines (one at a time) of the .tcl file and the behaviour was identical.
I then tried a .hal HAL file using the last two lines (one at a time) and again the behaviour was identical.

Gmoccapy terminal output:
Warning: Spoiler! [ Click to expand ]


Axis terminal output:
Warning: Spoiler! [ Click to expand ]


TCL file
Warning: Spoiler! [ Click to expand ]


HAL file
Warning: Spoiler! [ Click to expand ]
Attachments:

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

More
02 Oct 2019 13:23 #146874 by pl7i92
is this with gmoccapy 3.0 ?

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

More
02 Oct 2019 13:37 #146875 by tommylight

phillc54 wrote: Gmoccapy terminal output:

twopass:pass0: loadusr -Wn hpmx ./hpmx.py /dev/ttyS0
HAL: ERROR: exit called before init
twopass: Error in file ./plasmac.tcl:
waitpid failed ./hpmx.py hpmx
./hpmx.py exited without becoming ready

For some reason this is failing for gmoccapy.
Did you try it with this line omitted in hal ?

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

More
03 Oct 2019 01:39 - 03 Oct 2019 01:45 #146937 by phillc54
Hide my head in shame...

Well the problem was that I did not have a link to hpmx.py in my Gmoccapy config directory.

I found it by moving some hal statements around and running without twopass. It then gave the following hint:



Sorry Guys.
Attachments:
Last edit: 03 Oct 2019 01:45 by phillc54.
The following user(s) said Thank You: tommylight

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

Moderators: newbynobi
Time to create page: 0.113 seconds
Powered by Kunena Forum