TWOPASS error (should be User Error)

  • phillc54
  • phillc54's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
02 Oct 2019 08:58 #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!
Attachments:

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

More
02 Oct 2019 13:23 #146874 by pl7i92
Replied by pl7i92 on topic TWOPASS error
is this with gmoccapy 3.0 ?

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
02 Oct 2019 13:37 #146875 by tommylight
Replied by tommylight on topic TWOPASS error

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.

  • phillc54
  • phillc54's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
03 Oct 2019 01:39 - 03 Oct 2019 01:45 #146937 by phillc54
Replied by phillc54 on topic TWOPASS error (should be User Error)
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: newbynobiHansU
Time to create page: 0.163 seconds
Powered by Kunena Forum