skinkie / reference

Personal repository where I collect working examples to understand inner workings while building PyNeTExConv
GNU Affero General Public License v3.0
1 stars 1 forks source link

script running has an error if you don't know how to run it #138

Closed skinkie closed 1 month ago

skinkie commented 1 month ago
  File "/mnt/storage/home/skinkie/Sources/references/gtfs-netex-test/aux_test_runner.py", line 120
    print(f'Script {script_name} returned an error. Terminating the block of scripts: {block['block']}')
                                                                                              ^^^^^
SyntaxError: f-string: unmatched '['
ue71603 commented 1 month ago

not enough information @skinkie what did you do?

ue71603 commented 1 month ago

can't reproduce. Did fix some stuff in the docu in the logging PR

skinkie commented 1 month ago

The syntax of the script itself is wrong for the error message. If you cannot reproduce, just make the elif True.

ue71603 commented 1 month ago

that is changed.

ue71603 commented 1 month ago

in the logging branch