DOI-USGS / fort-pymdwizard

The MetadataWizard is a useful tool designed to facilitate FGDC metadata creation for spatial and non-spatial data sets. It is a cross-platform desktop application built using an open-source Python architecture.
https://usgs.github.io/fort-pymdwizard/
Other
62 stars 21 forks source link

Can't open application #173

Open amaher3942 opened 1 year ago

amaher3942 commented 1 year ago

Email ask-sdm@usgs.gov if you wish to contact the USGS Science Data Management (SDM) team’s application support inbox directly with bugs or feature requests. Otherwise, use the template below.

Describe the bug Can't open the application, goes to white screen.

To Reproduce Steps to reproduce the behavior:

  1. Start application via desktop shortcut

Expected behavior The application to start up and be functional.

Screenshots

metadata_blankscreen

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

The update dialogue prompts to update from github. I have confirmed I am not on the USGS vpn. The application script does not appear to be present in the directory that the application is looking for.

The application shortcut target lists:

C:\Users\annamahe\MetadataWizard\pymdwizard\pythonw.exe ..\fort-pymdwizard\pymdwizard\MetadataWizard.py

I tried manually calling python from the MetaDataWizard directory and running the MetaDataWizard.py script in command prompt.

Below is the output:

C:\Users\annamahe\MetadataWizard\pymdwizard>python.exe ..\fort-pymdwizard\pymdwizard\MetadataWizard.py QPainter::begin: A paint device can only be painted by one painter at a time. js: Uncaught ReferenceError: QWebChannel is not defined None js: Uncaught ReferenceError: addRect is not defined None js: Uncaught ReferenceError: addRect is not defined None js: Uncaught ReferenceError: updateMap is not defined None Property 'modal'' of object 'Spdom' has no notify signal and is not constant, value updates in HTML will be broken! Property 'windowModality'' of object 'Spdom' has no notify signal and is not constant, value updates in HTML will be broken! Property 'enabled'' of object 'Spdom' has no notify signal and is not constant, value updates in HTML will be broken! Property 'geometry'' of object 'Spdom' has no notify signal and is not constant, value updates in HTML will be broken! Property 'frameGeometry'' of object 'Spdom' has no notify signal and is not constant, value updates in HTML will be broken! Property 'normalGeometry'' of object 'Spdom' has no notify signal and is not constant, value updates in HTML will be broken! Property 'x'' of object 'Spdom' has no notify signal and is not constant, value updates in HTML will be broken! Property 'y'' of object 'Spdom' has no notify signal and is not constant, value updates in HTML will be broken! Property 'pos'' of object 'Spdom' has no notify signal and is not constant, value updates in HTML will be broken! Property 'frameSize'' of object 'Spdom' has no notify signal and is not constant, value updates in HTML will be broken! Property 'size'' of object 'Spdom' has no notify signal and is not constant, value updates in HTML will be broken! Property 'width'' of object 'Spdom' has no notify signal and is not constant, value updates in HTML will be broken! Property 'height'' of object 'Spdom' has no notify signal and is not constant, value updates in HTML will be broken! Property 'rect'' of object 'Spdom' has no notify signal and is not constant, value updates in HTML will be broken! Property 'childrenRect'' of object 'Spdom' has no notify signal and is not constant, value updates in HTML will be broken! Property 'childrenRegion'' of object 'Spdom' has no notify signal and is not constant, value updates in HTML will be broken! Property 'sizePolicy'' of object 'Spdom' has no notify signal and is not constant, value updates in HTML will be broken! Property 'minimumSize'' of object 'Spdom' has no notify signal and is not constant, value updates in HTML will be broken! Property 'maximumSize'' of object 'Spdom' has no notify signal and is not constant, value updates in HTML will be broken! Property 'minimumWidth'' of object 'Spdom' has no notify signal and is not constant, value updates in HTML will be broken! Property 'minimumHeight'' of object 'Spdom' has no notify signal and is not constant, value updates in HTML will be broken! Property 'maximumWidth'' of object 'Spdom' has no notify signal and is not constant, value updates in HTML will be broken! Property 'maximumHeight'' of object 'Spdom' has no notify signal and is not constant, value updates in HTML will be broken! Property 'sizeIncrement'' of object 'Spdom' has no notify signal and is not constant, value updates in HTML will be broken! Property 'baseSize'' of object 'Spdom' has no notify signal and is not constant, value updates in HTML will be broken! Property 'palette'' of object 'Spdom' has no notify signal and is not constant, value updates in HTML will be broken! Property 'font'' of object 'Spdom' has no notify signal and is not constant, value updates in HTML will be broken! Property 'cursor'' of object 'Spdom' has no notify signal and is not constant, value updates in HTML will be broken! Property 'mouseTracking'' of object 'Spdom' has no notify signal and is not constant, value updates in HTML will be broken! Property 'tabletTracking'' of object 'Spdom' has no notify signal and is not constant, value updates in HTML will be broken! Property 'isActiveWindow'' of object 'Spdom' has no notify signal and is not constant, value updates in HTML will be broken! Property 'focusPolicy'' of object 'Spdom' has no notify signal and is not constant, value updates in HTML will be broken! Property 'focus'' of object 'Spdom' has no notify signal and is not constant, value updates in HTML will be broken! Property 'contextMenuPolicy'' of object 'Spdom' has no notify signal and is not constant, value updates in HTML will be broken! Property 'updatesEnabled'' of object 'Spdom' has no notify signal and is not constant, value updates in HTML will be broken! Property 'visible'' of object 'Spdom' has no notify signal and is not constant, value updates in HTML will be broken! Property 'minimized'' of object 'Spdom' has no notify signal and is not constant, value updates in HTML will be broken! Property 'maximized'' of object 'Spdom' has no notify signal and is not constant, value updates in HTML will be broken! Property 'fullScreen'' of object 'Spdom' has no notify signal and is not constant, value updates in HTML will be broken! Property 'sizeHint'' of object 'Spdom' has no notify signal and is not constant, value updates in HTML will be broken! Property 'minimumSizeHint'' of object 'Spdom' has no notify signal and is not constant, value updates in HTML will be broken! Property 'acceptDrops'' of object 'Spdom' has no notify signal and is not constant, value updates in HTML will be broken! Property 'windowOpacity'' of object 'Spdom' has no notify signal and is not constant, value updates in HTML will be broken! Property 'windowModified'' of object 'Spdom' has no notify signal and is not constant, value updates in HTML will be broken! Property 'toolTip'' of object 'Spdom' has no notify signal and is not constant, value updates in HTML will be broken! Property 'toolTipDuration'' of object 'Spdom' has no notify signal and is not constant, value updates in HTML will be broken! Property 'statusTip'' of object 'Spdom' has no notify signal and is not constant, value updates in HTML will be broken! Property 'whatsThis'' of object 'Spdom' has no notify signal and is not constant, value updates in HTML will be broken! Property 'accessibleName'' of object 'Spdom' has no notify signal and is not constant, value updates in HTML will be broken! Property 'accessibleDescription'' of object 'Spdom' has no notify signal and is not constant, value updates in HTML will be broken! Property 'layoutDirection'' of object 'Spdom' has no notify signal and is not constant, value updates in HTML will be broken! Property 'autoFillBackground'' of object 'Spdom' has no notify signal and is not constant, value updates in HTML will be broken! Property 'styleSheet'' of object 'Spdom' has no notify signal and is not constant, value updates in HTML will be broken! Property 'locale'' of object 'Spdom' has no notify signal and is not constant, value updates in HTML will be broken! Property 'windowFilePath'' of object 'Spdom' has no notify signal and is not constant, value updates in HTML will be broken! Property 'inputMethodHints'' of object 'Spdom' has no notify signal and is not constant, value updates in HTML will be broken!

tnorkin commented 1 year ago

Hi @amaher3942,

Here's what I recommend trying first - if this doesn't work, please let me know and we can troubleshoot further.

If the Metadata Wizard icon shows up in the taskbar, but the program doesn’t open, it could be opening somewhere where it’s not visible (offscreen), because your computer thinks there’s another monitor or the sizing isn’t correct.

Possible Fix: right-click + shift the program icon in the taskbar > select Move.

Your mouse cursor will now jump to wherever the program is (somewhere off screen). While holding down the left mouse button, move the mouse around until the program comes into the display. You can also try maximizing the window so that you can see it on your main screen, then resizing the window.

amaher3942 commented 1 year ago

Thank you, that was the issue!

Best,

Anna-Turi Maher

Hydrologist Oregon Water Science Center 601 SW 2nd Ave, Suite 1950 Portland, OR 97204 @.***


From: Tamar Norkin @.> Sent: Friday, June 16, 2023 1:34 PM To: DOI-USGS/fort-pymdwizard @.> Cc: Maher, Anna @.>; Mention @.> Subject: [EXTERNAL] Re: [DOI-USGS/fort-pymdwizard] Can't open application (Issue #173)

This email has been received from outside of DOI - Use caution before clicking on links, opening attachments, or responding.

Hi @amaher3942https://github.com/amaher3942,

Here's what I recommend trying first - if this doesn't work, please let me know and we can troubleshoot further.

If the Metadata Wizard icon shows up in the taskbar, but the program doesn’t open, it could be opening somewhere where it’s not visible (offscreen), because your computer thinks there’s another monitor or the sizing isn’t correct.

Possible Fix: right-click + shift the program icon in the taskbar > select Move.

Your mouse cursor will now jump to wherever the program is (somewhere off screen). While holding down the left mouse button, move the mouse around until the program comes into the display. You can also try maximizing the window so that you can see it on your main screen, then resizing the window.

— Reply to this email directly, view it on GitHubhttps://github.com/DOI-USGS/fort-pymdwizard/issues/173#issuecomment-1595277471, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A5YKR6345RJPGDV2GIVYAO3XLS7LVANCNFSM6AAAAAAZJSL45E. You are receiving this because you were mentioned.Message ID: @.***>