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

creating /tmp/python.cache_<USER_NAME> and not deleting it. #232

Open
GoogleCodeExporter opened this issue Aug 6, 2015 · 2 comments
Open

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. GetUserTimeline()
2. check /tmp/python.cache_<USER_NAME>
3. temporary files are not deleting. 

What is the expected output? What do you see instead?
No cache


What version of the product are you using? On what operating system?
Ubuntu 10.10
Python 2.7


Please provide any additional information below.

Each API call is creating a cache file and it results in the increase if 
inodes. This is not good for an OS




Original issue reported on code.google.com by [email protected] on 3 May 2012 at 2:33

@GoogleCodeExporter
Copy link
Author

Same issue here, but what bugged me is these directories (one per user who ever 
used python-twitter) was using up to 930MB (the size assigned to /tmp)

Debian Sid, Python 2.7

Original comment by [email protected] on 12 Jun 2013 at 11:45

@GoogleCodeExporter
Copy link
Author

pass cache=None to disable caching
ie:
twitter.Api(cache=None)

Original comment by [email protected] on 22 Jul 2013 at 5:17

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant