-
-
Notifications
You must be signed in to change notification settings - Fork 29
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
No network #117
Comments
Can you give me commands that I could run to disable network? |
I deactivated network here (Fedora 40 in Gnome) using NetworkManager GUI but you can deactivate using Networkmanager cli:
Replace |
i too am currently trying to create a self contained executable with PyApp which does not need to download stuff at runtime. |
@tfmoraes I'm sorry I haven't had adequate time to troubleshoot, if possible do you think you could show me something that I could easily reproduce like a bash script or Dockerfile?
|
That "failed to iterate over archive" message is now fixed as of https://github.com/ofek/pyapp/releases/tag/v0.20.1 The issue was that the status code was not being checked so it would download a few bytes and count as success which it would then try to unpack immediately. To remove your cached distribution you may need to run Can you please try again? |
I run this command to create the executable:
Then I disconnected my PC and tried to run:
|
Oh, I see, yeah like I mentioned above:
I plan to add such an option in the coming months. |
Thanks @ofek. How can I preinstall into a distribution and use that? |
Basically pull down one of the distributions that is used by default, install whatever you want, archive it again, then embed as you are currently doing. |
I'm testing
pyapp
and I'm liking it a lot. But in my testings it's always needed to have network to run the application for the first time. I tested withPYAPP_FULL_ISOLATION=1
andPYAPP_DISTRIBUTION_EMBED=1
this way:And when I try to run without network:
I tested with
PYAPP_SKIP_INSTALL=1
and I had the same problem.Is it possible to make the executable no need network on runtime?
The text was updated successfully, but these errors were encountered: