Code Monkey home page Code Monkey logo

srt-audio's People

Contributors

magnusjwatson2786 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

srt-audio's Issues

Fails on Linux:

          Fails on Linux:
ERROR: Could not find a version that satisfies the requirement pywin32==301 (from versions: none)
ERROR: No matching distribution found for pywin32==301

Originally posted by @faveoled in #3 (comment)

No system module 'pywintypes' (pywintypes38.dll)

Refrencing issue pointed out by @waxweb

I'm still having version problems with python and requirements...
immediately there is a pywintypes error [ImportError: No system module
'pywintypes' (pywintypes38.dll)], which should be in pywin32..

could I ask you exactly what version of python you are using, and if I
should set any specific version of pywin32 in the requirements?

Thank you! I am very eager to try this...

here is the full error:

Traceback (most recent call last):
File "tts.py", line 12, in
engine = pyttsx3.init()
File
"C:\Users\David\AppData\Roaming\Python\Python38\site-packages\pyttsx3_init_.py",
line 22, in init
eng = Engine(driverName, debug)
File
"C:\Users\David\AppData\Roaming\Python\Python38\site-packages\pyttsx3\engine.py",
line 30, in init
self.proxy = driver.DriverProxy(weakref.proxy(self), driverName,
debug)
File
"C:\Users\David\AppData\Roaming\Python\Python38\site-packages\pyttsx3\driver.py",
line 50, in init
self.module = importlib.import_module(name)
File
"C:\Users\David\AppData\Local\Programs\Python\Python38\lib\importlib_init
.py",
line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1014, in _gcd_import
File "", line 991, in _find_and_load
File "", line 975, in
_find_and_load_unlocked
File "", line 671, in _load_unlocked
File "", line 783, in
exec_module
File "", line 219, in
_call_with_frames_removed
File
"C:\Users\David\AppData\Roaming\Python\Python38\site-packages\pyttsx3\drivers\sapi5.py",
line 10, in
import pythoncom
File
"C:\Users\David\AppData\Roaming\Python\Python38\site-packages\pythoncom.py",
line 2, in
import pywintypes
File
"C:\Users\David\AppData\Roaming\Python\Python38\site-packages\win32\lib\pywintypes.py",
line 105, in
import_pywin32_system_module("pywintypes", globals())
File
"C:\Users\David\AppData\Roaming\Python\Python38\site-packages\win32\lib\pywintypes.py",
line 87, in import_pywin32_system_module
raise ImportError("No system module '%s' (%s)" % (modname,
filename))
ImportError: No system module 'pywintypes' (pywintypes38.dll)

Originally posted by @waxweb in #2 (comment)

UnboundLocalError: local variable 'ln' referenced before assignment

I use Windows, and I replace the values for srtpath and sppath variables in the tts.py file and then run “python tts.py”.
But it turns out as follows:

Traceback (most recent call last):
File "tts.py", line 9, in
parsesrt.parse(srtpath)
File "D:\SRT-Audio-master\parsesrt.py", line 22, in parse
ln+=b" "
UnboundLocalError: local variable 'ln' referenced before assignment

noob question

when I try to install the requirements, I get:
ERROR: Could not find a version that satisfies the requirement pywin32==301 (from versions: 302, 303)
I am on Python 3.10 on Windows 10 64... do I need to do something like make a specific 32 bit install of Python, or something like that? Please help :)

Accents are not supported

When I'm trying to synthesize a subtitle with accented words, I got this error.
~@MacBook-Pro SRT-Audio % python3 ./tts.py Traceback (most recent call last): File "~/Documents/Software/Git/SRT-Audio/./tts.py", line 12, in <module> parsesrt.parse(srtpath) File "~/Documents/Software/Git/SRT-Audio/parsesrt.py", line 20, in parse tsmp[int(part[0])]=part[1].decode("utf-8") ^^^^^^^^^^^^ ValueError: invalid literal for int() with base 10: b'\xef\xbb\xbf1'

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.