Skip to content

[python] TraceProcessor fails to instantiate when downloading the perfetto shell under vscode's debugger. #962

@lucamuscat

Description

@lucamuscat

Hey 👋

Whilst using the python perfetto package, I ran into an unhandled exception that occured during the instantiation of a TraceProcessor, more specifically, when the trace processor attempted to download the perfetto shell under vscode's python debugger.

The contents of the exception may be seen here.

Steps to reproduce

I created a minimal reproduction of the bug to aid with your investigation, which you may find here. The following are the steps to reproduce the bug using the provided MVP.

  1. Clone the git repository containing the MVP: git clone https://github.com/lucamuscat/python-perfetto-vscode-bug-repro.git;
  2. Open the workspace in vscode;
  3. Run the Reproduce bug debug profile from the Run and Debug sidebar item.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions