Skip to content

Medusa 1.0.25 fails to start after update #12129

@Cyntech

Description

@Cyntech

Describe the bug
Medusa fails to start after the latest update 1.0.25

To Reproduce
Steps to reproduce the behavior:
I'm not sure if it's reproducable, however, I simply updated Medusa via the web interface, restarted and it failed to start.

  1. Go to Windows PowerShell
  2. Change to Medusa directory
  3. Run Medusa
  4. See error:
PS C:\Users\me> C:\Medusa\Python\python.exe "C:\Medusa\Medusa\start.py" --nolaunch --datadir="C:\Medusa\Data"
Traceback (most recent call last):
  File "C:\Medusa\Medusa\start.py", line 6, in <module>
    from medusa.__main__ import main
  File "C:\Medusa\Medusa\medusa\__init__.py", line 24, in <module>
    initialize()
  File "C:\Medusa\Medusa\medusa\init\__init__.py", line 34, in initialize
    _urllib3_disable_warnings()
  File "C:\Medusa\Medusa\medusa\init\__init__.py", line 151, in _urllib3_disable_warnings
    import requests
  File "C:\Medusa\Medusa\ext\requests\__init__.py", line 43, in <module>
    import urllib3
  File "C:\Medusa\Medusa\ext\urllib3\__init__.py", line 14, in <module>
    from . import exceptions
  File "C:\Medusa\Medusa\ext\urllib3\exceptions.py", line 26, in <module>
    _TYPE_REDUCE_RESULT = tuple[typing.Callable[..., object], tuple[object, ...]]
TypeError: 'type' object is not subscriptable

At the time of update, I was 44 commits behind.

Expected behavior
It should start up successfully and be able to be accessed in the web browser.

Screenshots
If applicable, add screenshots to help explain your problem.

Medusa (please complete the following information):

  • OS: Windows 11
  • Branch: master
  • Commit: unsure
  • Python version: 3.7.3
  • Database version: unsure

Debug logs (at least 50 lines):
Medusa does not start, can't access debug logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions