dunky11 / voicesmith

[WIP] VoiceSmith makes training text to speech models easy.
https://docs.voicesmith.io
Apache License 2.0
220 stars 32 forks source link

SqliteError errors preventing load #7

Open scott-vector opened 2 years ago

scott-vector commented 2 years ago

I am receiving the following errors when attempting to run the app:

⠹ Compiling Renderer Code(node:35366) UnhandledPromiseRejectionWarning: SqliteError: no such column: was_aligned at Database.prepare (/home/waldo/voicesmith/.webpack/main/index.js:652:21) at createTables (/home/waldo/voicesmith/.webpack/main/index.js:7648:8) at Object.getInstance (/home/waldo/voicesmith/.webpack/main/index.js:7678:17) at Object.getPath (/home/waldo/voicesmith/.webpack/main/index.js:8177:42) at /home/waldo/voicesmith/.webpack/main/index.js:8196:52 at /home/waldo/voicesmith/.webpack/main/index.js:5378:40 at step (/home/waldo/voicesmith/.webpack/main/index.js:5302:23) at Object.next (/home/waldo/voicesmith/.webpack/main/index.js:5283:53) at /home/waldo/voicesmith/.webpack/main/index.js:5277:71 at new Promise ()

AND

Error occurred in handler for 'fetch-needs-install': SqliteError: no such table: settings at Database.prepare (/home/waldo/voicesmith/.webpack/main/index.js:652:21) at Object.getPath (/home/waldo/voicesmith/.webpack/main/index.js:8178:22) at /home/waldo/voicesmith/.webpack/main/index.js:8196:52 at /home/waldo/voicesmith/.webpack/main/index.js:6545:93 at step (/home/waldo/voicesmith/.webpack/main/index.js:6518:23) at Object.next (/home/waldo/voicesmith/.webpack/main/index.js:6499:53) at /home/waldo/voicesmith/.webpack/main/index.js:6493:71 at new Promise () at __webpack_modules../src/electron/handles/install.ts.awaiter (/home/waldo/voicesmith/.webpack/main/index.js:6489:12) at /home/waldo/voicesmith/.webpack/main/index.js:6542:91 { code: 'SQLITE_ERROR'

dunky11 commented 2 years ago

Hi, is that version 0.2.0 downloaded from the releases page?

scott-vector commented 2 years ago

Actually, that was from me attempting to build it. When I ran the installer (after installing Docker Engine), I got "No Installation of Docker detected on this system" message, so I attempted to build it. If you can help me with the Docker issue, that would be the way I would prefer to go. Thank you.

dunky11 commented 2 years ago

Sure :) First of all I would strongly advise against using this toolkit at the moment, it is a work in progress and filled with bugs. If you still want to use it, you need to install Docker:

For Windows: Download Docker from https://docs.docker.com/desktop/install/windows-install/, click on "Docker Desktop for Windows" and follow the instructions, then start Docker. With Docker running in the background start VoiceSmith.

For Ubuntu: Follow instructions at https://docs.docker.com/engine/install/ubuntu/ and install Docker. You may need to restart your PC before Docker can be detected.

scott-vector commented 2 years ago

Thank you for the information. I will give this a try. I am just exploring to see how Voice Smith works.

scott-vector commented 2 years ago

Unfortunately even after installing docker as suggested and restarting, I can load docker in the CLI, but the Voice Smith app is still giving m the "No installation of Docker" message.

snufas commented 2 years ago

@dunky11 same issue here, any other recommendations? would love to try this out...

snufas commented 2 years ago

@scott-vector did you got it working?

Snowad14 commented 2 years ago

I quickly looked at the code and saw that it runs the docker info command and sees if there is an error which happens if docker is not configured for non-root users, either you can try to run voice-smith as root with no sandbox but that doesn't seem to work on all distributions, you can then configure to accept non-root commands: https://docs.docker.com/engine/install/linux-postinstall/ @snufas

snufas commented 2 years ago

@Snowad14 I loged in to the provided container an saw no sqlight db for voicesmith user running. one important thing though is i am running the project on windows. it would be easier if that electron app runs as a website ap.