Hi Mikel,

Did you make the change suggested in the thread you linked to, removing
"memory_only=False" in take_polling_action?

Steve

On Wed, Jun 15, 2011 at 10:15 AM, Mikel <[email protected]> wrote:

> Hi Steve,
>
> Thanks a lot! It seems that it was that little thing what i had to do
> but even tho if it now does the polling, it doesn't seem to send it to
> my callback URL... is there anything else I should do to get that or
> should be sent to the callback automatically? Im looking at the queues
> in the admin's task list but all of them are empty. If it's of any
> use, I'm using SDK 1.5.0 and this is what i get in the console after
> polling:
>
> INFO     2011-06-15 14:03:27,061 main.py:1776] Polling starting afresh
> for start time 2011-06-15 14:02:27.061342
> INFO     2011-06-15 14:03:27,113 dev_appserver.py:4151] "GET /work/
> poll_bootstrap HTTP/1.1" 200 -
> INFO     2011-06-15 14:03:27,262 main.py:2921] Handling polling for
> sequence = poll-1308146547, current_key = '', poll_type = u'bootstrap'
> INFO     2011-06-15 14:03:27,285 main.py:2931] Found 1 more feeds to
> poll, ended at
> http://api.flickr.com/services/feeds/photos_public.gne?id=58624204@N07
> INFO     2011-06-15 14:03:27,364 dev_appserver.py:4151] "POST /work/
> poll_bootstrap HTTP/1.1" 200 -
> INFO     2011-06-15 14:03:27,398 dev_appserver_index.py:254] Updating /
> home/fingolion/pubsubhubbub-read-only/hub/index.yaml
> INFO     2011-06-15 14:03:27,511 main.py:2921] Handling polling for
> sequence = poll-1308146547, current_key =
>
> u'agxwdWJzdWJodWJidWJyPAsSCUtub3duRmVlZCItaGFzaF8xMGU0ZmJhNTE3YzFlNjcxZDYxMTAzZGQ5ODUxNTU1NmEzYzIzYzZmDA',
> poll_type = u'bootstrap'
> INFO     2011-06-15 14:03:27,519 main.py:2950] Polling cycle complete
> INFO     2011-06-15 14:03:27,539 dev_appserver.py:4151] "POST /work/
> poll_bootstrap HTTP/1.1" 200 -
> INFO     2011-06-15 14:03:27,582 dev_appserver_index.py:254] Updating /
> home/fingolion/pubsubhubbub-read-only/hub/index.yaml
>
> Thanks again :-)
>
> Mikel.
>
> On Jun 15, 12:05 am, Steve Hakusa <[email protected]> wrote:
> > Hi Mikel,
> >
> > Polling works on a cron, which doesn't run with the dev_appserver.  You
> can
> > manually hithttp://localhost:8080/work/poll_bootstrapfrom a web browser
> to
> > trigger a polling run, or you can set it up via curl from your crontab.
> >
> > Hope that helps.
> > Steve
> >
> >
> >
> > On Tue, Jun 14, 2011 at 12:19 PM, Mikel <[email protected]> wrote:
> > > Hey all,
> >
> > > Im a little bit newbie with PuSH so forgive me if im asking something
> > > stupid. The issue is that I'm trying out my own application that uses
> > > PuSH but due to some firewall issues I have to use the hub locally in
> > > my computer. So far everything goes smoothly and subscriptions are
> > > verified perfectly (Using Java application as subscriber), but
> > > whenever I subscribe to a new source, it just does no polling at all!
> >
> > > I've checked several times this post here:
> >
> > >http://groups.google.com/group/pubsubhubbub/browse_thread/thread/1954.
> ..
> >
> > > But still no success. This is the log I get in the Hub's console:
> >
> > > pubsubhubbub on port 8080:http://localhost:8080
> > > /home/fingolion/inplementazioa/google_appengine/google/appengine/tools/
> > > dev_appserver.py:1798: DeprecationWarning:
> > > google.appengine.api.labs.taskqueue is deprecated, please use
> > > google.appengine.api.taskqueue
> > >  description)
> > > /home/fingolion/inplementazioa/google_appengine/google/appengine/tools/
> > > dev_appserver.py:1798: DeprecationWarning: the md5 module is
> > > deprecated; use hashlib instead
> > >  description)
> > > DEBUG    2011-06-14 16:13:12,999 main.py:1941] Attempting to confirm
> > > subscribe for topic = u'http://api.flickr.com/services/feeds/
> > > photos_public.gne?id=58624204@N07', callback = u'
> http://localhost:8081/
> > > tabasco/sioc-broker/hub', verify_token = u'token', secret = None,
> > > lease_seconds = 432000
> > > DEBUG    2011-06-14 16:13:13,008 urlfetch_stub.py:200] Making HTTP
> > > request: host = localhost:8081, url =
> >
> > >http://localhost:8081/tabasco/sioc-broker/hub?hub.verify_token=token&;.
> ..
> > > ,
> > > payload = None, headers = {'Host': 'localhost:8081', 'Accept-
> > > Encoding': 'gzip', 'User-Agent': 'AppEngine-Google; (+http://
> > > code.google.com/appengine)'}
> > > INFO     2011-06-14 16:13:13,099 main.py:1984] Subscription action
> > > verified, callback =http://localhost:8081/tabasco/sioc-broker/hub,
> > > topic =
> > >http://api.flickr.com/services/feeds/photos_public.gne?id=58624204@N07:
> > > subscribe
> > > INFO     2011-06-14 16:13:13,141 dev_appserver.py:3317] "POST /
> > > subscribe HTTP/1.1" 204 -
> > > INFO     2011-06-14 16:13:13,260 dev_appserver_index.py:212] Updating /
> > > home/fingolion/pubsubhubbub-read-only/hub/index.yaml
> > > INFO     2011-06-14 16:13:13,434 dev_appserver.py:3317] "POST /work/
> > > record_feeds HTTP/1.1" 200 -
> >
> > > I will be very grateful if you can help me with this!
>

Reply via email to