Comments (5)
doing some tests, with a new small file, and got a different error:
Traceback (most recent call last):
File "C:\Users\jonatas\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\Subsimport-master\operators\syllabify.py", line 89, in execute
hyphenator.setup_patterns()
File "C:\Users\jonatas\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\Subsimport-master\operators\hyphenator\hyphenator.py", line 11, in setup_patterns
self._insert_pattern(pattern)
File "C:\Users\jonatas\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\Subsimport-master\operators\hyphenator\hyphenator.py", line 22, in _insert_pattern
points = [ int(d or 0) for d in re.split("[.a-z]", pattern) ]
File "C:\Users\jonatas\AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\Subsimport-master\operators\hyphenator\hyphenator.py", line 22, in <listcomp>
points = [ int(d or 0) for d in re.split("[.a-z]", pattern) ]
ValueError: invalid literal for int() with base 10: 'á'
location: <unknown location>:-1
location: <unknown location>:-1
Tried set the idiom to US english, with a portuguese text with accentuations and all those thing, and it works (in the Portuguese idiom it do not). But the main file that i'm working on still getting the first error.
from subsimport.
Can you send me the lyrics file you are working with (portuguese is fine) that causes the problem. I'll try to tackle this in the next couple days.
from subsimport.
letra.txt - text with music's lyrics used to import into add-on
letra.srt - SRT file exported by the add-on (it is as TXT because GitHub does'tn support upload SRT files. Just remove .txt from file name)
from subsimport.
I've made an update that I think will fix the issue you were having. Thanks for contributing! Sorry I didn't get back to you sooner.
from subsimport.
No problem. I already did what i needed.
I really don't NEEDED the "sillabification" right now. Just posted the issue to help improve the amazing add-on.
Thanks for that.
from subsimport.
Related Issues (12)
- Python error when running HOT 2
- How to import a srt file in bpy API code? HOT 1
- overlapping clips HOT 3
- Import polish special charcters HOT 5
- Still overlapping HOT 2
- Erro in subtitles_to_seguencer HOT 3
- Font change does not work
- Import *.txt doesn't import some lines HOT 1
- Error HOT 3
- Multi-line import
- type error with frame_start HOT 3
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 subsimport.