binaryage / binaryage/firelogger.py

firepython.middleware.FirePythonWSGI breaks on Django 1.2 alpha 1

Open
#9 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
217
Forks
16
PR merge metrics
No merged PRs in 30d

Description

Here is my config:
Django version: 1.2 alpha 1 - latest trunk
MIDDLEWARE_CLASSES: firepython.middleware.FirePythonWSGI
Server: Apache 2 on Ubuntu with mod_wsgi

django.wsgi:

import os

import sys

sys.path.append(os.path.abspath(os.path.dirname(__file__)))
os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'

import django.core.handlers.wsgi
application = django.core.handlers.wsgi.WSGIHandler()

Traceback:

[Mon Jan 25 23:39:16 2010] [error] [client 192.168.1.2] mod_wsgi (pid=12287): Exception occurred processing WSGI script '/home/sasha/Projects/django/django.wsgi'.

[Mon Jan 25 23:39:16 2010] [error] [client 192.168.1.2] Traceback (most recent call last):
[Mon Jan 25 23:39:16 2010] [error] [client 192.168.1.2] Traceback (most recent call last):
[Mon Jan 25 23:39:16 2010] [error] [client 192.168.1.2] File "/usr/local/lib/python2.6/dist-packages/django/core/handlers/wsgi.py", line 230, in __call__
[Mon Jan 25 23:39:16 2010] [error] [client 192.168.1.2] File "/usr/local/lib/python2.6/dist-packages/django/core/handlers/wsgi.py", line 230, in __call__
[Mon Jan 25 23:39:16 2010] [error] [client 192.168.1.2] self.load_middleware()
[Mon Jan 25 23:39:16 2010] [error] [client 192.168.1.2] File "/usr/local/lib/python2.6/dist-packages/django/core/handlers/base.py", line 49, in load_middleware
[Mon Jan 25 23:39:16 2010] [error] [client 192.168.1.2] mw_instance = mw_class()
[Mon Jan 25 23:39:16 2010] [error] [client 192.168.1.2] TypeError: __init__() takes at least 2 arguments (1 given)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.