-
Notifications
You must be signed in to change notification settings - Fork 6
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
Installation failure with error message #5
Comments
Can you check the supervisor log (settings, system, logs, supervisor) and find the error? |
Hi Trefor,
Thanks for the prompt response, it's really much appreciated.
Here's what I found:
…---> Removed intermediate container b7b559e682a4
2024-04-19 08:59:14.043 ERROR (MainThread) [supervisor.jobs] Unhandled exception: 'cc2581ab_predai'
Traceback (most recent call last):
File "/usr/src/supervisor/supervisor/docker/addon.py", line 657, in _build
image, log = await self.sys_run_in_executor(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/docker/models/images.py", line 304, in build
raise BuildError(chunk['error'], result_stream)
docker.errors.BuildError: The command '/bin/bash -o pipefail -c pip install -r /tmp/requirements.txt' returned a non-zero code: 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/supervisor/supervisor/jobs/decorator.py", line 303, in wrapper
return await self._method(obj, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/supervisor/supervisor/docker/addon.py", line 644, in install
await self._build(version)
File "/usr/src/supervisor/supervisor/docker/addon.py", line 669, in _build
_LOGGER.error("Can't build %s:%s: %s", self.image, version, err)
^^^^^^^^^^
File "/usr/src/supervisor/supervisor/docker/addon.py", line 85, in image
return self.addon.image
^^^^^^^^^^^^^^^^
File "/usr/src/supervisor/supervisor/addons/addon.py", line 508, in image
return self.persist.get(ATTR_IMAGE)
^^^^^^^^^^^^
File "/usr/src/supervisor/supervisor/addons/addon.py", line 224, in persist
return self.sys_addons.data.user[self.slug]
~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
KeyError: 'cc2581ab_predai'
________________________________
From: Trefor Southwell ***@***.***>
Sent: 19 April 2024 08:06
To: springfall2008/predai ***@***.***>
Cc: darryl2k ***@***.***>; Author ***@***.***>
Subject: Re: [springfall2008/predai] Installation failure with error message (Issue #5)
Can you check the supervisor log (settings, system, logs, supervisor) and find the error?
—
Reply to this email directly, view it on GitHub<#5 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/A6W2HUEC3K6MGWBB4D5AWRTY6C7A7AVCNFSM6AAAAABGOD3JKSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRVHA4TENRWGM>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Can you re-try and see if the supervisor log shows which library from requirements.txt failed to install? |
Is this still an issue? |
Hi Trefor,
Apologies for the late response, I id not see this earlier.
I just tried running the install again and it failed after approximately 10 minutes
Regards
Darryl.
…________________________________
From: Trefor Southwell ***@***.***>
Sent: 02 August 2024 14:02
To: springfall2008/predai ***@***.***>
Cc: darryl2k ***@***.***>; Author ***@***.***>
Subject: Re: [springfall2008/predai] Installation failure with error message (Issue #5)
Is this still an issue?
—
Reply to this email directly, view it on GitHub<#5 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/A6W2HUH24JY5QZ6IQ4Q6OT3ZPN7N5AVCNFSM6AAAAABGOD3JKSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRVGM3DANJSGI>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am attempting to install PredAI and after a few seconds of running the install I receive this message -
Failed to install add-on
The command '/bin/bash -o pipefail -c pip install -r /tmp/requirements.txt' returned a non-zero code: 1
I have no idea what it could be as everyhting else is running as expected.
I'd really appreciate some help to resolve this. Thanks.
The text was updated successfully, but these errors were encountered: