Giter Site home page Giter Site logo

Uncaught exception about cfpropertylist HOT 9 CLOSED

teclib avatar teclib commented on May 24, 2024
Uncaught exception

from cfpropertylist.

Comments (9)

gingerbeardman avatar gingerbeardman commented on May 24, 2024 1

See briansea/ulysses3-export#1

from cfpropertylist.

btry avatar btry commented on May 24, 2024 1

Hi

By reading the code of CFPropertyList and the backtrace, I see the exception is raised in the call of a constructor. Then it seems appropriate that the library throws an exception.

I think that ulysse3-export should catch the exception and handle it. Can you check the permissions of the file being open ?

from cfpropertylist.

gingerbeardman avatar gingerbeardman commented on May 24, 2024 1

File permissions are readable, I'll look into it further

from cfpropertylist.

gingerbeardman avatar gingerbeardman commented on May 24, 2024 1

I guess I'll have to give up, files are all readable so I have no idea why it's throwing CFPropertyList\IOException::notReadable

from cfpropertylist.

gingerbeardman avatar gingerbeardman commented on May 24, 2024 1

Permissions are:

755 /Users
755 /matt
700 /Library
755 /Mobile Documents
755 /X5AZV975AG~com~soulmen~ulysses3
755 /Documents
755 /Library

Changing Library to 755 made no difference.

from cfpropertylist.

btry avatar btry commented on May 24, 2024

The library throws the exception if the function is_readable returns false.

Please, read the documentation of this function http://php.net/manual/en/function.is-readable.php and carefully check all details of the documentation against your system. Maybe there is something wrong with tue UID and GID of the file. Check also all directories from the root of your filesystem to the file, one by one.

from cfpropertylist.

gingerbeardman avatar gingerbeardman commented on May 24, 2024

Will do, thanks

from cfpropertylist.

gingerbeardman avatar gingerbeardman commented on May 24, 2024

It seems that - for whatever reason - the script cannot access the iCloud Mobile Documents folder so I am progressing by making a copy of that folder and working on that.

ditto "/Users/matt/Library/Mobile Documents/X5AZV975AG~com~soulmen~ulysses3/Documents/Library/" copy/

from cfpropertylist.

btry avatar btry commented on May 24, 2024

I guess you have to adjust the permissions on a directory, or the user running your project.

from cfpropertylist.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.