Skip to content

(Bug): Info.plist is missing double quotes, causing parsing issues #1074

Description

@mihelm

Make sure to follow our issue report guidelines

  • I'm using the latest version of Natron (not required but recommended)
  • I've restarted Natron and the issue persists
  • I've run Natron via the command line and the issue persists
  • I've followed the contributing guidelines to the best of my understanding
  • My issue is not on the issue tracker or in a pull request already (go search for it and dig around a little bit!)
  • This bug is reproducible

Natron version

Natron 2.5.0

Operating system

macOS 26

System specs

No response

Did you install Natron using the official installer?

  • Yes, I used the official installer
  • No, I installed from a binary archive
  • No, I compiled Natron from sources
  • No, I installed Natron via another method

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions