question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

poetry 1.0.0b4 hangs

See original GitHub issue
$ poetry self:update --preview
Updating to 1.0.0b4
 - Downloading poetry-1.0.0b4-linux.tar.gz 100%

Poetry (1.0.0b4) is installed now. Great!

When I try to start poetry, it hangs, nothing happens:

$ poetry

Then, if I terminate it with Ctrl+C, this is the output I get:

^CTraceback (most recent call last):
  File "/home/jabba/.poetry/bin/poetry", line 12, in <module>
    from poetry.console import main
  File "/home/jabba/.poetry/lib/poetry/console/__init__.py", line 1, in <module>
    from .application import Application
  File "/home/jabba/.poetry/lib/poetry/console/application.py", line 5, in <module>
    from .commands.about import AboutCommand
  File "/home/jabba/.poetry/lib/poetry/console/commands/__init__.py", line 4, in <module>
    from .check import CheckCommand
  File "/home/jabba/.poetry/lib/poetry/console/commands/check.py", line 1, in <module>
    from poetry.factory import Factory
  File "/home/jabba/.poetry/lib/poetry/factory.py", line 17, in <module>
    from .packages.dependency import Dependency
  File "/home/jabba/.poetry/lib/poetry/packages/__init__.py", line 7, in <module>
    from .dependency import Dependency
  File "/home/jabba/.poetry/lib/poetry/packages/dependency.py", line 10, in <module>
    from poetry.utils.helpers import canonicalize_name
  File "/home/jabba/.poetry/lib/poetry/utils/helpers.py", line 11, in <module>
    from keyring import delete_password
  File "/home/jabba/.poetry/lib/poetry/_vendor/py3.7/keyring/__init__.py", line 1, in <module>
    from .core import (
  File "/home/jabba/.poetry/lib/poetry/_vendor/py3.7/keyring/core.py", line 189, in <module>
    init_backend()
  File "/home/jabba/.poetry/lib/poetry/_vendor/py3.7/keyring/core.py", line 91, in init_backend
    keyrings = filter(limit, backend.get_all_keyring())
  File "/home/jabba/.poetry/lib/poetry/_vendor/py3.7/keyring/util/__init__.py", line 22, in wrapper
    func.always_returns = func(*args, **kwargs)
  File "/home/jabba/.poetry/lib/poetry/_vendor/py3.7/keyring/backend.py", line 204, in get_all_keyring
    return list(rings)
  File "/home/jabba/.poetry/lib/poetry/_vendor/py3.7/keyring/util/__init__.py", line 33, in suppress_exceptions
    for callable in callables:
  File "/home/jabba/.poetry/lib/poetry/_vendor/py3.7/keyring/util/properties.py", line 26, in __get__
    return self.fget.__get__(None, owner)()
  File "/home/jabba/.poetry/lib/poetry/_vendor/py3.7/keyring/backend.py", line 64, in viable
    cls.priority
  File "/home/jabba/.poetry/lib/poetry/_vendor/py3.7/keyring/util/properties.py", line 26, in __get__
    return self.fget.__get__(None, owner)()
  File "/home/jabba/.poetry/lib/poetry/_vendor/py3.7/keyring/backends/SecretService.py", line 41, in priority
    list(secretstorage.get_all_collections(bus))
  File "/home/jabba/.poetry/lib/poetry/_vendor/py3.7/secretstorage/collection.py", line 153, in get_all_collections
    for collection_path in service.get_property('Collections'):
  File "/home/jabba/.poetry/lib/poetry/_vendor/py3.7/secretstorage/util.py", line 65, in get_property
    (signature, value), = self.send_and_get_reply(msg)
  File "/home/jabba/.poetry/lib/poetry/_vendor/py3.7/secretstorage/util.py", line 47, in send_and_get_reply
    return self._connection.send_and_get_reply(msg)
  File "/home/jabba/.poetry/lib/poetry/_vendor/py3.7/jeepney/integrate/blocking.py", line 67, in send_and_get_reply
    self.recv_messages()
  File "/home/jabba/.poetry/lib/poetry/_vendor/py3.7/jeepney/integrate/blocking.py", line 55, in recv_messages
    b = self.sock.recv(4096)
KeyboardInterrupt

Environment: Manjaro Linux, Python 3.7

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8

github_iconTop GitHub Comments

1reaction
jabbalacicommented, Dec 12, 2019

Version 1.0.0 came out. I updated poetry 0.12.17 to the stable 1.0.0 and it still hangs on Manjaro. Developers of poetry: how to solve this issue?

0reactions
jabbalacicommented, Jan 18, 2020

The issue got solved! Manjaro came out with a larger update and the new poetry doesn’t hang. Current version of poetry is 1.0.2.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Poetry hangs when installing torch - python - Stack Overflow
Short Answer. When I've installed packages with Poetry, I've seen some packages, like pylint, only display the line. Installing pylint ( ...
Read more >
History | Poetry - Python dependency management and ...
Fix an issue where Poetry can hang after being interrupted due to stale locking in cache (#6471). Fix an issue where the output...
Read more >
poetry - PyPI
Poetry : Python packaging and dependency management made easy ... Poetry helps you declare, manage and install dependencies of Python projects, ensuring you...
Read more >
pyproject.toml · Gitee 极速下载/poetry
Cachy frozen to test backwards compatibility for `poetry.utils.cache`. cachy = "0.3.0". deepdiff = "^5.0". flatdict = "^4.0.1". httpretty = "^1.0".
Read more >
Dependency Management With Python Poetry
Learn how Python Poetry will help you start new projects, ... ["poetry-core>=1.0.0"] 17build-backend = "poetry.core.masonry.api".
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found