Skip to content

Additional warning text in pip output breaks Mu's processing of pip list during venv creation/verification #1945

@aroberge

Description

@aroberge

mu.log
REMEMBER TO ATTACH YOUR LOG FILE

Version: 1.1.0b7
Locale: en_US
Platform: Windows 10 10.0.19043 AMD64

Traceback (most recent call last):
  File "C:\Users\andre\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\mu\app.py", line 159, in run
    raise ex
  File "C:\Users\andre\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\mu\app.py", line 146, in run
    venv.ensure_and_create(self.display_text)
  File "C:\Users\andre\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\mu\virtual_environment.py", line 621, in ensure_and_create
    self.recreate()
  File "C:\Users\andre\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\mu\virtual_environment.py", line 566, in recreate
    self.create()
  File "C:\Users\andre\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\mu\virtual_environment.py", line 773, in create
    self.register_baseline_packages()
  File "C:\Users\andre\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\mu\virtual_environment.py", line 892, in register_baseline_packages
    packages = list(self.pip.installed())
  File "C:\Users\andre\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\mu\virtual_environment.py", line 351, in installed
    name, version = line.split()[:2]
ValueError: not enough values to unpack (expected 2, got 1)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions