Hi jon, I just changed dequeue( pulls the message from queue not task) method in queue.py and listen method in worker.py(logs the message instead of running any task)
On Friday, December 9, 2016 at 10:53:49 PM UTC+5:30, Jon Wayne Parrott wrote: > > Can you provide me with the logs from the worker as well as any changes > you made to the worker or psq? > > On Fri, Dec 9, 2016 at 4:34 AM Harsha Reddy <[email protected] > <javascript:>> wrote: > >> Hi Jon, >> >> Thanks. It worked for me. But the app(worker) which I deployed on app >> engine not able to fetch messages from pubsub. I dont want to run worker in >> application context( I will push messages queue from anywhere. my worker >> should listen to the queue and logs the messages) So I changed psq library >> according to my requirement and installed it on app engine using github >> link. This worker is working fine when i run it on local machine but on app >> engine its not working. Please help me >> >> >> >> >> On Friday, December 9, 2016 at 12:35:53 AM UTC+5:30, Jon Wayne Parrott >> wrote: >>> >>> HI Harsha, >>> There was a bad dependency in this tutorial. Can you try pulling the >>> latest version? It should list `google-cloud==0.21.1` in the >>> requirements.txt file. >>> >>> On Wednesday, December 7, 2016 at 11:23:15 PM UTC-8, Harsha Reddy wrote: >>>> >>>> Hi George, >>>> >>>> Thanks for your reponse. I have followed this tutorial( >>>> https://cloud.google.com/python/getting-started/using-pub-sub) to >>>> deploy app. In the* config.py* file I have changed the >>>> *project-id,GOOGLE_OAUTH2_CLIENT_ID,GOOGLE_OAUTH2_CLIENT_SECRET. >>>> *In app.yaaml i used default settings. I also ran gcloud auth list >>>> command (says my account active). Please let me know what else I should do >>>> before deploying. >>>> >>>> Thanks >>>> Harsha Reddy >>>> >>>> On Thursday, December 8, 2016 at 12:19:08 AM UTC+5:30, George (Cloud >>>> Platform Support) wrote: >>>>> >>>>> Hello Harsha, >>>>> >>>>> What steps did you undertake before you ran the "gcloud app deploy" >>>>> command? Are you properly identified on the cloud platform? Did you >>>>> identify as described here >>>>> <https://cloud.google.com/sdk/gcloud/reference/auth/login>? More >>>>> information covering the gcloud command may be accessed via this page >>>>> <https://cloud.google.com/sdk/gcloud/>. >>>>> >>>>> How does your config file look like? You may consider providing any >>>>> extra details you find relevant. >>>>> >>>> -- >> You received this message because you are subscribed to a topic in the >> Google Groups "Google App Engine" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/google-appengine/cloz6WTntcg/unsubscribe >> . >> To unsubscribe from this group and all its topics, send an email to >> [email protected] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> Visit this group at https://groups.google.com/group/google-appengine. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/google-appengine/794a0047-fdc2-40fd-94d8-f147dbb053c9%40googlegroups.com >> >> <https://groups.google.com/d/msgid/google-appengine/794a0047-fdc2-40fd-94d8-f147dbb053c9%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/bdd5258f-a048-495a-941e-9a150a3506c9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
