CIRDLES / Squid

Squid3 is being developed by the Cyber Infrastructure Research and Development Lab for the Earth Sciences (CIRDLES.org) at the College of Charleston, Charleston, SC and Geoscience Australia as a re-implementation in Java of Ken Ludwig's Squid 2.5. - please contribute your expertise!
http://cirdles.org/projects/squid/
Apache License 2.0
12 stars 27 forks source link

Failure to parse all .XML files (applies to both lab generated .XML data files and Squid3 generated .XML prawn files) #765

Closed lvirnes closed 8 months ago

lvirnes commented 8 months ago

Squid version: 2.0.5 SHRIMP software: SHRIMP II v2 SW v2.13 SHR 2 Java: 8u391 OS: Windows 11 - 22H2

Description: Create a new squid project via opening a single/combined prawn .XML file --> Immediate Squid warns you error: Squid3 encountered an error while trying to open the selected file: schema reference.4: Failed to read schema document ...

image

Opening an already existing .squid project file works, as does opening a .op data file. Failure to parse .XML prawn files appears to be systematic, as the same error is encountered when opening any prawn file and the error persists even with a prawn file generated by squid3 from the working squid project (rather than SHRIMP software).

Attempted fixes: Manually edit the .XML prawn file to point to a new location for the schema file. No success. Manually edit the .XML prawn file to change the SHRIMP II v2 SW v2.13 SHR 2. No success.

Attached is one of the offending .XML prawn files.

AV-01_22032109.47.zip

lvirnes commented 8 months ago

Issue resolved.

Cause of issue: Execution of Squid.jar graphically through file explorer

Squid.jar MUST be executed through Windows PowerShell, otherwise only the graphical interface runs but much of the underlying functionality (built in tasks etc.) are not available.