Comments (4)
I just pushed this commit to avoid this error, not pretty but its working.
from ovos-docker.
When using Docker, you should not have logs into the containers as they are identical with what is already available in the stdout
.
To avoid the log to be created by the service, you should add this to your mycroft.conf
:
"logs": {
"path": "stdout"
}
From the README.md
:
If you need to get all the logs from the containers, you can run docker compose logs
:
docker compose -f docker-compose.yml -f docker-compose.skills.yml --env-file .env logs -n -f --tail 200
And the best practice to log containers stdout
would be to use a log aggregator such as Filebeat (but that could be a bit over kill, depends of your needs).
from ovos-docker.
then probably I did something wrong as in my MBP arm64 the stdout
does not work with an error message :(
xxx@xxx ~/Git/ovos/ovos-docker/compose (dev*) $ docker exec -it ovos_cli ovos-cli-client
Traceback (most recent call last):
File "/home/ovos/.venv/bin/ovos-cli-client", line 33, in <module>
sys.exit(load_entry_point('ovos-cli-client==0.0.1a1', 'console_scripts', 'ovos-cli-client')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ovos/.venv/lib/python3.11/site-packages/ovos_cli_client/__main__.py", line 63, in main
for f in os.listdir(log_dir):
^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'stdout'
from ovos-docker.
then probably I did something wrong as in my MBP arm64 the
stdout
does not work with an error message :(xxx@xxx ~/Git/ovos/ovos-docker/compose (dev*) $ docker exec -it ovos_cli ovos-cli-client Traceback (most recent call last): File "/home/ovos/.venv/bin/ovos-cli-client", line 33, in <module> sys.exit(load_entry_point('ovos-cli-client==0.0.1a1', 'console_scripts', 'ovos-cli-client')()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/ovos/.venv/lib/python3.11/site-packages/ovos_cli_client/__main__.py", line 63, in main for f in os.listdir(log_dir): ^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: 'stdout'
Yeah, you are facing this issue OpenVoiceOS/ovos-cli-client#12 which is related to ovos-cli
, and ovos-cli
is not really maintained anymore.
from ovos-docker.
Related Issues (20)
- Problem with upgrade under OSX arm64 HOT 1
- Default date_time skill version 0.2.2 does not work correclty in Italian HOT 1
- how to locally host mimic3 or piper? HOT 3
- g2p is not installed HOT 10
- Installing skill_ovos_fallback_chatgpt fails HOT 3
- Wayland and GUI HOT 3
- ovos_audio ignoring mycroft.conf HOT 14
- sdnotify (READY) support HOT 18
- cannot play start_listening HOT 8
- ovos-gui-plugin-shell-companion missing in gui_websocket container? HOT 1
- No module named 'mycroft_bus_client' within ovos_core logs HOT 3
- Listens, but doesn't answer HOT 18
- cannot set multiple networks without bridge network mode HOT 7
- Unable to deploy ovos-containers HOT 6
- _curses.error: setupterm: could not find terminal
- Documentation improvements
- Error while deploying on nas
- ovos-PHAL-plugin-respeaker-2mic Issue when installing with phal.list HOT 2
- Suppport custom .asoundrc HOT 2
- Skill install at every start of the container.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ovos-docker.