AB-CE / examples

Repos for examples of abcEconomics simulations that can be extended from
Apache License 2.0
29 stars 23 forks source link

Update Sugarscape example #5

Closed rht closed 6 years ago

rht commented 6 years ago

@DavoudTaghawiNejad there are still remaining error messages appearing when running the example:

Traceback (most recent call last):
  File "/home/rht/code/venv/lib/python3.6/site-packages/abce/agent.py", line 281, in __del__
  File "/home/rht/code/venv/lib/python3.6/site-packages/abce/agent.py", line 186, in _check_for_lost_messages
AttributeError: 'SpicePatch' object has no attribute 'given_offers'
Exception ignored in: <bound method Agent.__del__ of <agents.SpicePatch object at 0x7fee16677588>>
Traceback (most recent call last):
  File "/home/rht/code/venv/lib/python3.6/site-packages/abce/agent.py", line 281, in __del__
  File "/home/rht/code/venv/lib/python3.6/site-packages/abce/agent.py", line 186, in _check_for_lost_messages
AttributeError: 'SpicePatch' object has no attribute 'given_offers'
Exception ignored in: <bound method Agent.__del__ of <agents.SpicePatch object at 0x7fee166774c8>>
Traceback (most recent call last):
  File "/home/rht/code/venv/lib/python3.6/site-packages/abce/agent.py", line 281, in __del__
  File "/home/rht/code/venv/lib/python3.6/site-packages/abce/agent.py", line 186, in _check_for_lost_messages
AttributeError: 'SpicePatch' object has no attribute 'given_offers'
Exception ignored in: <bound method Agent.__del__ of <agents.SpicePatch object at 0x7fee16677408>>
Traceback (most recent call last):
  File "/home/rht/code/venv/lib/python3.6/site-packages/abce/agent.py", line 281, in __del__
  File "/home/rht/code/venv/lib/python3.6/site-packages/abce/agent.py", line 186, in _check_for_lost_messages
AttributeError: 'SpicePatch' object has no attribute 'given_offers'
Exception ignored in: <bound method Agent.__del__ of <agents.SpicePatch object at 0x7fee16677388>>
...