GithubHelp home page GithubHelp logo

Comments (3)

evanclue avatar evanclue commented on August 16, 2024

i have a similar issue.

khinsider.py beatmania
Getting song list...

An unexpected error occurred! If it isn't too much to ask, please report to https://github.com/obskyr/khinsider/issues.
Attach the following error message:

Traceback (most recent call last):
  File "D:\Downloads\khinsider-master\khinsider.py", line 591, in <module>
    sys.exit(doIt())
  File "D:\Downloads\khinsider-master\khinsider.py", line 535, in doIt
    success = download(soundtrack, outPath, formatOrder=formatOrder, verbose=True)
  File "D:\Downloads\khinsider-master\khinsider.py", line 410, in download
    return Soundtrack(soundtrackId).download(path, makeDirs, formatOrder, verbose)
  File "D:\Downloads\khinsider-master\khinsider.py", line 322, in download
    for song in self.songs:
  File "D:\Downloads\khinsider-master\khinsider.py", line 149, in lazyVersion
    setattr(self, attrName, func(self))
  File "D:\Downloads\khinsider-master\khinsider.py", line 286, in songs
    anchors = [tr.find('a') for tr in table('tr') if not tr.find('th')]
TypeError: 'NoneType' object is not callable

from khinsider.

EverThingy avatar EverThingy commented on August 16, 2024

Same here for silver-surfer-ost-1990-nes.

python khinsider.py silver-surfer-ost-1990-nes
Getting song list...

An unexpected error occurred! If it isn't too much to ask, please report to https://github.com/obskyr/khinsider/issues.
Attach the following error message:

Traceback (most recent call last):
  File "E:\Music\khinsider-master\khinsider.py", line 589, in <module>
    sys.exit(doIt())
  File "E:\Music\khinsider-master\khinsider.py", line 533, in doIt
    success = download(soundtrack, outPath, formatOrder=formatOrder, verbose=True)
  File "E:\Music\khinsider-master\khinsider.py", line 408, in download
    return Soundtrack(soundtrackId).download(path, makeDirs, formatOrder, verbose)
  File "E:\Music\khinsider-master\khinsider.py", line 323, in download
    files.append(getAppropriateFile(song, formatOrder))
  File "E:\Music\khinsider-master\khinsider.py", line 168, in getAppropriateFile
    return song.files[0]
IndexError: list index out of range

from khinsider.

obskyr avatar obskyr commented on August 16, 2024

Thank you ever so kindly for the report! I've now fixed robot-wants-puppy-gamerip (a song title containing the string &# resulted in broken HTML) and shattered-horizon-2009-gamerip (one of the songs didn't exist, and instead just led to a 404 page).

As for -t-w-y-a-o-gyakuten-meets-jazz-soul, you can run khinsider.py -- -t-w-y-a-o-gyakuten-meets-jazz-soul – the -- means “treat the following arguments as positional arguments”, which is needed when the soundtrack name starts with -. If you think it's a big enough issue that some special syntax should be added for it, or I should rejigger the whole argument parsing to treat unknown dash arguments as positionals, let me know – for now, though, this'll work.

from khinsider.

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.