jiptool / jip

Java dependency management for Jython
http://pypi.python.org/pypi/jip/
Other
59 stars 15 forks source link

MacOS permission error #35

Open scphantm opened 8 years ago

scphantm commented 8 years ago

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.