Skip to content
This repository has been archived by the owner on Mar 24, 2024. It is now read-only.

Error starting docker image #90

Open
ildave opened this issue May 30, 2023 · 1 comment
Open

Error starting docker image #90

ildave opened this issue May 30, 2023 · 1 comment

Comments

@ildave
Copy link

ildave commented May 30, 2023

Hello, I just the pulled the latest image for zebradil/gimme-iphotos, but when running it I get this error and the container does not start:

2023-05-30 10:23:51 Traceback (most recent call last):
2023-05-30 10:23:51 File "/usr/local/bin/gimme-iphotos", line 5, in
2023-05-30 10:23:51 from gimme_iphotos import main
2023-05-30 10:23:51 File "/usr/local/lib/python3.11/site-packages/gimme_iphotos/init.py", line 9, in
2023-05-30 10:23:51 from .downloader import DownloaderApp
2023-05-30 10:23:51 File "/usr/local/lib/python3.11/site-packages/gimme_iphotos/downloader.py", line 11, in
2023-05-30 10:23:51 from pyicloud import PyiCloudService
2023-05-30 10:23:51 File "/usr/local/lib/python3.11/site-packages/pyicloud/init.py", line 3, in
2023-05-30 10:23:51 from pyicloud.base import PyiCloudService
2023-05-30 10:23:51 File "/usr/local/lib/python3.11/site-packages/pyicloud/base.py", line 20, in
2023-05-30 10:23:51 from pyicloud.services import (
2023-05-30 10:23:51 File "/usr/local/lib/python3.11/site-packages/pyicloud/services/init.py", line 8, in
2023-05-30 10:23:51 from pyicloud.services.account import AccountService
2023-05-30 10:23:51 File "/usr/local/lib/python3.11/site-packages/pyicloud/services/account.py", line 6, in
2023-05-30 10:23:51 from pyicloud.utils import underscore_to_camelcase
2023-05-30 10:23:51 File "/usr/local/lib/python3.11/site-packages/pyicloud/utils.py", line 3, in
2023-05-30 10:23:51 import keyring
2023-05-30 10:23:51 File "/usr/local/lib/python3.11/site-packages/keyring/init.py", line 6, in
2023-05-30 10:23:51 from .core import (set_keyring, get_keyring, set_password, get_password,
2023-05-30 10:23:51 File "/usr/local/lib/python3.11/site-packages/keyring/core.py", line 14, in
2023-05-30 10:23:51 from . import backend
2023-05-30 10:23:51 File "/usr/local/lib/python3.11/site-packages/keyring/backend.py", line 18, in
2023-05-30 10:23:51 from .util import properties
2023-05-30 10:23:51 File "/usr/local/lib/python3.11/site-packages/keyring/util/properties.py", line 1, in
2023-05-30 10:23:51 from collections import Callable
2023-05-30 10:23:51 ImportError: cannot import name 'Callable' from 'collections' (/usr/local/lib/python3.11/collections/init.py)

I am running the latest Docker Desktop on a Windows 11 machine.
Am i doing something wrong?

Thanks!

@ildave
Copy link
Author

ildave commented May 30, 2023

I found that the same error happens by running directly the tool:

$ pip3 install gimme-iphotos
$ gimme-iphotos -v -c config.cfg

The config file is like this:

[main]
username = **@
password = ******
destination = /mnt/e/icloudphotos_backup
remove = True
group = True

And the output is

Traceback (most recent call last):
File "/usr/local/bin/gimme-iphotos", line 5, in
from gimme_iphotos import main
File "/usr/local/lib/python3.10/dist-packages/gimme_iphotos/init.py", line 9, in
from .downloader import DownloaderApp
File "/usr/local/lib/python3.10/dist-packages/gimme_iphotos/downloader.py", line 11, in
from pyicloud import PyiCloudService
File "/home/dave/.local/lib/python3.10/site-packages/pyicloud/init.py", line 3, in
from pyicloud.base import PyiCloudService
File "/home/dave/.local/lib/python3.10/site-packages/pyicloud/base.py", line 20, in
from pyicloud.services import (
File "/home/dave/.local/lib/python3.10/site-packages/pyicloud/services/init.py", line 8, in
from pyicloud.services.account import AccountService
File "/home/dave/.local/lib/python3.10/site-packages/pyicloud/services/account.py", line 6, in
from pyicloud.utils import underscore_to_camelcase
File "/home/dave/.local/lib/python3.10/site-packages/pyicloud/utils.py", line 3, in
import keyring
File "/home/dave/.local/lib/python3.10/site-packages/keyring/init.py", line 6, in
from .core import (set_keyring, get_keyring, set_password, get_password,
File "/home/dave/.local/lib/python3.10/site-packages/keyring/core.py", line 14, in
from . import backend
File "/home/dave/.local/lib/python3.10/site-packages/keyring/backend.py", line 18, in
from .util import properties
File "/home/dave/.local/lib/python3.10/site-packages/keyring/util/properties.py", line 1, in
from collections import Callable
ImportError: cannot import name 'Callable' from 'collections' (/usr/lib/python3.10/collections/init.py)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant