Coder Social home page Coder Social logo

alexeybond / irene-voice-assistant Goto Github PK

View Code? Open in Web Editor NEW

This project forked from janvarev/irene-voice-assistant

6.0 6.0 0.0 189.9 MB

Ирина - русский голосовой ассистент для работы оффлайн. Поддерживает скиллы через плагины.

License: Other

JavaScript 1.25% Python 87.78% CSS 0.08% HTML 0.22% Shell 0.02% Vue 1.78% TypeScript 5.21% Dockerfile 0.27% C++ 3.00% C 0.39%

irene-voice-assistant's People

Contributors

alexeybond avatar freetz13 avatar janvarev avatar lelostsamurai avatar mgorr avatar modos189 avatar sergeymi37 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

irene-voice-assistant's Issues

Error running code, outdated dependencies

python -m irene
...
  File "D:\_proj\_va\bond\Irene-Voice-Assistant\irene\plugin_loader\core_plugins\plugin_discovery.py", line 2, in <module>
    from collections import Iterable
...
  File "D:\_proj\_va\bond\Irene-Voice-Assistant\irene_plugin_web_face\plugin_out_tts_serverside.py", line 1, in <module>
    from collections import Callable

The solution is described in
https://stackoverflow.com/questions/72032032/importerror-cannot-import-name-iterable-from-collections-in-python

try:
    from collections.abc import Iterable
except ImportError:
    from collections import Iterable

при старте PermissionError: [Errno 13] Permission denied: '/irene/config'

ubuntu 22.04 server

docker run --rm -it --publish 8086:8086 -v "$HOME/irene:/irene"   alexeybond/irene:latestTraceback (most recent call last):
  File "/usr/local/lib/python3.9/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.9/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/home/python/irene/__main__.py", line 15, in <module>
    launch_application(
  File "/home/python/irene/plugin_loader/launcher.py", line 142, in launch_application
    call_all(pm.get_operation_sequence('bootstrap'), pm)
  File "/home/python/irene/plugin_loader/run_operation.py", line 30, in call_all
    step.step(*args, **kwargs)
  File "/home/python/irene/plugin_loader/core_plugins/config.py", line 423, in bootstrap
    self._init_config_scope(step)
  File "/home/python/irene/plugin_loader/core_plugins/config.py", line 365, in _init_config_scope
    main_file_path = self._get_config_file(config_step.plugin.name)
  File "/home/python/irene/plugin_loader/core_plugins/config.py", line 337, in _get_config_file
    self._ensure_config_dir()
  File "/home/python/irene/plugin_loader/core_plugins/config.py", line 281, in _ensure_config_dir
    self._config_dir.mkdir(exist_ok=True, parents=True)
  File "/usr/local/lib/python3.9/pathlib.py", line 1323, in mkdir
    self._accessor.mkdir(self, mode)
PermissionError: [Errno 13] Permission denied: '/irene/config'
ls -al
drwxr-xr-x  2 root root 4096 Nov 26 14:09 irene

Мне на скорую руку помогло sudo chmod 777 -R ./irene

Compilation error: use of deleted function 'Audio::Audio(const Audio&)'

E:\MigrationFolder\projects\Arduino\esp32-client\irene-esp32-arduino-client\audio_playback.cpp:23:50: error: use of deleted function 'Audio::Audio(const Audio&)'
 static Audio audio = Audio(false, 3, OUT_I2S_PORT);
                                                  ^
In file included from E:\MigrationFolder\projects\Arduino\esp32-client\irene-esp32-arduino-client\audio_playback.cpp:8:
c:\Users\aden\Documents\Arduino\libraries\ESP32-audioI2S-3.0.8\src/Audio.h:127:7: note: 'Audio::Audio(const Audio&)' is implicitly deleted because the default definition would be ill-formed:
 class Audio : private AudioBuffer{
       ^~~~~
c:\Users\aden\Documents\Arduino\libraries\ESP32-audioI2S-3.0.8\src/Audio.h:127:7: error: use of deleted function 'std::atomic<short int>::atomic(const std::atomic<short int>&)'
In file included from c:\Users\aden\Documents\Arduino\libraries\ESP32-audioI2S-3.0.8\src/Audio.h:25,
                 from E:\MigrationFolder\projects\Arduino\esp32-client\irene-esp32-arduino-client\audio_playback.cpp:8:
c:\users\aden\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\esp-2021r2-patch5-8.4.0\xtensa-esp32-elf\include\c++\8.4.0\atomic:622:7: note: declared here
       atomic(const atomic&) = delete;
       ^~~~~~
In file included from E:\MigrationFolder\projects\Arduino\esp32-client\irene-esp32-arduino-client\audio_playback.cpp:8:
c:\Users\aden\Documents\Arduino\libraries\ESP32-audioI2S-3.0.8\src/Audio.h:127:7: error: use of deleted function 'std::atomic<short int>::atomic(const std::atomic<short int>&)'
 class Audio : private AudioBuffer{
       ^~~~~
In file included from c:\Users\aden\Documents\Arduino\libraries\ESP32-audioI2S-3.0.8\src/Audio.h:25,
                 from E:\MigrationFolder\projects\Arduino\esp32-client\irene-esp32-arduino-client\audio_playback.cpp:8:
c:\users\aden\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\esp-2021r2-patch5-8.4.0\xtensa-esp32-elf\include\c++\8.4.0\atomic:622:7: note: declared here
       atomic(const atomic&) = delete;
       ^~~~~~
In file included from E:\MigrationFolder\projects\Arduino\esp32-client\irene-esp32-arduino-client\audio_playback.cpp:8:
c:\Users\aden\Documents\Arduino\libraries\ESP32-audioI2S-3.0.8\src/Audio.h:127:7: error: use of deleted function 'std::atomic<short unsigned int>::atomic(const std::atomic<short unsigned int>&)'
 class Audio : private AudioBuffer{
       ^~~~~
In file included from c:\Users\aden\Documents\Arduino\libraries\ESP32-audioI2S-3.0.8\src/Audio.h:25,
                 from E:\MigrationFolder\projects\Arduino\esp32-client\irene-esp32-arduino-client\audio_playback.cpp:8:
c:\users\aden\appdata\local\arduino15\packages\esp32\tools\xtensa-esp32-elf-gcc\esp-2021r2-patch5-8.4.0\xtensa-esp32-elf\include\c++\8.4.0\atomic:645:7: note: declared here
       atomic(const atomic&) = delete;
       ^~~~~~

не компилиться проект в ArduinoIDE может сталкивался?

Неправильное объявление класса

В Irene-Voice-Assistant/esp32-client/irene-esp32-arduino-client
/audio_playback.cpp
В 23 строчке идёт неправильное объявление класса Audio из-за этого программа не хочет компилироваться.
Правильный вариант:
static Audio audio(false, 3, OUT_I2S_PORT);

Error running code. How to change the connected device?

 python -m irene
 ...
   raise PortAudioError(errormsg, err, hosterror_info)
sounddevice.PortAudioError: Error opening RawInputStream: Unanticipated host error [PaErrorCode -9999]: 'Системной функции передан неправильный параметр.' [MME error 11]

In the original it was like this

python runva_vosk.py -d 24

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.