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

"Unsupported operand types" on poetry develop #508

Closed
3 tasks done
cauebs opened this issue Oct 18, 2018 · 1 comment
Closed
3 tasks done

"Unsupported operand types" on poetry develop #508

cauebs opened this issue Oct 18, 2018 · 1 comment

Comments

@cauebs
Copy link
Contributor

cauebs commented Oct 18, 2018

  • I am on the latest Poetry version.
  • I have searched the issues of this repo and believe that this is not a duplicate.
  • If an exception occurs when executing a command, I executed it again in debug mode (-vvv option).
  • OS version and name: ArchLinux
  • Poetry version: 0.12.2

Issue

A Path was probably expected. I'll submit a PR addressing this in a few minutes.

$ poetry develop -vvv
                                                      
[TypeError]                            
unsupported operand type(s) for /: 'str' and 'str'  
                                                      
Exception trace:
 /home/cauebs/.local/venvs/poetry/lib/python3.7/site-packages/cleo/application.py in run() at line 94
   status_code = self.do_run(input_, output_)
 /home/cauebs/.local/venvs/poetry/lib/python3.7/site-packages/poetry/console/application.py in do_run() at line 88
   return super(Application, self).do_run(i, o)
 /home/cauebs/.local/venvs/poetry/lib/python3.7/site-packages/cleo/application.py in do_run() at line 197
   status_code = command.run(input_, output_)
 /home/cauebs/.local/venvs/poetry/lib/python3.7/site-packages/poetry/console/commands/command.py in run() at line 77
   return super(BaseCommand, self).run(i, o)
 /home/cauebs/.local/venvs/poetry/lib/python3.7/site-packages/cleo/commands/base_command.py in run() at line 136
   self.initialize(input_, output_)
 /home/cauebs/.local/venvs/poetry/lib/python3.7/site-packages/poetry/console/commands/env_command.py in initialize() at line 16
   o, self.poetry.package.name, cwd=self.poetry.file.parent
 /home/cauebs/.local/venvs/poetry/lib/python3.7/site-packages/poetry/utils/env.py in create_venv() at line 127
   env = cls.get(cwd=cwd)
 /home/cauebs/.local/venvs/poetry/lib/python3.7/site-packages/poetry/utils/env.py in get() at line 120
   return VirtualEnv(prefix, base_prefix)
 /home/cauebs/.local/venvs/poetry/lib/python3.7/site-packages/poetry/utils/env.py in __init__() at line 341
   super(VirtualEnv, self).__init__(path, base)
 /home/cauebs/.local/venvs/poetry/lib/python3.7/site-packages/poetry/utils/env.py in __init__() at line 49
   self._bin_dir = self._path / bin_dir

develop
Copy link

github-actions bot commented Mar 3, 2024

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant