clutchio / clutch Goto Github PK
View Code? Open in Web Editor NEWServer component for Clutch Framework and Clutch A/B Testing.
License: Apache License 2.0
Server component for Clutch Framework and Clutch A/B Testing.
License: Apache License 2.0
Hi,
how make I the http-server public?
clutch-all conf.py
is just listening on 127.0.0.1:8000
Hi, I am using clutch.io about its A/b test service of mobile apps.
When I finished install about clutch and run as:
clutch-all conf.py.
When I register My Account:
/usr/local/lib/python2.7/dist-packages/Django-1.4.1-py2.7.egg/django/core/handlers/base.py in get_response
response = callback(request, _callback_args, *_callback_kwargs) ...
▶ Local vars
/home/wenlongmo/WorkProjects/GitHubProjects/clutch/accounts/views.py in register
if registration_form.is_valid(): ...
▶ Local vars
/usr/local/lib/python2.7/dist-packages/Django-1.4.1-py2.7.egg/django/forms/forms.py in is_valid
return self.is_bound and not bool(self.errors) ...
▶ Local vars
/usr/local/lib/python2.7/dist-packages/Django-1.4.1-py2.7.egg/django/forms/forms.py in _get_errors
self.full_clean() ...
▶ Local vars
/usr/local/lib/python2.7/dist-packages/Django-1.4.1-py2.7.egg/django/forms/forms.py in full_clean
self._clean_fields() ...
▶ Local vars
/usr/local/lib/python2.7/dist-packages/Django-1.4.1-py2.7.egg/django/forms/forms.py in clean_fields
value = getattr(self, 'clean%s' % name)() ...
▶ Local vars
/home/wenlongmo/WorkProjects/GitHubProjects/clutch/accounts/forms.py in clean_email
User.objects.get(email__iexact=email) ...
▶ Local vars
/usr/local/lib/python2.7/dist-packages/Django-1.4.1-py2.7.egg/django/db/models/manager.py in get
return self.get_query_set().get(_args, *_kwargs) ...
▶ Local vars
/usr/local/lib/python2.7/dist-packages/Django-1.4.1-py2.7.egg/django/db/models/query.py in get
num = len(clone) ...
▶ Local vars
/usr/local/lib/python2.7/dist-packages/Django-1.4.1-py2.7.egg/django/db/models/query.py in len
self._result_cache = list(self.iterator()) ...
▶ Local vars
/usr/local/lib/python2.7/dist-packages/Django-1.4.1-py2.7.egg/django/db/models/query.py in iterator
for row in compiler.results_iter(): ...
▶ Local vars
/usr/local/lib/python2.7/dist-packages/Django-1.4.1-py2.7.egg/django/db/models/sql/compiler.py in results_iter
for rows in self.execute_sql(MULTI): ...
▶ Local vars
/usr/local/lib/python2.7/dist-packages/Django-1.4.1-py2.7.egg/django/db/models/sql/compiler.py in execute_sql
cursor = self.connection.cursor() ...
▶ Local vars
/usr/local/lib/python2.7/dist-packages/Django-1.4.1-py2.7.egg/django/db/backends/init.py in cursor
cursor = self.make_debug_cursor(self._cursor()) ...
▶ Local vars
/usr/local/lib/python2.7/dist-packages/Django-1.4.1-py2.7.egg/django/db/backends/postgresql_psycopg2/base.py in _cursor
self.connection = Database.connect(**conn_params) ...
▶ Local vars
/usr/lib/python2.7/dist-packages/psycopg2/init.py in connect
connection_factory=connection_factory, async=async) ...
▶ Local vars
I know it is the configuration problem about the PostgreSQL(from https://groups.google.com/forum/#!topic/clutchio/yY6oeELU2Xw),but I don't know how confige this postgreSql .Any suggestions are very grateful! I had do
createuser -s clutch
createdb -E utf8 --owner=clutch clutch
I have been trying to get the clutch server up and running but am running into a problem. When I browse to http://127.0.0.1:8000/, I see an Internal Server Error in the browser. This is what I see in terminal:
$ clutch-all conf.py
Starting clutchtunnel on 127.0.0.1:41675 ...
2012-11-14 09:50:58 [868] [INFO] Starting gunicorn 0.14.6
2012-11-14 09:50:58 [868] [INFO] Listening at: http://127.0.0.1:8000 (868)
2012-11-14 09:50:58 [868] [INFO] Using worker: sync
2012-11-14 09:50:58 [869] [INFO] Booting worker with pid: 869
Starting clutchrpc on 0.0.0.0:41674 ...
2012-11-14 14:51:00 [869] [ERROR] Error handling request
Traceback (most recent call last):
File "/Library/Python/2.7/site-packages/gunicorn-0.14.6-py2.7.egg/gunicorn/workers/sync.py", line 102, in handle_request
respiter = self.wsgi(environ, resp.start_response)
File "/Library/Python/2.7/site-packages/Django-1.4.1-py2.7.egg/django/core/handlers/wsgi.py", line 219, in __call__
self.load_middleware()
File "/Library/Python/2.7/site-packages/Django-1.4.1-py2.7.egg/django/core/handlers/base.py", line 47, in load_middleware
raise exceptions.ImproperlyConfigured('Error importing middleware %s: "%s"' % (mw_module, e))
ImproperlyConfigured: Error importing middleware django_ext.middleware.log: "No module named middleware.log"
2012-11-14 14:51:01 [869] [ERROR] Error handling request
Traceback (most recent call last):
File "/Library/Python/2.7/site-packages/gunicorn-0.14.6-py2.7.egg/gunicorn/workers/sync.py", line 102, in handle_request
respiter = self.wsgi(environ, resp.start_response)
File "/Library/Python/2.7/site-packages/Django-1.4.1-py2.7.egg/django/core/handlers/wsgi.py", line 219, in __call__
self.load_middleware()
File "/Library/Python/2.7/site-packages/Django-1.4.1-py2.7.egg/django/core/handlers/base.py", line 47, in load_middleware
raise exceptions.ImproperlyConfigured('Error importing middleware %s: "%s"' % (mw_module, e))
ImproperlyConfigured: Error importing middleware django_ext.middleware.log: "No module named middleware.log"
I am running Mac OS X 10.7.5. A coworker tried this on debian wheezy and sees the same issue.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.