This site is an archive; learn more about 8 years of OpenHatch.

[Devel] issues getting openhatch installed and working

Mark Freeman mark at timewasted.net
Tue Apr 27 18:42:15 UTC 2010


Hi everyone. I downloaded the code to openhatch and ran the buildout.
Good so far. Once I get the site going and try to create a local
account, I get this problem.  Note that I tried using the fetch_db
script, but my user doesn't have permissions to pull fresh data. any
help is appreciated.  My machine is running Linux Mint 8, if that
helps any.

mark

PS, where would be a good place to start working on code? Adding bug
trackers maybe? It appears there is a backlog of them.

-----------------------------------------------------------------------------------------------

I choose to sign up, select Google. Then get to this page:

http://localhost:8000/openid/register/?next=%2F

I enter my username I want and my email address is already filled in.
Then I hit OK:

In http://localhost:8000/openid/register/do

I get this:

Environment:

Request Method: POST
Request URL: http://localhost:8000/openid/register/do
Django Version: 1.1.1
Python Version: 2.6.4
Installed Applications:
['ghettoq',
 'django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.humanize',
 'django.contrib.sessions',
 'django.contrib.sites',
 'django.contrib.webdesign',
 'django.contrib.admin',
 'registration',
 'django_authopenid',
 'django_extensions',
 'windmill',
 'south',
 'django_assets',
 'celery',
 'invitation',
 'mysite.search',
 'mysite.profile',
 'mysite.customs',
 'mysite.account',
 'mysite.base',
 'mysite.project',
 'mysite.senseknocker',
 'haystack',
 'voting']
Installed Middleware:
('mysite.base.middleware.DetectLogin',
 'django.middleware.common.CommonMiddleware',
 'staticgenerator.middleware.StaticGeneratorMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django_authopenid.middleware.OpenIDMiddleware',
 'mysite.base.middleware.LocationMiddleware',
 'mysite.base.middleware.HandleWannaHelpQueue')


Traceback:
File "/home/mark/workspace/openhatch/parts/mysite/django/core/handlers/base.py"
in get_response
  92.                 response = callback(request, *callback_args,
**callback_kwargs)
File "/home/mark/workspace/openhatch/eggs/django_authopenid-1.0.1-py2.6.egg/django_authopenid/views.py"
in decorated
  159.         return func(request, *args, **kwargs)
File "/home/mark/workspace/openhatch/mysite/account/views.py" in register
  421.                 user_ = register_account(form1, openid_)
File "/home/mark/workspace/openhatch/eggs/django_authopenid-1.0.1-py2.6.egg/django_authopenid/views.py"
in register_account
  318.                             form.cleaned_data['email'])
File "/home/mark/workspace/openhatch/parts/mysite/django/contrib/auth/models.py"
in create_user
  105.         user.save()
File "/home/mark/workspace/openhatch/parts/mysite/django/db/models/base.py"
in save
  410.         self.save_base(force_insert=force_insert,
force_update=force_update)
File "/home/mark/workspace/openhatch/parts/mysite/django/db/models/base.py"
in save_base
  506.                 created=(not record_exists), raw=raw)
File "/home/mark/workspace/openhatch/parts/mysite/django/dispatch/dispatcher.py"
in send
  166.             response = receiver(signal=self, sender=sender, **named)
File "/home/mark/workspace/openhatch/mysite/profile/models.py" in
create_profile_when_user_created
  362.         person, p_created = Person.objects.get_or_create(user=instance)
File "/home/mark/workspace/openhatch/parts/mysite/django/db/models/manager.py"
in get_or_create
  123.         return self.get_query_set().get_or_create(**kwargs)
File "/home/mark/workspace/openhatch/parts/mysite/django/db/models/query.py"
in get_or_create
  335.                 obj.save(force_insert=True)
File "/home/mark/workspace/openhatch/parts/mysite/django/db/models/base.py"
in save
  410.         self.save_base(force_insert=force_insert,
force_update=force_update)
File "/home/mark/workspace/openhatch/parts/mysite/django/db/models/base.py"
in save_base
  506.                 created=(not record_exists), raw=raw)
File "/home/mark/workspace/openhatch/parts/mysite/django/dispatch/dispatcher.py"
in send
  166.             response = receiver(signal=self, sender=sender, **named)
File "/home/mark/workspace/openhatch/mysite/profile/tasks/__init__.py"
in clear_people_page_cache_task
  397.     return clear_people_page_cache.delay()
File "/home/mark/workspace/openhatch/eggs/celery-1.0.1-py2.6.egg/celery/task/base.py"
in delay
  280.         return self.apply_async(args, kwargs)
File "/home/mark/workspace/openhatch/eggs/celery-1.0.1-py2.6.egg/celery/task/base.py"
in apply_async
  297.         return apply_async(self, args, kwargs, **options)
File "/home/mark/workspace/openhatch/eggs/celery-1.0.1-py2.6.egg/celery/messaging.py"
in _inner
  146.             return fun(*args, **kwargs)
File "/home/mark/workspace/openhatch/eggs/celery-1.0.1-py2.6.egg/celery/execute/__init__.py"
in apply_async
  83.                                               exchange_type=exchange_type)
File "/home/mark/workspace/openhatch/eggs/celery-1.0.1-py2.6.egg/celery/task/base.py"
in get_publisher
  248.                              routing_key=self.routing_key)
File "/home/mark/workspace/openhatch/eggs/celery-1.0.1-py2.6.egg/celery/messaging.py"
in __init__
  44.             consumers = get_consumer_set(self.connection)
File "/home/mark/workspace/openhatch/eggs/celery-1.0.1-py2.6.egg/celery/messaging.py"
in get_consumer_set
  166.                             backend=cset.backend, **queue_options)
File "/home/mark/workspace/openhatch/eggs/carrot-0.10.3-py2.6.egg/carrot/messaging.py"
in __init__
  230.             self.declare()
File "/home/mark/workspace/openhatch/eggs/carrot-0.10.3-py2.6.egg/carrot/messaging.py"
in declare
  267.
warn_if_exists=self.warn_if_exists)
File "/home/mark/workspace/openhatch/eggs/carrot-0.10.3-py2.6.egg/carrot/backends/pyamqplib.py"
in queue_declare
  221.         return self.channel.queue_declare(queue=queue,
File "/home/mark/workspace/openhatch/eggs/carrot-0.10.3-py2.6.egg/carrot/backends/pyamqplib.py"
in channel
  169.             self._channel_ref =
weakref.ref(self.connection.get_channel())
File "/home/mark/workspace/openhatch/eggs/carrot-0.10.3-py2.6.egg/carrot/connection.py"
in get_channel
  150.         return self.connection.channel()
File "/home/mark/workspace/openhatch/eggs/carrot-0.10.3-py2.6.egg/carrot/connection.py"
in connection
  120.             self._connection = self._establish_connection()
File "/home/mark/workspace/openhatch/eggs/carrot-0.10.3-py2.6.egg/carrot/connection.py"
in _establish_connection
  133.         return self.create_backend().establish_connection()
File "/home/mark/workspace/openhatch/eggs/carrot-0.10.3-py2.6.egg/carrot/backends/pyamqplib.py"
in establish_connection
  183.                           connect_timeout=conninfo.connect_timeout)
File "/home/mark/workspace/openhatch/eggs/amqplib-0.6.1-py2.6.egg/amqplib/client_0_8/connection.py"
in __init__
  125.             self.transport = create_transport(host, connect_timeout, ssl)
File "/home/mark/workspace/openhatch/eggs/amqplib-0.6.1-py2.6.egg/amqplib/client_0_8/transport.py"
in create_transport
  220.         return TCPTransport(host, connect_timeout)
File "/home/mark/workspace/openhatch/eggs/amqplib-0.6.1-py2.6.egg/amqplib/client_0_8/transport.py"
in __init__
  58.             self.sock.connect((host, port))

Exception Type: error at /openid/register/do
Exception Value: (111, 'Connection refused')


More information about the Devel mailing list