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

Uploader 2.0: ImportError: DLL load failed (Windows) #29

Open
vaindil opened this issue Feb 4, 2018 · 18 comments
Open

Uploader 2.0: ImportError: DLL load failed (Windows) #29

vaindil opened this issue Feb 4, 2018 · 18 comments
Assignees
Labels
bug more data needed Not enough information on the issue

Comments

@vaindil
Copy link

vaindil commented Feb 4, 2018

Just installed the 2.0 uploader and it doesn't open, it crashes with the error below. I'm on Windows 10. Happy to help debug however I can.

capture

@Laukei
Copy link
Collaborator

Laukei commented Feb 4, 2018 via email

@vaindil
Copy link
Author

vaindil commented Feb 4, 2018

Yes, the previous version had no issues. I installed this one over top of that, and I saw the uninstaller run as part of that.

@Laukei
Copy link
Collaborator

Laukei commented Feb 4, 2018 via email

@Laukei
Copy link
Collaborator

Laukei commented Feb 4, 2018

Hmm, actually I'm not convinced that overwriting is the issue. I think it is probably that my machines have whatever DLL is required on their PATH because it's installed as part of my development environment, and it also existed in V1 of the uploader, but I've pruned it in V2. I'll do some more testing.

@vaindil
Copy link
Author

vaindil commented Feb 4, 2018

Is this possibly the problem? I see python36.dll but no python3.dll in the install directory.

@Laukei
Copy link
Collaborator

Laukei commented Feb 4, 2018

I've zipped up the full output from freezing the application without trimming any of the unnecessary files. It's [dead link to Dropbox, "uploading to dropbox"] now. When it's done (about 10 minutes) would you mind downloading it and seeing if uploader.exe runs for you? If it does, we can be reasonably sure the issue is a DLL I've trimmed out of the bundle when preparing it - if it doesn't it suggests something isn't being included in the freezing process.

@vaindil
Copy link
Author

vaindil commented Feb 4, 2018

On a whim from my previous comment, I copied lib/PyQt5/python3.dll to the root of the install location, left everything else as-is, and it worked. Looks like it's just python3.dll that's missing.

capture

@Laukei
Copy link
Collaborator

Laukei commented Feb 4, 2018

Weird, python3.dll isn't in the root directory at any previous point (neither in v1 nor the output from cx_Freeze)... how strange. Good work finding the fix though! I'll update the installer. Thanks!

@Laukei Laukei closed this as completed Feb 4, 2018
@vaindil
Copy link
Author

vaindil commented Feb 4, 2018

Just completely uninstalled, deleted the folder, and reinstalled, and it does work now. Thanks a ton!

@jmauerhan
Copy link

I uninstalled, deleted the folder, and reinstalled and it's still not working for me. The python dlls are in the folder, but I still get the error.

image

image

@Laukei
Copy link
Collaborator

Laukei commented Mar 4, 2018 via email

@jmauerhan
Copy link

jmauerhan commented Mar 5, 2018

@Laukei nope, same result.

Is version 1 still available anywhere?

ETA: I hope you feel better soon!

@Laukei
Copy link
Collaborator

Laukei commented Mar 5, 2018 via email

@jmauerhan
Copy link

I will definitely be happy to help in any way I can!

@Laukei Laukei reopened this Mar 9, 2018
@Laukei
Copy link
Collaborator

Laukei commented Mar 9, 2018

Hi @jmauerhan, finally managed to get a VM running!

How do you run the uploader when you get the error? I found that if I run it by searching on the Win10 search bar for "uploader" and clicking the result then it gives an error, but the same error doesn't occur if I go to the install folder and manually run the .exe - is this the same for you?

Rob

@jmauerhan
Copy link

jmauerhan commented Mar 13, 2018

Hey, it actually started working again, without any changes on my end. I'm perplexed.

Does the uploader require some files which maybe don't get included in the actual download?

Edit: and sorry to answer your question, I use the search to type "farm" and it launches from there. That wasn't working, and now is. ¯\_(ツ)_/¯

@Laukei Laukei added the bug label Mar 19, 2018
@Laukei
Copy link
Collaborator

Laukei commented Mar 19, 2018

Hey @jmauerhan, glad to hear it fixed itself! I'm going to leave this open in case other people experience it, let me know if it comes back!

@Laukei Laukei added the more data needed Not enough information on the issue label Mar 19, 2018
@Laukei Laukei self-assigned this Mar 19, 2018
@AbroadKew
Copy link

AbroadKew commented Sep 16, 2018

I get the same error when I boot up my computer. It doesn't stop me from using the program at all though. It started happening to me after first-time installation with no overwriting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug more data needed Not enough information on the issue
Projects
None yet
Development

No branches or pull requests

4 participants