Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parallel error: Spatie\Async\Output\ParallelError #50

Closed
Elhellawy opened this issue Nov 17, 2018 · 14 comments
Closed

Parallel error: Spatie\Async\Output\ParallelError #50

Elhellawy opened this issue Nov 17, 2018 · 14 comments

Comments

@Elhellawy
Copy link

Elhellawy commented Nov 17, 2018

Supported 1
Supported1
Supported1
Spatie\Async\Output\ParallelError in /home/el/Php Storm Projects/parallel/vendor/spatie/async/src/Output/ParallelError.php:11 Stack trace: #0 /home/el/Php Storm Projects/parallel/vendor/spatie/async/src/Process/ParallelProcess.php(126): Spatie\Async\Output\ParallelError::fromException('') #1 /home/el/Php Storm Projects/parallel/vendor/spatie/async/src/Process/ProcessCallbacks.php(51): Spatie\Async\Process\ParallelProcess->resolveErrorOutput() #2

code

$pool = Pool::create();
$supported = Pool::isSupported();
echo "Supported"." ".$supported." "."
";
echo "Supported".extension_loaded('posix')."
";
echo "Supported".extension_loaded('pcntl')."
";

$pool
    ->add(function () {
        // ...
    })
    ->then(function ($output) {
        // On success, `$output` is returned by the process or callable you passed to the queue.
    });
await($pool);

}
catch (Exception $ex)
{
echo $ex;
}
return "succeded";

@Elhellawy Elhellawy changed the title Parallel error Parallel error:Uncaught Spatie\Async\Output\ParallelError Nov 17, 2018
@Elhellawy Elhellawy changed the title Parallel error:Uncaught Spatie\Async\Output\ParallelError Parallel error: Spatie\Async\Output\ParallelError Nov 17, 2018
@freekmurze
Copy link
Member

Could you please submit a failing test for us to look at?

@Elhellawy
Copy link
Author

Elhellawy commented Nov 19, 2018 via email

@brendt
Copy link
Contributor

brendt commented Nov 20, 2018

This is no error with the package, something is going wrong in the child process which you can debug. Please refer to the error handling section in the README.

@Elhellawy
Copy link
Author

Elhellawy commented Nov 20, 2018 via email

@Elhellawy
Copy link
Author

Elhellawy commented Nov 20, 2018 via email

@Elhellawy
Copy link
Author

Elhellawy commented Nov 20, 2018 via email

@brendt
Copy link
Contributor

brendt commented Nov 20, 2018

Hi @Elhellawy

Unfortunately, your comments are not clear enough to understand what you're actually trying to do.

@Elhellawy
Copy link
Author

Elhellawy commented Nov 20, 2018 via email

@brendt
Copy link
Contributor

brendt commented Nov 20, 2018

@Elhellawy unfortunately there are no photos visible. Please check the issue in the browser: #50 (comment)

@Elhellawy
Copy link
Author

Elhellawy commented Nov 20, 2018 via email

@Elhellawy
Copy link
Author

Elhellawy commented Nov 20, 2018 via email

@Elhellawy
Copy link
Author

Elhellawy commented Nov 20, 2018 via email

@Elhellawy
Copy link
Author

Elhellawy commented Nov 21, 2018 via email

@brendt
Copy link
Contributor

brendt commented Nov 22, 2018

@Elhellawy please read the following guidelines on how to create a good issue: https://sebastiandedeyne.com/a-good-issue.

If, after reading the README, please submit a new issue with proper details.

@spatie spatie locked as off-topic and limited conversation to collaborators Nov 22, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants