Skip to content

Error installing/unable to display screen after install #1

Description

@VectorHasting

Thank you for this work!

I'm keeping the text below this because it might still be relevant, but I think I found out why I couldn't get it to work:

Deep in the psng.hal file is both the key to my problem and also a thing that should be flagged...
One needs python-scipy. (psng.hal line 20)
However, if one is on Bookworm, aka Debian 12, then you can no longer sudo apt install python-scipy.
One must install python3-scipy,
and one has to change psng.hal line 22 to:
loadusr -Wn probe.compensation python3 ./nc_subroutines/psng/python/compensation.py

I've done that and will begin changing shortly.

Thank you again! This is great.

Here's a sample of my woes prior to figuring this out, don't read it unless you're curious about the symptoms fixed by what I've written above.

I installed it and can't make it work on LinucCNC 2.9.0-pre1-1066-g8fd469d67 in AXIS

I get a grey screen
Screenshot 2023-08-12 222812

In trying to debug what might be wrong, I tried removing the "-H nc_subroutines/psng/psng.hal" from the "EMBED_TAB_COMMAND=gladevcp..." line and moved it to a HALFILE = nc_subroutines/psng/psng.hal
Doing that gives me an error on startup telling me:
"Error in file ./nc_subroutines/psng/psng.hal: Pin 'probe.toolchange_change' does not exist"

But this may be a wrong-road I have taken...

When I try to run it with the EMBED_TAB_COMMAND intact, I get a different error in the terminal log:

nc_subroutines/psng/psng.hal:22: execv(python): No such file or directory
nc_subroutines/psng/psng.hal:22: waitpid failed python probe.compensation
nc_subroutines/psng/psng.hal:22: python exited without becoming ready
'halcmd -f nc_subroutines/psng/psng.hal' exited with 1

Seems to mean this line is wrong:

loadusr -Wn probe.compensation python ./nc_subroutines/psng/python/compensation.py

I see the comment above that says "you need sudo apt-get install python-scipy" ... but I'm on Debian 12 aka Bookworm, and that package is not in the repository.

Will finding a way to get that package onto bookworm solve this problem?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions