Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SqliteError errors preventing load #7

Open
scott-vector opened this issue Jul 8, 2022 · 9 comments
Open

SqliteError errors preventing load #7

scott-vector opened this issue Jul 8, 2022 · 9 comments

Comments

@scott-vector
Copy link

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
Copy link
Owner

dunky11 commented Jul 13, 2022

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

@scott-vector
Copy link
Author

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
Copy link
Owner

dunky11 commented Jul 14, 2022

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
Copy link
Author

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

@scott-vector
Copy link
Author

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
Copy link

snufas commented Aug 2, 2022

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

@snufas
Copy link

snufas commented Aug 2, 2022

@scott-vector
did you got it working?

@Snowad14
Copy link

Snowad14 commented Aug 12, 2022

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
Copy link

snufas commented Aug 12, 2022

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants