Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Write Permissions on .cache in httplib2 #65

Closed
johndavis23 opened this issue Mar 6, 2020 · 1 comment
Closed

Write Permissions on .cache in httplib2 #65

johndavis23 opened this issue Mar 6, 2020 · 1 comment

Comments

@johndavis23
Copy link

johndavis23 commented Mar 6, 2020

I'm seeing this failure:

eventList = events(url=tier1A, file=None, start=today, end=one_year_from_now)
File "/var/task/icalevents/icalevents.py", line 38, in events
ical_download = ICalDownload(http=http)
File "/var/task/icalevents/icaldownload.py", line 37, in init
http = Http('.cache')
File "/var/task/httplib2/init.py", line 1461, in init
self.cache = FileCache(cache)
File "/var/task/httplib2/init.py", line 925, in init
os.makedirs(self.cache)
File "/var/lang/lib/python3.7/os.py", line 221, in makedirs
mkdir(name, mode)
OSError: [Errno 30] Read-only file system: '.cache'

Which I take it was meant to be resolved via #52

I'm running 0.1.24 via serverless framework on aws lambda.

@johndavis23 johndavis23 changed the title Write Permissions on .cache in httpdlib Write Permissions on .cache in httplib2 Mar 12, 2020
@Hultner
Copy link
Member

Hultner commented Jan 19, 2021

Resolved in #72

@Hultner Hultner closed this as completed Jan 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants