Coder Social home page Coder Social logo

league-of-legends-db's People

Contributors

met48 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

league-of-legends-db's Issues

Stats crashes in patch 3.15

When trying to extract stats, the program crashes with three warnings and a TypeError.

Environment: Python 2.7.5 on Mac OS X 10.6.8
LoLDB version 0.1.0
LoL Patch: 3.15.13_12_13_16_07
Console output:

Robin$ python -m loldb stats --json out.json --yaml out.yaml -p /Applications/League\ of\ Legends.app/Contents/LoL/
Open archive: /Applications/League of Legends.app/Contents/LoL/RADS/projects/lol_game_client/filearchives/0.0.0.0/Archive_197756560.raf
Open archive: /Applications/League of Legends.app/Contents/LoL/RADS/projects/lol_game_client/filearchives/0.0.0.2/Archive_197756656.raf
Open archive: /Applications/League of Legends.app/Contents/LoL/RADS/projects/lol_game_client/filearchives/0.0.0.8/Archive_197756432.raf
Open archive: /Applications/League of Legends.app/Contents/LoL/RADS/projects/lol_game_client/filearchives/0.0.0.12/Archive_211316448.raf
Open archive: /Applications/League of Legends.app/Contents/LoL/RADS/projects/lol_game_client/filearchives/0.0.0.13/Archive_211316432.raf
Open archive: /Applications/League of Legends.app/Contents/LoL/RADS/projects/lol_game_client/filearchives/0.0.0.15/Archive_211316272.raf
Open archive: /Applications/League of Legends.app/Contents/LoL/RADS/projects/lol_game_client/filearchives/0.0.0.17/Archive_211316240.raf
Open archive: /Applications/League of Legends.app/Contents/LoL/RADS/projects/lol_game_client/filearchives/0.0.0.18/Archive_211316224.raf
Open archive: /Applications/League of Legends.app/Contents/LoL/RADS/projects/lol_game_client/filearchives/0.0.0.22/Archive_211316704.raf
Open archive: /Applications/League of Legends.app/Contents/LoL/RADS/projects/lol_game_client/filearchives/0.0.0.23/Archive_211316688.raf
Open archive: /Applications/League of Legends.app/Contents/LoL/RADS/projects/lol_game_client/filearchives/0.0.0.28/Archive_211316480.raf
Open archive: /Applications/League of Legends.app/Contents/LoL/RADS/projects/lol_game_client/filearchives/0.0.0.32/Archive_211315936.raf
Open archive: /Applications/League of Legends.app/Contents/LoL/RADS/projects/lol_game_client/filearchives/0.0.0.33/Archive_211315920.raf
Open archive: /Applications/League of Legends.app/Contents/LoL/RADS/projects/lol_game_client/filearchives/0.0.0.34/Archive_211315904.raf
Open archive: /Applications/League of Legends.app/Contents/LoL/RADS/projects/lol_game_client/filearchives/0.0.0.36/Archive_211315744.raf
Open archive: /Applications/League of Legends.app/Contents/LoL/RADS/projects/lol_game_client/filearchives/0.0.0.37/Archive_211315728.raf
Open archive: /Applications/League of Legends.app/Contents/LoL/RADS/projects/lol_game_client/filearchives/0.0.0.38/Archive_211315712.raf
Open archive: /Applications/League of Legends.app/Contents/LoL/RADS/projects/lol_game_client/filearchives/0.0.0.39/Archive_211315824.raf
Open archive: /Applications/League of Legends.app/Contents/LoL/RADS/projects/lol_game_client/filearchives/0.0.0.42/Archive_211316192.raf
Open archive: /Applications/League of Legends.app/Contents/LoL/RADS/projects/lol_game_client/filearchives/0.0.0.46/Archive_211316000.raf
Open archive: /Applications/League of Legends.app/Contents/LoL/RADS/projects/lol_game_client/filearchives/0.0.0.48/Archive_211315968.raf
Open archive: /Applications/League of Legends.app/Contents/LoL/RADS/projects/lol_game_client/filearchives/0.0.0.51/Archive_211313392.raf
Open archive: /Applications/League of Legends.app/Contents/LoL/RADS/projects/lol_game_client/filearchives/0.0.0.52/Archive_211313376.raf
Open archive: /Applications/League of Legends.app/Contents/LoL/RADS/projects/lol_game_client/filearchives/0.0.0.54/Archive_211313344.raf
Open archive: /Applications/League of Legends.app/Contents/LoL/RADS/projects/lol_game_client/filearchives/0.0.0.55/Archive_211313200.raf
Open archive: /Applications/League of Legends.app/Contents/LoL/RADS/projects/lol_game_client/filearchives/0.0.0.57/Archive_211313168.raf
Open archive: /Applications/League of Legends.app/Contents/LoL/RADS/projects/lol_game_client/filearchives/0.0.0.58/Archive_211313152.raf
Open archive: /Applications/League of Legends.app/Contents/LoL/RADS/projects/lol_game_client/filearchives/0.0.0.60/Archive_211313536.raf
Open archive: /Applications/League of Legends.app/Contents/LoL/RADS/projects/lol_game_client/filearchives/0.0.0.61/Archive_211313648.raf
Open archive: /Applications/League of Legends.app/Contents/LoL/RADS/projects/lol_game_client/filearchives/0.0.0.62/Archive_211313632.raf
Open archive: /Applications/League of Legends.app/Contents/LoL/RADS/projects/lol_game_client/filearchives/0.0.0.69/Archive_211313520.raf
Open archive: /Applications/League of Legends.app/Contents/LoL/RADS/projects/lol_game_client/filearchives/0.0.0.70/Archive_211312768.raf
Open archive: /Applications/League of Legends.app/Contents/LoL/RADS/projects/lol_game_client/filearchives/0.0.0.71/Archive_211312880.raf
Open archive: /Applications/League of Legends.app/Contents/LoL/RADS/projects/lol_game_client/filearchives/0.0.0.72/Archive_211312864.raf
Open archive: /Applications/League of Legends.app/Contents/LoL/RADS/projects/lol_game_client/filearchives/0.0.0.73/Archive_211312848.raf
Open archive: /Applications/League of Legends.app/Contents/LoL/RADS/projects/lol_game_client/filearchives/0.0.0.74/Archive_211312832.raf
Open archive: /Applications/League of Legends.app/Contents/LoL/RADS/projects/lol_game_client/filearchives/0.0.0.75/Archive_211312688.raf
Open archive: /Applications/League of Legends.app/Contents/LoL/RADS/projects/lol_game_client/filearchives/0.0.0.76/Archive_211312672.raf
Open archive: /Applications/League of Legends.app/Contents/LoL/RADS/projects/lol_game_client/filearchives/0.0.0.77/Archive_211312656.raf
Open archive: /Applications/League of Legends.app/Contents/LoL/RADS/projects/lol_game_client/filearchives/0.0.0.78/Archive_211312640.raf
Open file: /Applications/League of Legends.app/Contents/LoL/RADS/projects/lol_game_client/filearchives/0.0.0.71/Archive_211312880.raf.dat
Open file: /Applications/League of Legends.app/Contents/LoL/RADS/projects/lol_game_client/filearchives/0.0.0.78/Archive_211312640.raf.dat
Open file: /Applications/League of Legends.app/Contents/LoL/RADS/projects/lol_game_client/filearchives/0.0.0.22/Archive_211316704.raf.dat
Open file: /Applications/League of Legends.app/Contents/LoL/RADS/projects/lol_game_client/filearchives/0.0.0.51/Archive_211313392.raf.dat
Open file: /Applications/League of Legends.app/Contents/LoL/RADS/projects/lol_game_client/filearchives/0.0.0.77/Archive_211312656.raf.dat
Open file: /Applications/League of Legends.app/Contents/LoL/RADS/projects/lol_game_client/filearchives/0.0.0.69/Archive_211313520.raf.dat
Open file: /Applications/League of Legends.app/Contents/LoL/RADS/projects/lol_game_client/filearchives/0.0.0.61/Archive_211313648.raf.dat
Open file: /Applications/League of Legends.app/Contents/LoL/RADS/projects/lol_game_client/filearchives/0.0.0.0/Archive_197756560.raf.dat
Open file: /Applications/League of Legends.app/Contents/LoL/RADS/projects/lol_game_client/filearchives/0.0.0.48/Archive_211315968.raf.dat
Open file: /Applications/League of Legends.app/Contents/LoL/RADS/projects/lol_game_client/filearchives/0.0.0.34/Archive_211315904.raf.dat
Open file: /Applications/League of Legends.app/Contents/LoL/RADS/projects/lol_game_client/filearchives/0.0.0.55/Archive_211313200.raf.dat
Open file: /Applications/League of Legends.app/Contents/LoL/RADS/projects/lol_game_client/filearchives/0.0.0.74/Archive_211312832.raf.dat
Open file: /Applications/League of Legends.app/Contents/LoL/RADS/projects/lol_game_client/filearchives/0.0.0.42/Archive_211316192.raf.dat
Open file: /Applications/League of Legends.app/Contents/LoL/RADS/projects/lol_game_client/filearchives/0.0.0.60/Archive_211313536.raf.dat
Open file: /Applications/League of Legends.app/Contents/LoL/RADS/projects/lol_game_client/filearchives/0.0.0.58/Archive_211313152.raf.dat
Open file: /Applications/League of Legends.app/Contents/LoL/RADS/projects/lol_game_client/filearchives/0.0.0.15/Archive_211316272.raf.dat
Open file: /Applications/League of Legends.app/Contents/LoL/RADS/projects/lol_game_client/filearchives/0.0.0.2/Archive_197756656.raf.dat
Open file: /Applications/League of Legends.app/Contents/LoL/RADS/projects/lol_game_client/filearchives/0.0.0.39/Archive_211315824.raf.dat
Open file: /Applications/League of Legends.app/Contents/LoL/RADS/projects/lol_game_client/filearchives/0.0.0.46/Archive_211316000.raf.dat
Open file: /Applications/League of Legends.app/Contents/LoL/RADS/projects/lol_game_client/filearchives/0.0.0.18/Archive_211316224.raf.dat
Open file: /Applications/League of Legends.app/Contents/LoL/RADS/projects/lol_game_client/filearchives/0.0.0.37/Archive_211315728.raf.dat
Open file: /Applications/League of Legends.app/Contents/LoL/RADS/projects/lol_game_client/filearchives/0.0.0.8/Archive_197756432.raf.dat
Open file: /Applications/League of Legends.app/Contents/LoL/RADS/projects/lol_game_client/filearchives/0.0.0.28/Archive_211316480.raf.dat
loldb/champion.py:169: UserWarning: Malformed inibin for ^data/(?:characters/Rumble/)?spells/RumbleFlameThrower.inibin$
  warnings.warn('Malformed inibin for %s' % pattern)
loldb/champion.py:278: UserWarning: Missing inibin for ability RumbleFlameThrower
  warnings.warn('Missing inibin for ability %s' % ability_name)
Open file: /Applications/League of Legends.app/Contents/LoL/RADS/projects/lol_game_client/filearchives/0.0.0.12/Archive_211316448.raf.dat
Open file: /Applications/League of Legends.app/Contents/LoL/RADS/projects/lol_game_client/filearchives/0.0.0.70/Archive_211312768.raf.dat
loldb/correct.py:145: UserWarning: Ability <Ability 'Missile Barrage'> has unused correction @CharTotalPhysical2@.
  (ability, key))
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 162, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/Users/robinkeller/bob/League-of-Legends-DB/loldb/__main__.py", line 155, in <module>
    main(docopt.docopt(__doc__, version='LoLDB v%s' % __version__))
  File "/Users/robinkeller/bob/League-of-Legends-DB/loldb/__main__.py", line 85, in main
    validation_errors = list(validate_champions(champions))
  File "loldb/validate.py", line 49, in validate_champions
    for message in validate_ability(ability):
  File "loldb/validate.py", line 75, in validate_ability
    keys = set(re.findall(r'@\w+@', ability.tooltip))
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/re.py", line 177, in findall
    return _compile(pattern, flags).findall(string)
TypeError: expected string or buffer

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.