[Devel] [Kaboom at OH] Error (EXTERNAL IP): /profile/views/save_portfolio_entry_do
Raphael Krut-Landau
raphael.kl at gmail.com
Sat Feb 20 01:15:19 UTC 2010
Deployed a fix for this.
On Fri, Feb 19, 2010 at 7:54 PM, <mr_website at linode.openhatch.org> wrote:
> Traceback (most recent call last):
>
> File "/home/deploy/milestone-a.buildout/parts/production/django/core/handlers/base.py", line 92, in get_response
> response = callback(request, *callback_args, **callback_kwargs)
>
> File "/home/deploy/milestone-a.buildout/parts/production/django/contrib/auth/decorators.py", line 78, in __call__
> return self.view_func(request, *args, **kwargs)
>
> File "/home/deploy/milestone-a.buildout/mysite/profile/views.py", line 880, in save_portfolio_entry_do
> project, _ = Project.objects.get_or_create(name=request.POST['project_name'])
>
> File "/home/deploy/milestone-a.buildout/parts/production/django/db/models/manager.py", line 123, in get_or_create
> return self.get_query_set().get_or_create(**kwargs)
>
> File "/home/deploy/milestone-a.buildout/parts/production/django/db/models/query.py", line 335, in get_or_create
> obj.save(force_insert=True)
>
> File "/home/deploy/milestone-a.buildout/parts/production/django/db/models/base.py", line 410, in save
> self.save_base(force_insert=force_insert, force_update=force_update)
>
> File "/home/deploy/milestone-a.buildout/parts/production/django/db/models/base.py", line 506, in save_base
> created=(not record_exists), raw=raw)
>
> File "/home/deploy/milestone-a.buildout/parts/production/django/dispatch/dispatcher.py", line 166, in send
> response = receiver(signal=self, sender=sender, **named)
>
> File "/home/deploy/milestone-a.buildout/mysite/search/models.py", line 231, in grab_project_language_from_ohloh
> task = mysite.search.tasks.PopulateProjectLanguageFromOhloh()
>
> AttributeError: 'module' object has no attribute 'tasks'
>
>
> <WSGIRequest
> GET:<QueryDict: {}>,
> POST:<QueryDict: {u'experience_description': [u''], u'project_name': [u'lxml, a web scraping library'], u'portfolio_entry__pk': [u'undefined'], u'pf_entry_element_id': [u'element_1'], u'project_description': [u'']}>,
> COOKIES:{'oh_wikiToken': '89e6cf07c2b463ef3501b8d64e9c7458',
> 'oh_wikiUserID': '3',
> 'oh_wikiUserName': 'Raphael',
> 'openid_provider': 'google',
> 'sessionid': '1b4d477c01b70939d25b3357bd9e58cf'},
> META:{'CONTENT_LENGTH': '148',
> 'CONTENT_TYPE': 'application/x-www-form-urlencoded; charset=UTF-8',
> 'DOCUMENT_ROOT': '/var/www/',
> 'GATEWAY_INTERFACE': 'CGI/1.1',
> 'HTTPS': '1',
> 'HTTP_ACCEPT': 'application/json, text/javascript, */*',
> 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7',
> 'HTTP_ACCEPT_ENCODING': 'gzip,deflate',
> 'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5',
> 'HTTP_CACHE_CONTROL': 'no-cache',
> 'HTTP_CONNECTION': 'keep-alive',
> 'HTTP_COOKIE': 'openid_provider=google; sessionid=1b4d477c01b70939d25b3357bd9e58cf; oh_wikiUserID=3; oh_wikiUserName=Raphael; oh_wikiToken=89e6cf07c2b463ef3501b8d64e9c7458',
> 'HTTP_HOST': 'openhatch.org',
> 'HTTP_KEEP_ALIVE': '300',
> 'HTTP_PRAGMA': 'no-cache',
> 'HTTP_REFERER': 'https://openhatch.org/+portfolio/editor/',
> 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.7) Gecko/20100106 Ubuntu/9.10 (karmic) Firefox/3.5.7',
> 'HTTP_X_FIRELOGGER': '0.7',
> 'HTTP_X_REQUESTED_WITH': 'XMLHttpRequest',
> 'PATH': '/usr/local/bin:/usr/bin:/bin',
> 'PATH_INFO': u'/profile/views/save_portfolio_entry_do',
> 'PATH_TRANSLATED': '/home/deploy/milestone-a.buildout/bin/production.wsgi/profile/views/save_portfolio_entry_do',
> 'QUERY_STRING': '',
> 'REMOTE_ADDR': '98.140.110.121',
> 'REMOTE_PORT': '51031',
> 'REQUEST_METHOD': 'POST',
> 'REQUEST_URI': '/profile/views/save_portfolio_entry_do',
> 'SCRIPT_FILENAME': '/home/deploy/milestone-a.buildout/bin/production.wsgi',
> 'SCRIPT_NAME': u'',
> 'SERVER_ADDR': '74.207.229.254',
> 'SERVER_ADMIN': 'webmaster at localhost',
> 'SERVER_NAME': 'openhatch.org',
> 'SERVER_PORT': '443',
> 'SERVER_PROTOCOL': 'HTTP/1.1',
> 'SERVER_SIGNATURE': '<address>Apache/2.2.14 (Debian) Server at openhatch.org Port 443</address>\n',
> 'SERVER_SOFTWARE': 'Apache/2.2.14 (Debian)',
> 'SSL_TLS_SNI': 'openhatch.org',
> 'mod_wsgi.application_group': 'openhatch.org|',
> 'mod_wsgi.callable_object': 'application',
> 'mod_wsgi.listener_host': '',
> 'mod_wsgi.listener_port': '443',
> 'mod_wsgi.process_group': 'live',
> 'mod_wsgi.reload_mechanism': '1',
> 'mod_wsgi.script_reloading': '1',
> 'mod_wsgi.version': (2, 5),
> 'wsgi.errors': <mod_wsgi.Log object at 0x9594bf0>,
> 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x93520f8>,
> 'wsgi.input': <mod_wsgi.Input object at 0x92ad4d0>,
> 'wsgi.multiprocess': True,
> 'wsgi.multithread': False,
> 'wsgi.run_once': False,
> 'wsgi.url_scheme': 'https',
> 'wsgi.version': (1, 0)}>
> _______________________________________________
> Devel mailing list
> Devel at lists.openhatch.org
> http://lists.openhatch.org/mailman/listinfo/devel
>
More information about the Devel
mailing list