alfem / synology-flickr-folder-uploader

Simple script to upload a folder of photos/videos to a new set in Flickr
GNU General Public License v2.0
11 stars 6 forks source link

Error token_cache #1

Open Flavien06 opened 7 years ago

Flavien06 commented 7 years ago

Hi The script doesn't show me URL to authorize upload. I have this error:

Uploading /volume1/photo/Pictures/ to Pictures with tags: synology-nas-uploaded Traceback (most recent call last): File "./flickr-folder-uploader.py", line 44, in flickr = flickrapi.FlickrAPI(API_KEY, API_SECRET, token_cache_location=TOKEN_CACHE) NameError: name 'TOKEN_CACHE' is not defined

hohodyret commented 6 years ago

I have the same problem @Flavien06 , did you solve the issue?

Flavien06 commented 6 years ago

Yes, juste solve it I have missed it, in the script: delete the "#"

TOKEN_CACHE='. /token'.

in TOKEN_CACHE='. /token'.

But now I have

Authentication required https://www.flickr.com/services/oauth/authorize?oauth_token=xxxxxxxxxxxxxxxxxxxxxxxxx-xxxxxxxxxxxxxxxx&perms=write Verifier code: 104-902-660 Verifier: 104-902-660 None Creating set Pictures ERROR.

oPromessa commented 5 years ago

@Flavien06 in case it might help you/interest you take a look at this fork flickr-uploader and also available on pypi.org also.

alfem commented 5 years ago

Well I finally bought a new QNAP nas and sold my Synology, so I can not make further testing :-)

alfem commented 5 years ago

@Flavien06 in case it might help you/interest you take a look at this fork flickr-uploader and also available on pypi.org also.

It is not a fork of this code, is it?

oPromessa commented 5 years ago

No, it's a for from another project trickortwak/flickr-uploader which references your project.

alfem commented 5 years ago

Could you point at the page referencing my project? I can not find anything like that in trickortwak/flickr-uploader.

oPromessa commented 5 years ago

Sorry.. the project pages are:

alfem commented 5 years ago

But none of those projects references this.

oPromessa commented 5 years ago

Yup it does! ;) Your comment from June 2017 on this link

alfem commented 5 years ago

So you are just hunting users around, aren't you? ;-)

oPromessa commented 5 years ago

Ah ah ah... well... hmmm... trying to help out.... but... hmmm. Yes, you nailed it!