HI all,
I was trying out the tutorial at
http://code.google.com/p/pubsubhubbub/wiki/DeveloperGettingStartedGuide
and I ran into the following error from the step "manually processing
the tasks"
onwards.
I didnt see any see a number that is different from 0 at the Tasks in
Queue column of the feed-pulls.
But i did have a number "3" for event-delivery.
When i go into event-delivery, and click on "run", I received the
following error:
Error :
ERROR 2011-01-21 09:03:56,398 __init__.py:395] character mapping
must return integer, None or unicode
Traceback (most recent call last):
File "/home/eugene/Desktop/pshb/google_appengine/google/appengine/
ext/webapp/__init__.py", line 517, in __call__
handler.post(*groups)
File "/home/eugene/Desktop/pshb/pubsubhubbub/hub/main.py", line 650,
in decorated
return func(myself, *args, **kwargs)
File "/home/eugene/Desktop/pshb/pubsubhubbub/hub/main.py", line
2818, in post
sub.secret or sub.verify_token or '', payload_utf8),
File "/home/eugene/Desktop/pshb/pubsubhubbub/hub/main.py", line 627,
in sha1_hmac
return hmac.new(secret, data, hashlib.sha1).hexdigest()
File "/usr/lib/python2.6/hmac.py", line 133, in new
return HMAC(key, msg, digestmod)
File "/usr/lib/python2.6/hmac.py", line 72, in __init__
self.outer.update(key.translate(trans_5C))
TypeError: character mapping must return integer, None or unicode
INFO 2011-01-21 09:03:56,407 dev_appserver.py:3317] "POST /work/
push_events HTTP/1.1" 500 -
may I know what can i do to makethis right?
I am running on ubuntu 10.04, python 2.6 and using GAE version 1.4.2
Best.