You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the report. I couldn't reproduce the missing version number in beanstalkd-1.4.3 but replicated the problem in tests/Pheanstalk/BugfixTest.php
If beanstalkd doesn't have a version number (I just downloaded and compiled 1.4.3 and it doesn't) the stats command fails (because there is version).
I modified the config.h of beanstalkd, recompiled and stats now works fine. Pheanstalk should at least cope parsing a message with no version number.
See stack trace:
Fatal error: Uncaught exception 'Pheanstalk_Exception' with message 'YAML parse error for line: version: ' in /media/psf/pp/library/pheanstalk/classes/Pheanstalk/YamlResponseParser.php:62
Stack trace:
#0 /media/psf/pp/library/pheanstalk/classes/Pheanstalk/Connection.php(157): Pheanstalk_YamlResponseParser->parseResponse('OK 802', '---?current-job...')
#1 /media/psf/pp/library/pheanstalk/classes/Pheanstalk.php(395): Pheanstalk_Connection->dispatchCommand(Object(Pheanstalk_Command_StatsCommand))
#2 /media/psf/pp/library/pheanstalk/classes/Pheanstalk.php(329): Pheanstalk->_dispatch(Object(Pheanstalk_Command_StatsCommand))
#3 /media/psf/pp/library/pheanstalk/test.php(15): Pheanstalk->stats('testtube')
#4 {main}
thrown in /media/psf/pp/library/pheanstalk/classes/Pheanstalk/YamlResponseParser.php on line 62
The text was updated successfully, but these errors were encountered: