Skip to content

pycharm debugger with reloadium can not run #208

@dyyTT

Description

@dyyTT

debugger log:

FLASK_APP = app.py
FLASK_ENV = development
FLASK_DEBUG = 1
In folder /Users/duanyingying/workSpace/pythonSpace/rag-dify/api
/opt/anaconda3/envs/python311/bin/python -X pycache_prefix=/Users/duanyingying/Library/Caches/JetBrains/PyCharm2024.2/cpython-cache -m reloadium_launcher pydev_proxy /Applications/software/PyCharm.app/Contents/plugins/python-ce/helpers/pydev/pydevd.py --module --multiprocess --qt-support=auto --client 127.0.0.1 --port 59234 --file flask run --port=5001
已连接到 pydev 调试器(内部版本号 242.23726.102)■■■■■■■■■■■■■■■
Reloadium 1.5.1
■■■■■■■■■■■■■■■
If you like this project consider giving a star at https://github.com/reloadware/reloadium
None of PyTorch, TensorFlow >= 2.0, or Flax have been found. Models won't be available and only tokenizers, configuration and file/data utilities can be used.
Exception ignored in thread started by: <bound method Thread._bootstrap of <l1111l11l1111111Il1l1(reloadium-show-forbidden-dialog, started daemon 6261960704)>>
Traceback (most recent call last):
File "/opt/anaconda3/envs/python311/lib/python3.11/threading.py", line 1002, in _bootstrap
self._bootstrap_inner()
File "/opt/anaconda3/envs/python311/lib/python3.11/threading.py", line 1049, in _bootstrap_inner
self._delete()
File "/opt/anaconda3/envs/python311/lib/python3.11/threading.py", line 1081, in _delete
del _active[get_ident()]
~~~~~~~^^^^^^^^^^^^^
KeyError: 6306600576
Traceback (most recent call last):
File "/opt/anaconda3/envs/python311/lib/python3.11/site-packages/flask/main.py", line 3, in
main()
File "", line 245, in locate_app
File "/opt/anaconda3/envs/python311/lib/python3.11/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/anaconda3/envs/python311/lib/python3.11/site-packages/click/decorators.py", line 92, in new_func
return ctx.invoke(f, obj, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 129, in release
RuntimeError: cannot release un-acquired lock

Desktop or remote (please complete the following information):**

  • OS: mac
  • M2
  • Reloadium package version: 1.5.1
  • PyCharm plugin version:
  • Editor: PyCharm 2024.2.4 (Professional Edition)
  • Python Version: 3.11.0
  • Python Architecture: 64bit
  • Run mode: debug

Additional context

Add any other context about the problem here.

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