Closed chloechow closed 1 year ago
Hi, @chloechow! The development moved further last days a lot. I have updated Reddit post, could you reproduce the issue with the actual commands from https://github.com/nexus-stc/stc/tree/master/geck ? Pay an attention that the name of package has been changed as well as the command itself.
Feel free to re-open if the issue remains
The newer version 1.4.4 works on my Linux machine, thanks.
Hi,
I got the pyo3_asyncio.RustPanic: rust future panicked error on my Linux machine using the commands in https://github.com/nexus-stc/stc/tree/master/geck and after installing IPFS and stc-geck a month ago.
Linux Mint 21.2 Victoria sct-geck version 1.8.38
INFO: Setting up indices...
thread 'tokio-runtime-worker' panicked at /home/runner/work/summa/summa/summa-core/src/directories/network_directory.rs:78:23:
HyperError(hyper::Error(Connect, ConnectError("tcp connect error", Os { code: 111, kind: ConnectionRefused, message: "Connection refused" })))
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Traceback (most recent call last):
File "/home/ignacio/miniconda3/envs/downSci/bin/geck", line 8, in <module>
sys.exit(main())
File "/home/ignacio/miniconda3/envs/downSci/lib/python3.8/site-packages/stc_geck/cli.py", line 238, in main
fire.Fire(stc_geck_cli, name='geck')
File "/home/ignacio/miniconda3/envs/downSci/lib/python3.8/site-packages/fire/core.py", line 141, in Fire
component_trace = _Fire(component, args, parsed_flag_args, context, name)
File "/home/ignacio/miniconda3/envs/downSci/lib/python3.8/site-packages/fire/core.py", line 475, in _Fire
component, remaining_args = _CallAndUpdateTrace(
File "/home/ignacio/miniconda3/envs/downSci/lib/python3.8/site-packages/fire/core.py", line 689, in _CallAndUpdateTrace
component = loop.run_until_complete(fn(*varargs, **kwargs))
File "/home/ignacio/miniconda3/envs/downSci/lib/python3.8/asyncio/base_events.py", line 616, in run_until_complete
return future.result()
File "/home/ignacio/miniconda3/envs/downSci/lib/python3.8/site-packages/stc_geck/cli.py", line 25, in wrapper_func
return await func(self, *args, **kwargs)
File "/home/ignacio/miniconda3/envs/downSci/lib/python3.8/site-packages/stc_geck/cli.py", line 176, in serve
async with self.geck:
File "/home/ignacio/miniconda3/envs/downSci/lib/python3.8/site-packages/aiokit/aiothing.py", line 81, in __aenter__
await self.start()
File "/home/ignacio/miniconda3/envs/downSci/lib/python3.8/site-packages/aiokit/aiothing.py", line 39, in guarded_fn
r = await fn(*args, **kwargs)
File "/home/ignacio/miniconda3/envs/downSci/lib/python3.8/site-packages/stc_geck/client.py", line 166, in start
await self.summa_embed_server.start()
pyo3_asyncio.RustPanic: rust future panicked
ERROR:asyncio:Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7fbcf3866ac0>
ERROR:asyncio:Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x7fbcf3866c10>
use summa_embed version 0.22.4 It doesn't work with the latest summa_embed
Hi,
Thanks for creating such powerful creative tool. I followed the post on Reddit to use the STC.
I can download a file successfully with this command last week:
stc-tools - download doi:10.1177/1745691612459058 file.pdf
But today, I failed to run it and got
pyo3_asyncio.RustPanic: rust future panicked
error.Environment