Giter Club home page Giter Club logo

bpylist's People

Contributors

tbartelmess avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

bpylist's Issues

bpylist.archiver.MissingTopObjectUID: top object did not have a UID! dump: {'root': {'UID': 1}}

Traceback (most recent call last):
  File "/Users/luckydonald/Documents/programming/Python/…/plist_test.py", line 4, in <module>
    woop = archiver.unarchive(f.read())
  File "/Users/luckydonald/.pyenv/versions/docker-tg-bot-3.7.2/lib/python3.7/site-packages/bpylist/archiver.py", line 16, in unarchive
    return Unarchive(plist).top_object()
  File "/Users/luckydonald/.pyenv/versions/docker-tg-bot-3.7.2/lib/python3.7/site-packages/bpylist/archiver.py", line 255, in top_object
    self.unpack_archive_header()
  File "/Users/luckydonald/.pyenv/versions/docker-tg-bot-3.7.2/lib/python3.7/site-packages/bpylist/archiver.py", line 190, in unpack_archive_header
    raise MissingTopObjectUID(top)
bpylist.archiver.MissingTopObjectUID: top object did not have a UID! dump: {'root': {'UID': 1}}

So for some reason using archiver.unarchive(f.read()) doesn't results in and uid type for the root node,
but instead a single dict being an {'UID': 1} element.

I feel like {'UID': 1} should totally be uid(1), but for some reason at that point it isn't.

Version 0.1.4 from pip

unable to find "pytime.h"

clang -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/include -I/usr/local/include -I/usr/local/opt/libunwind-headers/include -I/usr/local/include -I/usr/local/opt/openssl/include -I/usr/local/opt/sqlite/include -I/usr/local/Cellar/python@2/2.7.16/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c src/bplist.c -o build/temp.macosx-10.14-x86_64-2.7/src/bplist.o
src/bplist.c:2:10: fatal error: 'pytime.h' file not found
#include <pytime.h>
         ^~~~~~~~~~
1 error generated.
error: command 'clang' failed with exit status 1

NSMutableData not included in UNARCHIVE_CLASS_MAP

Using the file ~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.FavoriteItems.sfl2 for this example.

When attempting to load the file above into the unarchiver, you get the following error:

MissingClassMapping: no mapping for NSMutableData in {'NSDictionary': <class 'bpylist.archiver.DictArchive'>, 'NSMutableDictionary': <class 'bpylist.archiver.DictArchive'>, 'NSArray': <class 'bpylist.archiver.ListArchive'>, 'NSMutableArray': <class 'bpylist.archiver.ListArchive'>, 'NSSet': <class 'bpylist.archiver.SetArchive'>, 'NSMutableSet': <class 'bpylist.archiver.SetArchive'>, 'NSDate': <class 'bpylist.archive_types.timestamp'>}

On the C + + version

Excuse me, is there a C + + version of this project?

If not, are there any documents that can be easily converted to C + +?

Sorry for the inconvenience

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.