Skip to content

MacOS permission error #35

@scphantm

Description

@scphantm

When I do a deps on my Mac, i get this

jip [Finished] dependencies resolved
Traceback (most recent call last):
  File "/usr/local/bin/jip", line 11, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.5/site-packages/jip/main.py", line 62, in main
    commands[cmd](**args)
  File "/usr/local/lib/python3.5/site-packages/jip/commands.py", line 47, in wrapper
    index_manager.finalize()
  File "/usr/local/lib/python3.5/site-packages/jip/index.py", line 104, in finalize
    self.persist()
  File "/usr/local/lib/python3.5/site-packages/jip/index.py", line 72, in persist
    picklefile = open(self.filepath, 'wb')
PermissionError: [Errno 1] Operation not permitted: '/System/Library/Frameworks/Python.framework/.jip_index'

Its trying to write the .jip_index to a Mac system folder that even admins don't have access too. It should be writing it to ~/.jip or something like that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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