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

Bridge Exception: What is the issue? #141

Closed
lschaupp opened this issue Jun 20, 2024 · 1 comment
Closed

Bridge Exception: What is the issue? #141

lschaupp opened this issue Jun 20, 2024 · 1 comment

Comments

@lschaupp
Copy link

[JSE] /home/abc/anaconda3/envs/manager/lib/python3.9/site-packages/javascript/js/pyi.js:149
[JSE] throw new BridgeException(Attempt to access '${stack.join('.')}' failed.)
[JSE] ^
[JSE] BridgeException [Error]: Attempt to access '' failed. Python didn't respond in time (100000ms), look above for any Python errors. If no
errors, the API call hung.
[JSE] at //lib/python3.9/site-packages/javascript/js/pyi.js:149:13
[JSE] at waitFor (/home/abc/anaconda3/envs/manager/lib/python3.9/site-packages/javascript/js/pyi.js:46:26)
[JSE] at async PyBridge.call (/home/abc/anaconda3/envs/manager/lib/python3.9/site-packages/javascript/js/pyi.js:148:18)
[JSE] Node.js v22.2.0

@extremeheat
Copy link
Owner

That would depend on your code. The timeout is to prevent the bridge from being locked indefinitely waiting for a call. If you want to disable it you can set the REQ_TIMEOUT environment variable to 0.

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

2 participants