View Issue Details

IDProjectCategoryView StatusLast Update
0002964SkyChart1-Softwarepublic26-11-23 17:58
ReporterThierry Assigned ToPatrick Chevalley  
PrioritynormalSeveritymajorReproducibilityalways
Status feedbackResolutionopen 
PlatformPCOSWindows 11 ProOS Version26H2
Summary0002964: Invalid Windows file URI generated in SAMP messages
DescriptionWhen SkyChart sends a VOTable to TOPCAT via SAMP on Windows, the generated file URL contains Windows backslashes.

TOPCAT reports the following error:

`java.net.MalformedURLException: Bad URI: file://C:\Users\Thierry Rahou\AppData\Local\Skychart\vo\vo_samp_B_vsx_vsx.xml`

The backslashes make the file URI non-conformant to URI syntax (RFC 3986).

This prevents TOPCAT from loading the VOTable sent by SkyChart.

The issue was identified and discussed with Mark Taylor (TOPCAT developer), who recommended reporting it as a SkyChart bug.
Additional InformationSkyChart version 4.2.1, running on Windows 11 Pro 26H2 (64-bit)
TagsNo tags attached.

Activities

Patrick Chevalley

26-11-23 17:58

administrator   ~0009993

Thank you, I better understand now than with the previous message.
I never remark the problem because on Linux it use the right path character, and probably not many people send data back from Skychart to Topcat.

I fix it but I need your confirmation because I cannot test on Windows right now.
Please install the test version 4.3-5060 from https://vega.ap-i.net/pub/skychart/daily_build/ and report here how it work, because I am still not sure about the C:

The change: https://github.com/pchev/skychart/commit/c05de8eefa123860ce3358e6391a7111e12beb8d

Issue History

Date Modified Username Field Change
26-11-23 14:23 Thierry New Issue
26-11-23 17:58 Patrick Chevalley Assigned To => Patrick Chevalley
26-11-23 17:58 Patrick Chevalley Status new => feedback
26-11-23 17:58 Patrick Chevalley Note Added: 0009993