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

TypeError: object of type 'NoneType' has no len() #18

Closed
thedemonium opened this issue Aug 20, 2018 · 1 comment
Closed

TypeError: object of type 'NoneType' has no len() #18

thedemonium opened this issue Aug 20, 2018 · 1 comment

Comments

@thedemonium
Copy link

Hello!
After successful authorization and selecting an album for backup:

[2018-08-20 14:16:01,260][Spelt][INFO ] Run in verbose mode
[2018-08-20 14:16:01,260][Spelt][INFO ] Output path is set to: /home/demonium/Spelt/Spelt
[2018-08-20 14:16:09,824][Spelt][DEBUG ] Adds 254040401 to selection
[2018-08-20 14:16:09,825][Spelt][DEBUG ] Selected Albums: ['27.05 Суоранда']
[2018-08-20 14:16:09,825][Spelt][INFO ] Begin downloading 1 album(s)
[2018-08-20 14:16:09,825][Spelt][DEBUG ] Album Size: 11
[2018-08-20 14:16:09,857][Spelt][INFO ] Done in 0:00:08.596581
Traceback (most recent call last):
File "/usr/local/bin/spelt", line 11, in
sys.exit(run_app())
File "/usr/local/lib/python3.6/dist-packages/spelt/init.py", line 313, in run_app
process_albums(albums=selected_albums, output=args.output, vk_session=vk_session)
File "/usr/local/lib/python3.6/dist-packages/spelt/init.py", line 221, in process_albums
photo_urls = get_album_photos(album=album, offset=offset, vk_session=vk_session)
File "/usr/local/lib/python3.6/dist-packages/spelt/init.py", line 143, in get_album_photos
if len(sizes)==0:
TypeError: object of type 'NoneType' has no len()

@amka
Copy link
Owner

amka commented Aug 20, 2018

Will check this out as soon as possible, thank you!

@amka amka closed this as completed in a7ad645 Aug 20, 2018
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