Calling Developers!
We are reenergizing our code contribution process! Learn More

What are the Slack Archives?

It’s a history of our time together in the Slack Community! There’s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you won’t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

Hi, anybody tried blackfire with vendor/bin/console in spryker projects before? I get only > Pr

Options
UMVENKCBF
UMVENKCBF Posts: 38 🧑🏻‍🚀 - Cadet
edited June 2020 in Docker

Hi,
anybody tried blackfire with vendor/bin/console in spryker projects before?

I get only

Profile data is truncated. Please check https://support.blackfire.io/en/collections/145104-troubleshooting
Aggregation canceled.

if I run cmd

blackfire run --ignore-exit-status vendor/bin/console

or

blackfire run vendor/bin/console

local php file is working with

blackfire run php index.php

as example -> will profile and forward to blackfire.io

Blackfire environment variables are set; blackfire extension is loaded

Comments

  • sprymiker
    sprymiker Cloud Platform Architect Sprykee Posts: 781 🧑🏻‍🚀 - Cadet
    edited June 2020
    Options

    I’ve experienced similar behavior, but I really do not remember how did I fix that.

  • sprymiker
    sprymiker Cloud Platform Architect Sprykee Posts: 781 🧑🏻‍🚀 - Cadet
    Options

    Does profiling from browser work?

  • sprymiker
    sprymiker Cloud Platform Architect Sprykee Posts: 781 🧑🏻‍🚀 - Cadet
    Options

    I have a feeling that downgrading of blackfire agent helped me. But I am not sure.

  • UMVENKCBF
    UMVENKCBF Posts: 38 🧑🏻‍🚀 - Cadet
    Options

    I "fixed" it.
    I killed in /vendor/spryker/error-handler/src/Spryker/Shared/ErrorHandler/ErrorHandlerEnvironment.php
    Method: s_etErrorHandler_

    This part:
    if ($shouldThrowException) {
    throw $exception;
    }

  • sprymiker
    sprymiker Cloud Platform Architect Sprykee Posts: 781 🧑🏻‍🚀 - Cadet
    Options

    Interesting… 🤔