-
Notifications
You must be signed in to change notification settings - Fork 2
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
Only one instance of project/resource will survive on restart #928
Comments
Still happening in 37c0b3d |
@Sebastian-ubs Have you tried recompiling? A simple way to do this is make an innocuous change to a file like |
There is a separate issue that sometimes causes web views not to load anymore if they do not load properly even once between refreshes. Did you close and open these webviews and then restart? I can't reproduce this issue anymore even on the production build I downloaded ( |
Could you please attach a log file from starting up the new vs the old verisons that do and don't work with the old web view? Not all old tabs will work every time we make updates, especially breaking changes, so it might just be some old data that doesn't work with the new system. However, I did look at the code at the revision you mentioned, and it didn't look at first glance like it was much older. |
With attaching remote debugger I got
However on restarting Platform several times I got it to load one of the times, so seems to be some race condition / timing issue. Logfile from \AppData\Roaming\platform-bible\logs\ main.log |
uff, after trying again, I can more precisely say, that it is not a special tab, but the most top left tab of my layout always (note that the webview ID has changed).
|
Can again confirm the timing issue, as after the 5th or so trial I got it to show up one time. Attaching main.log |
some new / clean logs with "debug": main.log
From local storage:
dock-saved-layout
|
looks like the first webview of every extension fails to load
new debug logs: main.log |
Closing because it seems there are two slightly different issues now. The last handful of comments are related to the new issue #991 |
Verified the issue with the repo steps, unable to reproduce the error. Tested with ad6e5b8 |
Describe the bug
When opening a scripture editor (project) or resource multiple times, only 1 of them will have content after restarting Platform.Bible.
Console shows
web-view.component failed to retrieve web view content for
...Error: "Timeout reached when waiting for wait-for-net-obj to settle"
This happens at least since the reworked folder structure
Screenshots
To Reproduce
<user>\.platform.bible\projects\Paratext 9 Projects
Unexpectedly the duplicated webviews stay empty
Expected behavior
previosly opened projects would show up on restart - also when opened twice in Platform
The text was updated successfully, but these errors were encountered: