firepython.middleware.FirePythonWSGI breaks on Django 1.2 alpha 1
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 30/100
Research direction
Start at the firepython.middleware.FirePythonWSGI entry point and compare its initialization with Django 1.2's middleware loading shown in django/core/handlers/base.py. Reproduce the reported configuration using the django.wsgi setup and verify that the WSGI application starts without the constructor TypeError under Django 1.2 alpha 1.
Written by the indexing model from the issue text.
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)
- Dominant language
- Python
- Stars
- 217
- Forks
- 16
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from binaryage/firelogger.py
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
binaryage/firelogger.py#13 · 3 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
binaryage/firelogger.py#12 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
binaryage/firelogger.py#10 ·
-
Tutorial pageOpen
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
All issues in binaryage/firelogger.py
Similar issues
-
upstream update
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
conan-io/conan-center-index#31098 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
john-kurkowski/tldextract#382 ·
-
comp/tools duplicate P2 sweeper:risk-compatibility tool/mcp type/bug
Difficulty 1/5 Under an hour Newbie friendliness 88/100
NousResearch/hermes-agent#132042 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
deepset-ai/haystack#13092 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 1-3 hours Newbie friendliness 85/100
feder-cr/invisible_playwright_mcp#1408 ·
Maintainers usually reply within 1 day