[ 
https://issues.apache.org/jira/browse/BEAM-8217?focusedWorklogId=311665&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-311665
 ]

ASF GitHub Bot logged work on BEAM-8217:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 12/Sep/19 19:53
            Start Date: 12/Sep/19 19:53
    Worklog Time Spent: 10m 
      Work Description: angoenka commented on issue #9559: [BEAM-8217] 
Cherry-pick PR #9551: Encode str to bytes py3 in sdk harness status server
URL: https://github.com/apache/beam/pull/9559#issuecomment-530980093
 
 
   Run Portable_Python PreCommit
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 311665)
    Time Spent: 1h  (was: 50m)

> py3 sdk harness status server does not print thread stack
> ---------------------------------------------------------
>
>                 Key: BEAM-8217
>                 URL: https://issues.apache.org/jira/browse/BEAM-8217
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-py-harness
>            Reporter: Ankur Goenka
>            Priority: Blocker
>             Fix For: 2.16.0
>
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> The calls are failing with 
> ----------------------------------------
> Exception happened during processing of request from ('127.0.0.1', 56106)
> Traceback (most recent call last):
>   File "/usr/lib/python3.6/socketserver.py", line 320, in 
> _handle_request_noblock
>     self.process_request(request, client_address)
>   File "/usr/lib/python3.6/socketserver.py", line 351, in process_request
>     self.finish_request(request, client_address)
>   File "/usr/lib/python3.6/socketserver.py", line 364, in finish_request
>     self.RequestHandlerClass(request, client_address, self)
>   File "/usr/lib/python3.6/socketserver.py", line 724, in __init__
>     self.handle()
>   File "/usr/lib/python3.6/http/server.py", line 418, in handle
>     self.handle_one_request()
>   File "/usr/lib/python3.6/http/server.py", line 406, in handle_one_request
>     method()
>   File "a.py", line 70, in do_GET
>     self.wfile.write(line)
>   File "/usr/lib/python3.6/socketserver.py", line 803, in write
>     self._sock.sendall(b)
> TypeError: a bytes-like object is required, not 'str'



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to