Josh Burkart commented on BEAM-3956:

Also, this used to work with the DirectRunner in 2.3.0, but no longer works in 

2.3.0 example output:
WARNING:root:A task failed with exception: 'unicode' object does not support 
item assignment [while running 'ModifyTimestamps']
Traceback (most recent call last):

<...normal Python traceback...>

TypeError: 'unicode' object does not support item assignment [while running 
2.4.0 example output:
TypeError: 'unicode' object does not support item assignment [while running 

> Stacktraces from exceptions in user code should be preserved in the Python SDK
> ------------------------------------------------------------------------------
>                 Key: BEAM-3956
>                 URL: https://issues.apache.org/jira/browse/BEAM-3956
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-py-core
>            Reporter: Stephan Hoyer
>            Priority: Major
>          Time Spent: 6h 10m
>  Remaining Estimate: 0h
> Currently, Beam's Python SDK loses stacktraces for exceptions. It does 
> helpfully add a tag like "[while running StageA]" to exception error 
> messages, but that doesn't include the stacktrace of Python functions being 
> called.
> Including the full stacktraces would make a big difference for the ease of 
> debugging Beam pipelines when things go wrong.

This message was sent by Atlassian JIRA

Reply via email to