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

yolk -S foo raises AttributeError: 'NoneType' object has no attribute 'insert' #22

Open
ioistired opened this issue Oct 29, 2019 · 1 comment

Comments

@ioistired
Copy link

➤ yolk -S foo
Traceback (most recent call last):
  File "/home/io/.local/bin/yolk", line 10, in <module>
    sys.exit(main())
  File "/home/io/.local/share/pipx/venvs/yolk1977/lib/python3.7/site-packages/yolk/cli.py", line 1173, in main
    my_yolk.run()
  File "/home/io/.local/share/pipx/venvs/yolk1977/lib/python3.7/site-packages/yolk/cli.py", line 224, in run
    return getattr(self, action)()
  File "/home/io/.local/share/pipx/venvs/yolk1977/lib/python3.7/site-packages/yolk/cli.py", line 801, in pypi_search
    spec.insert(0, search_arg.strip())
AttributeError: 'NoneType' object has no attribute 'insert'
@ioistired
Copy link
Author

Oh, that traceback is from yolk1977, not yolk3k. On yolk3k I get the same traceback though:

➤ pipx run --spec yolk3k yolk -S foo
Traceback (most recent call last):
  File "/home/io/.local/share/pipx/.cache/0e1ebcfb813fc5a/bin/yolk", line 10, in <module>
    sys.exit(main())
  File "/home/io/.local/share/pipx/.cache/0e1ebcfb813fc5a/lib/python3.7/site-packages/yolk/cli.py", line 1171, in main
    my_yolk.run()
  File "/home/io/.local/share/pipx/.cache/0e1ebcfb813fc5a/lib/python3.7/site-packages/yolk/cli.py", line 224, in run
    return getattr(self, action)()
  File "/home/io/.local/share/pipx/.cache/0e1ebcfb813fc5a/lib/python3.7/site-packages/yolk/cli.py", line 801, in pypi_search
    spec.insert(0, search_arg.strip())
AttributeError: 'NoneType' object has no attribute 'insert'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant