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

Generate Review Doc failure (file dependent?) in 2.0.7 #142

Closed edlabo closed 2 years ago

edlabo commented 2 years ago

Email sdmapps@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 Problem encountered Generating a Review Document (appears to be file dependent-- some xml files do not produce this error message).

To Reproduce Steps to reproduce the behavior:

  1. With an XML FGDC-compliant metadata file open in Metadata Wizard, Go to 'Validation'
  2. Click on 'Generate Review Document'.
  3. Choose 'Yes' to save current file before continuing.
  4. Choose a file location to save the file.
  5. See error.
  6. The word document fails to be produced.

Expected behavior A review Word Document (.docx) to be generated.

Screenshots image

Desktop (please complete the following information):

Additional context In trying to troubleshoot, I tested the Generate Review Doc function on published files. Some generate the error and some do not. All the files I tested pass the FGDC validation step. I have not been able to distinguish what the root cause(s) are within the files themselves so I can address them in my current work. Can provide example files if needed.

dignizio-usgs commented 2 years ago

It looks like the non-resolving value of 'tbd' in a URL field might be causing the issue? I would expect that to flag as an error, without necessarily crashing the tool. Please follow up with @ennsk directly and provide any files you are able to that may help recreate the error.

edlabo commented 2 years ago

@dignizio-usgs good thought! I cleared the "TBD"s from the file and still got the error.

Thanks. I'll follow with @ennsk with files etc. Is there a suggested/preferred method of contact to do so? (email, github, teams?)

ennsk commented 2 years ago

@edlabo - you can just email me at kenns@usgs.gov Thanks!

edlabo commented 2 years ago

Will do, thank you!

ennsk commented 2 years ago

Re-install from the 2.0.7 release page fixed this bug. Closing ticket.