danhunsaker / php-resque-archive Goto Github PK
View Code? Open in Web Editor NEWThis project forked from chrisboulton/php-resque
An implementation of Resque in PHP.
License: MIT License
This project forked from chrisboulton/php-resque
An implementation of Resque in PHP.
License: MIT License
Following on from the discussion here, I'm attempting to use your version of the library, tag v1.3.2
, but all my jobs are failing with the following error stored in Redis:
"exception": "Resque_Job_DirtyExitException",
"error": "Job exited with exit code 255",
"backtrace": [
"#0 \/var\/www\/html\/vendor\/danhunsaker\/php-resque\/bin\/resque(185): Resque_Worker->work(5, false)",
"#1 {main}"
],
The above doesn't really tell me what the problem is. I was wondering if this is an issue you've come across before and have some ideas as to what could be wrong. I'm using the latest version of redis available here
I haven't come across this issue using the master
branch of chrisboulton's version of the library.
I can't install it via composer on windows.
I feel like this functionality is unfortunately not working, should be very useful. Every time we try to do this through resque-web by clicking on the Retry Failed Jobs
we get this error on the php side:
ErrorException: Undefined index: id in /usr/share/nginx/www/backend/vendor/danhunsaker/php-resque/lib/Resque/Job.php:137
Stack trace:
#0 /usr/share/nginx/www/backend/vendor/danhunsaker/php-resque/lib/Resque/Job.php(137): Laravel\Lumen\Application->Laravel\Lumen\Concerns\{closure}(8, 'Undefined index...', '/usr/share/ngin...', 137, Array)
#1 /usr/share/nginx/www/backend/vendor/danhunsaker/php-resque/lib/Resque/Worker.php(235): Resque_Job->getStatus()
#2 /usr/share/nginx/www/backend/vendor/hlgrrnhrdt/laravel-resque/src/Console/WorkCommand.php(69): Resque_Worker->work(5)
#3 /usr/share/nginx/www/backend/vendor/hlgrrnhrdt/laravel-resque/src/Console/WorkCommand.php(56): Hlgrrnhrdt\Resque\Console\WorkCommand->startWorker(Array, 5)
#4 [internal function]: Hlgrrnhrdt\Resque\Console\WorkCommand->fire()
#5 /usr/share/nginx/www/backend/vendor/illuminate/container/Container.php(507): call_user_func_array(Array, Array)
#6 /usr/share/nginx/www/backend/vendor/illuminate/console/Command.php(169): Illuminate\Container\Container->call(Array)
#7 /usr/share/nginx/www/backend/vendor/symfony/console/Command/Command.php(256): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#8 /usr/share/nginx/www/backend/vendor/illuminate/console/Command.php(155): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#9 /usr/share/nginx/www/backend/vendor/symfony/console/Application.php(794): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /usr/share/nginx/www/backend/vendor/symfony/console/Application.php(186): Symfony\Component\Console\Application->doRunCommand(Object(Hlgrrnhrdt\Resque\Console\WorkCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /usr/share/nginx/www/backend/vendor/symfony/console/Application.php(117): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /usr/share/nginx/www/backend/vendor/laravel/lumen-framework/src/Console/Kernel.php(76): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /usr/share/nginx/www/backend/artisan(43): Laravel\Lumen\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 {main}
We use laravel and @hlgrrnhrdt wrapper for php-resque, any idea what might have cause this?
Thank you!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.