Traceback (most recent call last):


 "/Users/xxx/.pyenv/versions/3.8.2/lib/python3.8/runpy.py", line 193, in _run_module_as_main

return _run_code(code, main_globals, None,


 "/Users/xxx/.pyenv/versions/3.8.2/lib/python3.8/runpy.py", line 86, in _run_code

exec(code, run_globals)


 "/Users/xxx/dev/football/gfootball/play_game.py", line 70, in <module>

app.run(main)


 "/Users/xxx/dev/football/football-env/lib/python3.8/site-packages/absl/app.py", line 300, in run

_run_main(main, args)


 "/Users/xxx/dev/football/football-env/lib/python3.8/site-packages/absl/app.py", line 251, in _run_main

sys.exit(main(argv))


 "/Users/xxx/dev/football/gfootball/play_game.py", line 46, in main

cfg = config.Config({


 "/Users/xxx/dev/football/gfootball/env/config.py", line 98, in __init__

self.NewScenario()


 "/Users/xxx/dev/football/gfootball/env/config.py", line 153, in NewScenario

self._scenario_cfg = scenario_builder.Scenario(self).ScenarioConfig()


 "/Users/xxx/dev/football/gfootball/env/scenario_builder.py", line 62, in __init__

scenario.build_scenario(self)


 "/Users/xxx/dev/football/gfootball/scenarios/11_vs_11_stochastic.py", line 33, in build_scenario

builder.AddPlayer(-1.000000, 0.000000, e_PlayerRole_GK)


 "/Users/xxx/dev/football/gfootball/env/scenario_builder.py", line 108, in AddPlayer

player = Player(x, y, role, lazy, controllable)
TypeError: __init__() should return None, not 'NoneType'

Traceback (most recent call last):


 "/home/frappe/frappe-bench/apps/frappe/frappe/app.py", line 61, in application

response = frappe.handler.handle()


 "/home/frappe/frappe-bench/apps/frappe/frappe/handler.py", line 21, in handle

data = execute_cmd(cmd)


 "/home/frappe/frappe-bench/apps/frappe/frappe/handler.py", line 56, in execute_cmd

return frappe.call(method, **frappe.form_dict)


 "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 1007, in call

return fn(*args, **newargs)


 "/home/frappe/frappe-bench/apps/frappe/frappe/desk/form/save.py", line 19, in savedocs

doc.submit()


 "/home/frappe/frappe-bench/apps/erpnext/erpnext/stock/doctype/stock_reconciliation/stock_reconciliation.py", line 264, in submit

self._submit()


 "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 837, in _submit

self.save()


 "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 260, in save

return self._save(*args, **kwargs)


 "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 313, in _save

self.run_post_save_methods()


 "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 908, in run_post_save_methods

self.run_method("on_submit")


 "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 772, in run_method

out = Document.hook(fn)(self, *args, **kwargs)


 "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 1048, in composer

return composed(self, method, *args, **kwargs)


 "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 1031, in runner

add_to_return_value(self, fn(self, *args, **kwargs))


 "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 766, in <lambda>

fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)


 "/home/frappe/frappe-bench/apps/erpnext/erpnext/stock/doctype/stock_reconciliation/stock_reconciliation.py", line 34, in on_submit

self.update_stock_ledger()


 "/home/frappe/frappe-bench/apps/erpnext/erpnext/stock/doctype/stock_reconciliation/stock_reconciliation.py", line 188, in update_stock_ledger

self.insert_entries(row)


 "/home/frappe/frappe-bench/apps/erpnext/erpnext/stock/doctype/stock_reconciliation/stock_reconciliation.py", line 206, in insert_entries

self.make_sl_entries([args])


 "/home/frappe/frappe-bench/apps/erpnext/erpnext/controllers/stock_controller.py", line 269, in make_sl_entries

make_sl_entries(sl_entries, is_amended, allow_negative_stock, via_landed_cost_voucher)


 "/home/frappe/frappe-bench/apps/erpnext/erpnext/stock/stock_ledger.py", line 33, in make_sl_entries

sle_id = make_entry(sle, allow_negative_stock, via_landed_cost_voucher)


 "/home/frappe/frappe-bench/apps/erpnext/erpnext/stock/stock_ledger.py", line 58, in make_entry

sle.submit()


 "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 848, in submit

self._submit()


 "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 837, in _submit

self.save()


 "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 260, in save

return self._save(*args, **kwargs)


 "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 313, in _save

self.run_post_save_methods()


 "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 908, in run_post_save_methods

self.run_method("on_submit")


 "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 772, in run_method

out = Document.hook(fn)(self, *args, **kwargs)


 "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 1048, in composer

return composed(self, method, *args, **kwargs)


 "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 1031, in runner

add_to_return_value(self, fn(self, *args, **kwargs))


 "/home/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 766, in <lambda>

fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)


 "/home/frappe/frappe-bench/apps/erpnext/erpnext/stock/doctype/stock_ledger_entry/stock_ledger_entry.py", line 36, in on_submit

process_serial_no(self)


 "/home/frappe/frappe-bench/apps/erpnext/erpnext/stock/doctype/serial_no/serial_no.py", line 191, in process_serial_no

update_serial_nos(sle, item_det)


 "/home/frappe/frappe-bench/apps/erpnext/erpnext/stock/doctype/serial_no/serial_no.py", line 335, in update_serial_nos

if sle.is_cancelled == "No" and not sle.serial_no and sle.actual_qty > 0 \
TypeError: '>' not supported between instances of 'NoneType' and 'int'