python_traceback
An uncaught Python exception. The exception type and message are on the traceback's last line; the frames above show where it was raised.
pythonruntimetoolmatcher
Install: ci-doctor matchers add official/python_traceback
matchers/python/python_traceback/matcher.yaml
id: python_tracebackrole: toolclassification: [python, runtime]description: An uncaught Python exception. The exception type and message are on the traceback's last line; the frames above show where it was raised.pattern: '^\s*Traceback \(most recent call last\):'before: 1after: 25
In bundles
Fixtures
Framing stripped per provider. Highlighted lines are what this matcher selects; the marked line is the anchor.
python_tracebackOpen in playground
1Current runner version: '2.336.0'
2##[group]Operating System
3Ubuntu
424.04.4
5LTS
6##[endgroup]
7Secret source: Actions
8Prepare workflow directory
9Prepare all required actions
10Complete job name: python_traceback
11##[group]Set up job
12Image: ubuntu-24.04
13Runner name: 'GitHub Actions 12'
14##[endgroup]
15Download action repository 'actions/checkout@v4'
16Download action repository 'actions/cache@v4'
17##[group]Run actions/checkout@v4
18 with:
19 fetch-depth: 20
20 lfs: false
21##[endgroup]
22Syncing repository: acme/ledger
23##[group]Getting Git version info
24Working directory is '/home/runner/work/ledger/ledger'
25##[endgroup]
26/usr/bin/git checkout --progress --force 8ad41f02
27##[group]Run actions/cache@v4
28 with:
29 path: ~/.cache
30 key: Linux-deps-8ad41f02
31##[endgroup]
32Received 41943040 of 41943040 (100.0%), 40.0 MBs/sec
33Cache restored from key: Linux-deps-8ad41f02
34##[group]Run pip install -e . --quiet
35pip install -e . --quiet
36python -m etl.run --config config/prod.yml
37shell: /usr/bin/bash -e {0}
38##[endgroup]
39Successfully installed etl-2.1.0
402026-01-05 09:14:02 INFO etl.run: loading config from config/prod.yml
412026-01-05 09:14:02 INFO etl.run: connecting to warehouse
422026-01-05 09:14:03 INFO etl.extract: pulled 12,481 rows from orders
432026-01-05 09:14:04 INFO etl.transform: applying fx conversion
44Traceback (most recent call last):
45 File "/usr/local/lib/python3.12/runpy.py", line 198, in _run_module_as_main
46 return _run_code(code, main_globals, None,
47 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
48 File "/builds/team/etl/etl/run.py", line 61, in <module>
49 main()
50 File "/builds/team/etl/etl/run.py", line 44, in main
51 totals = transform(rows, rate=cfg["fx"]["rate"])
52 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
53 File "/builds/team/etl/etl/transform.py", line 88, in transform
54 return [r.amount / rate for r in rows]
55 ~~~~~~~~~^~~~~~
56ZeroDivisionError: float division by zero
57##[error]Process completed with exit code 1.
58##[group]Post Run actions/checkout@v4
59##[endgroup]
60/usr/bin/git version
61git version 2.54.0
62##[group]Post Run actions/upload-artifact@v4
63##[endgroup]
64Artifact upload complete.
65##[warning]out/totals.parquet: no matching files. Ensure that the artifact path is relative to the working directory
66Post job cleanup.
67Cleaning up orphan processes
1Running with gitlab-runner 16.9.1 (d773c4a1)
2 on py-runner-05 Py8Lc4Rd, system ID: s_33aa44bb55cc
3Preparing the "docker" executor
4 Using Docker executor with image python:3.12-slim ...
5Using Docker executor with image python:3.12-slim ...
6Using docker image sha256:2b1a0f9e8d7c for python:3.12-slim with digest python@sha256:3c4d...
7Preparing environment
8Running on runner-py8lc4rd-project-37-concurrent-0...
9Fetching changes with git depth set to 50...
10Checking out fe20c7a3 as detached HEAD...
11Checking cache for pip-3.12-default...
12Successfully extracted cache
13$ pip install -e . --quiet
14Successfully installed etl-2.1.0
15$ python -m etl.run --config config/prod.yml
162026-01-05 09:14:02 INFO etl.run: loading config from config/prod.yml
172026-01-05 09:14:02 INFO etl.run: connecting to warehouse
182026-01-05 09:14:03 INFO etl.extract: pulled 12,481 rows from orders
192026-01-05 09:14:04 INFO etl.transform: applying fx conversion
20Traceback (most recent call last):
21 File "/usr/local/lib/python3.12/runpy.py", line 198, in _run_module_as_main
22 return _run_code(code, main_globals, None,
23 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
24 File "/builds/team/etl/etl/run.py", line 61, in <module>
25 main()
26 File "/builds/team/etl/etl/run.py", line 44, in main
27 totals = transform(rows, rate=cfg["fx"]["rate"])
28 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
29 File "/builds/team/etl/etl/transform.py", line 88, in transform
30 return [r.amount / rate for r in rows]
31 ~~~~~~~~~^~~~~~
32ZeroDivisionError: float division by zero
33Running after_script
34$ echo "etl run failed"
35etl run failed
36Uploading artifacts for failed job
37WARNING: out/totals.parquet: no matching files. Ensure that the artifact path is relative to the working directory
38ERROR: Job failed: exit code 1