I'm trying to setup Sync 1.1 on Ubuntu 14.4, ultimately to be used via
apache (probably). Right now though, i'd just like to see it work directly.
Since i wasn't sure where to install it, i created a user called servers,
and renamed the directory to ff-sync.

sudo bin/paster serve development.ini
says its starting the server and serving on xx.xx.xx.xx:5000

Then, in FF 28, filling in the server field: http://xx.xx.xx.xx:5000 (and
hitting enter)
 causes the server to spit out an error (twice) and (conveniently) record
it in the error log,

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
GET /user/1.0/a
  File "/home/servers/ff-sync/deps/server-core/services/util.py", line 324,
in __call__
    return self.app(environ, start_response)
  File
"/home/servers/ff-sync/local/lib/python2.7/site-packages/paste/translogger.py",
line 69, in __call__
    return self.application(environ, replacement_start_response)
  File
"/home/servers/ff-sync/local/lib/python2.7/site-packages/webob/dec.py",
line 147, in __call__
    resp = self.call_func(req, *args, **self.kwargs)
  File
"/home/servers/ff-sync/local/lib/python2.7/site-packages/webob/dec.py",
line 208, in call_func
    return self.func(req, *args, **kwargs)
  File "/home/servers/ff-sync/deps/server-core/services/baseapp.py", line
225, in __notified
    response = func(self, request)
  File "/home/servers/ff-sync/deps/server-core/services/baseapp.py", line
259, in __call__
    response = self._dispatch_request(request)
  File "/home/servers/ff-sync/deps/server-core/services/baseapp.py", line
318, in _dispatch_request
    response = self._dispatch_request_with_match(request, match)
  File "/home/servers/ff-sync/deps/server-storage/syncstorage/wsgiapp.py",
line 273, in _dispatch_request_with_match
    userid = int(request.user['userid'])
  File
"/home/servers/ff-sync/local/lib/python2.7/site-packages/webob/request.py",
line 1136, in __getattr__
    raise AttributeError(attr)
<type 'exceptions.AttributeError'>
AttributeError('user',)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Would someone be kind of to help me get this running, or perhaps point me
to some documentation?

Brian
_______________________________________________
Sync-dev mailing list
Sync-dev@mozilla.org
https://mail.mozilla.org/listinfo/sync-dev

Reply via email to