Comments (4)
I've installed speech note on other desktops, with the same configuration with NixOS, but with different Desktop Environments on different systems: KDE Plasma and GNOME.
Speech Note crashes when I use KDE Plasma 5.27 as my DE. On GNOME, Speech Note seems to work perfectly fine. I've tried Plasma and Speech note on two different desktops, and they both crash. GNOME doesn't seem to have an issue with Speech Note.
I've tried running
net.mkiol.speechnote
via terminal, and it shows me:ALSA lib ../../oss/pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp ALSA lib ../../../src/pcm/pcm_direct.c:2045:(snd1_pcm_direct_parse_open_conf) The field ipc_gid must be a valid group (create group audio)
GNOME shows:
qt.qpa.qgnomeplatform: Could not find color scheme "" ALSA lib ../../oss/pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp ALSA lib ../../../src/pcm/pcm_direct.c:2045:(snd1_pcm_direct_parse_open_conf) The field ipc_gid must be a valid group (create group audio)
Yet GNOME is able to properly run Speech Note, with no sudden crashes at start.
I'm running it on this system, seemingly without problem:
Operating System: Kubuntu 24.04
KDE Plasma Version: 5.27.11
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.13
Kernel Version: 6.8.0-35-generic (64-bit)
Graphics Platform: X11
Processors: 16 ร AMD Ryzen 7 6800U with Radeon Graphics
Memory: 29.1 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: Micro Computer (HK) Tech Limited
Product Name: Mercury series
System Version: Version 1.0
from dsnote.
Hi. Thanks for the report.
Could you try start the app like this:
$ flatpak run --command=sh net.mkiol.SpeechNote
[๐ฆ net.mkiol.SpeechNote ~]$ dsnote --verbose
Interesting are a few last log lines before crash.
You may also try to start app in a debugger, like this:
$ flatpak run --command=sh net.mkiol.SpeechNote
[๐ฆ net.mkiol.SpeechNote ~]$ gdb --args dsnote --verbose
Enable debuginfod for this session? (y or [n]) n
(gdb) run
after crash:
(gdb) bt
(gdb) quit
exit
from dsnote.
$ flatpak run --command=sh net.mkiol.SpeechNote
[๐ฆ net.mkiol.SpeechNote ~]$ dsnote --verbose
Here's my output:
flatpak run --command=sh net.mkiol.SpeechNote
[๐ฆ net.mkiol.SpeechNote ~]$ dsnote --verbose
[I] 12:04:13.673 0x7f374b816d00 init:49 - logging to stderr enabled
[D] 12:04:13.673 0x7f374b816d00 () - version: 4.4.0
[D] 12:04:13.674 0x7f374b816d00 parse_cpuinfo:117 - cpu flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb pti ssbd ibrs ibpb stibp tpr_shadow flexpriority ept vpid ept_ad fsgsbase tsc_adjust sgx bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp vnmi md_clear flush_l1d arch_capabilities
[D] 12:04:13.674 0x7f374b816d00 parse_cpuinfo:125 - cpuinfo: processor-count=8, flags=[avx, avx2, fma, f16c, ]
[D] 12:04:13.674 0x7f374b816d00 () - translation: "en_US"
[W] 12:04:13.674 0x7f374b816d00 () - failed to install translation
[D] 12:04:13.674 0x7f374b816d00 () - starting standalone app
[D] 12:04:13.675 0x7f374b816d00 () - app: net.mkiol dsnote
[D] 12:04:13.675 0x7f374b816d00 () - config location: "/home/nprevail/.var/app/net.mkiol.SpeechNote/config"
[D] 12:04:13.675 0x7f374b816d00 () - data location: "/home/nprevail/.var/app/net.mkiol.SpeechNote/data/net.mkiol/dsnote"
[D] 12:04:13.675 0x7f374b816d00 () - cache location: "/home/nprevail/.var/app/net.mkiol.SpeechNote/cache/net.mkiol/dsnote"
[D] 12:04:13.675 0x7f374b816d00 () - settings file: "/home/nprevail/.var/app/net.mkiol.SpeechNote/config/net.mkiol/dsnote/settings.conf"
[D] 12:04:13.675 0x7f374b816d00 () - platform: "wayland"
[D] 12:04:13.675 0x7f374b816d00 () - enforcing num threads: 0
[D] 12:04:13.911 0x7f374b816d00 () - supported audio input devices:
ALSA lib ../../oss/pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp
[D] 12:04:13.928 0x7f374b816d00 () - "pulse"
[D] 12:04:13.946 0x7f374b816d00 () - "default"
ALSA lib ../../../src/pcm/pcm_direct.c:2045:(snd1_pcm_direct_parse_open_conf) The field ipc_gid must be a valid group (create group audio)
ALSA lib ../../../src/pcm/pcm_direct.c:2045:(snd1_pcm_direct_parse_open_conf) The field ipc_gid must be a valid group (create group audio)
[D] 12:04:13.950 0x7f374b816d00 () - "alsa_input.pci-0000_00_1f.3.analog-stereo"
[D] 12:04:13.950 0x7f374b816d00 () - "alsa_input.usb-0c76_USB_PnP_Audio_Device-00.mono-fallback"
[D] 12:04:13.950 0x7f374b816d00 () - "alsa_output.pci-0000_00_1f.3.analog-stereo.monitor"
[D] 12:04:13.987 0x7f374b816d00 () - starting service: app-standalone
[D] 12:04:13.990 0x7f374b816d00 () - mbrola dir: "/app/bin"
[D] 12:04:13.990 0x7f374b816d00 () - espeak dir: "/app/bin"
[D] 12:04:13.990 0x7f372f200600 loop:75 - py executor loop started
[D] 12:04:14.7 0x7f3739200600 () - config version: 65 65
[D] 12:04:14.13 0x7f374b816d00 () - module already unpacked: "rhvoicedata"
[D] 12:04:14.14 0x7f374b816d00 () - module already unpacked: "rhvoiceconfig"
[D] 12:04:14.37 0x7f374b816d00 () - module already unpacked: "espeakdata"
[D] 12:04:14.38 0x7f374b816d00 () - default stt model not found: "en_vosk_large"
[D] 12:04:14.38 0x7f374b816d00 () - default tts model not found: "en"
[D] 12:04:14.38 0x7f374b816d00 () - default mnt lang not found: "en"
[D] 12:04:14.38 0x7f374b816d00 () - new default mnt lang: "en"
[D] 12:04:14.38 0x7f374b816d00 () - service refresh status, new state: busy
[D] 12:04:14.38 0x7f374b816d00 () - service state changed: unknown => busy
[D] 12:04:14.38 0x7f374b816d00 () - delaying features availability
[D] 12:04:14.41 0x7f374b816d00 () - runtime prefix: "/app"
[D] 12:04:14.42 0x7f374b816d00 () - available styles: ("Default", "Fusion", "Imagine", "Material", "org.kde.breeze", "org.kde.desktop", "Plasma", "Universal")
[D] 12:04:14.42 0x7f374b816d00 () - style paths: ("/usr/lib/qml/QtQuick/Controls.2")
[D] 12:04:14.42 0x7f374b816d00 () - import paths: ("/usr/lib/qml", "/app/bin", "qrc:/qt-project.org/imports")
[D] 12:04:14.42 0x7f374b816d00 () - library paths: ("/usr/share/runtime/lib/plugins", "/usr/lib/plugins", "/app/bin")
[D] 12:04:14.42 0x7f374b816d00 () - using auto qt style
[D] 12:04:14.42 0x7f374b816d00 () - XDG_CURRENT_DESKTOP: KDE
[D] 12:04:14.42 0x7f374b816d00 () - switching to style: "org.kde.desktop"
[D] 12:04:14.70 0x7f372f200600 libs_availability:61 - checking: torch cuda
[D] 12:04:14.128 0x7f3739200600 () - models changed
[D] 12:04:14.968 0x7f374b816d00 () - starting app: app-standalone
[D] 12:04:14.968 0x7f374b816d00 () - app service state: unknown => busy
[W] 12:04:14.969 0x7f374b816d00 () - hot keys are supported only under x11
logger error: invalid format string
qrc:/qml/main.qml:340:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
logger error: invalid format string
qrc:/qml/main.qml:331:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
logger error: invalid format string
qrc:/qml/Notepad.qml:24:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
logger error: invalid format string
qrc:/qml/Translator.qml:29:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
logger error: invalid format string
qrc:/qml/MainToolBar.qml:282:13: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
[D] 12:04:15.148 0x7f374b816d00 onCompleted:180 - default font pixel size: 13
[D] 12:04:15.168 0x7f374b816d00 () - default tts model not found: "en"
[D] 12:04:15.168 0x7f374b816d00 () - default mnt lang not found: "en"
[D] 12:04:15.168 0x7f374b816d00 () - new default mnt lang: "en"
[D] 12:04:15.168 0x7f374b816d00 () - service refresh status, new state: busy
[D] 12:04:15.168 0x7f374b816d00 () - service refresh status, new state: busy
[D] 12:04:15.195 0x7f374b816d00 () - trying features availability update: false
[D] 12:04:15.196 0x7f374b816d00 () - stt models changed
[D] 12:04:15.198 0x7f374b816d00 () - update listen
[D] 12:04:15.198 0x7f374b816d00 () - app stt configured: false => true
[D] 12:04:15.199 0x7f374b816d00 () - app active stt model: "" => "en_vosk_large"
[D] 12:04:15.199 0x7f374b816d00 () - update listen
[D] 12:04:15.199 0x7f374b816d00 () - tts models changed
[D] 12:04:15.199 0x7f374b816d00 () - update listen
[W] 12:04:15.199 0x7f374b816d00 () - no available tts models for in mnt
[W] 12:04:15.199 0x7f374b816d00 () - no available tts models for out mnt
[D] 12:04:15.199 0x7f374b816d00 () - ttt models changed
[D] 12:04:15.204 0x7f374b816d00 () - mnt langs changed
[D] 12:04:15.205 0x7f374b816d00 () - update listen
[W] 12:04:15.205 0x7f374b816d00 () - no available mnt langs
[W] 12:04:15.205 0x7f374b816d00 () - no available mnt out langs
[D] 12:04:15.853 0x7f374b816d00 () - trying features availability update: false
[D] 12:04:16.853 0x7f374b816d00 () - trying features availability update: false
[D] 12:04:17.748 0x7f372f200600 libs_availability:69 - checking: coqui tts
[D] 12:04:17.750 0x7f372f200600 libs_availability:77 - checking: faster-whisper
[D] 12:04:17.853 0x7f374b816d00 () - trying features availability update: false
[D] 12:04:18.853 0x7f374b816d00 () - trying features availability update: false
[D] 12:04:18.894 0x7f372f200600 libs_availability:85 - checking: transformers
[D] 12:04:18.894 0x7f372f200600 libs_availability:87 - checking: accelerate
I'm unable to run gdb
on NixOS. It doesn't seem to be configured on my current system.
from dsnote.
I'm unable to run gdb on NixOS. It doesn't seem to be configured on my current system.
Sorry, my mistake - please add also --devel
option. The debugger is included in flatpak runtime, so you don't need to install it separately.
Updated command:
$ flatpak run --command=sh --devel net.mkiol.SpeechNote
[๐ฆ net.mkiol.SpeechNote ~]$ gdb --args dsnote --verbose
Enable debuginfod for this session? (y or [n]) n
(gdb) run
after crash:
(gdb) bt
(gdb) quit
exit
It looks that app crashes in python library accelerate
check. You may try to disable any python support with --py-scan-off
option:
flatpak run net.mkiol.SpeechNote --verbose --py-scan-off
from dsnote.
Related Issues (20)
- Read only selected text. HOT 4
- Added dictionary support HOT 1
- Error: โtranslation engine initialization has failedโ. HOT 3
- Crashes when clicking listen with any whisper model HOT 23
- Start listening, text to active window not working HOT 4
- App stuck in tray icon HOT 4
- runtime org.kde.Platform branch 5.15-22.08 is end-of-life HOT 2
- The app is crashing when GPU acceleration is enabled using any Whisper model HOT 13
- flatpak v4.5.0 won't start showing `std::runtime error pa failed` HOT 12
- Flatpak Add-ons are missing HOT 4
- Add a good voice? HOT 5
- Add extra Arabic diacritic and TTS models HOT 3
- Redirect text output to cursor ? [suggestion] HOT 5
- UX request: provide a button to swap languages (for translator) HOT 7
- can't build under Fedora 40 HOT 4
- Speech Note 4.6.0 Beta 2 HOT 6
- speech2text cuts long speeches HOT 2
- STT language auto-detection HOT 3
- Are you planning to add an API? HOT 4
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 dsnote.