License manager ended unexpectedly

da
danielweizmann
Posts: 1
Joined: Fri Sep 06, 2019 9:09 pm
Platform: Windows

Fri Sep 06, 2019 9:10 pm Post

I get the same message every day. I'm using Windows 10.

User avatar
tiho_d
Posts: 908
Joined: Tue Sep 13, 2011 1:14 pm
Platform: Linux + Windows

Sat Sep 07, 2019 1:45 pm Post

Hi All,

We managed to pinpoint the problem. Before releasing it to public, I would like to ask you to test it first and report your results.

This is a Dropbox link to a Scrivener.zip archive file with the Scrivener.exe inside:
https://www.dropbox.com/s/v6orz5b8aq4mt ... r.zip?dl=0

Please, close Scrivener, extract the archive contents and replace the Scrivener.exe file within your Scrivener installation folder with the file extracted from the archive.

Start Scrivener as usual. You should no longer receive the nag messages. We tested it internally and it worked, but would be thankful to verify it with a small group of users before we publish the official release to a wider audience. Looking forward for the results of your tests.

Thank You in advance!
Tiho

User avatar
Ange7
Posts: 5
Joined: Sat Mar 24, 2018 3:45 pm
Platform: Windows
Location: The Sunken Place

Sat Sep 07, 2019 2:10 pm Post

doesn't work....

User avatar
tiho_d
Posts: 908
Joined: Tue Sep 13, 2011 1:14 pm
Platform: Linux + Windows

Sat Sep 07, 2019 2:21 pm Post

@Ange7: Can you please run ScrivenerLog.bat as Administrator. This will generate a log file within the “log” sub folder. Please, upload the log file or the console output. Thanks.

User avatar
Ange7
Posts: 5
Joined: Sat Mar 24, 2018 3:45 pm
Platform: Windows
Location: The Sunken Place

Sat Sep 07, 2019 2:39 pm Post

This is what I got back:

Cannot open project within the Scrivener installation folder.

Please, close Scrivener and move your project folder outside of the Scrivener installation folder. After moving the project you will be able to load the project as usual from its new location.

Project folder: "C:/Program Files (x86)/Scrivener/--log"
Scrivener folder: "C:/Program Files (x86)/Scrivener"

User avatar
tiho_d
Posts: 908
Joined: Tue Sep 13, 2011 1:14 pm
Platform: Linux + Windows

Sat Sep 07, 2019 2:43 pm Post

This is a totally different issue due to your project being in the Scrivener installation folder. Close Scrivener and follow the instructions and move your project to your Desktop or Documents folder for example.

User avatar
Ange7
Posts: 5
Joined: Sat Mar 24, 2018 3:45 pm
Platform: Windows
Location: The Sunken Place

Sat Sep 07, 2019 2:54 pm Post

...I do not have a project folder in my installation folder...the only thing I put in there was the Scrivener.exe....

User avatar
Ange7
Posts: 5
Joined: Sat Mar 24, 2018 3:45 pm
Platform: Windows
Location: The Sunken Place

Sat Sep 07, 2019 2:57 pm Post

Debug: "Sat Sep 7 10:55:55 2019" "
Scrivener

Application: Scrivener
Version: 1.9.13.0
Build: Release

Executable: Scrivener.exe
Compiler: MSVC.NET 1600
Qt-Compiled: 4.8.6
Qt-Runtime: 4.8.6
Windows Version: Unknown Windows Version
Created: Sep 4 2019 16:38:17
"
Debug: Runtime Location: "C:\Program Files (x86)\Scrivener"
Debug: Installed Location: "C:\Program Files (x86)\Scrivener"
...
Debug: Loading project: "C:/Users/ange7/Desktop/_ Backup.scriv"
Critical: QWin32PrintEngine::initialize: OpenPrinter failed (The printer name is invalid.)
Critical: QWin32PrintEngine::initialize: OpenPrinter failed (The printer name is invalid.)
Debug: Scrivener: loading document ID: 94 : "3"

Tw
Twolane
Posts: 156
Joined: Sat May 12, 2012 7:39 pm
Platform: Windows

Sat Sep 07, 2019 3:15 pm Post

1) I renamed my original Program Files (x86) / Scrivener.exe file to Scrivener_OLD.exe.

2) Copied the Scrivener.exe file from your extracted download to Program Files (x86) / Scrivener.

3) I've opened the x86 version multiple times with your new Scrivener.exe file.The program opens normally for me. The delay (10 seconds or so) in opening the program (the blank white screen) is gone for my system.

4) I can't speak to the nag screen notices that others report. I had that happen only a couple of times.
Last edited by Twolane on Sat Sep 07, 2019 3:31 pm, edited 1 time in total.

User avatar
tiho_d
Posts: 908
Joined: Tue Sep 13, 2011 1:14 pm
Platform: Linux + Windows

Sat Sep 07, 2019 3:30 pm Post

Thank You, Twolane! This is comforting.
@Ange7: Please, start another thread, if you still experience the open project in installation folder issue. It is not related to this licensing problem and would like to avoid discussing it in this thread.

Tw
Twolane
Posts: 156
Joined: Sat May 12, 2012 7:39 pm
Platform: Windows

Sat Sep 07, 2019 3:47 pm Post

All right, installed and done on my second laptop as described above.

The first time I ran the newly replaced Scrivener.exe from a shortcut in the task bar on the second laptop, it stuttered with the blank opening for 10 seconds. I waited for it to execute fully, opened a project normally, and closed the program.

All subsequent openings of Scrivener v1.9 were normal on my second laptop. No delays. No white box for 10 seconds or so.

As stated above, I've not had nag screens more than a couple of times on my second laptop, either.

Good luck, and thanks for your efforts with everything else going on!

User avatar
tiho_d
Posts: 908
Joined: Tue Sep 13, 2011 1:14 pm
Platform: Linux + Windows

Sat Sep 07, 2019 3:50 pm Post

Thank you for the further update, Twolane! The initial delay upon first start is expected. It should not cause delays in the future.

Ba
Babs
Posts: 8
Joined: Fri Mar 11, 2011 10:11 pm
Platform: Windows

Sat Sep 07, 2019 5:18 pm Post

tiho_d wrote:Guys, can you please report the Windows version you are using. Are you all using Windows 7?



My system is Windows 10 Pro, 64 bits

User avatar
tiho_d
Posts: 908
Joined: Tue Sep 13, 2011 1:14 pm
Platform: Linux + Windows

Sat Sep 07, 2019 5:49 pm Post

@babs: please, try my fix above.

User avatar
Jakob Hero
Posts: 12
Joined: Sat Aug 31, 2019 11:56 am
Platform: Windows

Sat Sep 07, 2019 6:17 pm Post

OK, I've tried replacing the exe file as requested.

This is what happened:
First time I opened the program after replacing the exe file, Scrivener still hung as before. Second time it behaved... differently. I have described below.

BEFORE (with the unaltered exe file):
1. I open Scrivener.
2. Scrivener hangs 5-10 seconds. The active document is showed, but only very few of the documents in the binder are showed. The menu (with the icons) are not showed. After 5-10 seconds they all appear and Scrivener works as usual. I've only had the nag message appear twice.

NOW (with the altered exe file):
1. I open Scrivener
2. The program opens immediately. All files in the binder as well as the menu (with the icons) appear right away. BUT the program STILL hangs 5-10 seconds, this time only after the binder etc. have appeared. I'm not able to scroll or close the program during that period. After that, Scrivener works as usual.

To me, it would seem that the fix doesn't work. It only moves the hang/freeze a bit.


ADDED:
It gets curiouser and curiouser, as Alice would say.

I did the following:
1. Deleted the altered exe file and replaced it with the unaltered exe file (the one that was hanging before the binder etc. appeared).
2. Tried to run scrivener. It didn't open.
3. I rebooted the computer (Windows 10).
4. I ran Scrivener. The program opens IMMEDIATELY (a hang time of perhaps ½-1 second).

This is with the old exe file, that was hanging before.

This is me thinking aloud: Could it be that the altered exe managed to connect to the license server, thus satisfying the "license checker" so this doesn't make a mess when I then try to open Scrivener using the old exe file?