TheTash / l5rcm

Automatically exported from code.google.com/p/l5rcm
GNU General Public License v3.0
0 stars 0 forks source link

Multiple Schools broken #225

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Adding a new School when you gain a Rank.  Both the 10xp and the Just Change 
break the program.

What is the expected output? What do you see instead?
Log: 
Traceback (most recent call last):
  File "sinks\sink_1.pyc", line 48, in load_character
  File "l5rcm.py", line 2036, in load_character_from
  File "l5rcm.py", line 2247, in update_from_model
  File "l5rcm.py", line 1856, in check_school_tech_and_spells
  File "l5rcm.py", line 1801, in learn_next_school_tech
AttributeError: 'NoneType' object has no attribute 'rank'
Traceback (most recent call last):
  File "l5rcm.py", line 2447, in closeEvent
  File "l5rcm.py", line 2247, in update_from_model
  File "l5rcm.py", line 1856, in check_school_tech_and_spells
  File "l5rcm.py", line 1801, in learn_next_school_tech
AttributeError: 'NoneType' object has no attribute 'rank'

What version of the product are you using? On what operating system?
3.9.3 Win 7 64bit

Please provide any additional information below.

Original issue reported on code.google.com by sphynx01 on 18 Dec 2013 at 8:22