View Bug Details

IDProjectCategoryView StatusLast Update
0002152DCP-o-maticBugspublic2021-12-23 01:26
Reportercarl Assigned To 
PrioritynormalSeverityminorReproducibilityunable to reproduce
Status acknowledgedResolutionopen 
Product Version2.14.x 
Summary0002152: Importing a DCP from a SMB share fails
Description

https://dcpomatic.com/forum/viewtopic.php?f=2&t=1778&p=8117#p8117
2.14.56 on Windows 10

Tagscurrent
Branch
Estimated weeks required
Estimated work requiredUndecided

Activities

carl

2021-12-23 00:54

administrator   ~0004721

Can't reproduce the error by removing read privileges from the ASSETMAP nor by making it invalid XML.

carl

2021-12-23 00:55

administrator   ~0004722

Looks like it's thrown by DomParser::parse_file() in libxml++

carl

2021-12-23 00:56

administrator   ~0004723

Last edited: 2021-12-23 00:56

When xmlCreateFileParserCtxt (from libxml) fails

carl

2021-12-23 01:26

administrator   ~0004724

Maybe need to load the XML file into memory ourselves then use parse_memory; maybe then we get a better error when the file (presumably) can't be loaded into memory.

Bug History

Date Modified Username Field Change
2021-12-21 20:21 carl New Bug
2021-12-21 20:22 carl Tag Attached: current
2021-12-21 22:14 carl Reproducibility have not tried => unable to reproduce
2021-12-21 22:14 carl Status new => acknowledged
2021-12-21 22:14 carl Estimated work required => Undecided
2021-12-23 00:54 carl Note Added: 0004721
2021-12-23 00:55 carl Note Added: 0004722
2021-12-23 00:56 carl Note Added: 0004723
2021-12-23 00:56 carl Note Edited: 0004723
2021-12-23 01:26 carl Note Added: 0004724