Closed HarryVasanth closed 2 years ago
➡️ Run python script.py >gas_info.json
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
➡️ 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.
Expected Behavior
➡️ Run python
script.py
>gas_info.json
Actual Behavior
➡️ Run python
script.py
>gas_info.json
Steps to Reproduce the Problem