Keeweb: Desktop app 1.15.0 & 1.15.1 win x64 won't work

Created on 8 Jun 2020  路  46Comments  路  Source: keeweb/keeweb

I installed the versions Keeweb-1.15.0.win.x64.exe (and same for 1.15.1) and they won't start !

So I reinstalled 1.14.3 and it started working again.

I tried this several times back and forth. Always the same...

No logs as the app won't start...

blocked bug desktop windows

All 46 comments

Hi! This can happen, there's a new electron and some native modules in this version.
How exactly it doesn't start, what do you see? Does it crash, or shows a blank screen?

Actually, I don't see anything at all!
I tried running from a Windows terminal. It just goes back to the prompt with absolutely no message.

You mean, it immediately exists without displaying any UI?
Which version of Windows is that?

Yes, that's exactly what I mean.
I'm on windows 10 insider version build 19631.1

Weird, that's what I have in my virtualbox as well. Would you mind running a test build with more logging?

Yes, tell me

There are also some logging flags in Electron. Let's try these two on the current version, maybe there will be some hint?

--enable-logging -v=10

Here's an overview of options, the page describes what these flags mean: https://www.electronjs.org/docs/api/command-line-switches

Nothing more... no log at all


PS C:\Program Files> .\KeeWeb\KeeWeb.exe --enable-logging -v=10
PS C:\Program Files>

edit: also tried with --v=10 instead of -v=10 with no more luck

I see, I made a build that should print more: https://beta.keeweb.info/KeeWeb-win32-x64.zip, let's see if this one starts

Sorry, went to sleep last night.
I gave the new build a try this morning and it's exactly the same.
Nothing shows and no trace... :/

That's weird! It means, it doesn't even come to running our code. Is there anything interesting in the system event log?

I can see warnings on some certificates about to expire (partly in French) but I don't think it's linked:

_Nom du journal聽:Application
Source聽:       Microsoft-Windows-CertificateServicesClient-AutoEnrollment
Date聽:         09/06/2020 19:38:25
ID de l鈥櫭﹙茅nement聽:64
Cat茅gorie de la t芒che聽:Aucun
Niveau聽:       Avertissement
Mots cl茅s聽:    Classique
Utilisateur聽:  N/A
Ordinateur聽:   Bagheera
Description聽:
Le certificat de聽Syst猫me local avec l鈥檈mpreinte num茅rique聽xxxxxx est sur le point d鈥檈xpirer ou a d茅j脿 expir茅.
XML de l鈥櫭﹙茅nement聽:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Microsoft-Windows-CertificateServicesClient-AutoEnrollment" Guid="{F0DB7EF8-B6F3-4005-9937-FEB77B9E1B43}" EventSourceName="AutoEnrollment" />
    <EventID Qualifiers="32768">64</EventID>
    <Version>0</Version>
    <Level>3</Level>
    <Task>0</Task>
    <Opcode>0</Opcode>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2020-06-09T17:38:25.9624153Z" />
    <EventRecordID>2831</EventRecordID>
    <Correlation />
    <Execution ProcessID="0" ThreadID="0" />
    <Channel>Application</Channel>
    <Computer>Bagheera</Computer>
    <Security />
  </System>
  <EventData>
    <Data Name="Context">Syst猫me local</Data>
    <Data Name="ObjId">70 cb 38 11 08 47 fc a1 da 2b fb 20 38 b1 44 01 59 f0 94 2c</Data>
  </EventData>
</Event>_

I don't think it's connected either. Is it possible to test if vanilla electron runs properly? Something like this:

npm i [email protected]
./node_modules/.bin/electron

Then, if it works, try running KeeWeb using the Electron binary:

Electron.exe path-to-keeweb\resources\app.asar

Electron.exe should be in node_modules/electron.

You can also find Electron here, if you don't have node.js installed: https://github.com/electron/electron/releases/tag/v9.0.2

Does not work neither... same, no GUI, no trace...

Did I get it right that electron doesn't work, even without keeweb?

I ran the command
path/electron.exe path2/resources/app.asar
And that shows nothing.
How can I know if electron is working or not?

Just run electron.exe without any arguments, from the file explorer

nothing happens...

This means I won't be able to fix it. What happens for 9.0.3 version?

Same...

Do you have any anti-virus software installed? I don't see any other reports like this, however the Windows version based on this Electron has been downloaded more than 1000 times. Perhaps you can open an issue in the electron repo? I don't see anything like this there either.

I have McAfee installed as my anti-virus. free version provided with my Dell laptop...
I will try to create an issue in the electron repo (already checked that there was nothing like this in the open issues) but why 1.14.3 version is working? Is it a totally different version of electron?

Yes, it's built on v8.2.5.

Ok, I'll create an issue on electron...
To be sure, do you think I can download the 8.2.5 version of electron and run the 1.15.1 app.asar?

You can try, but it will most likely crash on loading native modules. I would suggest that you stick to v1.14.3 while there's no fix for Electron 9.

Ok. I downloaded electron 8.3.1 and ran it "standalone" and it opened the electron window so it's clearly linked to 9.x.

Thank you! Most likely the maintainers will come with additional questions, that's why I didn't want to create it myself.

The reaction was fast! Actually I found that duplicated issue before, however it says it crashed, so I thought it was different.

Maybe you should advertise that the latest version of keeweb might not work on Windows10 due to this problem...

There's a build mentioned in this comment, you can also give it a try to see if it works.
Well I'm not sure about that. It looks like it doesn't work with a very particular setup, because I don't see any other comments / reports. I hope this will be resolved soon.

This build works! I was able to run keeweb 1.15.1 with it (through the command line electron app.asar)

Status update: I see that the issue has been resolved and the fix is merged to v9 branch. Once new electron is released, it will be updated in KeeWeb v1.15.x.

Great, thanks @antelle

Just tried to install 1.15.3 64bit on win10enterprise2004 and it wont install. Tried as normal user, and with 'run as admin'

message shown is:
This app cant run on your pc
To find a version for your Pc, check with the software publisher

@keesveerman I don't think this is linked to the current issue, you should open another one.
But you're right, I have the same problem... (tested on another PC)

Edit: actually, not exactly the same: I installed the zip version and the error message is sent when running the app, not when installing...

That's strange, it shows a message when run from a zip archive, but it works if launched after installation?

On my side, I didn't try to install it from the package, only unzipped the 1.15.3 .zip archive (on another PC than the one on which 1.15 does not work) and tried to launch keeweb.exe. And, indeed, I got the above message translated in French.
Then I downloaded the 1.15.2 version - zip archive again - and this one worked like a breeze...

They have different (minor) Electron version. 馃
What happens if you run Electron 9.0.2 and 9.0.3 respectively?

Sorry, unable to check on the other PC during the weekend

Electron is released, the fix is coming today

:+1: Awesome, thanks for the great support @antelle
Using Keeweb almost everyday, never disappointed!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

gtrubach picture gtrubach  路  36Comments

eligrey picture eligrey  路  29Comments

blsz picture blsz  路  31Comments

Rurik19 picture Rurik19  路  31Comments

Aneyrin picture Aneyrin  路  28Comments