Giter VIP home page Giter VIP logo

Comments (10)

sbraz avatar sbraz commented on May 25, 2024

What Python version, what libmediainfo version?

from pymediainfo.

sbraz avatar sbraz commented on May 25, 2024

What pymediainfo version, where are the special characters? In the file name? In the metadata?

from pymediainfo.

gleichda avatar gleichda commented on May 25, 2024

The special Characters are in the file name.
I am using Python 2.7.13 and pymediainfo in version 2.1.9

from pymediainfo.

sbraz avatar sbraz commented on May 25, 2024

What about libmediainfo? Can you run pymediainfo's tests? What OS are you running?

from pymediainfo.

gleichda avatar gleichda commented on May 25, 2024

I am running an 64-bit arch Linux.
I'm not that good in Python but if you tell me how to run that test I can sure.

from pymediainfo.

sbraz avatar sbraz commented on May 25, 2024

Download pymediainfo here, extract it and run python2 setup.py test (can't hurt to do it with python3 too).
I normally test files with special characters so you should see a test failure.

from pymediainfo.

sbraz avatar sbraz commented on May 25, 2024

Huh, it doesn't seem to find the tests, can you see them in tests/test.py?

from pymediainfo.

gleichda avatar gleichda commented on May 25, 2024

I now ran the test on Both Python 2 and 3 and got no failure
testoutput.txt

Yes that was my mistake now it works

from pymediainfo.

sbraz avatar sbraz commented on May 25, 2024

OK, then I guess the problem may not be with pymediainfo but with your code. Try running python2 demo.py tests/data/accentué.txt. Does it work? If it does, you may be missing something encoding-related in your code.

from pymediainfo.

gleichda avatar gleichda commented on May 25, 2024

yes that works. So I will check if I can fix it in my code.
Thanks a lot

from pymediainfo.

Related Issues (20)

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.