Git Product home page Git Product logo

pronote2mqtt's Issues

Unable to connect properly après Lessons

Bonjour,

retour en classe, je repars avec 2 enfants cette année, mais pour chaque ca plante
ca se logge bien, j'ai des données récupérées (en mode debug je les vois), mais après le Collecting Lessons, message d'erreur
pareil pour student1 et student2

2023-09-12 18:47:43,364 INFO got onglets data.
2023-09-12 18:47:43,364 INFO Collecting Student---------------------------------------------------
2023-09-12 18:47:43,365 INFO Skipping Grades and Averages---------------------------------------------------
2023-09-12 18:47:43,365 INFO Collecting Periods---------------------------------------------------
2023-09-12 18:47:43,365 INFO Collecting Evaluations---------------------------------------------------
2023-09-12 18:47:43,554 INFO Collecting Absences---------------------------------------------------
2023-09-12 18:47:43,792 INFO Collecting Lessons---------------------------------------------------
2023-09-12 18:47:44,415 ERROR Unable to properly connect for Student 1

Peut être un élément "vide" en début d'année qui plait pas ?
En debug je vois les appels qui semblent marcher sur la page emploi du temps avant la deconnexion. Pas trop d'idée sur comment gratter.

url pronote

Bonjour, l'url du pronote de mon fils n'est pas sous la forme 'https://'+prefix_url+'.index-education.net/pronote/eleve.html mais 'http://IP_du_pronote/parent.html'
comment faire pour me connecter car si je modifie l'adresse dans pronote.py client = pronotepy.Client('https://'+prefix_url+'.index-education.net/pronote/eleve.html' par 'http://'+prefix_url+/'parent.html' elle revient a pronotepy.Client('https://'+prefix_url+'.index-education.net/pronote/eleve.html' après redémarrage du docker

ModuleNotFoundError: No module named 'hass'

Hi I got this problem:

$docker run --name pronote2mqtt_test --tty -v /home/barry/pronote2mqtt/app:/app -v /home/barry/pronote2mqtt/data:/data vingerha/pronote2mqtt:latest

Using '/app' as APP directory
Param.py non existing, copying default to app...
pronote.py non existing, copying default to app...
pronote2mqtt.py non existing, copying default to app...
pronote2mqtt.py non existing, copying default to app...
mqtt.py non existing, copying default to app...
Traceback (most recent call last):
  File "/app/pronote2mqtt.py", line 16, in <module>
    import hass
ModuleNotFoundError: No module named 'hass'

barry@mbp2010:~/pronote2mqtt$ docker run vingerha/pronote2mqtt:latest ls app
Using '/app' as APP directory
database.py
hass.py
mqtt.py
param.py
pronote2mqtt.py
pronote.py
requirement.txt
barry@mbp2010:~/pronote2mqtt$ ls -l app
total 96
-rw-r--r-- 1 root root 19965 May  6 15:35 database.py
-rw-r--r-- 1 root root  3033 May  6 15:35 mqtt.py
-rw-r--r-- 1 root root  8939 May  6 15:35 param.py
-rw-r--r-- 1 root root 28623 May  6 15:35 pronote2mqtt.py
-rw-r--r-- 1 root root 25353 May  6 15:35 pronote.py
drwxr-xr-x 2 root root  4096 May  6 15:35 __pycache__

Note lack of hass.py

Is it due to entrypoint.sh lines 32-34 ?

if [ ! -f "$APP/database.py" ]; then
    echo "hass.py non existing, copying default to app..."
    cp /app_temp/hass.py "$APP/hass.py"

database.py should be hass.py?

As a beginner in Docker I am not sure how to "get into" the image to change that entrypoint.sh:

barry@mbp2010:~/pronote2mqtt$ docker run vingerha/pronote2mqtt:latest vi entrypoint.sh
Using '/app' as APP directory
/usr/local/bin/entrypoint.sh: 37: exec: vi: not found

I want to map /app so I can easily set my own pronote and mqtt parameters.

Thanks

petit probleme

bonjour, je ne comprent pas comment faire un docker compose pour pronote peu tu m'aider?

student2 not process if student1 failed

Hello,

Got two kids with two different ent.
I've noticed that if stutent1 failed (pronote not already activated for him) the application does not process stutent2.

Regards

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.