使pubsubhubbubhub hub hub工作正常

2024-10-17 00:25:40 发布

您现在位置:Python中文网/ 问答频道 /正文

我按照http://code.google.com/p/pubsubhubbub/wiki/DeveloperGettingStartedGuide上的说明设置了一个集线器。 当我启动集线器时,我收到以下警告

$ sudo python2.5 google_appengine/dev_appserver.py pubsubhubbub/hub/
INFO     2010-03-04 12:29:57,928 appengine_rpc.py:157] Server: appengine.google.com
INFO     2010-03-04 12:29:57,959 appcfg.py:329] Checking for updates to the SDK.
WARNING  2010-03-04 12:29:58,272 datastore_file_stub.py:418] Could not read datastore data from /tmp/dev_appserver.datastore
WARNING  2010-03-04 12:29:58,273 datastore_file_stub.py:418] Could not read datastore data from /tmp/dev_appserver.datastore.history
INFO     2010-03-04 12:29:58,349 dev_appserver_main.py:465] Running application pubsubhubbub on port 8080: http://localhost:8080

http://pastie.org/853356

当我把我的浏览器指向http://localhost:8080时,我得到了一个异常.AttributeError在我的浏览器和控制台中抛出

^{pr2}$

http://pastie.org/853357

作为一个python新手需要帮助,有什么想法吗?在


Tags: pydevinfocomhttpgoogle集线器file
1条回答
网友
1楼 · 发布于 2024-10-17 00:25:40

位于http://code.google.com/p/pubsubhubbub/wiki/DeveloperGettingStartedGuide的教程已经过时,您需要使用至少google app engine 1.2.8使其工作(其中新的memcache offset_multi method and batch support in incr and decr。已添加)

相关问题 更多 >