Opened 12 years ago
Closed 12 years ago
#121 closed (fixed)
when run out of cron, gmoc.py GMOCClient() tries and fails to write a cache file
Reported by: | chaos@bbn.com | Owned by: | somebody |
---|---|---|---|
Priority: | critical | Milestone: | gmoc.py data submission debugging |
Component: | Clients | Version: | |
Keywords: | Cc: | ||
Dependencies: |
Description
When reporting is run from cron on FreeBSD 7, it throws:
From: ganglia@boss.pgeni1.gpolab.bbn.com (Cron Daemon) Date: Wed, 3 Oct 2012 13:30:01 -0400 (EDT) To: ganglia@boss.pgeni1.gpolab.bbn.com Subject: [gpo-ops] Cron <ganglia@nicea> /usr/sysadmin/bin/report_protogeni_relations Traceback (most recent call last): File "/usr/sysadmin/bin/report_protogeni_relations", line 214, in <module> result = data.store(pop) File "/usr/sysadmin/lib/gmoc.py", line 2057, in store h = Http(".cache") File "/usr/local/lib/python2.6/site-packages/httplib2/__init__.py", line 791, in __init__ self.cache = FileCache(cache) File "/usr/local/lib/python2.6/site-packages/httplib2/__init__.py", line 637, in __init__ os.makedirs(self.cache) File "/usr/local/lib/python2.6/os.py", line 157, in makedirs mkdir(name, mode) OSError: [Errno 13] Permission denied: '.cache'
Note: See
TracTickets for help on using
tickets.
Fixed in v0.8.1; thanks!