question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

albumNameEnc error?

See original GitHub issue

Hello, I just did a fresh install of windows 10, I also tried this on centos. Both give the same error bellow:

Traceback (most recent call last):
  File "icloudpd.py", line 5, in <module>
    main()
  File "C:\Users\Provision\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\click\core.py", line 722, in __call__
    return self.main(*args, **kwargs)
  File "C:\Users\Provision\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\click\core.py", line 697, in main
    rv = self.invoke(ctx)
  File "C:\Users\Provision\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\click\core.py", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "C:\Users\Provision\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\click\core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "C:\Users\Provision\Desktop\icloud_photos_downloader-master\icloudpd\base.py", line 276, in main
    photos = icloud.photos.albums[album]
  File "C:\Users\Provision\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\local-packages\Python38\site-packages\pyicloud_ipd\services\photos.py", line 194, in albums
    folder['fields']['albumNameEnc']['value']).decode('utf-8')
KeyError: 'albumNameEnc'

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:21 (2 by maintainers)

github_iconTop GitHub Comments

4reactions
darikscommented, Aug 4, 2020

@DeastinY I have tried your workaround, you seem to have an issue there. Trying with your suggestion leads to an Syntax Error. But i got it working:

try:                   
    folder_name = base64.b64decode(
        folder['fields']['albumNameEnc']['value']).decode('utf-8')
except KeyError:              
    continue
2reactions
ndbroadbentcommented, Sep 29, 2020

Thanks @Vlad1mir-D! I merged your PR and released a new version of icloudpd: 1.6.1. Please try that out and let me know if it fixes the issue

Read more comments on GitHub >

github_iconTop Results From Across the Web

albumNameEnc error? · Issue #150 · icloud-photos ... - GitHub
Both give the same error bellow: Traceback (most recent call last): File "icloudpd.py", line 5, in main() File ... albumNameEnc error? #150.
Read more >
iCloud Picture Downloader Docker Template - Forums - Unraid
I am not able to run it, it has the following error: ... KeyError: 'albumNameEnc' 2020-07-14 15:43:47 ERROR Check failed - Exit code:...
Read more >
PhotoKit: Can't access user's albums? - Apple Developer
A fix was included in those versions to correct this bug where apps that have .readWrite access to the photo library were not...
Read more >
Viewing online file analysis results for 'AnyTrans.exe'
Reduced Monitoring, Network Activityy, Network Error, Multiscan Match ... \":\"PrimarySync\"},\"desiredKeys\":[\"albumType\",\"albumNameEnc\",\"name\" ...
Read more >
iCloud 高分辨率照片自动备份到群晖 - 知乎专栏
好不容易到了二次验证,完整成功之后还是失败了,说是albumnameenc ... 密码> --recent 200 --auto-delete出现bash: syntax error near unexpected ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found