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

pycharm debugger with reloadium can not run #208

Open
dyyTT opened this issue Dec 25, 2024 · 0 comments
Open

pycharm debugger with reloadium can not run #208

dyyTT opened this issue Dec 25, 2024 · 0 comments

Comments

@dyyTT
Copy link

dyyTT commented Dec 25, 2024

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.

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