openpreserve / jpylyzer

JP2 (JPEG 2000 Part 1) validator and properties extractor. Jpylyzer was specifically created to check that a JP2 file really conforms to the format's specifications. Additionally jpylyzer is able to extract technical characteristics.
http://jpylyzer.openpreservation.org/
Other
69 stars 28 forks source link

scriptName is empty when jpylyzer is called from Java - Jython #36

Closed bitsgalore closed 10 years ago

bitsgalore commented 11 years ago

(Submitted by email by Thomas Ledoux of BnF while using Jython)

1/ when called from java, the scriptName as no value (probably because sys.argv[0] is not valuated), it would be nice to add a safeguard if len(scriptName) == 0: scriptName = 'jpylyzer' so that the output fills the

bitsgalore commented 10 years ago

Added the safeguard to 10.1.2, this should hopefully fix this issue.