Coder Social home page Coder Social logo

tsl's People

Contributors

gfog-floqast avatar taoistmath avatar

Watchers

 avatar

Forkers

aldenpeterson

tsl's Issues

Gearhead

ERROR:__main__:Check badge 'Gearhead' - error: 'NoneType' object has no attribute 'find_all'
Traceback (most recent call last):
  File "tsl.py", line 37, in get_badge_requirement
    requirements = self.get_requirements(session, page)
  File "tsl.py", line 72, in get_requirements
    return self.evaluate_requirements(session, requirements)
  File "tsl.py", line 83, in evaluate_requirements
    components = self.get_components(session, requirement)
  File "tsl.py", line 91, in get_components
    components = results.find_all('div', class_='ld-table-list-item')
AttributeError: 'NoneType' object has no attribute 'find_all'

Completion Score - TSL level

Would like to get a Completion Score at the TSL Level.

Requirements count should be done at the lowest level. IE: if a requirement has components, only count the components, not the requirement itself.

Badges_Complete Percent_Badges_Complete Requirements_Complete Precent_Requirements_Complete
1 1.8% 41 6.5%

*NOTE: the above numbers are examples and not exact.

Completion Score - Badge Level

Would like to get a Completion Score at the Badge Level.

Some badges do not require 100% completion so we should account for this.

Requirements count should be done at the lowest level. IE: if a requirement has components, only count the components, not the requirement itself.

Would like to see following information:

Badge_Name Completed Percent_Complete
Backyard Chef True 85%
Craftsman False 50%

First Aid

ERROR:__main__:Check badge 'First Aid' - error: 'NoneType' object has no attribute 'find_all'
Traceback (most recent call last):
  File "tsl.py", line 37, in get_badge_requirement
    requirements = self.get_requirements(session, page)
  File "tsl.py", line 72, in get_requirements
    return self.evaluate_requirements(session, requirements)
  File "tsl.py", line 83, in evaluate_requirements
    components = self.get_components(session, requirement)
  File "tsl.py", line 91, in get_components
    components = results.find_all('div', class_='ld-table-list-item')
AttributeError: 'NoneType' object has no attribute 'find_all'

Entrepreneurship

ERROR:__main__:Check badge 'Entrepreneurship' - error: 'NoneType' object has no attribute 'find'
Traceback (most recent call last):
  File "tsl.py", line 34, in get_badge_requirement
    badge_dict["Completion"] = "TRUE" if page.find(
AttributeError: 'NoneType' object has no attribute 'find'

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.