IOError: [Errno 13] file not accessible when changing files

84 views
Skip to first unread message

fredrik

unread,
Dec 15, 2011, 8:08:30 AM12/15/11
to google-a...@googlegroups.com
I started using virtualenv today with my project, and it seems to work fine. But I soon discovered that when saving any .py file in my project (when the dev server is running) I get this error: IOError: [Errno 13] file not accessible: '/Users/broken/little-giants/development/web/project-pac/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg'. So now I have to restart the dev server every time I change any python code. Other files I can change without problem.

I tried the google-way but couldn't find anything that fixed it. I think that this thread could be some help, but don't really understand it: https://groups.google.com/forum/#!topic/django-non-relational/5ellDm1ICiA/discussion

My other projects works fine (running python2.5). I had the same problem a few weeks ago on my old laptop (running a appengine project with python2.7), but never solved it. 

Does anyone recognize this? It was an issue in v1.25 and seems someone other then me have it with python2.7: http://code.google.com/p/googleappengine/issues/detail?id=2086

It's not much to go on, I know. But any pointers or ideas are appreciated. 

..fredrik 

fredrik

unread,
Dec 15, 2011, 10:09:36 AM12/15/11
to google-a...@googlegroups.com
I got it working by removing the egg file from my virtual environment. Don't think its a viable solution, but at least it's some progress. DON'T use the work around if you're not using virtualenv.
Reply all
Reply to author
Forward
0 new messages