{"action":"created","issue":{"url":"https://api.github.com/repos/gjedeer/celery-php/issues/75","repository_url":"https://api.github.com/repos/gjedeer/celery-php","labels_url":"https://api.github.com/repos/gjedeer/celery-php/issues/75/labels{/name}","comments_url":"https://api.github.com/repos/gjedeer/celery-php/issues/75/comments","events_url":"https://api.github.com/repos/gjedeer/celery-php/issues/75/events","html_url":"https://github.com/gjedeer/celery-php/issues/75","id":166016629,"number":75,"title":"How can i get var_dump","user":{"login":"anhnvname","id":13740754,"avatar_url":"https://avatars.githubusercontent.com/u/13740754?v=3","gravatar_id":"","url":"https://api.github.com/users/anhnvname","html_url":"https://github.com/anhnvname","followers_url":"https://api.github.com/users/anhnvname/followers","following_url":"https://api.github.com/users/anhnvname/following{/other_user}","gists_url":"https://api.github.com/users/anhnvname/gists{/gist_id}","starred_url":"https://api.github.com/users/anhnvname/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anhnvname/subscriptions","organizations_url":"https://api.github.com/users/anhnvname/orgs","repos_url":"https://api.github.com/users/anhnvname/repos","events_url":"https://api.github.com/users/anhnvname/events{/privacy}","received_events_url":"https://api.github.com/users/anhnvname/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-07-18T04:20:07Z","updated_at":"2016-07-18T12:38:35Z","closed_at":null,"body":"Hello,\r\n\r\nHow can i dump result from worker ?\r\n\r\nMy worker in python\r\n#demo.py\r\n\r\n`from celery import Celery\r\ncelery = Celery('tasks', broker='amqp://guest:guest@localhost:5672//')\r\ncelery.conf.update(\r\n    CELERY_RESULT_SERIALIZER='json',\r\n    CELERY_TASK_SERIALIZER='json',\r\n    CELERY_TASK_RESULT_EXPIRES=None,\r\n    CELERY_TRACK_STARTED = False,\r\n)\r\n@celery.task(queue='demo', name='add')\r\ndef add(x, y):\r\n    return x + y`\r\n\r\nMy php script\r\n`require 'celery-php/celery.php';\r\n$c = new Celery('localhost', 'guest', 'guest', '/');\r\n$result = $c->PostTask('tasks.add', array(2,2));`\r\n\r\nbut when i use var_dump($result); i can't dump result from woker.\r\nIn terminal show\r\n`Received task: tasks.add[php_52b1759141a8b3.43107845]\r\nTask tasks.add[php_52b1759141a8b3.43107845] succeeded in 0.000701383920386s: 4`\r\n\r\nShow what i wrong some thing ?\r\n\r\nThanks so much !"},"comment":{"url":"https://api.github.com/repos/gjedeer/celery-php/issues/comments/233316645","html_url":"https://github.com/gjedeer/celery-php/issues/75#issuecomment-233316645","issue_url":"https://api.github.com/repos/gjedeer/celery-php/issues/75","id":233316645,"user":{"login":"gjedeer","id":315648,"avatar_url":"https://avatars.githubusercontent.com/u/315648?v=3","gravatar_id":"","url":"https://api.github.com/users/gjedeer","html_url":"https://github.com/gjedeer","followers_url":"https://api.github.com/users/gjedeer/followers","following_url":"https://api.github.com/users/gjedeer/following{/other_user}","gists_url":"https://api.github.com/users/gjedeer/gists{/gist_id}","starred_url":"https://api.github.com/users/gjedeer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gjedeer/subscriptions","organizations_url":"https://api.github.com/users/gjedeer/orgs","repos_url":"https://api.github.com/users/gjedeer/repos","events_url":"https://api.github.com/users/gjedeer/events{/privacy}","received_events_url":"https://api.github.com/users/gjedeer/received_events","type":"User","site_admin":false},"created_at":"2016-07-18T12:38:35Z","updated_at":"2016-07-18T12:38:35Z","body":"So it doesn't work with an alphanumeric vhost name?\n\nOn July 18, 2016 12:43:58 PM CEST, anhnvname <notifications@github.com> wrote:\n>Thanks for reply\n>I post my worker script and php script above, could u help me check it\n>?\n>Very close with example\n>\n>---\n>You are receiving this because you commented.\n>Reply to this email directly or view it on GitHub:\n>https://github.com/gjedeer/celery-php/issues/75#issuecomment-233297244\n\n-- \nSent from my Android device with K-9 Mail. Please excuse my brevity."}}
{"actor":{"display_login":"gjedeer"}}