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

Algunos scripts fallan #2

Open
Pablohn26 opened this issue Nov 8, 2023 · 0 comments
Open

Algunos scripts fallan #2

Pablohn26 opened this issue Nov 8, 2023 · 0 comments

Comments

@Pablohn26
Copy link

Hola buenas,

lo primero de todo muchas gracias por el código. He probado los scripts del README y he encontrado los siguientes errores:

  • El script Precio horario de ajuste a los consumidores en el mercado me da error en fechas actuales (el campo value es igual a 0). Sin embargo con las de 2022 sí que funciona.
  • El script de mibgas no funciona, da el siguiente error:
Traceback (most recent call last):
  File "./diario-mibgas.py", line 6, in <module>
    prices = download_pmc_on_date(d)
  File "/home/pablo/test/guess_omie_price/guess_omie_price/mibgas_getter.py", line 28, in download_pmc_on_date
    return download_mibgas_component_on_date(base_url, file_url, sheet_number, zone=zone)
  File "/home/pablo/test/guess_omie_price/guess_omie_price/utils.py", line 71, in download_mibgas_component_on_date
    if register['Zone'] != zone.upper():
KeyError: 'Zone'

Saludos y gracias

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

1 participant