Skip to content

UrlFetchRpcHandler error #448

Closed
Closed
@smorodsky

Description

@smorodsky

I used in the project slightly modifying class UrlFetchRpcHandler (file /appengine/standard/urlfetch/async/rpc.py)
Approximately once every 100,000 requests to receive an unexpected error:

UnboundLocalError: local variable 'result' referenced before assignment

It looks like the problem of garbage collection. Completely solve the problem by adding at the beginning define of the line

global result

I hope it will be useful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    🚨This issue needs some love.triage meI really want to be triaged.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions