Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PronoteAPIError( pronotepy.exceptions.PronoteAPIError: Unknown error from pronote: 3 | Accès refusé #294

Open
ajones01 opened this issue Feb 3, 2024 · 7 comments

Comments

@ajones01
Copy link

ajones01 commented Feb 3, 2024

Hi there,

I think this is related to some of the other outstanding reported bugs, but certain calls (anything to do with collections) is causing an "Unknown error from pronote: 3 | Accès refusé" error. Below some code, with comments on calls that are successful and those that cause the above error:

if client.logged_in:
nom_utilisateur = client.info.name
print(f'Logged in as {nom_utilisateur}') # this works

periods = client.periods

#print(client.current_period.name) # this crashes
print(client.last_connection)  # this works

for period in periods:
  print(period.name)  # this works
  print(period.start)  # this works

  # print(len(period.grades)) # this crashes

  #for grade in period.grades:  # iterate over all the grades
    #print(grade.grade)  # this crashes

Let me know if you need any further details.

@Aldarande
Copy link

I have the same issue :
add at the beginning of your code :

try:
[...your code ...]
    except Exception as e:
        line_number = e.__traceback__.tb_lineno
        logging.error("The error is : lig. %s -   %s", line_number, e

I have the same issue when i looking for same info like "client.info.ine_number"

@bain3
Copy link
Owner

bain3 commented May 14, 2024

Hi, could you check for me if the "Compte" page is accessible on your PRONOTE?

image

This is what pronotepy uses to get the INE.

@Aldarande
Copy link

Aldarande commented May 14, 2024

I'm a parent so "compte" doesn't have INE but " Compte enfant", yes !
image

All test have show if you request some unavailable informations, you receive for answer "3 | Accès refusé"

For my child case, a have the same answer for INE number, mobile phone or email.
And the real issue is if i try to get lessons, i'm disconnecting.

@bain3
Copy link
Owner

bain3 commented May 14, 2024

Right, OK. This is an issue with the parent client. ParentClient.info.ine_number is not working because it is "signing" the request with your children's ID, not the ID of your account directly. We should probably also fix it for the ClientInfo that is returned by ParentClient.children, which also doesn't work.

@bain3
Copy link
Owner

bain3 commented May 14, 2024

@ajones01 Are you also connecting through a parent account? I am struggling to recreate the issue.

@Aldarande I am able to call client.lessons() without getting the error. Can you send me a minimal example of the failing code?

@ajones01
Copy link
Author

Yes, I'm also connecting through a parent account.

@Aldarande
Copy link

So let show a kind of my code :

try:
[...]
        if identity_info:
            data["identiteinfo"].append(identity_info)

            if clientinfo.email:
                identiteinfo["email"] = append(clientinfo.email)
            else:
                identiteinfo["email"] = ""

        if clientinfo.ine_number:
            identiteinfo["INE"] = append(clientinfo.ine_number)
        else:
            identiteinfo["INE"] = ""
[...]

        return data["identiteinfo"]
    except Exception as e:
        logging.info("Tous les champs identité n'ont pas pu être récupéré: %s", e)

Et donc voici le résultat :

[2024-05-16 07:06:39][DEBUG] : [_Communication.post] sending post request: {'session': 1011110, 'numeroOrdre': 'd7b294d77b92e3d2c2a7dbeefe32962e', 'nom': 'PageInfosPerso', 'donneesSec': {'_Signature_': {'onglet': 49, 'ressource': {'N': '47#6lORNOAFK91WirAIs4GyFeHYdpQX_rS7yxBlPTbzoFs', 'G': 4}}}}
[2024-05-16 07:06:39][DEBUG] : https://0912109y.index-education.net:443 "POST /pronote/appelfonction/2/1011110/d7b294d77b92e3d2c2a7dbeefe32962e HTTP/1.1" 200 78
[2024-05-16 07:06:39][INFO] : Tous les champs identité n'ont pas pu être récupéré: Unknown error from pronote: 3 | Accès refusé
[2024-05-16 07:06:39][INFO] : Je récupére l'emploi du temps
[2024-05-16 07:06:39][DEBUG] : [_Communication.post] sending post request: {'session': 1011110, 'numeroOrdre': '289ba35c0bc160d7b770515953280cfd', 'nom': 'PageEmploiDuTemps', 'donneesSec': {'_Signature_': {'onglet': 16, 'membre': {'N': '47#6lORNOAFK91WirAIs4GyFeHYdpQX_rS7yxBlPTbzoFs', 'G': 4}}, 'donnees': {'ressource': {'L': 'THIEBAULT Clara', 'N': '47#6lORNOAFK91WirAIs4GyFeHYdpQX_rS7yxBlPTbzoFs', 'G': 4, 'P': 679, 'Etablissement': {'_T': 24, 'V': {'L': 'COLLEGE ROBERT DOISNEAU', 'N': '53#YuA6uS32oCLNwvqLg0vF-k0GeSN7JNhdGuzpI_TtoHw'}}, 'avecPhoto': True, 'classeDEleve': {'L': '5MENTAWI', 'N': '23#SbvMA4eqYiBmY1Z1CrraUKYUveTBDjW-4Xd4m9jmr0s'}, 'listeClassesHistoriques': {'_T': 24, 'V': [{'L': '5MENTAWI', 'N': '23#SbvMA4eqYiBmY1Z1CrraUKYUveTBDjW-4Xd4m9jmr0s', 'AvecNote': False, 'AvecFiliere': False}]}, 'listeGroupes': {'_T': 24, 'V': [{'L': '5MENDAWIP.2', 'N': '63#7gTiGEl3oVECLG-7K36Pb_Ndzk5upjpxllDgghZRVGg'}]}, 'listeOngletsPourPeriodes': {'_T': 24, 'V': [{'G': 12, 'listePeriodes': {'_T': 24, 'V': [{'L': 'Année continue', 'N': '112#w_c6ulShW4Qejzt0TWMIb0xz9-L2uE-98U0LV4sMCGo', 'G': 2, 'A': True, 'GenreNotation': 3}, {'L': 'année', 'N': '112#yplsixNRk-nDSEufVqboQg-9jE-MNgClcFYUDvA1d4E', 'G': 4, 'A': True, 'GenreNotation': 0}, {'L': 'Hors période', 'N': '112#0uD_ITr10oTKZBMIMcfHTCK8xNpsERNQDdZv2AtEjoc', 'G': 4, 'A': True, 'GenreNotation': 0}]}, 'periodeParDefaut': {'_T': 24, 'V': {'L': 'Année continue', 'N': '112#w_c6ulShW4Qejzt0TWMIb0xz9-L2uE-98U0LV4sMCGo'}}}, {'G': 198, 'listePeriodes': {'_T': 24, 'V': [{'L': 'Année continue', 'N': '112#w_c6ulShW4Qejzt0TWMIb0xz9-L2uE-98U0LV4sMCGo', 'G': 2, 'A': True, 'GenreNotation': 3}, {'L': 'année', 'N': '112#yplsixNRk-nDSEufVqboQg-9jE-MNgClcFYUDvA1d4E', 'G': 4, 'A': True, 'GenreNotation': 0}, {'L': 'Hors période', 'N': '112#0uD_ITr10oTKZBMIMcfHTCK8xNpsERNQDdZv2AtEjoc', 'G': 4, 'A': True, 'GenreNotation': 0}]}, 'periodeParDefaut': {'_T': 24, 'V': {'L': 'Année continue', 'N': '112#w_c6ulShW4Qejzt0TWMIb0xz9-L2uE-98U0LV4sMCGo'}}}, {'G': 13, 'listePeriodes': {'_T': 24, 'V': [{'L': 'Année continue', 'N': '112#w_c6ulShW4Qejzt0TWMIb0xz9-L2uE-98U0LV4sMCGo', 'G': 2, 'A': True, 'GenreNotation': 3}, {'L': 'année', 'N': '112#yplsixNRk-nDSEufVqboQg-9jE-MNgClcFYUDvA1d4E', 'G': 4, 'A': True, 'GenreNotation': 0}, {'L': 'Hors période', 'N': '112#0uD_ITr10oTKZBMIMcfHTCK8xNpsERNQDdZv2AtEjoc', 'G': 4, 'A': True, 'GenreNotation': 0}]}, 'periodeParDefaut': {'_T': 24, 'V': {'L': 'Année continue', 'N': '112#w_c6ulShW4Qejzt0TWMIb0xz9-L2uE-98U0LV4sMCGo'}}}, {'G': 19, 'listePeriodes': {'_T': 24, 'V': [{'L': 'Année continue', 'N': '112#w_c6ulShW4Qejzt0TWMIb0xz9-L2uE-98U0LV4sMCGo', 'G': 2, 'A': True, 'GenreNotation': 3}]}, 'periodeParDefaut': {'_T': 24, 'V': {'L': 'Année continue', 'N': '112#w_c6ulShW4Qejzt0TWMIb0xz9-L2uE-98U0LV4sMCGo'}}}, {'G': 230, 'listePeriodes': {'_T': 24, 'V': [{'L': 'Année continue', 'N': '112#w_c6ulShW4Qejzt0TWMIb0xz9-L2uE-98U0LV4sMCGo', 'G': 2, 'A': True, 'GenreNotation': 3}, {'L': 'année', 'N': '112#yplsixNRk-nDSEufVqboQg-9jE-MNgClcFYUDvA1d4E', 'G': 4, 'A': True, 'GenreNotation': 0}, {'L': 'Hors période', 'N': '112#0uD_ITr10oTKZBMIMcfHTCK8xNpsERNQDdZv2AtEjoc', 'G': 4, 'A': True, 'GenreNotation': 0}]}, 'periodeParDefaut': {'_T': 24, 'V': {'L': 'Année continue', 'N': '112#w_c6ulShW4Qejzt0TWMIb0xz9-L2uE-98U0LV4sMCGo'}}}, {'G': 100, 'listePeriodes': {'_T': 24, 'V': [{'L': 'Année continue', 'N': '112#w_c6ulShW4Qejzt0TWMIb0xz9-L2uE-98U0LV4sMCGo', 'G': 2, 'A': True, 'GenreNotation': 3}, {'L': 'année', 'N': '112#yplsixNRk-nDSEufVqboQg-9jE-MNgClcFYUDvA1d4E', 'G': 4, 'A': True, 'GenreNotation': 0}, {'L': 'Hors période', 'N': '112#0uD_ITr10oTKZBMIMcfHTCK8xNpsERNQDdZv2AtEjoc', 'G': 4, 'A': True, 'GenreNotation': 0}]}, 'periodeParDefaut': {'_T': 24, 'V': {'L': 'Année continue', 'N': '112#w_c6ulShW4Qejzt0TWMIb0xz9-L2uE-98U0LV4sMCGo'}}}, {'G': 219, 'listePeriodes': {'_T': 24, 'V': [{'L': 'Année continue', 'N': '112#w_c6ulShW4Qejzt0TWMIb0xz9-L2uE-98U0LV4sMCGo', 'G': 2, 'A': True, 'GenreNotation': 3}, {'L': 'année', 'N': '112#yplsixNRk-nDSEufVqboQg-9jE-MNgClcFYUDvA1d4E', 'G': 4, 'A': True, 'GenreNotation': 0}, {'L': 'Hors période', 'N': '112#0uD_ITr10oTKZBMIMcfHTCK8xNpsERNQDdZv2AtEjoc', 'G': 4, 'A': True, 'GenreNotation': 0}]}, 'periodeParDefaut': {'_T': 24, 'V': {'L': 'Année continue', 'N': '112#w_c6ulShW4Qejzt0TWMIb0xz9-L2uE-98U0LV4sMCGo'}}}, {'G': 216, 'listePeriodes': {'_T': 24, 'V': [{'L': 'Année continue', 'N': '112#w_c6ulShW4Qejzt0TWMIb0xz9-L2uE-98U0LV4sMCGo', 'G': 2, 'A': True, 'GenreNotation': 3}, {'L': 'année', 'N': '112#yplsixNRk-nDSEufVqboQg-9jE-MNgClcFYUDvA1d4E', 'G': 4, 'A': True, 'GenreNotation': 0}, {'L': 'Hors période', 'N': '112#0uD_ITr10oTKZBMIMcfHTCK8xNpsERNQDdZv2AtEjoc', 'G': 4, 'A': True, 'GenreNotation': 0}]}, 'periodeParDefaut': {'_T': 24, 'V': {'L': 'Année continue', 'N': '112#w_c6ulShW4Qejzt0TWMIb0xz9-L2uE-98U0LV4sMCGo'}}}, {'G': 41, 'listePeriodes': {'_T': 24, 'V': [{'L': 'Année continue', 'N': '112#w_c6ulShW4Qejzt0TWMIb0xz9-L2uE-98U0LV4sMCGo', 'G': 2, 'A': True, 'GenreNotation': 3}, {'L': 'année', 'N': '112#yplsixNRk-nDSEufVqboQg-9jE-MNgClcFYUDvA1d4E', 'G': 4, 'A': True, 'GenreNotation': 0}, {'L': 'Hors période', 'N': '112#0uD_ITr10oTKZBMIMcfHTCK8xNpsERNQDdZv2AtEjoc', 'G': 4, 'A': True, 'GenreNotation': 0}]}, 'periodeParDefaut': {'_T': 24, 'V': {'L': 'Année continue', 'N': '112#w_c6ulShW4Qejzt0TWMIb0xz9-L2uE-98U0LV4sMCGo'}}}, {'G': 111, 'listePeriodes': {'_T': 24, 'V': [{'L': 'Année continue', 'N': '112#w_c6ulShW4Qejzt0TWMIb0xz9-L2uE-98U0LV4sMCGo', 'G': 2, 'A': True, 'GenreNotation': 3, 'datePublication': {'_T': 7, 'V': '06/07/2024'}}]}, 'periodeParDefaut': {'_T': 24, 'V': {'L': 'Année continue', 'N': '112#w_c6ulShW4Qejzt0TWMIb0xz9-L2uE-98U0LV4sMCGo'}}}, {'G': 99, 'listePeriodes': {'_T': 24, 'V': [{'L': 'Année continue', 'N': '112#w_c6ulShW4Qejzt0TWMIb0xz9-L2uE-98U0LV4sMCGo', 'G': 2, 'A': True, 'GenreNotation': 3}]}, 'periodeParDefaut': {'_T': 24, 'V': {'L': 'Année continue', 'N': '112#w_c6ulShW4Qejzt0TWMIb0xz9-L2uE-98U0LV4sMCGo'}}}, {'G': 201, 'listePeriodes': {'_T': 24, 'V': [{'L': 'Année continue', 'N': '112#w_c6ulShW4Qejzt0TWMIb0xz9-L2uE-98U0LV4sMCGo', 'G': 2, 'A': True, 'GenreNotation': 3}, {'L': 'année', 'N': '112#yplsixNRk-nDSEufVqboQg-9jE-MNgClcFYUDvA1d4E', 'G': 4, 'A': True, 'GenreNotation': 0}, {'L': 'Hors période', 'N': '112#0uD_ITr10oTKZBMIMcfHTCK8xNpsERNQDdZv2AtEjoc', 'G': 4, 'A': True, 'GenreNotation': 0}]}, 'periodeParDefaut': {'_T': 24, 'V': {'L': 'Année continue', 'N': '112#w_c6ulShW4Qejzt0TWMIb0xz9-L2uE-98U0LV4sMCGo'}}}, {'G': 277, 'listePeriodes': {'_T': 24, 'V': [{'L': 'Année continue', 'N': '112#w_c6ulShW4Qejzt0TWMIb0xz9-L2uE-98U0LV4sMCGo', 'G': 2, 'A': True, 'GenreNotation': 3}, {'L': 'année', 'N': '112#yplsixNRk-nDSEufVqboQg-9jE-MNgClcFYUDvA1d4E', 'G': 4, 'A': True, 'GenreNotation': 0}, {'L': 'Hors période', 'N': '112#0uD_ITr10oTKZBMIMcfHTCK8xNpsERNQDdZv2AtEjoc', 'G': 4, 'A': True, 'GenreNotation': 0}]}, 'periodeParDefaut': {'_T': 24, 'V': {'L': 'Année continue', 'N': '112#w_c6ulShW4Qejzt0TWMIb0xz9-L2uE-98U0LV4sMCGo'}}}, {'G': 278, 'listePeriodes': {'_T': 24, 'V': [{'L': 'Année continue', 'N': '112#w_c6ulShW4Qejzt0TWMIb0xz9-L2uE-98U0LV4sMCGo', 'G': 2, 'A': True, 'GenreNotation': 3}, {'L': 'année', 'N': '112#yplsixNRk-nDSEufVqboQg-9jE-MNgClcFYUDvA1d4E', 'G': 4, 'A': True, 'GenreNotation': 0}, {'L': 'Hors période', 'N': '112#0uD_ITr10oTKZBMIMcfHTCK8xNpsERNQDdZv2AtEjoc', 'G': 4, 'A': True, 'GenreNotation': 0}]}, 'periodeParDefaut': {'_T': 24, 'V': {'L': 'Année continue', 'N': '112#w_c6ulShW4Qejzt0TWMIb0xz9-L2uE-98U0LV4sMCGo'}}}]}, 'listeOngletsPourPiliers': {'_T': 24, 'V': [{'G': 45, 'listePaliers': {'_T': 24, 'V': [{'L': 'Cycle 4', 'N': '107#-M5eNnMVjUhj6RFOzwqQuxDBCUdlpy1eFHItp0TgHls', 'G': 27, 'listePiliers': {'_T': 24, 'V': [{'L': "D1.1 - Langue française à l'oral et à l'écrit", 'N': '114#7i53O8dXee1n7Gx5FV2IpSSGO5il2y0bQRucFDL2bN8', 'G': 23, 'P': 1, 'estPilierLVE': False, 'estSocleCommun': True}, {'L': 'D1.2 - Langues étrangères et régionales', 'N': '114#HyA2LWt9ZfOa8IucJBQq7oYMie_hBYkFoGQwvFlZOPs', 'G': 23, 'P': 2, 'estPilierLVE': True, 'estSocleCommun': True}, {'L': 'D1.3 - Langages mathématiques, scientifiques et informatiques', 'N': '114#MVOZFaLlwSShr9jpr8yWrXW5GfU3zSCXgnfoWXWbNc8', 'G': 23, 'P': 3, 'estPilierLVE': False, 'estSocleCommun': True}, {'L': 'D1.4 - Langage des arts et du corps', 'N': '114#pJPNN_-Hb0X465Ogv-Kv_Z7soFoGNs7s4Ta3VhQw9U0', 'G': 23, 'P': 4, 'estPilierLVE': False, 'estSocleCommun': True}, {'L': 'D2 - Les méthodes et outils pour apprendre', 'N': '114#hsRHFj5ByjKotej1xq6b_ht7o6ZVtfOesBJIgiXXt_U', 'G': 23, 'P': 5, 'estPilierLVE': False, 'estSocleCommun': True}, {'L': 'D3 - La formation de la personne et du citoyen', 'N': '114#P2bB3oG6Rd_yMrA6ccgoXlk_OfUGGTrQfrRGElEvRgk', 'G': 23, 'P': 6, 'estPilierLVE': False, 'estSocleCommun': True}, {'L': 'D4 - Les systèmes naturels et les systèmes techniques', 'N': '114#NTIo1MVQB_bv5Lux7r4qKEXJlj6n4cL71Q1PuNFlwNk', 'G': 23, 'P': 7, 'estPilierLVE': False, 'estSocleCommun': True}, {'L': "D5 - Les représentations du monde et l'activité humaine", 'N': '114#aYDyZd5NgH21-NBgyMVyA8fDNH5vQwDKFjKK1i6YljQ', 'G': 23, 'P': 8, 'estPilierLVE': False, 'estSocleCommun': True}]}}]}}, {'G': 249, 'listePaliers': {'_T': 24, 'V': [{'L': 'Compétences numériques', 'N': '107#sIEoEtD8yu2jFJyFTqJE_Pks3aRf_ncaFE9NWrCz2Pw', 'G': 27, 'listePiliers': {'_T': 24, 'V': [{'L': 'Information et données', 'N': '114#gwvwLTrAyXONgkJVxIq8OZ71fFsB2If4OrOls2lH268', 'G': 23, 'P': 10, 'estPilierLVE': False}, {'L': 'Communication et collaboration', 'N': '114#7HFblGwHb6ZpFHnC6YVjg6JnifgulO9iwv0Q4KV5YvA', 'G': 23, 'P': 11, 'estPilierLVE': False}, {'L': 'Création de contenu', 'N': '114#qwCuywdGdVd1y1TEm6yyKWESLlKCuYVlNcblQ8ScfkQ', 'G': 23, 'P': 12, 'estPilierLVE': False}, {'L': 'Protection et sécurité', 'N': '114#3jfwKa-yNhY6Ma4alpQIbXnYFEUD12DThj9TBDJ2hXY', 'G': 23, 'P': 13, 'estPilierLVE': False}, {'L': 'Environnement numérique', 'N': '114#PG4a5OsoWk69Wol3Asha2ERrphMwHW3MQdOJjx6h7kQ', 'G': 23, 'P': 14, 'estPilierLVE': False}]}}]}}]}, 'listeSessions': {'_T': 24, 'V': [{'L': 'rencontre mi semestre 1', 'N': '142#ccJhvAv5WL-DwkDiaPHP8v5RV3gNgqOxWTNu-fKMkJ8', 'date': {'_T': 7, 'V': '07/11/2023'}, 'strHeureDebut': '17h00', 'strHeureFin': '19h30', 'visibleDesiderataIndispo': True, 'visiblePlanning': True}]}}, 'avecAbsencesEleve': False, 'avecConseilDeClasse': True, 'estEDTPermanence': False, 'avecAbsencesRessource': True, 'avecDisponibilites': True, 'avecInfosPrefsGrille': True, 'Ressource': {'L': 'THIEBAULT Clara', 'N': '47#6lORNOAFK91WirAIs4GyFeHYdpQX_rS7yxBlPTbzoFs', 'G': 4, 'P': 679, 'Etablissement': {'_T': 24, 'V': {'L': 'COLLEGE ROBERT DOISNEAU', 'N': '53#YuA6uS32oCLNwvqLg0vF-k0GeSN7JNhdGuzpI_TtoHw'}}, 'avecPhoto': True, 'classeDEleve': {'L': '5MENTAWI', 'N': '23#SbvMA4eqYiBmY1Z1CrraUKYUveTBDjW-4Xd4m9jmr0s'}, 'listeClassesHistoriques': {'_T': 24, 'V': [{'L': '5MENTAWI', 'N': '23#SbvMA4eqYiBmY1Z1CrraUKYUveTBDjW-4Xd4m9jmr0s', 'AvecNote': False, 'AvecFiliere': False}]}, 'listeGroupes': {'_T': 24, 'V': [{'L': '5MENDAWIP.2', 'N': '63#7gTiGEl3oVECLG-7K36Pb_Ndzk5upjpxllDgghZRVGg'}]}, 'listeOngletsPourPeriodes': {'_T': 24, 'V': [{'G': 12, 'listePeriodes': {'_T': 24, 'V': [{'L': 'Année continue', 'N': '112#w_c6ulShW4Qejzt0TWMIb0xz9-L2uE-98U0LV4sMCGo', 'G': 2, 'A': True, 'GenreNotation': 3}, {'L': 'année', 'N': '112#yplsixNRk-nDSEufVqboQg-9jE-MNgClcFYUDvA1d4E', 'G': 4, 'A': True, 'GenreNotation': 0}, {'L': 'Hors période', 'N': '112#0uD_ITr10oTKZBMIMcfHTCK8xNpsERNQDdZv2AtEjoc', 'G': 4, 'A': True, 'GenreNotation': 0}]}, 'periodeParDefaut': {'_T': 24, 'V': {'L': 'Année continue', 'N': '112#w_c6ulShW4Qejzt0TWMIb0xz9-L2uE-98U0LV4sMCGo'}}}, {'G': 198, 'listePeriodes': {'_T': 24, 'V': [{'L': 'Année continue', 'N': '112#w_c6ulShW4Qejzt0TWMIb0xz9-L2uE-98U0LV4sMCGo', 'G': 2, 'A': True, 'GenreNotation': 3}, {'L': 'année', 'N': '112#yplsixNRk-nDSEufVqboQg-9jE-MNgClcFYUDvA1d4E', 'G': 4, 'A': True, 'GenreNotation': 0}, {'L': 'Hors période', 'N': '112#0uD_ITr10oTKZBMIMcfHTCK8xNpsERNQDdZv2AtEjoc', 'G': 4, 'A': True, 'GenreNotation': 0}]}, 'periodeParDefaut': {'_T': 24, 'V': {'L': 'Année continue', 'N': '112#w_c6ulShW4Qejzt0TWMIb0xz9-L2uE-98U0LV4sMCGo'}}}, {'G': 13, 'listePeriodes': {'_T': 24, 'V': [{'L': 'Année continue', 'N': '112#w_c6ulShW4Qejzt0TWMIb0xz9-L2uE-98U0LV4sMCGo', 'G': 2, 'A': True, 'GenreNotation': 3}, {'L': 'année', 'N': '112#yplsixNRk-nDSEufVqboQg-9jE-MNgClcFYUDvA1d4E', 'G': 4, 'A': True, 'GenreNotation': 0}, {'L': 'Hors période', 'N': '112#0uD_ITr10oTKZBMIMcfHTCK8xNpsERNQDdZv2AtEjoc', 'G': 4, 'A': True, 'GenreNotation': 0}]}, 'periodeParDefaut': {'_T': 24, 'V': {'L': 'Année continue', 'N': '112#w_c6ulShW4Qejzt0TWMIb0xz9-L2uE-98U0LV4sMCGo'}}}, {'G': 19, 'listePeriodes': {'_T': 24, 'V': [{'L': 'Année continue', 'N': '112#w_c6ulShW4Qejzt0TWMIb0xz9-L2uE-98U0LV4sMCGo', 'G': 2, 'A': True, 'GenreNotation': 3}]}, 'periodeParDefaut': {'_T': 24, 'V': {'L': 'Année continue', 'N': '112#w_c6ulShW4Qejzt0TWMIb0xz9-L2uE-98U0LV4sMCGo'}}}, {'G': 230, 'listePeriodes': {'_T': 24, 'V': [{'L': 'Année continue', 'N': '112#w_c6ulShW4Qejzt0TWMIb0xz9-L2uE-98U0LV4sMCGo', 'G': 2, 'A': True, 'GenreNotation': 3}, {'L': 'année', 'N': '112#yplsixNRk-nDSEufVqboQg-9jE-MNgClcFYUDvA1d4E', 'G': 4, 'A': True, 'GenreNotation': 0}, {'L': 'Hors période', 'N': '112#0uD_ITr10oTKZBMIMcfHTCK8xNpsERNQDdZv2AtEjoc', 'G': 4, 'A': True, 'GenreNotation': 0}]}, 'periodeParDefaut': {'_T': 24, 'V': {'L': 'Année continue', 'N': '112#w_c6ulShW4Qejzt0TWMIb0xz9-L2uE-98U0LV4sMCGo'}}}, {'G': 100, 'listePeriodes': {'_T': 24, 'V': [{'L': 'Année continue', 'N': '112#w_c6ulShW4Qejzt0TWMIb0xz9-L2uE-98U0LV4sMCGo', 'G': 2, 'A': True, 'GenreNotation': 3}, {'L': 'année', 'N': '112#yplsixNRk-nDSEufVqboQg-9jE-MNgClcFYUDvA1d4E', 'G': 4, 'A': True, 'GenreNotation': 0}, {'L': 'Hors période', 'N': '112#0uD_ITr10oTKZBMIMcfHTCK8xNpsERNQDdZv2AtEjoc', 'G': 4, 'A': True, 'GenreNotation': 0}]}, 'periodeParDefaut': {'_T': 24, 'V': {'L': 'Année continue', 'N': '112#w_c6ulShW4Qejzt0TWMIb0xz9-L2uE-98U0LV4sMCGo'}}}, {'G': 219, 'listePeriodes': {'_T': 24, 'V': [{'L': 'Année continue', 'N': '112#w_c6ulShW4Qejzt0TWMIb0xz9-L2uE-98U0LV4sMCGo', 'G': 2, 'A': True, 'GenreNotation': 3}, {'L': 'année', 'N': '112#yplsixNRk-nDSEufVqboQg-9jE-MNgClcFYUDvA1d4E', 'G': 4, 'A': True, 'GenreNotation': 0}, {'L': 'Hors période', 'N': '112#0uD_ITr10oTKZBMIMcfHTCK8xNpsERNQDdZv2AtEjoc', 'G': 4, 'A': True, 'GenreNotation': 0}]}, 'periodeParDefaut': {'_T': 24, 'V': {'L': 'Année continue', 'N': '112#w_c6ulShW4Qejzt0TWMIb0xz9-L2uE-98U0LV4sMCGo'}}}, {'G': 216, 'listePeriodes': {'_T': 24, 'V': [{'L': 'Année continue', 'N': '112#w_c6ulShW4Qejzt0TWMIb0xz9-L2uE-98U0LV4sMCGo', 'G': 2, 'A': True, 'GenreNotation': 3}, {'L': 'année', 'N': '112#yplsixNRk-nDSEufVqboQg-9jE-MNgClcFYUDvA1d4E', 'G': 4, 'A': True, 'GenreNotation': 0}, {'L': 'Hors période', 'N': '112#0uD_ITr10oTKZBMIMcfHTCK8xNpsERNQDdZv2AtEjoc', 'G': 4, 'A': True, 'GenreNotation': 0}]}, 'periodeParDefaut': {'_T': 24, 'V': {'L': 'Année continue', 'N': '112#w_c6ulShW4Qejzt0TWMIb0xz9-L2uE-98U0LV4sMCGo'}}}, {'G': 41, 'listePeriodes': {'_T': 24, 'V': [{'L': 'Année continue', 'N': '112#w_c6ulShW4Qejzt0TWMIb0xz9-L2uE-98U0LV4sMCGo', 'G': 2, 'A': True, 'GenreNotation': 3}, {'L': 'année', 'N': '112#yplsixNRk-nDSEufVqboQg-9jE-MNgClcFYUDvA1d4E', 'G': 4, 'A': True, 'GenreNotation': 0}, {'L': 'Hors période', 'N': '112#0uD_ITr10oTKZBMIMcfHTCK8xNpsERNQDdZv2AtEjoc', 'G': 4, 'A': True, 'GenreNotation': 0}]}, 'periodeParDefaut': {'_T': 24, 'V': {'L': 'Année continue', 'N': '112#w_c6ulShW4Qejzt0TWMIb0xz9-L2uE-98U0LV4sMCGo'}}}, {'G': 111, 'listePeriodes': {'_T': 24, 'V': [{'L': 'Année continue', 'N': '112#w_c6ulShW4Qejzt0TWMIb0xz9-L2uE-98U0LV4sMCGo', 'G': 2, 'A': True, 'GenreNotation': 3, 'datePublication': {'_T': 7, 'V': '06/07/2024'}}]}, 'periodeParDefaut': {'_T': 24, 'V': {'L': 'Année continue', 'N': '112#w_c6ulShW4Qejzt0TWMIb0xz9-L2uE-98U0LV4sMCGo'}}}, {'G': 99, 'listePeriodes': {'_T': 24, 'V': [{'L': 'Année continue', 'N': '112#w_c6ulShW4Qejzt0TWMIb0xz9-L2uE-98U0LV4sMCGo', 'G': 2, 'A': True, 'GenreNotation': 3}]}, 'periodeParDefaut': {'_T': 24, 'V': {'L': 'Année continue', 'N': '112#w_c6ulShW4Qejzt0TWMIb0xz9-L2uE-98U0LV4sMCGo'}}}, {'G': 201, 'listePeriodes': {'_T': 24, 'V': [{'L': 'Année continue', 'N': '112#w_c6ulShW4Qejzt0TWMIb0xz9-L2uE-98U0LV4sMCGo', 'G': 2, 'A': True, 'GenreNotation': 3}, {'L': 'année', 'N': '112#yplsixNRk-nDSEufVqboQg-9jE-MNgClcFYUDvA1d4E', 'G': 4, 'A': True, 'GenreNotation': 0}, {'L': 'Hors période', 'N': '112#0uD_ITr10oTKZBMIMcfHTCK8xNpsERNQDdZv2AtEjoc', 'G': 4, 'A': True, 'GenreNotation': 0}]}, 'periodeParDefaut': {'_T': 24, 'V': {'L': 'Année continue', 'N': '112#w_c6ulShW4Qejzt0TWMIb0xz9-L2uE-98U0LV4sMCGo'}}}, {'G': 277, 'listePeriodes': {'_T': 24, 'V': [{'L': 'Année continue', 'N': '112#w_c6ulShW4Qejzt0TWMIb0xz9-L2uE-98U0LV4sMCGo', 'G': 2, 'A': True, 'GenreNotation': 3}, {'L': 'année', 'N': '112#yplsixNRk-nDSEufVqboQg-9jE-MNgClcFYUDvA1d4E', 'G': 4, 'A': True, 'GenreNotation': 0}, {'L': 'Hors période', 'N': '112#0uD_ITr10oTKZBMIMcfHTCK8xNpsERNQDdZv2AtEjoc', 'G': 4, 'A': True, 'GenreNotation': 0}]}, 'periodeParDefaut': {'_T': 24, 'V': {'L': 'Année continue', 'N': '112#w_c6ulShW4Qejzt0TWMIb0xz9-L2uE-98U0LV4sMCGo'}}}, {'G': 278, 'listePeriodes': {'_T': 24, 'V': [{'L': 'Année continue', 'N': '112#w_c6ulShW4Qejzt0TWMIb0xz9-L2uE-98U0LV4sMCGo', 'G': 2, 'A': True, 'GenreNotation': 3}, {'L': 'année', 'N': '112#yplsixNRk-nDSEufVqboQg-9jE-MNgClcFYUDvA1d4E', 'G': 4, 'A': True, 'GenreNotation': 0}, {'L': 'Hors période', 'N': '112#0uD_ITr10oTKZBMIMcfHTCK8xNpsERNQDdZv2AtEjoc', 'G': 4, 'A': True, 'GenreNotation': 0}]}, 'periodeParDefaut': {'_T': 24, 'V': {'L': 'Année continue', 'N': '112#w_c6ulShW4Qejzt0TWMIb0xz9-L2uE-98U0LV4sMCGo'}}}]}, 'listeOngletsPourPiliers': {'_T': 24, 'V': [{'G': 45, 'listePaliers': {'_T': 24, 'V': [{'L': 'Cycle 4', 'N': '107#-M5eNnMVjUhj6RFOzwqQuxDBCUdlpy1eFHItp0TgHls', 'G': 27, 'listePiliers': {'_T': 24, 'V': [{'L': "D1.1 - Langue française à l'oral et à l'écrit", 'N': '114#7i53O8dXee1n7Gx5FV2IpSSGO5il2y0bQRucFDL2bN8', 'G': 23, 'P': 1, 'estPilierLVE': False, 'estSocleCommun': True}, {'L': 'D1.2 - Langues étrangères et régionales', 'N': '114#HyA2LWt9ZfOa8IucJBQq7oYMie_hBYkFoGQwvFlZOPs', 'G': 23, 'P': 2, 'estPilierLVE': True, 'estSocleCommun': True}, {'L': 'D1.3 - Langages mathématiques, scientifiques et informatiques', 'N': '114#MVOZFaLlwSShr9jpr8yWrXW5GfU3zSCXgnfoWXWbNc8', 'G': 23, 'P': 3, 'estPilierLVE': False, 'estSocleCommun': True}, {'L': 'D1.4 - Langage des arts et du corps', 'N': '114#pJPNN_-Hb0X465Ogv-Kv_Z7soFoGNs7s4Ta3VhQw9U0', 'G': 23, 'P': 4, 'estPilierLVE': False, 'estSocleCommun': True}, {'L': 'D2 - Les méthodes et outils pour apprendre', 'N': '114#hsRHFj5ByjKotej1xq6b_ht7o6ZVtfOesBJIgiXXt_U', 'G': 23, 'P': 5, 'estPilierLVE': False, 'estSocleCommun': True}, {'L': 'D3 - La formation de la personne et du citoyen', 'N': '114#P2bB3oG6Rd_yMrA6ccgoXlk_OfUGGTrQfrRGElEvRgk', 'G': 23, 'P': 6, 'estPilierLVE': False, 'estSocleCommun': True}, {'L': 'D4 - Les systèmes naturels et les systèmes techniques', 'N': '114#NTIo1MVQB_bv5Lux7r4qKEXJlj6n4cL71Q1PuNFlwNk', 'G': 23, 'P': 7, 'estPilierLVE': False, 'estSocleCommun': True}, {'L': "D5 - Les représentations du monde et l'activité humaine", 'N': '114#aYDyZd5NgH21-NBgyMVyA8fDNH5vQwDKFjKK1i6YljQ', 'G': 23, 'P': 8, 'estPilierLVE': False, 'estSocleCommun': True}]}}]}}, {'G': 249, 'listePaliers': {'_T': 24, 'V': [{'L': 'Compétences numériques', 'N': '107#sIEoEtD8yu2jFJyFTqJE_Pks3aRf_ncaFE9NWrCz2Pw', 'G': 27, 'listePiliers': {'_T': 24, 'V': [{'L': 'Information et données', 'N': '114#gwvwLTrAyXONgkJVxIq8OZ71fFsB2If4OrOls2lH268', 'G': 23, 'P': 10, 'estPilierLVE': False}, {'L': 'Communication et collaboration', 'N': '114#7HFblGwHb6ZpFHnC6YVjg6JnifgulO9iwv0Q4KV5YvA', 'G': 23, 'P': 11, 'estPilierLVE': False}, {'L': 'Création de contenu', 'N': '114#qwCuywdGdVd1y1TEm6yyKWESLlKCuYVlNcblQ8ScfkQ', 'G': 23, 'P': 12, 'estPilierLVE': False}, {'L': 'Protection et sécurité', 'N': '114#3jfwKa-yNhY6Ma4alpQIbXnYFEUD12DThj9TBDJ2hXY', 'G': 23, 'P': 13, 'estPilierLVE': False}, {'L': 'Environnement numérique', 'N': '114#PG4a5OsoWk69Wol3Asha2ERrphMwHW3MQdOJjx6h7kQ', 'G': 23, 'P': 14, 'estPilierLVE': False}]}}]}}]}, 'listeSessions': {'_T': 24, 'V': [{'L': 'rencontre mi semestre 1', 'N': '142#ccJhvAv5WL-DwkDiaPHP8v5RV3gNgqOxWTNu-fKMkJ8', 'date': {'_T': 7, 'V': '07/11/2023'}, 'strHeureDebut': '17h00', 'strHeureFin': '19h30', 'visibleDesiderataIndispo': True, 'visiblePlanning': True}]}}, 'NumeroSemaine': 37, 'numeroSemaine': 37}}}
[2024-05-16 07:06:39][DEBUG] : https://0912109y.index-education.net:443 "POST /pronote/appelfonction/2/1011110/289ba35c0bc160d7b770515953280cfd HTTP/1.1" 200 87
[2024-05-16 07:06:39][INFO] : Have you tried turning it off and on again? ERROR: 8 | La page a expiré ! (1)
[2024-05-16 07:06:39][DEBUG] : Reinitialisation
[2024-05-16 07:06:39][DEBUG] : [ENT https://www.moncollege-ent.essonne.fr/auth/login] Logging in with aWOur5r99UVzOznPNUGd4lfB9cMTTBJuGd9krV1kEy0
[2024-05-16 07:06:39][DEBUG] : Starting new HTTPS connection (1): www.moncollege-ent.essonne.fr:443
[2024-05-16 07:06:44][DEBUG] : https://www.moncollege-ent.essonne.fr:443 "POST /auth/login HTTP/1.1" 200 None
[2024-05-16 07:06:44][ERROR] : Une erreur est retournée sur le traitement de l'emploi du temps-lig: 443; Fail to connect with Open NG https://www.moncollege-ent.essonne.fr/auth/login : probably wrong login information
[2024-05-16 07:06:44][INFO] : Je récupére les notes
[2024-05-16 07:06:44][DEBUG] : [_Communication.post] sending post request: {'session': 1011110, 'numeroOrdre': '8b36ec822b80e2b8c369d289db6dcc9f', 'nom': 'DernieresNotes', 'donneesSec': {'_Signature_': {'onglet': 198, 'membre': {'N': '47#6lORNOAFK91WirAIs4GyFeHYdpQX_rS7yxBlPTbzoFs', 'G': 4}}, 'donnees': {'Periode': {'N': '112#w_c6ulShW4Qejzt0TWMIb0xz9-L2uE-98U0LV4sMCGo', 'L': 'Année continue'}}}}
[2024-05-16 07:06:44][DEBUG] : Starting new HTTPS connection (1): 0912109y.index-education.net:443
[2024-05-16 07:06:44][DEBUG] : https://0912109y.index-education.net:443 "POST /pronote/appelfonction/2/1011110/8b36ec822b80e2b8c369d289db6dcc9f HTTP/1.1" 200 87
[2024-05-16 07:06:44][INFO] : Have you tried turning it off and on again? ERROR: 8 | La page a expiré ! (1)
[2024-05-16 07:06:44][DEBUG] : Reinitialisation
[2024-05-16 07:06:44][DEBUG] : [ENT https://www.moncollege-ent.essonne.fr/auth/login] Logging in with aWOur5r99UVzOznPNUGd4lfB9cMTTBJuGd9krV1kEy0
[2024-05-16 07:06:44][DEBUG] : Starting new HTTPS connection (1): www.moncollege-ent.essonne.fr:443
[2024-05-16 07:06:44][DEBUG] : https://www.moncollege-ent.essonne.fr:443 "POST /auth/login HTTP/1.1" 200 None
[2024-05-16 07:06:44][ERROR] : Un erreur est retourné sur le traitement des notes: Fail to connect with Open NG https://www.moncollege-ent.essonne.fr/auth/login : probably wrong login information
[2024-05-16 07:06:44][INFO] : Je récupére les devoirs
[2024-05-16 07:06:44][DEBUG] : [_Communication.post] sending post request: {'session': 1011110, 'numeroOrdre': 'e5d129241624cce7f7420d90eb617b01', 'nom': 'PageCahierDeTexte', 'donneesSec': {'_Signature_': {'onglet': 88, 'membre': {'N': '47#6lORNOAFK91WirAIs4GyFeHYdpQX_rS7yxBlPTbzoFs', 'G': 4}}, 'donnees': {'domaine': {'_T': 8, 'V': '[37..44]'}}}}
[2024-05-16 07:06:44][DEBUG] : Starting new HTTPS connection (1): 0912109y.index-education.net:443
[2024-05-16 07:06:44][DEBUG] : https://0912109y.index-education.net:443 "POST /pronote/appelfonction/2/1011110/e5d129241624cce7f7420d90eb617b01 HTTP/1.1" 200 87
[2024-05-16 07:06:44][INFO] : Have you tried turning it off and on again? ERROR: 8 | La page a expiré ! (1)
[2024-05-16 07:06:44][DEBUG] : Reinitialisation
[2024-05-16 07:06:44][DEBUG] : [ENT https://www.moncollege-ent.essonne.fr/auth/login] Logging in with aWOur5r99UVzOznPNUGd4lfB9cMTTBJuGd9krV1kEy0
[2024-05-16 07:06:44][DEBUG] : Starting new HTTPS connection (1): www.moncollege-ent.essonne.fr:443
[2024-05-16 07:06:44][DEBUG] : https://www.moncollege-ent.essonne.fr:443 "POST /auth/login HTTP/1.1" 200 None
[2024-05-16 07:06:44][ERROR] : Une erreur est retournée sur le traitement des devoirs-lig: 622; Fail to connect with Open NG https://www.moncollege-ent.essonne.fr/auth/login : probably wrong login information
[2024-05-16 07:06:44][INFO] : Je récupére les menus
[2024-05-16 07:06:44][DEBUG] : [_Communication.post] sending post request: {'session': 1011110, 'numeroOrdre': 'cad10934227a4a85329729040f63da59', 'nom': 'PageMenus', 'donneesSec': {'_Signature_': {'onglet': 10, 'membre': {'N': '47#6lORNOAFK91WirAIs4GyFeHYdpQX_rS7yxBlPTbzoFs', 'G': 4}}, 'donnees': {'date': {'_T': 7, 'V': '13/05/2024 0:0:0'}}}}
[2024-05-16 07:06:44][DEBUG] : Starting new HTTPS connection (1): 0912109y.index-education.net:443
[2024-05-16 07:06:44][DEBUG] : https://0912109y.index-education.net:443 "POST /pronote/appelfonction/2/1011110/cad10934227a4a85329729040f63da59 HTTP/1.1" 200 87
[2024-05-16 07:06:44][INFO] : Have you tried turning it off and on again? ERROR: 8 | La page a expiré ! (1)
[2024-05-16 07:06:44][DEBUG] : Reinitialisation
[2024-05-16 07:06:44][DEBUG] : [ENT https://www.moncollege-ent.essonne.fr/auth/login] Logging in with aWOur5r99UVzOznPNUGd4lfB9cMTTBJuGd9krV1kEy0
[2024-05-16 07:06:44][DEBUG] : Starting new HTTPS connection (1): www.moncollege-ent.essonne.fr:443
[2024-05-16 07:06:44][DEBUG] : https://www.moncollege-ent.essonne.fr:443 "POST /auth/login HTTP/1.1" 200 None
[2024-05-16 07:06:44][ERROR] : Un erreur est retourné sur le traitement des Menus: Fail to connect with Open NG https://www.moncollege-ent.essonne.fr/auth/login : probably wrong login information
[2024-05-16 07:06:44][INFO] : Je récupére les notifications

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants