lukasmonk / lucaschessR2

Lucas Chess R Version 2
GNU General Public License v3.0
255 stars 36 forks source link

finishing a season on a league, the league stop working (LINUX) #70

Closed pachorrus closed 1 year ago

pachorrus commented 1 year ago

Hi,

I have just finished a season on a league and the panel with the league information did not show up. Trying to open the league again, it does not work. I attach the bug.log. bug.log

pachorrus commented 1 year ago

Just in case, it think it could be relevant that these league was created with a previous version of LucasChess (2.04 or 2.03, i do not recall)

pachorrus commented 1 year ago

I've got the problem. In line 639 (Leagues.py): li_panels = season_previous.gen_panels_classification()

but get_panels_classification() return 2 variables and the second one was is different. But li_panel is adding this variable also, as it is different, it got an error.

Replacing line 639 with:

li_panels, kk = season_previous.gen_panels_classification()

it works!!! (kk is the name of the second variable that is returned, but not used).

lukasmonk commented 1 year ago

Yes, this is the problem, fixed.

lukasmonk commented 1 year ago

Thank you very much, I´ll try to publish, today or tomorrow.