Code Monkey home page Code Monkey logo

Comments (4)

tuffy avatar tuffy commented on August 17, 2024

I've pushed out fixes for both the AssertionError under Python 2.7 and the trackverify bug when files have no embedded track numbers.

Hopefully it will work better now!

from python-audio-tools.

remenor avatar remenor commented on August 17, 2024

Thanks!
Verification (for track) works perfectly.
But there is an error when trying to verify an image + cue:

Traceback (most recent call last):
  File "/usr/local/bin/trackverify", line 602, in <module>
    results = queue.run(options.max_processes)
  File "/usr/local/lib/python2.7/dist-packages/audiotools/__init__.py", line 5359, in run
    return self.__run_serial__()
  File "/usr/local/lib/python2.7/dist-packages/audiotools/__init__.py", line 5397, in __run_serial__
    output = completion_output(result)
  File "/usr/local/bin/trackverify", line 338, in accuraterip_display_result
    path = audiotools.Filename(result["filename"])
  File "/usr/local/lib/python2.7/dist-packages/audiotools/__init__.py", line 1795, in __new__
    assert(isinstance(filename, str))
AssertionError

The error occurs only with python2.7. With python3.4 works perfectly.
Maybe it would be easier to change the code directly to python 3?
Thanks!
Sorry for my english

from python-audio-tools.

tuffy avatar tuffy commented on August 17, 2024

I've pushed out a new fix which should hopefully handle the cuesheet case properly also.

Though it would be easier to just support Python 3, there's still a lot of people with systems that don't come with it by default (like OS X). So I'll continue to try to support both for as long as I need to.

from python-audio-tools.

remenor avatar remenor commented on August 17, 2024

Thanks! works perfectly

from python-audio-tools.

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.