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

[Devel] [Kaboom at OH] Error (EXTERNAL IP): /people/project_icon_badge/Test::Harness

mr_website at linode.openhatch.org mr_website at linode.openhatch.org
Thu Sep 17 14:18:46 UTC 2009


Traceback (most recent call last):

  File "/home/deploy/milestone-a.buildout/parts/production/django/core/handlers/base.py", line 86, in get_response
    response = callback(request, *callback_args, **callback_kwargs)

  File "/home/deploy/milestone-a.buildout/mysite/profile/views.py", line 504, in project_icon_web
    path, url = project_icon_url(project_name, width)

  File "/home/deploy/milestone-a.buildout/mysite/profile/views.py", line 456, in project_icon_url
    tmp = tempfile.mkstemp(dir=os.path.dirname(path))

  File "/usr/lib/python2.5/tempfile.py", line 302, in mkstemp
    return _mkstemp_inner(dir, prefix, suffix, flags)

  File "/usr/lib/python2.5/tempfile.py", line 236, in _mkstemp_inner
    fd = _os.open(file, flags, 0600)

OSError: [Errno 13] Permission denied: '/home/deploy/milestone-a.buildout/mysite/static/project-icons/w=40/tmpr9-2v8'


<WSGIRequest
GET:<QueryDict: {}>,
POST:<QueryDict: {}>,
COOKIES:{'sessionid': '3c44ae8a57bdb2e6a6ca40f2412a6ecf'},
META:{'DOCUMENT_ROOT': '/var/www/',
 'GATEWAY_INTERFACE': 'CGI/1.1',
 'HTTP_ACCEPT': '*/*',
 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.3',
 'HTTP_ACCEPT_ENCODING': 'gzip,deflate',
 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.8',
 'HTTP_CONNECTION': 'keep-alive',
 'HTTP_COOKIE': 'sessionid=3c44ae8a57bdb2e6a6ca40f2412a6ecf',
 'HTTP_HOST': 'openhatch.org',
 'HTTP_REFERER': 'http://openhatch.org/',
 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/532.0 (KHTML, like Gecko) Chrome/4.0.211.0 Safari/532.0',
 'PATH': '/usr/local/bin:/usr/bin:/bin',
 'PATH_INFO': u'/people/project_icon_badge/Test::Harness',
 'PATH_TRANSLATED': '/home/deploy/milestone-a.buildout/bin/production.wsgi/people/project_icon_badge/Test::Harness',
 'QUERY_STRING': '',
 'REMOTE_ADDR': '98.140.86.29',
 'REMOTE_PORT': '37692',
 'REQUEST_METHOD': 'GET',
 'REQUEST_URI': '/people/project_icon_badge/Test::Harness',
 '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': '80',
 'SERVER_PROTOCOL': 'HTTP/1.1',
 'SERVER_SIGNATURE': '<address>Apache/2.2.9 (Debian) PHP/5.2.9-4 with Suhosin-Patch mod_ssl/2.2.9 OpenSSL/0.9.8g mod_wsgi/2.5 Python/2.5.4 Server at openhatch.org Port 80</address>\n',
 'SERVER_SOFTWARE': 'Apache/2.2.9 (Debian) PHP/5.2.9-4 with Suhosin-Patch mod_ssl/2.2.9 OpenSSL/0.9.8g mod_wsgi/2.5 Python/2.5.4',
 'mod_wsgi.application_group': 'openhatch.org|',
 'mod_wsgi.callable_object': 'application',
 'mod_wsgi.listener_host': '',
 'mod_wsgi.listener_port': '80',
 '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 0x9466380>,
 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x9024f98>,
 'wsgi.input': <mod_wsgi.Input object at 0x9428f70>,
 'wsgi.multiprocess': True,
 'wsgi.multithread': False,
 'wsgi.run_once': False,
 'wsgi.url_scheme': 'http',
 'wsgi.version': (1, 0)}>


More information about the Devel mailing list