-
Notifications
You must be signed in to change notification settings - Fork 1
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
VICAR reader not working with portion of FITS label #27
Comments
@agicquelb - email me a label and I'll attach it... |
@jordanpadams, Here's some additional data: The Zip contains the .vm file and the label that produced the failure. I don't know what version of java is on the laptop mentioned, but I do know that most of the machines in our linux network show this:
As is annoyingly common, there is no indication of any specific dependencies, requirements, or environmental assumptions for this tool. I don't see any specific actions in the change log that would indicate a conscious change in Java requirements. We have one machine with a special installation of Java/JDK:
I've asked @agicquelb to repeat the test on that machine to compare results. |
@jordanpadams, @agicquelb reports that the test also fails on the newsbndev CPU running JDK 11, The command used was:
If there's anything else you need to debug, let us know. |
I have this java on my laptop: java version "13.0.1" 2019-10-15 |
@acraugh @agicquelb sorry for the inconvenience. We will take a look and hopefully have a resolution sometime this weekend. Per this issue, is this the only label that is causing problems? Or are all the labels in your data set causing this error? |
@acraugh @jordanpadams All the label files in this single sub-directory. |
@agicquelb copy. so to clarify, this template has worked on other labels in the past? sorry for the runaround in questioning :-) |
@agicquelb @acraugh after a quick test, looks like we have a workaround for the time being if you switch the label reader to the PDS3 Product Tools library. In hindsight, this should probably be the default reader for the tool, but we did not want to introduce backwards incompatibilities for existing pipelines. Per the Advanced Usage Guide, here is how you can change the label reader:
Again, I know this is a bit of a kludgy way to handle this, and I will create a couple tickets to improve this, but for now it appears to be a usable workaround. Here is what I got when I ran it with that reader. this will give me some more time to debug the issue you are seeing, but, honestly, you are better off using the PDS3 Product Tools library moving forward anyways since it has been more rigorously tested against PDS3 labels. |
Thanks @jordanpadams - the work-around works and we're back in business1 |
Thank you @jordanpadams |
@agicquelb going to keep this open since it is still a bug, we just have a workaround |
Jordan,
I updated from mi-label-1.2.1 to mi-label-1.2.2. No I got the following bug when trying to migrate some (but not all) PDS3 to PDS4 labels.
Unfortunately I can't attach one of thePDS3 label here.
java.lang.NullPointerException
at gov.nasa.pds.imaging.generate.label.PDS3Label.setMappings(PDS3Label.java:437)
at gov.nasa.pds.imaging.generate.GenerateLauncher.query(GenerateLauncher.java:225)
at gov.nasa.pds.imaging.generate.GenerateLauncher.main(GenerateLauncher.java:293)
Engineering Details
After initial triage, it appears this issue is specifically related to the
PDS3LabelReader
(VICAR), and, more specifically, theEXTENSION_RALPH_HK_TABLE
portion of the label.As noted below, a workaround has been identified per the product tools library.
The text was updated successfully, but these errors were encountered: