Comments (11)
@agicquelb - email me a label and I'll attach it...
from mi-label.
@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:
% java -version
openjdk version "1.8.0_322"
OpenJDK Runtime Environment (build 1.8.0_322-b06)
OpenJDK 64-Bit Server VM (build 25.322-b06, mixed mode)
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:
newsbndev> java -version
openjdk version "11.0.14.1" 2022-02-08 LTS
OpenJDK Runtime Environment 18.9 (build 11.0.14.1+1-LTS)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.14.1+1-LTS, mixed mode, sharing)
I've asked @agicquelb to repeat the test on that machine to compare results.
from mi-label.
@jordanpadams, @agicquelb reports that the test also fails on the newsbndev CPU running JDK 11, The command used was:
pds-generate -p lsb_0397097519_0x53c_sci.lbl -t Template_NH_LEISA_data.vm
If there's anything else you need to debug, let us know.
from mi-label.
I have this java on my laptop:
java version "13.0.1" 2019-10-15
Java(TM) SE Runtime Environment (build 13.0.1+9)
Java HotSpot(TM) 64-Bit Server VM (build 13.0.1+9, mixed mode, sharing)
from mi-label.
@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?
from mi-label.
@acraugh @jordanpadams All the label files in this single sub-directory.
from mi-label.
@agicquelb copy. so to clarify, this template has worked on other labels in the past?
sorry for the runaround in questioning :-)
from mi-label.
@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:
# Open $MI_LABEL/bin/pds-generate with your favorite text editor
# Change the following line
${JAVA_CMD} -jar ${GENERATE_JAR} "$@"
to
${JAVA_CMD} -Dpds.generate.parser.type=product-tools -jar ${GENERATE_JAR} "$@"
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.
lsb_0397097519_0x53c_sci.xml.txt
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.
from mi-label.
Thanks @jordanpadams - the work-around works and we're back in business1
from mi-label.
Thank you @jordanpadams
from mi-label.
@agicquelb going to keep this open since it is still a bug, we just have a workaround
from mi-label.
Related Issues (20)
- imageInputStream is null, giving file size of .LBL instead of .IMG
- Complete Generate rename to MILabel and open source HOT 1
- [SECURITY] Update Reference equality test on strings
- Windows version will not run because of error in generate.bat HOT 2
- Refactor itemNode to consistently return objects to enable units
- unable to run generate.bat after switchover to mi-label HOT 1
- update docs with more complex keyword queries
- Unable to read in ODL label metadata when a paren is in a long description field
- Product-Tools parsing mode cannot parse units HOT 10
- .toLowerCase mi-label-1.2.1 HOT 6
- Need ability to remove boilerplate in mi-label
- Change default reader from VICAR to PDS3 Product Tools
- As a Node member, I want to use pds-generate to create a PDS4 label file with the .lblx extension HOT 1
- pds-generate crashes when runs out of heap memory HOT 2
- Resource leaks and bad code identified per code scanning
- Upgrade to latest product-tools to remove log4j security vulnerability
- Transform error when calling Generator directly
- Jackson-databind vulnerability identified
- Executing `pds-generate` does not output anything
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mi-label.