Hi,
i managed to to install a sync server 1.1 on Mac OS 10.9 (Mavericks) at least
to this point
achim-mbp:server-full achim$ /usr/local/server-full/bin/paster serve
development.ini
Starting server in PID 4354.
serving on 0.0.0.0:5000 view at http://127.0.0.1:5000
when entering the server address in the sync dialog a 'enter a valid server
URI' message appears.
about:sync-log stays empty
terminal shows:
2015-09-22 00:37:04,748 ERROR [syncserver] 768e9371b5d6549aaa5b9183ee3e88e5
768e9371b5d6549aaa5b9183ee3e88e5
2015-09-22 00:37:04,748 ERROR [syncserver] Uncaught exception while processing
request:
GET /user/1.0/a
File "/usr/local/server-full/deps/server-core/services/util.py", line 324, in
__call__
return self.app(environ, start_response)
File
"/usr/local/server-full/lib/python2.7/site-packages/paste/translogger.py", line
69, in __call__
return self.application(environ, replacement_start_response)
File "/usr/local/server-full/lib/python2.7/site-packages/webob/dec.py", line
147, in __call__
resp = self.call_func(req, *args, **self.kwargs)
File "/usr/local/server-full/lib/python2.7/site-packages/webob/dec.py", line
208, in call_func
return self.func(req, *args, **kwargs)
File "/usr/local/server-full/deps/server-core/services/baseapp.py", line 225,
in __notified
response = func(self, request)
File "/usr/local/server-full/deps/server-core/services/baseapp.py", line 259,
in __call__
response = self._dispatch_request(request)
File "/usr/local/server-full/deps/server-core/services/baseapp.py", line 318,
in _dispatch_request
response = self._dispatch_request_with_match(request, match)
File "/usr/local/server-full/deps/server-storage/syncstorage/wsgiapp.py",
line 273, in _dispatch_request_with_match
userid = int(request.user['userid'])
File "/usr/local/server-full/lib/python2.7/site-packages/webob/request.py",
line 1136, in __getattr__
raise AttributeError(attr)
<type 'exceptions.AttributeError'>
AttributeError('user',)
I wonder if there is a foolproof platform to install the server on.
Also i need advice how to make the sync service available to clients on other
machines, do i need to set up a web server?
Thank you Achim_______________________________________________
Sync-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/sync-dev