Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Firefox Syncサーバーを建ててみた

9,703 views

Published on

Published in: Technology, News & Politics
  • Be the first to comment

Firefox Syncサーバーを建ててみた

  1. 1. Firefox Sync
  2. 2. (@hiromu1996)Firefox Developer Conference in Osaka
  3. 3. Firefox SyncAndroid Firefox
  4. 4. Firefox SyncMozilla 256bit AES TLS
  5. 5. Firefox Sync
  6. 6. ...
  7. 7. SyncFirefox Sync HTTPS
  8. 8. Syncpython 2.6python-virtualenv, sqlite3, mercurial
  9. 9. hg clone https://hg.mozilla.org/services/server-full Mercurialcd server-fullmake build
  10. 10. ....bin/pip install -i http://pypi.python.org simple --extra-index-url -U -r prod-reqs.txt ...
  11. 11. bin/paster serve development.iniSync http://[server-name]:5000/ ...
  12. 12. .....
  13. 13. https://hg.mozilla.org/services/server-core/deps/server-core __init__.py exceptions.py emailer.py formatters.py user/__init__.py
  14. 14. ... File "/var/lib/sync/lib/python2.7/site-packages/sqlalchemy/engine/default.py", line 299, in do_execute cursor.execute(statement, parameters)InterfaceError: (InterfaceError) Error binding parameter0 - probably unsupported type. uSELECT users.id nFROMusers nWHERE users.username = ? ({username: ua,userid: None},) sqlite ... dictonary binding
  15. 15. deps/server-reg/syncreg/controllers/user.py %s/self.auth.get_user_id(request.user)/ self.auth.get_user_id(request.user.get(‘usern ame’))/g 7
  16. 16. Firefox SyncSync patch ...

×