-
-
Notifications
You must be signed in to change notification settings - Fork 171
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
Delta doesn't start on Windows 7 #1323
Comments
Exactly the same error appears when the file "deltachat.dll" is not present in "%USERPROFILE%\AppData\Local\Programs\deltachat-desktop\resources\app.asar.unpacked\node_modules\deltachat-node\prebuilds\win32-x64": Logfile: C:\Users\PC_USER\AppData\Local\DeltaChat\logs\2020-01-08-21-58-59.log.tsv Error: The specified module could not be found. Does that file exist in there? Also please see #1269 . |
@missytake @gerryfrancis Can you try out this portable build from this pr #1349 if this bug still happens? https://download.delta.chat/desktop/preview/deltachat-desktop-1349.exe The portable build will not find your existing configuration so you need to setup again. |
Unfortunately it still doesn't start. (Can't say anything about the portable folder.) I don't know if it is still the same traceback, as the traceback only appears with setup.exe versions o.0 |
Do you run it in a vm? The portable.exe is heavily compressed so it can take some time until it's unpacked. To know if it's the same traceback would be very helpful :) |
@Jikstra Actually I have not tested Delta Chat on Windows 7, but I think I can grab an appropriate PC system to find out. (So far, Delta Chat runs just fine with Windows 8.1 Pro.) I have thought that the "deltachat.dll" file might not be installed on Windows 7 (properly). I will check that as soon as I can. |
@Axehaft Have you installed Delta Chat by running setup.exe before, or are you trying to run the portable release? |
I used the setup file: DeltaChat Setup 0.901.0 |
@Axehaft And have you installed Delta Chat already but the app itself does not run? Or does the setup itself not start? |
Ahhh sorry. I was not clear. I installed Delta Chat. Everything shows that it installed OK. When I click on the shortcut for the app itself, that is when I get the blue circle for a second and then nothing. |
@Axehaft Never mind. Please check the recent log file located in path "C:\Users\YourUserProfile\AppData\Local\DeltaChat\logs". ("YourUserProfile" is a placeholder for the name of your Windows user profile.) If there is a crash, it should be logged there. |
@Axehaft Please look for entries of the source "Application Error" in the Application log (by running Windows Event Viewer). |
You requested further information on my Windows version, path to .exe, and username in a private chat:
|
@Axehaft The place is correct. Actually I am out of ideas... :/ |
@Axehaft You are running the setup version, not the portable version, right? Can you open cmd.exe (with the windows+R key combination), and execute |
@missytake Cool! Thanks. Yes - setup version. Looks like the same as what you had: |
@Axehaft @missytake Please check if the file "deltachat.dll" is present in "%USERPROFILE%\AppData\Local\Programs\deltachat-desktop\resources\app.asar.unpacked\node_modules\deltachat-node\prebuilds\win32-x64". It should be there. If it is not, probably an antivirus software might have scanned the file, detected a false positive, and maybe deleted the file. |
deltachat.dll is there, and I don't have antivirus software |
deletachat.dll is there for me too. I don't have antivirus software and I disabled Windows Defender. |
Thanks for reporting. At least we can rule out antivirus software, and the issue is not limited to Windows 7... |
After a Windows Update which also fixed my C++ Redistributable issue, this build suddenly works for me. Seems it was a problem with my Windows installation... @Axehaft can you install the latest Windows Updates and try again? |
Ok. Everything is completely up to date on my Surface, still no go = little blue wheel for a second or so and then nothing. I deleted and reinstalled again as well. |
A friend installed it on win10 (1903) 64bit and it worked fine for them. |
Yes. I works fine on my wifes laptop and my desktop machines, all which are Windows 10. Just not my Microsoft Surface which is Windows 10 Pro. Without logs. there seems to be no way of knowing why it wont work. |
@Axehaft The Surface models feature displays with very high resolutions. Which do you run on your three systems? (The Surface might have the highest one.) (Just a shot in the dark...) |
The same behavior occurs when the file "vcruntime140.dll", which is part of the "Microsoft Visual C++ 2015-2019 Redistributable", is not present in the path "C:\Windows\System32". |
@Axehaft will close this issue for now, please reopen it if it's still happening to you with the latest desktop version (0.999.1) |
Having the very same problem with installing version 1.1.1 on Windows 10: install works smooth, then the stopping with missing module,
Could not determine from the comments above how to actively solve this. Tried the previews 1495 and 1472 - there not even the install process seems to start. :-( |
Do you have a 32 or 64bit system?
Am 25. März 2020 02:16:17 MEZ schrieb TheOtherDoctor <[email protected]>:
…Having the very same problem with installing version 1.1.1 on Windows
10: install works smooth, then the stopping with missing module,
```
Error: The specified module could not be found.
\\?\C:\Users\xxxxxxx\AppData\Local\Programs\deltachat-desktop\resources\app.asar.unpacked\node_modules\deltachat-node\prebuilds\win32-x64\node.napi.node
at process.func (electron/js2c/asar.js:138:31)
at process.func [as dlopen] (electron/js2c/asar.js:138:31)
at Object.Module._extensions..node
(internal/modules/cjs/loader.js:828:18)
at Object.func (electron/js2c/asar.js:138:31)
at Object.func [as .node] (electron/js2c/asar.js:147:18)
at Module.load (internal/modules/cjs/loader.js:645:32)
at Function.Module._load (internal/modules/cjs/loader.js:560:12)
at Module.require (internal/modules/cjs/loader.js:685:19)
at require (internal/modules/cjs/helpers.js:16:16)
at load
(C:\Users\xxxxxxx\AppData\Local\Programs\deltachat-desktop\resources\app.asar\node_modules\node-gyp-build\index.js:21:10)
```
Could not determine from the comments above how to actively solve this.
Did I miss some prerequisites which need to be installed?
Tried the previews 1495 and 1472 - there not even the install process
seems to start. :-(
Did not try the portable version yet.
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
#1323 (comment)
--
Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.
|
64bit. Win 10 home, Version 1909, Build 18363.720, on a Lenovo T400. |
I installed the mentioned Dependencies tool, opened the file - and cannot understand what I see. :-( The vcruntime, which has also been mentioned above, "vcruntime140.dll" exists in "C:\Windows\System32", is called vcruntime140_clr0400.dll on my system. Anything else I could do? |
@TheOtherDoctor, can you you give us a screenshot from the output of the dependencies tool? :) |
So this is the file I throw into the DepTool... As mentioned before, the vcruntime has a different name, I guess that means it does not match the requirement and I'd have to install some vc_redist separately? Remaining question: I have to assert this manually whenever I install the desktop app on a Win10 PC, or should that have been handled during installation? |
I don't know too much about windows, but I guess this is the problem. We need to try it out and see if it helps. If it helps it's maybe possible to bundle that .dll with deltachat-desktop, but that would be a next step.
I know that it's sometimes possible to just put the .dll next to the .exe (maybe also next to the .node file) and then it magically finds it. But it could be possible that there will be legal problems with this and we would somehow need to make sure that the visual c runtime is getting installed along deltachat desktop. Thank you very much for figuring this out! |
You're welcome - and thanks a lot for all your work! |
IMHO, that explains why Delta Chat runs out of the box on many Windows systems. Nevertheless, the installer of Delta Chat should include Visual C++ Runtime from Microsoft, and check whether it is necessary to install it. Windows does not feature Visual C++ Runtime by default. |
We just got another user who remotely helped a friend set up DC on windows -- they had to install the Visual C++ runtime as well. |
Hello All. I just want to add that I also installed the Visual C++ Runtime from Microsoft ... and now DC starts and runs well on my Surface. |
Hey folks, I have a portable version for you to test https://testrun.org/DeltaChat%201.4.0.testing.exe |
@Simon-Laux Edit: Thanks, please forget my previous message about ffmpeg.dll, I had not enough disk space. ;) Now it works! I will do some tests with and without pre-installed VC runtime, and will post my results later on. |
@Simon-Laux While this version works fine on my Windows system, I wanted to test the prior version 1.3.4 (without Visual C++ runtime) to see whether it works, too, without the runtime. For this purpose, I uninstalled Visual C++ runtime 2017, 2015, and 2013 - but 1.3.4 still works fine! What am I doing wrong?? |
@Simon-Laux It seems some other software product(s) want(s) to keep the runtime dll files on my Windows system. (I have found them in the Windows system folders, although I officially uninstalled these runtimes.) Since I do not have another system I could test the new version on, I am afraid to say that I cannot continue to check, sorry for that. :( |
@gerryfrancis no problem. |
That version seems to work on my machine :) great. This means we can close this issue, right? |
console output:
the logfile at C:\Users\mike\AppData\Local\DeltaChat\logs\2020-01-08-19-08-11.log.tsv is empty.
The text was updated successfully, but these errors were encountered: