Git Product home page Git Product logo

Comments (5)

JonatasAmaral avatar JonatasAmaral commented on July 19, 2024

doing some tests, with a new small file, and got a different error:

screenshot

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.

doakey3 avatar doakey3 commented on July 19, 2024

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.

JonatasAmaral avatar JonatasAmaral commented on July 19, 2024

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.

doakey3 avatar doakey3 commented on July 19, 2024

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.

JonatasAmaral avatar JonatasAmaral commented on July 19, 2024

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)

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.