Disable onefile tests if appimagetool not available and stdin is not a tty
See original GitHub issueIf 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:
- Created 3 years ago
- Comments:6 (6 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The preinstalled tool is not used of course, and this is what it does for me:
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.
I’ve pre-installed appimagetool, and it isnt being found. This question is still coming up.