VoxNovel: Trying to run on Ubuntu 24.04 Error when processing a chapter from my book.

I can run the application from the desktop, or by directly calling the script. It tries to load the chapter I created, but crashes just as it finishes reading the chapter with the error:

Traceback (most recent call last):
  File "/home/brian/VoxNovel/gui_run.py", line 1706, in <module>
    from styletts2 import tts as stts
ModuleNotFoundError: No module named 'styletts2'

I re-ran pip3 install styletts2, and tried again, but it still crashed.

I was using an .odt format, and saw this error:

Traceback (most recent call last):
  File "/usr/bin/ebook-convert", line 21, in <module>
    sys.exit(main())
             ^^^^^^
  File "/usr/lib/calibre/calibre/ebooks/conversion/cli.py", line 379, in main
    parser, plumber = create_option_parser(args, log)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/calibre/calibre/ebooks/conversion/cli.py", line 332, in create_option_parser
    plumber = Plumber(input, output, log, reporter)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/calibre/calibre/ebooks/conversion/plumber.py", line 723, in __init__
    raise ValueError('Input file must have an extension')
ValueError: Input file must have an extension
Success, File processed successfully!

I saved the chapter as a .txt file, and still got the above error.

Not sure what’s happening. The install appeared to go fine, but maybe it missed something?

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 20 (13 by maintainers)

Most upvoted comments

This worked great! Thank you so much for all the help!

The 2nd one. I’m looking at re-identifying the character or Voice actor for specific lines / sets of lines in the book.

Let me start with a couple of images.
Wrong_Voice_2 Wrong_Voice_1

Those show that the wrong voice has been set for that part. I’m wondering how I change the reader for those parts. in the image Wrong_Voice_1, it attributes the text to character Dave, but it should be the Narrator. In Wrong_Voice_2 it attributes the text to character ‘Man’, but should be Leo. Just not sure how to make it read the parts as the proper character.

Yes, I do for the voices, but what I mean is in the lower space where it shows who is reading which sections. In some cases it misidentifies the proper reader / voice to use.

I tried it but got dependency errors, so I just reran the installer, and now it seems to be working. Testing a chapter now.