Closed wathsalav closed 11 years ago
You need to build the ms.
$ scons ms
Then, run the ms from build/out/ms (instead of from ms/).
-Jude
----- Original Message ----- From: "Wathsala Vithanage" notifications@github.com To: "jcnelson/syndicate" syndicate@noreply.github.com Sent: Tuesday, June 18, 2013 1:20:48 PM Subject: [syndicate] ImportError: No module named ms_pb2 when MS starts up after the latest git pull. (#4)
After a git pull, ms/MS/volume.py tries to import module ms_pb2 which does not exist under protobufs when MS starts up.
ERROR 2013-06-18 17:11:28,526 wsgi.py:219] Traceback (most recent call last): File "/home/wathsala/Downloads/google_appengine/google/appengine/runtime/wsgi.py", line 196, in Handle handler = config_handle.add_wsgi_middleware(self._LoadHandler()) File "/home/wathsala/Downloads/google_appengine/google/appengine/runtime/wsgi.py", line 255, in _LoadHandler handler = _import (path[0]) File "/home/wathsala/Downloads/google_appengine/ms/ms.py", line 5, in import MS.handlers File "/home/wathsala/Downloads/google_appengine/ms/MS/handlers.py", line 12, in from MS.methods.resolve import Resolve File "/home/wathsala/Downloads/google_appengine/ms/MS/methods/resolve.py", line 7, in from MS.volume import Volume File "/home/wathsala/Downloads/google_appengine/ms/MS/volume.py", line 16, in import protobufs.ms_pb2 as ms_pb2 ImportError: No module named ms_pb2 INFO 2013-06-18 17:11:28,534 server.py:585] default: "GET /_ah/warmup HTTP/1.1" 500 -
— Reply to this email directly or view it on GitHub .
It worked thanks.
After a git pull, ms/MS/volume.py tries to import module ms_pb2 which does not exist under protobufs when MS starts up.
ERROR 2013-06-18 17:11:28,526 wsgi.py:219] Traceback (most recent call last): File "/home/wathsala/Downloads/google_appengine/google/appengine/runtime/wsgi.py", line 196, in Handle handler = _config_handle.add_wsgi_middleware(self._LoadHandler()) File "/home/wathsala/Downloads/google_appengine/google/appengine/runtime/wsgi.py", line 255, in _LoadHandler handler = import(path[0]) File "/home/wathsala/Downloads/google_appengine/ms/ms.py", line 5, in
import MS.handlers
File "/home/wathsala/Downloads/google_appengine/ms/MS/handlers.py", line 12, in
from MS.methods.resolve import Resolve
File "/home/wathsala/Downloads/google_appengine/ms/MS/methods/resolve.py", line 7, in
from MS.volume import Volume
File "/home/wathsala/Downloads/google_appengine/ms/MS/volume.py", line 16, in
import protobufs.ms_pb2 as ms_pb2
ImportError: No module named ms_pb2
INFO 2013-06-18 17:11:28,534 server.py:585] default: "GET /_ah/warmup HTTP/1.1" 500 -