Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

os detection failing due to paths #105

Closed
tfoote opened this issue Nov 19, 2020 · 1 comment
Closed

os detection failing due to paths #105

tfoote opened this issue Nov 19, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@tfoote
Copy link
Collaborator

tfoote commented Nov 19, 2020

Example output output: [6] Cannot open self /tmp/staticx-OdKefo/detect_os or archive /tmp/staticx-OdKefo/detect_os.pkg

There seems to be a recent regression in PyInstaller that's compounded with staticx

I have not found a version of pyinstaller to pin it to that will work. It might be related to needing to pin the bootloader too. pyinstaller/pyinstaller#2357 (comment)

This does specifically work with the pyinstaller output but not after being run through staticx

There's a related older ticket here too: JonathonReinhart/staticx#71


This fails in my binary installation from debs, but I cannot reproduce it in my workspace

$ rocker --nvidia --x11 --user --home --pulse --nocache tfoote/drone_demo 
tfoote@snowman5:~ Last: [130] (0s Seconds)
$ rocker --version
rocker 0.2.2
tfoote@snowman5:~ Last: [0] (0s Seconds)
$ which rocker
/usr/bin/rocker

There is an issue that --nocache doesn't pass through to the detector.

@tfoote tfoote added the bug Something isn't working label Nov 19, 2020
tfoote added a commit that referenced this issue Nov 19, 2020
workaround the issue in : #105
tfoote added a commit that referenced this issue Nov 20, 2020
* Pin pyinstaller to 4.0

workaround the issue in : #105
danihodovic added a commit to danihodovic/dht that referenced this issue Nov 30, 2020
130s pushed a commit to plusone-robotics/rocker that referenced this issue Apr 17, 2021
@tfoote
Copy link
Collaborator Author

tfoote commented Mar 29, 2023

This is fixed with the switch to use the go based os detection in #204

@tfoote tfoote closed this as completed Mar 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant