The-Weather-TEAM / Life-SCORE

Evaluation personnalisée d'une ville française choisie par rapport à l'utilisateur
GNU General Public License v3.0
8 stars 2 forks source link

Arrondissements Paris ne marchent pas #25

Closed bosy0 closed 1 year ago

bosy0 commented 1 year ago

Il y a que le 1er qui marche, les autres affichent une page blanche

bosy0 commented 1 year ago

Exception in Tkinter callback Traceback (most recent call last): File "C:\Users\natha\AppData\Local\Programs\Python\Python311\Lib\tkinter__init.py", line 1948, in call__ return self.func(*args) ^^^^^^^^^^^^^^^^ File "c:\Users\natha\Documents\GitHub\Weather-NSI\code\LifeSCORE.py", line 270, in btn_entree = Button(windowQuestion,width=20, height=3, command=lambda: ville(entree,msg_ville,windowQuestion), bg='#B9F7D0', text="Recherche") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "c:\Users\natha\Documents\GitHub\Weather-NSI\code\LifeSCORE.py", line 318, in ville w_score(ville) File "c:\Users\natha\Documents\GitHub\Weather-NSI\code\LifeSCORE.py", line 338, in w_score score = int(Donnees_ville.note_finale()) #Provisoire ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "c:\Users\natha\Documents\GitHub\Weather-NSI\code\classes.py", line 323, in note_finale tableau.append(self.note_sport()) ^^^^^^^^^^^^^^^^^ File "c:\Users\natha\Documents\GitHub\Weather-NSI\code\classes.py", line 285, in note_sport nbr_etab_sportifs = rangee.values[0][1]


IndexError: index 0 is out of bounds for axis 0 with size 0
bosy0 commented 1 year ago

@Spaghet34 ça remarche dcp ?

bosy0 commented 1 year ago

yep bien joué bg

Farenc21 commented 1 year ago

Merci a moins que les villes rajoutent des arrondissements c'est bon

bosy0 commented 1 year ago

mdrr je pense que c'est dans un petit moment ouais