question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Disable onefile tests if appimagetool not available and stdin is not a tty

See original GitHub issue

If appimagetool is not available, on OBS offline build workers I get

[ 4668s] +Traceback (most recent call last):
[ 4668s] +  File "/home/abuild/rpmbuild/BUILD/Nuitka-0.6.12.1/nuitka/__main__.py", line 209, in <module>
[ 4668s] +    main()
[ 4668s] +  File "/home/abuild/rpmbuild/BUILD/Nuitka-0.6.12.1/nuitka/__main__.py", line 195, in main
[ 4668s] +    MainControl.main()
[ 4668s] +  File "/home/abuild/rpmbuild/BUILD/Nuitka-0.6.12.1/nuitka/MainControl.py", line 756, in main
[ 4668s] +    packDistFolderToOnefile(dist_dir, binary_filename)
[ 4668s] +  File "/home/abuild/rpmbuild/BUILD/Nuitka-0.6.12.1/nuitka/freezer/Onefile.py", line 56, in packDistFolderToOnefile
[ 4668s] +    packDistFolderToOnefileLinux(onefile_output_filename, dist_dir, binary_filename)
[ 4668s] +  File "/home/abuild/rpmbuild/BUILD/Nuitka-0.6.12.1/nuitka/freezer/Onefile.py", line 148, in packDistFolderToOnefileLinux
[ 4668s] +    getAppImageToolPath(),
[ 4668s] +  File "/home/abuild/rpmbuild/BUILD/Nuitka-0.6.12.1/nuitka/freezer/Onefile.py", line 79, in getAppImageToolPath
[ 4668s] +    return getCachedDownload(
[ 4668s] +  File "/home/abuild/rpmbuild/BUILD/Nuitka-0.6.12.1/nuitka/utils/Download.py", line 82, in getCachedDownload
[ 4668s] +    reply = raw_input()
[ 4668s] +EOFError: EOF when reading a line

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
kayhayencommented, Feb 16, 2021

The preinstalled tool is not used of course, and this is what it does for me:

[ 1377s] Nuitka will make use of AppImage (https://appimage.org/) tool [ 1377s] to combine Nuitka dist folder to onefile binary. [ 1377s] [ 1377s] Is it OK to download and put it in “/home/abuild/.local/share/Nuitka/appimagetool-x86_64.AppImage/x86_64/12”. [ 1377s] [ 1377s] No installer needed, cached, one time question. [ 1377s] [ 1377s] Proceed and download? [Yes]/No [ 1377s] The onefile tests are not run due to missing requirements.

From https://build.opensuse.org/package/live_build_log/home:kayhayen/Nuitka/openSUSE_Leap_15.3/x86_64

Do the question output is not an issue in my eyes, and without stdin, the reply “no” is defaulted now, so this is considered fixed in my eyes.

0reactions
jayvdbcommented, Feb 14, 2021

I’ve pre-installed appimagetool, and it isnt being found. This question is still coming up.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error "The input device is not a TTY" - Stack Overflow
Remove the -it from your cli to make it non interactive and remove the TTY. If you don't need either, e.g. running your...
Read more >
What does "the input device is not a TTY" exactly mean in ...
Late answer, but might help someone. docker run/exec -i will connect the STDIN of the command inside the container to the STDIN of...
Read more >
Nixpkgs 22.11 manual - NixOS
The current Nix expressions of the channels are available in the nixpkgs ... Note that we are not able to test or build...
Read more >
Conan Documentation
If the compatible binary is not available, the package can be built from ... and remove packages from it with conan remove command....
Read more >
How to fix “stdin: is not a tty” warning - Blog | Unix notes
To get rid of this innoing warning, login remote server and update the following file /etc/bashrc. by adding the line to the top...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found