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

not able to update APKs #1181

Open
dingsbums opened this issue Jul 28, 2021 · 1 comment
Open

not able to update APKs #1181

dingsbums opened this issue Jul 28, 2021 · 1 comment
Labels
More Info Requires more info investigate the issue

Comments

@dingsbums
Copy link

it's either that or a simple [W] Unable to import the APK. [Errno 32] Broken pipe

[07-28 05:19:07.95] [           system] [W] Unable to import the APK.
[2021-07-28 05:19:10,323] ERROR in app: Exception on /apk_update_status [GET]
Traceback (most recent call last):
  File "/usr/lib/python3.7/multiprocessing/managers.py", line 788, in _callmethod
    conn = self._tls.connection
AttributeError: 'ForkAwareLocal' object has no attribute 'connection'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/root/mad_env/lib/python3.7/site-packages/flask/app.py", line 2447, in wsgi_app
    response = self.full_dispatch_request()
  File "/root/mad_env/lib/python3.7/site-packages/flask/app.py", line 1952, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/root/mad_env/lib/python3.7/site-packages/flask/app.py", line 1821, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/root/mad_env/lib/python3.7/site-packages/flask/_compat.py", line 39, in reraise
    raise value
  File "/root/mad_env/lib/python3.7/site-packages/flask/app.py", line 1950, in full_dispatch_request
    rv = self.dispatch_request()
  File "/root/mad_env/lib/python3.7/site-packages/flask/app.py", line 1936, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/home/user/MAD/mapadroid/madmin/routes/apks.py", line 46, in apk_update_status
    apk_info: MADapks = get_apk_status(self.storage_obj)
  File "/home/user/MAD/mapadroid/mad_apk/utils.py", line 121, in get_apk_status
    (package_info, status_code) = lookup_package_info(storage_obj, package, arch)
  File "/home/user/MAD/mapadroid/mad_apk/utils.py", line 245, in lookup_package_info
    package_info = storage_obj.get_current_package_info(package)
  File "<string>", line 2, in get_current_package_info
  File "/usr/lib/python3.7/multiprocessing/managers.py", line 792, in _callmethod
    self._connect()
  File "/usr/lib/python3.7/multiprocessing/managers.py", line 779, in _connect
    conn = self._Client(self._token.address, authkey=self._authkey)
  File "/usr/lib/python3.7/multiprocessing/connection.py", line 492, in Client
    c = SocketClient(address)
  File "/usr/lib/python3.7/multiprocessing/connection.py", line 619, in SocketClient
    s.connect(address)
ConnectionRefusedError: [Errno 111] Connection refused

@Expl0dingBanana
Copy link
Collaborator

Does this problem persist after restarting MAD?

@Expl0dingBanana Expl0dingBanana added the More Info Requires more info investigate the issue label Aug 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
More Info Requires more info investigate the issue
Projects
None yet
Development

No branches or pull requests

2 participants