Closed tikismoke closed 10 years ago
make build answer:
virtualenv --python=which python2 python | head -n 1
--no-site-packages ./local
Running virtualenv with interpreter /usr/bin/python2
The --no-site-packages flag is deprecated; it is now the default behavior.
New python executable in ./local/bin/python2
Not overwriting existing python script ./local/bin/python (you must use ./local/bin/python2)
Installing distribute..............................................................................................................................................................................................done.
Installing pip...............done.
ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future ./local/bin/pip install -r requirements.txt
Downloading/unpacking http://github.com/mozilla-services/mozservices/archive/f279ef02a25755999eada2d7e722d56279ed9fa6.zip (from -r requirements.txt (line 7))
Downloading f279ef02a25755999eada2d7e722d56279ed9fa6.zip (unknown size): 52Kb downloaded
Running setup.py egg_info for package from http://github.com/mozilla-services/mozservices/archive/f279ef02a25755999eada2d7e722d56279ed9fa6.zip
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'paster_plugins'
warnings.warn(msg)
Downloading/unpacking https://github.com/mozilla-services/tokenserver/archive/175f266b8423a9a48a254044dae807c615ede292.zip (from -r requirements.txt (line 8)) Downloading 175f266b8423a9a48a254044dae807c615ede292.zip (unknown size): 322Kb downloaded Running setup.py egg_info for package from https://github.com/mozilla-services/tokenserver/archive/175f266b8423a9a48a254044dae807c615ede292.zip
warning: no files found matching '*.spec'
warning: no files found matching '*.json' under directory 'tokenserver'
Downloading/unpacking http://github.com/mozilla-services/server-syncstorage/archive/7eface97e5a8c7c6ee9e7a3f12d02035681543f7.zip (from -r requirements.txt (line 9)) Downloading 7eface97e5a8c7c6ee9e7a3f12d02035681543f7.zip (unknown size): 114Kb downloaded Running setup.py egg_info for package from http://github.com/mozilla-services/server-syncstorage/archive/7eface97e5a8c7c6ee9e7a3f12d02035681543f7.zip
Requirement already satisfied (use --upgrade to upgrade): cornice==0.16.2 in ./local/lib/python2.7/site-packages (from -r requirements.txt (line 1)) Requirement already satisfied (use --upgrade to upgrade): pyramid==1.5 in ./local/lib/python2.7/site-packages (from -r requirements.txt (line 2)) Requirement already satisfied (use --upgrade to upgrade): requests==2.2.1 in ./local/lib/python2.7/site-packages (from -r requirements.txt (line 3)) Requirement already satisfied (use --upgrade to upgrade): simplejson==3.4 in ./local/lib/python2.7/site-packages (from -r requirements.txt (line 4)) Requirement already satisfied (use --upgrade to upgrade): SQLAlchemy==0.9.4 in ./local/lib/python2.7/site-packages (from -r requirements.txt (line 5)) Requirement already satisfied (use --upgrade to upgrade): unittest2==0.5.1 in ./local/lib/python2.7/site-packages (from -r requirements.txt (line 6)) Requirement already satisfied (use --upgrade to upgrade): cef in ./local/lib/python2.7/site-packages (from mozsvc==0.8->-r requirements.txt (line 7)) Requirement already satisfied (use --upgrade to upgrade): konfig in ./local/lib/python2.7/site-packages (from mozsvc==0.8->-r requirements.txt (line 7)) Requirement already satisfied (use --upgrade to upgrade): PyBrowserID in ./local/lib/python2.7/site-packages (from tokenserver==1.2.5->-r requirements.txt (line 8)) Requirement already satisfied (use --upgrade to upgrade): metlog-py in ./local/lib/python2.7/site-packages (from tokenserver==1.2.5->-r requirements.txt (line 8)) Requirement already satisfied (use --upgrade to upgrade): pyramid-hawkauth in ./local/lib/python2.7/site-packages (from SyncStorage==1.5.4->-r requirements.txt (line 9)) Requirement already satisfied (use --upgrade to upgrade): PyMySQL in ./local/lib/python2.7/site-packages (from SyncStorage==1.5.4->-r requirements.txt (line 9)) Requirement already satisfied (use --upgrade to upgrade): pymysql-sa in ./local/lib/python2.7/site-packages (from SyncStorage==1.5.4->-r requirements.txt (line 9)) Requirement already satisfied (use --upgrade to upgrade): umemcache in ./local/lib/python2.7/site-packages (from SyncStorage==1.5.4->-r requirements.txt (line 9)) Requirement already satisfied (use --upgrade to upgrade): wsgiproxy in ./local/lib/python2.7/site-packages (from SyncStorage==1.5.4->-r requirements.txt (line 9)) Requirement already satisfied (use --upgrade to upgrade): webtest in ./local/lib/python2.7/site-packages (from SyncStorage==1.5.4->-r requirements.txt (line 9)) Downloading/unpacking testfixtures (from SyncStorage==1.5.4->-r requirements.txt (line 9)) Downloading testfixtures-3.0.2.tar.gz (77Kb): 77Kb downloaded Running setup.py egg_info for package testfixtures
Requirement already satisfied (use --upgrade to upgrade): distribute in ./local/lib/python2.7/site-packages/distribute-0.6.24-py2.7.egg (from pyramid==1.5->-r requirements.txt (line 2)) Requirement already satisfied (use --upgrade to upgrade): WebOb>=1.3.1 in ./local/lib/python2.7/site-packages (from pyramid==1.5->-r requirements.txt (line 2)) Requirement already satisfied (use --upgrade to upgrade): repoze.lru>=0.4 in ./local/lib/python2.7/site-packages (from pyramid==1.5->-r requirements.txt (line 2)) Requirement already satisfied (use --upgrade to upgrade): zope.interface>=3.8.0 in ./local/lib/python2.7/site-packages (from pyramid==1.5->-r requirements.txt (line 2)) Requirement already satisfied (use --upgrade to upgrade): zope.deprecation>=3.5.0 in ./local/lib/python2.7/site-packages (from pyramid==1.5->-r requirements.txt (line 2)) Requirement already satisfied (use --upgrade to upgrade): venusian>=1.0a3 in ./local/lib/python2.7/site-packages (from pyramid==1.5->-r requirements.txt (line 2)) Requirement already satisfied (use --upgrade to upgrade): translationstring>=0.4 in ./local/lib/python2.7/site-packages (from pyramid==1.5->-r requirements.txt (line 2)) Requirement already satisfied (use --upgrade to upgrade): PasteDeploy>=1.5.0 in ./local/lib/python2.7/site-packages (from pyramid==1.5->-r requirements.txt (line 2)) Requirement already satisfied (use --upgrade to upgrade): configparser in ./local/lib/python2.7/site-packages (from konfig->mozsvc==0.8->-r requirements.txt (line 7)) Requirement already satisfied (use --upgrade to upgrade): argparse in /usr/lib/python2.7 (from konfig->mozsvc==0.8->-r requirements.txt (line 7)) Requirement already satisfied (use --upgrade to upgrade): docopt in ./local/lib/python2.7/site-packages (from metlog-py->tokenserver==1.2.5->-r requirements.txt (line 8)) Requirement already satisfied (use --upgrade to upgrade): hawkauthlib>=0.1 in ./local/lib/python2.7/site-packages (from pyramid-hawkauth->SyncStorage==1.5.4->-r requirements.txt (line 9)) Requirement already satisfied (use --upgrade to upgrade): tokenlib in ./local/lib/python2.7/site-packages (from pyramid-hawkauth->SyncStorage==1.5.4->-r requirements.txt (line 9)) Requirement already satisfied (use --upgrade to upgrade): Paste in ./local/lib/python2.7/site-packages (from wsgiproxy->SyncStorage==1.5.4->-r requirements.txt (line 9)) Requirement already satisfied (use --upgrade to upgrade): six in ./local/lib/python2.7/site-packages (from webtest->SyncStorage==1.5.4->-r requirements.txt (line 9)) Requirement already satisfied (use --upgrade to upgrade): waitress>=0.8.5 in ./local/lib/python2.7/site-packages (from webtest->SyncStorage==1.5.4->-r requirements.txt (line 9)) Requirement already satisfied (use --upgrade to upgrade): beautifulsoup4 in ./local/lib/python2.7/site-packages (from webtest->SyncStorage==1.5.4->-r requirements.txt (line 9)) Installing collected packages: testfixtures, SyncStorage Running setup.py install for testfixtures
Found existing installation: SyncStorage 1.5.3 Uninstalling SyncStorage: Successfully uninstalled SyncStorage Running setup.py install for SyncStorage
Successfully installed testfixtures SyncStorage Cleaning up... ./local/bin/python ./setup.py develop running develop running egg_info writing syncserver.egg-info/PKG-INFO writing top-level names to syncserver.egg-info/top_level.txt writing dependency_links to syncserver.egg-info/dependency_links.txt writing entry points to syncserver.egg-info/entry_points.txt reading manifest file 'syncserver.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'syncserver.egg-info/SOURCES.txt' running build_ext Creating /home/webmaster/syncserver/local/lib/python2.7/site-packages/syncserver.egg-link (link to .) syncserver 1.5 is already the active version in easy-install.pth
Installed /home/webmaster/syncserver Processing dependencies for syncserver==1.5 Finished processing dependencies for syncserver==1.5 touch ./local
Deleting everything and reinstall all. Now it works but i got new error:
INFO:mozsvc.metrics:{"code": 200, "requesttime": 0.28785204887390137, "remoteAddressChain": ["***"], "agent": "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:29.0) Gecko/20100101 Firefox/29.0", "token.assertion.audience_mismatch_error": 1, "token.assertion.verifyfailure": 1, "tokenserver.assertion.verify": 0.28726792335510254, "path": "******/token/1.0/sync/1.5", "method": "GET"}
That's not an error, it's a change in the way requests are logged to the console; code: 200
indicates this was a successful request
Yes but non of my Firefox syncs. And one is saying sync failed. Looking for logs this evening and tell you more.
Hi @tikismoke, are you still getting errors here?
No sorry just make a new lxc container and now it works. Still one client with problem but thinks it comes from elsewhere.
Thank's.
Hi,
All was great until i update just now. Debian machine
"ImportError: cannot import name metrics_timer"