beaufour / flickr-download

Tool for downloading sets and photos from Flickr
Apache License 2.0
231 stars 65 forks source link

Python 3 not supported #35

Closed zdavatz closed 5 years ago

zdavatz commented 6 years ago

I constantly get this error:

Traceback (most recent call last):
  File "/usr/bin/flickr_download", line 11, in <module>
    load_entry_point('flickr-download==0.2.19', 'console_scripts', 'flickr_download')()
  File "/usr/lib64/python3.4/site-packages/pkg_resources/__init__.py", line 565, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib64/python3.4/site-packages/pkg_resources/__init__.py", line 2598, in load_entry_point
    return ep.load()
  File "/usr/lib64/python3.4/site-packages/pkg_resources/__init__.py", line 2258, in load
    return self.resolve()
  File "/usr/lib64/python3.4/site-packages/pkg_resources/__init__.py", line 2264, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/lib64/python3.4/site-packages/flickr_download/flick_download.py", line 195
    except IOError, ex:
                  ^
SyntaxError: invalid syntax
beaufour commented 6 years ago

Well the /usr/lib64/python3.4 path makes me believe that you are not running Python 2.7.12 :) The exception syntax changed in Python 3, and the code doesn't run.

zdavatz commented 6 years ago

So your code only runs in 2.7?

beaufour commented 6 years ago

It doesn't work with Python 3, no. On Tue, May 1, 2018 at 11:45 AM Zeno R.R. Davatz notifications@github.com wrote:

So your code only runs in 2.7?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/beaufour/flickr-download/issues/35#issuecomment-385704357, or mute the thread https://github.com/notifications/unsubscribe-auth/AAOnudHNPjt6Lcat7FmxurC_p_LM88VQks5tuIMMgaJpZM4Tr7AT .

zdavatz commented 6 years ago

Ok, it is working on Python 2.7. Thank you.

Question: Is there some sort of progress bar? I would like to download about 100'000 Fotos from my account.

beaufour commented 6 years ago

There is no progress bar I'm afraid. You'll only see the list of photos as they are downloaded one by one.

zdavatz commented 6 years ago

Where will I see the list? In the console? At the moment I see no list.

beaufour commented 6 years ago

When you start downloading an album or something it'll list out each name it downloads one at a time in the console?

beaufour commented 5 years ago

Close because of inactivity