Discussions
Automatically end session after set time?
I was wondering if there is a way to configure the app so that any Formant session automatically ends it if has been open for more than say -- 5 or 10 min to prevent waste and make sure multi-taskers like me don't accidentally leave it up and running for a very long time?
Thanks!
Posted by Vt person 7 months ago
Device states in Formant
What are the different device states or device statuses in Formant?
Posted by Nicholas Boni over 1 year ago
mv: cannot stat '/usr/lib/formant/sidecar/sudoers.d/formant': No such file or directory dpkg: error processing package formant-sidecar (--configure):
When installing or uninstalling the Formant agent, I see the following error:
```text
Setting up formant-sidecar (1.125.74) ...
mv: cannot stat '/usr/lib/formant/sidecar/sudoers.d/formant': No such file or directory
dpkg: error processing package formant-sidecar (--configure):
installed formant-sidecar package post-installation script subprocess returned error exit status 1
```
What's causing this? How do I install the Formant agent?
Posted by Nicholas Boni over 1 year ago
Is it possible to put a button in teleop that issues a command with formant.run_script?
Can I do this?
Posted by Nicholas Boni over 1 year ago
How do I generate Formant agent logs?
I'm troubleshooting the Formant agent and want to generate a log of the agent. How do I do that?
Posted by Nicholas Boni over 1 year ago
ImportError: cannot import name 'cygrpc' from 'grpc._cython'
I'm seeing the following error in my Formant agent logs:
```
ERROR Media encoder: python3 uncaught exception
5月 17 16:06:51 formant-agent[5837]: Traceback (most recent call last):
5月 17 16:06:51 formant-agent[5837]: File "/usr/lib/formant/agent/media_encoder_main.py", line 16, in <module>
5月 17 16:06:51 formant-agent[5837]: from media_encoder.media_encoder import ( # noqa: E402
5月 17 16:06:51 formant-agent[5837]: File "/usr/lib/formant/agent/media_encoder/media_encoder.py", line 6, in <module>
5月 17 16:06:51 formant-agent[5837]: import grpc
5月 17 16:06:51 formant-agent[5837]: File "/usr/lib/formant/agent/dist-packages/grpc/__init__.py", line 23, in <module>
5月 17 16:06:51 formant-agent[5837]: from grpc._cython import cygrpc as _cygrpc
5月 17 16:06:51 formant-agent[5837]: ImportError: cannot import name 'cygrpc' from 'grpc._cython' (/usr/lib/formant/agent/dist-packages/grpc/_cython/__init__.py)
```
Posted by Nicholas Boni over 1 year ago