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

[BUG]: Workflow Fail – Extract data from DRTT #3

Closed
HarryVasanth opened this issue Jun 15, 2022 · 0 comments · Fixed by #4
Closed

[BUG]: Workflow Fail – Extract data from DRTT #3

HarryVasanth opened this issue Jun 15, 2022 · 0 comments · Fixed by #4
Assignees
Labels
🐛 bug Something isn't working

Comments

@HarryVasanth
Copy link
Collaborator

Expected Behavior

➡️ Run python script.py > gas_info.json

  python script.py > gas_info.json
  shell: /usr/bin/bash -e {0}
  env:
    pythonLocation: /opt/hostedtoolcache/Python/[3](https://github.com/carlosrsabreu/devo-abastecer/runs/6851627521?check_suite_focus=true#step:5:3).10.[4](https://github.com/carlosrsabreu/devo-abastecer/runs/6851627521?check_suite_focus=true#step:5:4)/x[6](https://github.com/carlosrsabreu/devo-abastecer/runs/6851627521?check_suite_focus=true#step:5:6)4
    LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.10.4/x64/lib

Actual Behavior

➡️ Run python script.py > gas_info.json

Traceback (most recent call last):
  File "/home/runner/work/devo-abastecer/devo-abastecer/script.py", line 32, in <module>
    start_date, end_date = gas_info[i].replace('.', '-').split('\xa0a ')
ValueError: not enough values to unpack (expected 2, got 1)
Error: Process completed with exit code 1.

Steps to Reproduce the Problem

Extract data from DRTT

  1. The issue currently exists in all branches.
  2. The issue can be reproduced by running the workflow manually or on schedule.
carlosrsabreu added a commit that referenced this issue Jun 16, 2022
Fix Issue #3 - Inconsistency in spaces
@HarryVasanth HarryVasanth added the 🐛 bug Something isn't working label Jan 24, 2023
@HarryVasanth HarryVasanth self-assigned this Jan 24, 2023
@HarryVasanth HarryVasanth changed the title Workflow Fail: Extract data from DRTT [BUG]: Workflow Fail – Extract data from DRTT Jan 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant