unfoldingWord / translationCore

Repository for the desktop application translationCore
https://www.translationcore.com
Other
36 stars 11 forks source link

Blank screen when opening a project in wA after edit in tW #6877

Closed cckozie closed 4 years ago

cckozie commented 4 years ago

2.2.0 (f1fb0cd) Problem was found when testing #6675 6675 projects.zip Tue Apr 28 2020.log.zip

image

These usfm projects were copied from the catalog about a year ago and have been used for testing ever since. I'm thinking this may have to do with wordMAP since it seems to be project interdependent. To replicate the failure:

  1. Import the Matthew project and load it in each of the tools.
  2. Import the Luke project giving it the same translation id as the Matthew project and load it in each of the tools.
  3. Import the Titus project giving it the same translation id as the other two projects.
  4. Load the Titus project in tW selecting English as the GL
  5. In the check pane, edit verse 1:6 in the accuse group and save the edit.
  6. Return to the tools page
  7. Load the project in wA and note the error.
PhotoNomad0 commented 4 years ago

Notes:

Net Heap usage:

Version 2.1.2 (44c92e9)

Version 2.2.0 (236380d)

Observations:

birchamp commented 4 years ago

DoD: wA screen shows instead of blank screen

cckozie commented 4 years ago

@PhotoNomad0 - I am seeing the same problem with my older MacBook. Once I see the failure and after restarting tC, it always crashes when attempting to load the project in wA. I see in the log file an entry stating that contextId.json does not exist. It actually does exist but is empty. Will now test on my Windows machine.

cckozie commented 4 years ago

@PhotoNomad0 - It fails on my Windows machine too.

PhotoNomad0 commented 4 years ago

@PhotoNomad0 - I am seeing the same problem with my older MacBook. Once I see the failure and after restarting tC, it always crashes when attempting to load the project in wA. I see in the log file an entry stating that contextId.json does not exist. It actually does exist but is empty. Will now test on my Windows machine.

@cckozie - the empty contextId is concerning, but at least I have a starting point.

PhotoNomad0 commented 4 years ago

Notes:

[1] Window main was killed. {
[1]   preventDefault: [Function: preventDefault],
[1]   sender: WebContents {
[1]     webContents: [Circular],
[1]     history: [ 'http://localhost:3000/' ],
[1]     currentIndex: 0,
[1]     pendingIndex: -1,
[1]     inPageIndex: -1,
[1]     _events: [Object: null prototype] {
[1]       'navigation-entry-commited': [Function],
[1]       '-ipc-message': [Function],
[1]       '-ipc-invoke': [Function],
[1]       '-ipc-message-sync': [Function],
[1]       'pepper-context-menu': [Function],
[1]       crashed: [Array],
[1]       'devtools-reload-page': [Function],
[1]       '-new-window': [Function],
[1]       '-add-new-contents': [Function],
[1]       login: [Function],
[1]       'will-navigate': [Function],
[1]       'did-navigate': [Function],
[1]       destroyed: [Function],
[1]       'devtools-opened': [Array],
[1]       move: [Function],
[1]       activate: [Function],
[1]       'page-title-updated': [Function],
[1]       'render-view-deleted': [Array]
[1]     },
[1]     _eventsCount: 18,
[1]     _maxListeners: 0,
[1]     browserWindowOptions: {
[1]       icon: './TC_Icon.png',
[1]       title: 'translationCore',
[1]       autoHideMenuBar: true,
[1]       minWidth: 1200,
[1]       minHeight: 689,
[1]       show: false,
[1]       center: true,
[1]       webPreferences: [Object]
[1]     }
[1]   }
[1] }
PhotoNomad0 commented 4 years ago

Note:

projects.zip

PhotoNomad0 commented 4 years ago

Verified in translationCore 2.2.0 (78a80ee)

cckozie commented 4 years ago

Not seeing the problem in 2.2.0 (64bf0a5). I was able to load the entire new testament and open each book in each of the tools. (The translationCore helper (Renderer) was showing 734.8 MB after all NT books had been loaded.) Also was able to load the entire OT and open each book in all tools available for it.

elsylambert commented 4 years ago

Not seeing this issue in 2.2.0 (dd79140) with the attached projects.