-
-
Notifications
You must be signed in to change notification settings - Fork 382
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
Problem getting an app with bcrypt to run #1189
Comments
@boxed, is this the right log file? This one is documenting a device name issue:
|
Ah crap. That's the other issue yea. This is a fresh log file for this issue (I deleted all other logs before :P) |
Thanks. My suspicion is you're not using Your log shows the latest version being installed....which would've come from pypi.org:
When I first tried to run your app in the OP, it failed because I don't have rust installed or anything. (I presume you have the prerequisites installed to build Notably, though, this would limit your app to |
Aside from the version problem that @rmartin16 has pointed out, this app will also fail because it's using paramiko. iOS, Android and Web deployments don't have support for subprocesses because of the sandboxing model they provide. You can only use threads. Even if it did work... To the best of my knowledge, "osascript" doesn't exist on iPhones, either. |
/me facepalms... paramiko is an SSH client, so this is running |
Oh. Interesting. I don't care about the paramiko version or the bcrypt version (I think!). I changed to use the specific versions of bcrypt and paramiko as suggested, and I got further I think:
I locked |
Hrm - that's more interesting bug - it suggests the bcrypt module isn't working as expected. I'll need to dig into this some more. Unfortunately, I'm about to jump on a plane to head to PyCon US, so I probably won't be able to look into this for at least a couple of days. In case I do get a chance - you're using |
Correct |
FWIW....the app in the OP runs for me on the iOS simulator for iPhone 14 Pro using Python 3.10. (Although, I modified it to just I would try to confirm that the package of If you upload another log file, I'd be happy to take a look. |
Thanks. Unfortunately, the Briefcase command for that log doesn't include I was able to confirm I'd also try deleting the |
huh. I did |
Good to hear; I'd guess this likely happened because the original install of |
Maybe. But I ran with |
If this happens again with Briefcase 0.3.14 or 15, please comment on this issue. If you're using Briefcase 0.3.16 or later, iOS support has changed significantly, so it would be better to create a separate issue. |
Describe the bug
I have a very simple app I'm trying to write that uses paramiko for SSH. It crashes on startup in the simulator with an ImportError.
Steps to reproduce
This is my code:
with hostname and password censored.
Expected behavior
No crash
Screenshots
No response
Environment
Logs
briefcase.2023_04_16-19_52_55.run.log
Additional context
No response
The text was updated successfully, but these errors were encountered: