Make sure to follow our issue report guidelines
Natron version
Natron 2.5.0
Operating system
macOS 26
System specs
No response
Did you install Natron using the official installer?
Custom installation path
No response
What were you trying to do?
I was trying to extract relevant information from the Info.plist file.
What did you expect to happen? What happened instead?
I expected plistlib to be able to parse the Info.plist file, as it can for most other apps I've encountered.
Step-by-step reproduction instructions
.
Additional details
Hi
My best guess is that this happens during the build process. The input file for Info.plist has correct formatting:
https://github.com/NatronGitHub/Natron/blob/RB-2.6/App/NatronInfo.plist.in
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
But in the final app, the double quotes in the Info.plist files have been stripped out:
<?xml version=1.0 encoding=UTF-8?>
<!DOCTYPE plist PUBLIC -//Apple//DTD PLIST 1.0//EN http://www.apple.com/DTDs/PropertyList-1.0.dtd>
<plist version=1.0>
macOS can work with this, but plistlib apparently can't. I assume the double quotes in the input file need to be escaped somehow, but I don't know how.
Cheers, michael.
Make sure to follow our issue report guidelines
Natron version
Natron 2.5.0
Operating system
macOS 26
System specs
No response
Did you install Natron using the official installer?
Custom installation path
No response
What were you trying to do?
I was trying to extract relevant information from the
Info.plistfile.What did you expect to happen? What happened instead?
I expected
plistlibto be able to parse theInfo.plistfile, as it can for most other apps I've encountered.Step-by-step reproduction instructions
.
Additional details
Hi
My best guess is that this happens during the build process. The input file for
Info.plisthas correct formatting:https://github.com/NatronGitHub/Natron/blob/RB-2.6/App/NatronInfo.plist.in
But in the final app, the double quotes in the
Info.plistfiles have been stripped out:macOS can work with this, but
plistlibapparently can't. I assume the double quotes in the input file need to be escaped somehow, but I don't know how.Cheers, michael.