Skip to content
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

Open Project Dialog doesn't open quickly after startup - getMetadata doesn't work #1396

Open
tjcouch-sil opened this issue Dec 13, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@tjcouch-sil
Copy link
Member

Describe the bug
Please see #1176 (comment) - this is a follow-up on that problem

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

@tjcouch-sil tjcouch-sil added the bug Something isn't working label Dec 13, 2024
@tjcouch-sil tjcouch-sil moved this to 📥 For Consideration in Paranext Dec 13, 2024
@roopa0222
Copy link

As part of automation, I install the latest application package for Platform. Bible from Github and run my tests.

  1. On the first run the application failed to open the On the Project > Open Scripture Editor > WEB
  2. I also noticed that the default values from the contribution files (projectSettings.json and settings.json) are not displayed.

I attached the logs from the VM for the test runs (looks like main.old.log is updated lost previous runs info)
Here is the warning from main.log

Line 790: [2025-01-03 07:31:34.889] [warn]  <WARN>Did not find any project metadata for {"includeProjectInterfaces":[["platformScripture\\.USX_Book","platformScripture\\.USX_Chapter","platformScripture\\.USX_Verse"]],"excludePdpFactoryIds":["platformScripture\\.scriptureExtenderPdpf"]} after the grace period. If you expected to find projects for these filters, this probably indicates a problem. Maybe not all PDPFs loaded in time. [at C:\Users\ROOPA_~1\AppData\Local\Temp\2qS5KkLAG9mMk17AfMWP9P8mRzH\resources\app.asar\dist\extension-host\extension-host.js:8:90092]
	Line 791: [2025-01-03 07:31:34.897] [warn]  <WARN>Did not find any project metadata for {"includeProjectInterfaces":["platformScripture.USJ_Chapter"]} after the grace period. If you expected to find projects for these filters, this probably indicates a problem. Maybe not all PDPFs loaded in time. [at C:\Users\ROOPA_~1\AppData\Local\Temp\2qS5KkLAG9mMk17AfMWP9P8mRzH\resources\app.asar\dist\extension-host\extension-host.js:8:90092]
	Line 792: [2025-01-03 07:31:34.903] [warn]  <WARN>Open Scripture Editor did not find any projects with matching isEditable! Would show a prompt or something if there were a dialog available to do so [at C:\Users\ROOPA_~1\AppData\Local\Temp\2qS5KkLAG9mMk17AfMWP9P8mRzH\resources\app.asar\dist\extension-host\extension-host.js:8:90092]

Platform_03012025_070001.log Console log captured from the automation runs

Error Message: file:///C:/Users/ROOPA_~1/AppData/Local/Temp/2qS5KkLAG9mMk17AfMWP9P8mRzH/resources/app.asar/dist/renderer/renderer.js 1:498636 Uncaught Error: getMetadataForProject wait for PDPF with platformS…ces":["platformScripture.USFM_Verse"]}} to settle
Error Message: file:///C:/Users/ROOPA_~1/AppData/Local/Temp/2qS5KkLAG9mMk17AfMWP9P8mRzH/resources/app.asar/dist/renderer/renderer.js 1:498636 Uncaught Error: getMetadataForProject wait for PDPF with platform.…"projectInterfaces":["platform.base"]}} to settle
Error Message: file:///C:/Users/ROOPA_~1/AppData/Local/Temp/2qS5KkLAG9mMk17AfMWP9P8mRzH/resources/app.asar/dist/renderer/renderer.js 1:498636 Uncaught Error: getMetadataForProject wait for PDPF with platform.…"projectInterfaces":["platform.base"]}} to settle
Error Message: file:///C:/Users/ROOPA_~1/AppData/Local/Temp/2qS5KkLAG9mMk17AfMWP9P8mRzH/resources/app.asar/dist/renderer/renderer.js 1:498636 Uncaught Error: getMetadataForProject wait for PDPF with platformS…aces":["platformScripture.USFM_Book"]}} to settle
Error Message: file:///C:/Users/ROOPA_~1/AppData/Local/Temp/2qS5KkLAG9mMk17AfMWP9P8mRzH/resources/app.asar/dist/renderer/renderer.js 1:498636 Uncaught Error: getMetadataForProject wait for PDPF with platform.…"projectInterfaces":["platform.base"]}} to settle
Error Message: file:///C:/Users/ROOPA_~1/AppData/Local/Temp/2qS5KkLAG9mMk17AfMWP9P8mRzH/resources/app.asar/dist/renderer/renderer.js 1:498636 Uncaught Error: getMetadataForProject wait for PDPF with platform.…"projectInterfaces":["platform.base"]}} to settle
Error Message: file:///C:/Users/ROOPA_~1/AppData/Local/Temp/2qS5KkLAG9mMk17AfMWP9P8mRzH/resources/app.asar/dist/renderer/renderer.js 1:498636 Uncaught Error: getMetadataForProject wait for PDPF with platform.…"projectInterfaces":["platform.base"]}} to settle
Error Message: file:///C:/Users/ROOPA_~1/AppData/Local/Temp/2qS5KkLAG9mMk17AfMWP9P8mRzH/resources/app.asar/dist/renderer/renderer.js 1:498636 Uncaught Error: getMetadataForProject wait for PDPF with platform.…"projectInterfaces":["platform.base"]}} to settle
Error Message: file:///C:/Users/ROOPA_~1/AppData/Local/Temp/2qS5KkLAG9mMk17AfMWP9P8mRzH/resources/app.asar/dist/renderer/renderer.js 74:744389 Uncaught Error: handleMenuCommand error: command: paratextExtensio…"projectInterfaces":["platform.base"]}} to settle

Please find the logs for your reference.
Note: All the issues are resolved in the second test run.

VM_Logs.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: 📥 For Consideration
Development

No branches or pull requests

2 participants