-
Notifications
You must be signed in to change notification settings - Fork 0
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
wont run #1
Comments
hi jadedgnome, then you need to install the dependencies in this virtualenv then you will need to create a config file ~/.twitter_image.conf (you should take conf/twitter_image.conf.tmpl as an exemple and change the keys in the main section to put yours - you will find helpfull informations in the first reply here : https://dev.twitter.com/discussions/631) then the original version of the download_images.sh should work |
I did what you said and I couldn't get it to work.. different error but progress is being made. do I have to change: or leave as is? |
yes you have to put a real value to data_dir (let say /path/to/data) and then you should mkdir the dirs $> mkdir -p /path/to/data |
i didn't search for a friend just #halloween retrieve /tmp/ratelimit.pkl
|
Ok, there was a bug when the cache files where empty, I corrected it in : The thing is that you have to run that first to fill the list caches (twitter api ratelimit thoses call very low ...): Then, how did you just search for #halloween ? the code can't do that right now, did you patch it ? |
python bin/refresh_lists.py i did tried "#halloween" i didn't know if wasn't supported |
don't forget the PYTHONPATH=. before The thing I don't get is were you tell the script "#halloween" ? |
ooh it seems I got ahead of myself I assumes the script could accept arguments ie. ./download_images.sh . I ran $> PYTHONPATH=/usr/bin/python /bin/twitter_download/bin/refresh_lists.py ouput: retrieve /tmp/ratelimit.pkl
This entire time i was trying ./download_images.sh "Halloween" retrieve /tmp/ratelimit.pkl it continued like that and download profile images to /tmp/images/ I'll wait to try it again when you get to download search term results. Thanks for the help though! |
at first i edited 'download_images.sh' and change workspace/bin/activate to bin/activate .
i ran the script a second time to receive another error .
/bin/twitter_download/download_images.sh: line 7: bin/activate: No such file or directory
Traceback (most recent call last):
File "bin/download_image.py", line 8, in
TWITTER = Twitter(get_config())
File "build/bdist.linux-i686/egg/download_twitter/twitter.py", line 21, in init
File "build/bdist.linux-i686/egg/download_twitter/api.py", line 132, in init
File "build/bdist.linux-i686/egg/download_twitter/api.py", line 37, in init
File "/usr/lib/python2.7/ConfigParser.py", line 607, in get
raise NoSectionError(section)
ConfigParser.NoSectionError: No section: 'main'
/bin/twitter_download/download_images.sh: line 7: deactivate: command not found
The text was updated successfully, but these errors were encountered: