2010-03-04 57 views
4

我已按照在http://code.google.com/p/pubsubhubbub/wiki/DeveloperGettingStartedGuide找到的說明設置集線器。 當我開始了我中心獲得以下警告獲取pubsubhubbub集線器工作

$ 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我得到了我的瀏覽器中拋出一個討厭的exceptions.AttributeError &控制檯

ERROR 2010-03-04 12:31:27,735 dev_appserver.py:3000] Exception encountered handling request 
Traceback (most recent call last): 
    File "/home/pentarim/webdev/pshb/google_appengine/google/appengine/tools/dev_appserver.py", line 2969, in _HandleRequest 
    base_env_dict=env_dict) 
    File "/home/pentarim/webdev/pshb/google_appengine/google/appengine/tools/dev_appserver.py", line 406, in Dispatch 
    base_env_dict=base_env_dict) 
    File "/home/pentarim/webdev/pshb/google_appengine/google/appengine/tools/dev_appserver.py", line 2238, in Dispatch 
    self._module_dict) 
    File "/home/pentarim/webdev/pshb/google_appengine/google/appengine/tools/dev_appserver.py", line 2156, in ExecuteCGI 
    reset_modules = exec_script(handler_path, cgi_path, hook) 
    File "/home/pentarim/webdev/pshb/google_appengine/google/appengine/tools/dev_appserver.py", line 2052, in ExecuteOrImportScript 
    exec module_code in script_module.__dict__ 
    File "/home/pentarim/webdev/pshb/pubsubhubbub/hub/main.py", line 116, in <module> 
    import dos 
    File "/home/pentarim/webdev/pshb/google_appengine/google/appengine/tools/dev_appserver.py", line 1158, in Decorate 
    return func(self, *args, **kwargs) 
    File "/home/pentarim/webdev/pshb/google_appengine/google/appengine/tools/dev_appserver.py", line 1806, in load_module 
    return self.FindAndLoadModule(submodule, fullname, search_path) 
    File "/home/pentarim/webdev/pshb/google_appengine/google/appengine/tools/dev_appserver.py", line 1158, in Decorate 
    return func(self, *args, **kwargs) 
    File "/home/pentarim/webdev/pshb/google_appengine/google/appengine/tools/dev_appserver.py", line 1708, in FindAndLoadModule 
    description) 
    File "/home/pentarim/webdev/pshb/google_appengine/google/appengine/tools/dev_appserver.py", line 1158, in Decorate 
    return func(self, *args, **kwargs) 
    File "/home/pentarim/webdev/pshb/google_appengine/google/appengine/tools/dev_appserver.py", line 1659, in LoadModuleRestricted 
    description) 
    File "/home/pentarim/webdev/pshb/pubsubhubbub/hub/dos.py", line 219, in <module> 
    offset_multi=memcache.offset_multi, 
AttributeError: 'module' object has no attribute 'offset_multi' 
INFO  2010-03-04 12:31:27,749 dev_appserver.py:3029] "GET/HTTP/1.1" 500 - 

http://pastie.org/853357

作爲一個蟒蛇新手需要幫助,任何想法?

+0

不任何人都知道如何設置集線器的當前和工作指示? – 2012-07-05 14:59:20

+0

10月16日,code.google鏈接重定向到git hub。任何其他鏈接使用hub設置?推已被更好的東西取代? – user6387024 2016-10-26 11:12:34

回答