Skip to content

Error: 'NoneType' object is not callable #1

@bodhwani

Description

@bodhwani

Hi @byeongjokim,
I was trying to contribute in this project but I am getting this error:

self.onto ==  get_ontology("baseball.owl#")
Traceback (most recent call last):
  File "kbo.py", line 66, in <module>
    app = KBO(isSimulation=False, isAPI=True)
  File "kbo.py", line 16, in __init__
    self.web = Web(resource=self.resource)
  File "/Users/geek_vinit/Desktop/Automatic-Baseball-Commentary-Generation-Using-DeepLearning/Web/web.py", line 26, in __init__
    self._set_game_info(data["gameInfo"])
  File "/Users/geek_vinit/Desktop/Automatic-Baseball-Commentary-Generation-Using-DeepLearning/Web/web.py", line 45, in _set_game_info
    create_game(self.onto, self.GameInfo)
  File "/Users/geek_vinit/Desktop/Automatic-Baseball-Commentary-Generation-Using-DeepLearning/Web/set_onto.py", line 3, in create_game
    game = onto.Game(GameInfo["DateHomeAway"])
TypeError: 'NoneType' object is not callable

Can you please help me out in this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions