Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Wizard: AttributeError: 'dict' object has no attribute 'versions' #1212

Open
Micha854 opened this issue Oct 8, 2021 · 0 comments
Open

Wizard: AttributeError: 'dict' object has no attribute 'versions' #1212

Micha854 opened this issue Oct 8, 2021 · 0 comments

Comments

@Micha854
Copy link

Micha854 commented Oct 8, 2021

I use ubuntu 20.04 with python 3.8 and get the following error when trying to update the madmin packedes:

Traceback (most recent call last):
  File "/usr/lib/python3.8/threading.py", line 890, in _bootstrap
    self._bootstrap_inner()
  File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
    self.run()
> File "start.py", line 63, in run_thread
    run_thread_old(*args, **kwargs)
  File "/usr/lib/python3.8/threading.py", line 870, in run
    self._target(*self._args, **self._kwargs)
  File "/home/mapadroid/MAD/mapadroid/mad_apk/wizard.py", line 97, in apk_nonblocking_download
    self.download_pogo(arch)
  File "/home/mapadroid/MAD/mapadroid/mad_apk/wizard.py", line 135, in download_pogo
    latest_pogo_info = self.find_latest_pogo(architecture)
  File "/home/mapadroid/MAD/mapadroid/mad_apk/wizard.py", line 278, in find_latest_pogo
    latest_supported = APKWizard.get_latest_supported(architecture, available_versions, self.api_token)
  File "/home/mapadroid/MAD/mapadroid/mad_apk/wizard.py", line 330, in get_latest_supported
    for ver, release in available_versions.versions.items():
AttributeError: 'dict' object has no attribute 'versions'
[10-08 02:29:14.10] [           system] [C] An unhanded exception occurred!
Traceback (most recent call last):
  File "/usr/lib/python3.8/threading.py", line 890, in _bootstrap
    self._bootstrap_inner()
    │    └ <function Thread._bootstrap_inner at 0x7fe250fff430>
    └ <Thread(Thread-113, started daemon 140606869194496)>
  File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
    self.run()
    │    └ <function install_thread_excepthook.<locals>.run_thread at 0x7fe2380f0310>
    └ <Thread(Thread-113, started daemon 140606869194496)>

> File "start.py", line 63, in run_thread
    run_thread_old(*args, **kwargs)
    │               │       └ {}
    │               └ (<Thread(Thread-113, started daemon 140606869194496)>,)
    └ <function Thread.run at 0x7fe250fff160>

  File "/usr/lib/python3.8/threading.py", line 870, in run
    self._target(*self._args, **self._kwargs)
    │             │             └ <Thread(Thread-113, started daemon 140606869194496)>
    │             └ <Thread(Thread-113, started daemon 140606869194496)>
    └ <Thread(Thread-113, started daemon 140606869194496)>

  File "/home/mapadroid/MAD/mapadroid/mad_apk/wizard.py", line 97, in apk_nonblocking_download
    self.download_pogo(arch)
    │    │             └ <APKArch.armeabi_v7a: 1>
    │    └ <function APKWizard.download_pogo at 0x7fe2414203a0>
    └ <mapadroid.mad_apk.wizard.APKWizard object at 0x7fe234183070>

  File "/home/mapadroid/MAD/mapadroid/mad_apk/wizard.py", line 135, in download_pogo
    latest_pogo_info = self.find_latest_pogo(architecture)
                       │    │                └ <APKArch.armeabi_v7a: 1>
                       │    └ <function APKWizard.find_latest_pogo at 0x7fe241420700>
                       └ <mapadroid.mad_apk.wizard.APKWizard object at 0x7fe234183070>

  File "/home/mapadroid/MAD/mapadroid/mad_apk/wizard.py", line 278, in find_latest_pogo
    latest_supported = APKWizard.get_latest_supported(architecture, available_versions, self.api_token)
                       │         │                    │             │                   │    └ '<snip>'
                       │         │                    │             │                   └ <mapadroid.mad_apk.wizard.APKWizard object
 at 0x7fe234183070>
                       │         │                    │             └ {}
                       │         │                    └ <APKArch.armeabi_v7a: 1>
                       │         └ <staticmethod object at 0x7fe24141f4c0>
                       └ <class 'mapadroid.mad_apk.wizard.APKWizard'>

  File "/home/mapadroid/MAD/mapadroid/mad_apk/wizard.py", line 330, in get_latest_supported
    for ver, release in available_versions.versions.items():
                        └ {}

AttributeError: 'dict' object has no attribute 'versions'```
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant