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

futures_unordered_driver.rs already borrowed: BorrowMutError (0.307.0) #898

Open
louis030195 opened this issue Sep 6, 2024 · 2 comments

Comments

@louis030195
Copy link

louis030195 commented Sep 6, 2024

code is here https://github.com/mediar-ai/screenpipe/blob/pipe-logs/screenpipe-core/src/pipes.rs

https://github.com/mediar-ai/screenpipe/blob/4ff7d7d4b81a2f9ca54abc5f40b63f3169f8f770/screenpipe-server/src/bin/screenpipe-server.rs#L474

js code: https://github.com/mediar-ai/screenpipe/blob/pipe-logs/examples/typescript/pipe-stream-ocr-text/main.js

is that the right way to run multiple JS/TS file in parallel?

error is nondeterministic, sometimes it runs sometimes it crashes

not sure if i'm doing something wrong or it's a bug

@louis030195
Copy link
Author

and https://github.com/mediar-ai/screenpipe/blob/pipe-logs/screenpipe-core/src/deno/runtime.js

i noticed if i comment the sendLogs it stops ocurring

https://github.com/mediar-ai/screenpipe/blob/4ff7d7d4b81a2f9ca54abc5f40b63f3169f8f770/screenpipe-core/src/deno/runtime.js#L34

as if there is some limit of promise or something or spamming too much deno?

@littledivy
Copy link
Member

Can you provide the full backtrace with RUST_BACKTRACE=1? Also https://github.com/mediar-ai/screenpipe/blob/pipe-logs/examples/typescript/pipe-stream-ocr-text/main.js is 404

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