We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
-vvv
Hi, Im trying to run the poetry install command through ansible. For some reason it does not work as seen below:
poetry install
"Creating virtualenv test-o83ujoU_-py3.8 in /home/dd/.cache/pypoetry/virtualenvs", "Installing dependencies from lock file", "", "Package operations: 4 installs, 0 updates, 0 removals", "", " • Installing paho-mqtt (1.6.1)", " • Installing six (1.16.0)", "", " DBusErrorResponse", "", " [org.freedesktop.DBus.Error.UnknownMethod] ('No such interface “org.freedesktop.DBus.Properties” on object at path /org/freedesktop/secrets/collection/login',)", "", " at /opt/poetry/venv/lib/python3.8/site-packages/secretstorage/util.py:48 in send_and_get_reply", " 44│ def send_and_get_reply(self, msg: Message) -> Any:", " 45│ try:", " 46│ resp_msg: Message = self._connection.send_and_get_reply(msg)", " 47│ if resp_msg.header.message_type == MessageType.error:", " → 48│ raise DBusErrorResponse(resp_msg)", " 49│ return resp_msg.body", " 50│ except DBusErrorResponse as resp:", " 51│ if resp.name in (DBUS_UNKNOWN_METHOD, DBUS_NO_SUCH_OBJECT):", " 52│ raise ItemNotFoundException('Item does not exist!') from resp", "", "The following error occurred when trying to handle this error:", "", "", " ItemNotFoundException", "", " Item does not exist!", "", " at /opt/poetry/venv/lib/python3.8/site-packages/secretstorage/util.py:52 in send_and_get_reply", " 48│ raise DBusErrorResponse(resp_msg)", " 49│ return resp_msg.body", " 50│ except DBusErrorResponse as resp:", " 51│ if resp.name in (DBUS_UNKNOWN_METHOD, DBUS_NO_SUCH_OBJECT):", " → 52│ raise ItemNotFoundException('Item does not exist!') from resp", " 53│ elif resp.name in (DBUS_SERVICE_UNKNOWN, DBUS_EXEC_FAILED,", " 54│ DBUS_NO_REPLY):", " 55│ data = resp.data", " 56│ if isinstance(data, tuple):", "", "The following error occurred when trying to handle this error:", "", "", " PromptDismissedException", "", " Prompt dismissed.", "", " at /opt/poetry/venv/lib/python3.8/site-packages/secretstorage/collection.py:159 in create_collection", " 155│ if len(collection_path) > 1:", " 156│ return Collection(connection, collection_path, session=session)", " 157│ dismissed, result = exec_prompt(connection, prompt)", " 158│ if dismissed:", " → 159│ raise PromptDismissedException('Prompt dismissed.')", " 160│ signature, collection_path = result", " 161│ assert signature == 'o'", " 162│ return Collection(connection, collection_path, session=session)", " 163│ ", "", "The following error occurred when trying to handle this error:", "", "", " InitError", "", " Failed to create the collection: Prompt dismissed..", "", " at /opt/poetry/venv/lib/python3.8/site-packages/keyring/backends/SecretService.py:63 in get_preferred_collection", " 59│ collection = secretstorage.Collection(bus, self.preferred_collection)", " 60│ else:", " 61│ collection = secretstorage.get_default_collection(bus)", " 62│ except exceptions.SecretStorageException as e:", " → 63│ raise InitError(\"Failed to create the collection: %s.\" % e)", " 64│ if collection.is_locked():", " 65│ collection.unlock()", " 66│ if collection.is_locked(): # User dismissed the prompt", " 67│ raise KeyringLocked(\"Failed to unlock the collection!\")", "", "", " DBusErrorResponse", "", " [org.freedesktop.DBus.Error.UnknownMethod] ('No such interface “org.freedesktop.DBus.Properties” on object at path /org/freedesktop/secrets/collection/login',)", "", " at /opt/poetry/venv/lib/python3.8/site-packages/secretstorage/util.py:48 in send_and_get_reply", " 44│ def send_and_get_reply(self, msg: Message) -> Any:", " 45│ try:", " 46│ resp_msg: Message = self._connection.send_and_get_reply(msg)", " 47│ if resp_msg.header.message_type == MessageType.error:", " → 48│ raise DBusErrorResponse(resp_msg)", " 49│ return resp_msg.body", " 50│ except DBusErrorResponse as resp:", " 51│ if resp.name in (DBUS_UNKNOWN_METHOD, DBUS_NO_SUCH_OBJECT):", " 52│ raise ItemNotFoundException('Item does not exist!') from resp", "", "The following error occurred when trying to handle this error:", "", "", " ItemNotFoundException", "", " Item does not exist!", "", " at /opt/poetry/venv/lib/python3.8/site-packages/secretstorage/util.py:52 in send_and_get_reply", " 48│ raise DBusErrorResponse(resp_msg)", " 49│ return resp_msg.body", " 50│ except DBusErrorResponse as resp:", " 51│ if resp.name in (DBUS_UNKNOWN_METHOD, DBUS_NO_SUCH_OBJECT):", " → 52│ raise ItemNotFoundException('Item does not exist!') from resp", " 53│ elif resp.name in (DBUS_SERVICE_UNKNOWN, DBUS_EXEC_FAILED,", " 54│ DBUS_NO_REPLY):", " 55│ data = resp.data", " 56│ if isinstance(data, tuple):", "", "The following error occurred when trying to handle this error:", "", "", " PromptDismissedException", "", " Prompt dismissed.", "", " at /opt/poetry/venv/lib/python3.8/site-packages/secretstorage/collection.py:159 in create_collection", " 155│ if len(collection_path) > 1:", " 156│ return Collection(connection, collection_path, session=session)", " 157│ dismissed, result = exec_prompt(connection, prompt)", " 158│ if dismissed:", " → 159│ raise PromptDismissedException('Prompt dismissed.')", " 160│ signature, collection_path = result", " 161│ assert signature == 'o'", " 162│ return Collection(connection, collection_path, session=session)", " 163│ ", "", "The following error occurred when trying to handle this error:", "", "", " InitError", "", " Failed to create the collection: Prompt dismissed..", "", " at /opt/poetry/venv/lib/python3.8/site-packages/keyring/backends/SecretService.py:63 in get_preferred_collection", " 59│ collection = secretstorage.Collection(bus, self.preferred_collection)", " 60│ else:", " 61│ collection = secretstorage.get_default_collection(bus)", " 62│ except exceptions.SecretStorageException as e:", " → 63│ raise InitError(\"Failed to create the collection: %s.\" % e)", " 64│ if collection.is_locked():", " 65│ collection.unlock()", " 66│ if collection.is_locked(): # User dismissed the prompt", " 67│ raise KeyringLocked(\"Failed to unlock the collection!\")" ] }
Running the command directly works fine, it looks like its requiring a keyring even tho Im not trying to publish anything..
The text was updated successfully, but these errors were encountered:
duplicate #1917
Sorry, something went wrong.
Indeed a duplicate
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
No branches or pull requests
-vvv
option) and have included the output below.Issue
Hi, Im trying to run the
poetry install
command through ansible.For some reason it does not work as seen below:
Running the command directly works fine, it looks like its requiring a keyring even tho Im not trying to publish anything..
The text was updated successfully, but these errors were encountered: