TWOPASS error (should be User Error)

More
7 years 4 weeks ago #146869 by phillc54
TWOPASS error was created 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!


Axis terminal output:
Warning: Spoiler!


TCL file
Warning: Spoiler!


HAL file
Warning: Spoiler!

Please Log in to join the conversation.

More
7 years 4 weeks ago #146874 by pl7i92
Replied by pl7i92 on topic TWOPASS error
is this with gmoccapy 3.0 ?

Please Log in to join the conversation.

More
7 years 4 weeks ago #146875 by tommylight
Replied by tommylight on topic TWOPASS error

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 to join the conversation.

More
7 years 4 weeks ago #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:

Attachment not found



Sorry Guys.

Please Log in to join the conversation.

Time to create page: 0.102 seconds
Powered by Kunena Forum