Catch permission denied when creating pid file #167

sebdah opened this Issue May 19, 2014 · 0 comments


None yet

1 participant

sebdah commented May 19, 2014

An exception in thrown when dynamic-dynamodb cannot create a pid file:

2014-05-19 07:23:34,013 - dynamic-dynamodb - ERROR - [Errno 13] Permission denied: './'
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/site-packages/dynamic_dynamodb/", line 65, in main
  File "/usr/local/lib/python2.7/site-packages/dynamic_dynamodb/", line 94, in start
  File "/usr/local/lib/python2.7/site-packages/dynamic_dynamodb/", line 73, in daemonize
    file(self.pidfile, 'w+').write("%s\n" % pid)
IOError: [Errno 13] Permission denied: './'
@sebdah sebdah added this to the Feature request pool milestone May 19, 2014
@sebdah sebdah self-assigned this May 19, 2014
@sebdah sebdah modified the milestone: 1.14.x, Feature request pool May 19, 2014
@sebdah sebdah added a commit that referenced this issue May 19, 2014
@sebdah Catch IOError for PID file #167 9bc1e9a
@sebdah sebdah closed this May 19, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment