Automatic-Baseball-Commentary-Generation-Using-DeepLearning icon indicating copy to clipboard operation
Automatic-Baseball-Commentary-Generation-Using-DeepLearning copied to clipboard

Error: 'NoneType' object is not callable

Open bodhwani opened this issue 4 years ago • 0 comments

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?

bodhwani avatar Sep 02 '20 01:09 bodhwani