Ergänzung:
Ich habe schon verschiedene Programme gehört wie Filsh.net, doch diese Seite spinnt und geht nicht immer. D. H. es kommt diese Meldung:
IOError at /process/dodownload/vkr89z4p8q0dnt6u5s0bdz1ax
sys.stdout access restricted by mod_wsgiRequest Method: GET
Request URL: http://www.filsh.net/process/dodownload/vkr89z4p8q0dnt6u5s0bdz1ax
Exceptin Type: IOError
Exception Value: sys.stdout access restricted by mod_wsgi
Exception Location: /home/filsh/filsh/src/frontend/download/views.py in dodownload, line 55
Python Executable: /usr/bin/python
Python Version: 2.5.0
Python Path: ['/usr/lib/python2.5/site-packages/setuptools-0.6c5-py2.5.egg', '/usr/lib/python2.5/site-packages/MySQL_python-1.2.2-py2.5-linux-i686.egg', '/usr/lib/python25.zip', '/usr/lib/python2.5/lib-dynload', '/usr/lib/python2.5/site-packages', '/usr/lib/python2.5', '/usr/lib/python2.5/plat-linux2', '/usr/lib/python2.5/lib-tk', '/usr/local/lib/python2.5/site-packages', '/home/filsh/filsh']
Server time: Mi, 1 Apr 2009 09:19:27 +0200
Traceback Switch to copy-and-paste view
/usr/lib/python2.5/site-packages/django/core/handlers/base.py in get_response
# Apply view middleware for middleware_method in self._view_middleware: response = middleware_method(request, callback, callback_args, callback_kwargs) if response: return response try: response = callback(request, *callback_args, **callback_kwargs) ... except Exception, e: # If the view raised an exception, run it through exception # middleware, and if the exception middleware returns a # response, use that. Otherwise, reraise the exception. for middleware_method in self._exception_middleware: response = middleware_method(request, e)▶ Local vars
Variable Value
callback <function dodownload at 0xb129b0d4>
callback_args ()
callback_kwargs {'token': u'vkr89z4p8q0dnt6u5s0bdz1ax'}
e IOError('sys.stdout access restricted by mod_wsgi',)
exc_info (<type 'exceptions.IOError'>, IOError('sys.stdout access restricted by mod_wsgi',), <traceback object at 0xb0d8670c>)
exceptions <module 'django.core.exceptions' from '/usr/lib/python2.5/site-packages/django/core/exceptions.pyc'>
middleware_method <bound method AuthenticationMiddleware.process_request of <django.contrib.auth.middleware.AuthenticationMiddleware object at 0xb140db2c>>
receivers [(<function _rollback_on_exception at 0xb121b994>, None)]
request <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'DOCUMENT_ROOT': '/var/www/', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*', 'HTTP_ACCEPT_ENCODING': 'gzip, deflate', 'HTTP_ACCEPT_LANGUAGE': 'de', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'www.filsh.net', 'HTTP_UA_CPU': 'x86', 'HTTP_USER_AGENT': 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; GTB5; InfoPath.1; .NET CLR 1.1.4322)', 'HTTP_X_FORWARDED_FOR': '80.152.137.16', 'HTTP_X_REAL_IP': '80.152.137.16', 'PATH': '/usr/local/bin:/usr/bin:/bin', 'PATH_INFO': u'/process/dodownload/vkr89z4p8q0dnt6u5s0bdz1ax', 'PATH_TRANSLATED': '/home/filsh/filsh/wsgi.py/process/dodownload/vkr89z4p8q0dnt6u5s0bdz1ax', 'QUERY_STRING': '', 'REMOTE_ADDR': '127.0.0.1', 'REMOTE_PORT': '33735', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/process/dodownload/vkr89z4p8q0dnt6u5s0bdz1ax', 'SCRIPT_FILENAME': '/home/filsh/filsh/wsgi.py', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '127.0.0.1', 'SERVER_ADMIN': 'webmaster@localhost', 'SERVER_NAME': 'www.filsh.net', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SIGNATURE': '<address>Apache/2.2.3 (Debian) mod_wsgi/2.3 Python/2.5 Server at www.filsh.net Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.3 (Debian) mod_wsgi/2.3 Python/2.5', 'mod_wsgi.application_group': 'ks364944.kimsufi.com|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '8080', 'mod_wsgi.process_group': 'filsh', 'mod_wsgi.reload_mechanism': '1', 'mod_wsgi.script_reloading': '1', 'wsgi.errors': <mod_wsgi.Log object at 0xb0216068>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0xb0dedda0>, 'wsgi.input': <mod_wsgi.Input object at 0xb0d86160>, 'wsgi.multiprocess': True, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>
resolver <RegexURLResolver urls ^/>
response None
self <django.core.handlers.wsgi.WSGIHandler object at 0xb763a1ac>
settings <django.conf.LazySettings object at 0xb150f20c>
urlconf 'urls'
urlresolvers <module 'django.core.urlresolvers' from '/usr/lib/python2.5/site-packages/django/core/urlresolvers.pyc'>
/home/filsh/filsh/src/frontend/download/views.py in dodownload
# ... and then get the server information remote = getServerInfo(ticket.server_id)
# Ask server to start the download params = urllib.urlencode({'token' : token, 'remote_ip': request.META.get("REMOTE_ADDR")}) headers = {"Content-Type": "application/x-www-form-urlencoded", "Accept:": "text/plain"} conn = httplib.HTTPConnection(remote.subdomain + ".filsh.net:80") conn.request("POST", "/process/local/download", params, headers) ... response = conn.getresponse().read() try: json = simplejson.loads(response) if json.get("message") == "Download done": # Session has been created, display download progress bar▶ Local vars
Variable Value
config {u'maintenance': u'false'}
conn <httplib.HTTPConnection instance at 0xb039586c>
headers {'Accept:': 'text/plain', 'Content-Type': 'application/x-www-form-urlencoded'}
lang {'audiobit': 'Audio-Bitrate', 'blog': 'Blog', 'blog_entry_not_found': 'Dieser Blogeintrag existiert nicht mehr.', 'comment_added': 'Kommentar hinzufgef\xc3\xbcgt', 'contact': 'Kontakt', 'conversions_running': 'laufende Umwandlungen', 'converting': 'Video wird umgewandelt...', 'done': 'Umwandlung abgeschlossen', 'downloading': 'Video wird heruntergeladen...', 'format': 'Format', 'howto': 'Anleitungsvideo', 'main': 'Startseite', 'no_conversion': 'Keine Umwandlung', 'no_post_request': 'Ein GET-Zugriff auf diesen Bereich ist nicht zul\xc3\xa4ssig.', 'no_session': 'Session ist abgelaufen oder existiert nicht.', 'no_session_db': 'Datenbank-Session ist abgelaufen oder existiert nicht.', 'no_url': 'Es wurde kein Video-Link angegeben.', 'no_vidinfo': 'Fehler beim Auslesen der Video-Informationen.', 'permission_denied': 'Zugriff verweigert.', 'portalerror_1': 'Dieses Portal wird zur Zeit noch nicht unterst\xc3\xbctzt.', 'portalerror_2': 'Downloadlink konnte nicht ausgelesen werden.', 'rules_not_accepted': 'Bitte stimme unseren Nutzungsbedingungen zu!', 'system_error': 'Ein Systeminterner Fehler ist aufgetreten. Bitte wende dich an unseren Support.', 'termsofuse': 'Nutzungsbedingungen', 'ticket_reserved': 'Ein Ticket wurde reserviert...', 'video_link': 'Video-Link', 'videobit': 'Video-Bitrate', 'volume': 'Lautst\xc3\xa4rke'}
params 'token=vkr89z4p8q0dnt6u5s0bdz1ax&remote_ip=127.0.0.1'
remote <Servers: Servers object>
request <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{}, META:{'DOCUMENT_ROOT': '/var/www/', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*', 'HTTP_ACCEPT_ENCODING': 'gzip, deflate', 'HTTP_ACCEPT_LANGUAGE': 'de', 'HTTP_CONNECTION': 'close', 'HTTP_HOST': 'www.filsh.net', 'HTTP_UA_CPU': 'x86', 'HTTP_USER_AGENT': 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; GTB5; InfoPath.1; .NET CLR 1.1.4322)', 'HTTP_X_FORWARDED_FOR': '80.152.137.16', 'HTTP_X_REAL_IP': '80.152.137.16', 'PATH': '/usr/local/bin:/usr/bin:/bin', 'PATH_INFO': u'/process/dodownload/vkr89z4p8q0dnt6u5s0bdz1ax', 'PATH_TRANSLATED': '/home/filsh/filsh/wsgi.py/process/dodownload/vkr89z4p8q0dnt6u5s0bdz1ax', 'QUERY_STRING': '', 'REMOTE_ADDR': '127.0.0.1', 'REMOTE_PORT': '33735', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/process/dodownload/vkr89z4p8q0dnt6u5s0bdz1ax', 'SCRIPT_FILENAME': '/home/filsh/filsh/wsgi.py', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '127.0.0.1', 'SERVER_ADMIN': 'webmaster@localhost', 'SERVER_NAME': 'www.filsh.net', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SIGNATURE': '<address>Apache/2.2.3 (Debian) mod_wsgi/2.3 Python/2.5 Server at www.filsh.net Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.3 (Debian) mod_wsgi/2.3 Python/2.5', 'mod_wsgi.application_group': 'ks364944.kimsufi.com|', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.listener_host': '', 'mod_wsgi.listener_port': '8080', 'mod_wsgi.process_group': 'filsh', 'mod_wsgi.reload_mechanism': '1', 'mod_wsgi.script_reloading': '1', 'wsgi.errors': <mod_wsgi.Log object at 0xb0216068>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0xb0dedda0>, 'wsgi.input': <mod_wsgi.Input object at 0xb0d86160>, 'wsgi.multiprocess': True, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>
server <Servers: Servers object>
ticket Error in formatting: unsupported operand type(s) for &: 'unicode' and 'unicode'
token u'vkr89z4p8q0dnt6u5s0bdz1ax'
Environment:
Request Method: GET
Request URL: http://www.filsh.net/process/dodownload/vkr89z4p8q0dnt6u5s0bdz1ax
Django Version: 1.1 beta 1
Python Version: 2.5.0
Installed Applications:
['src.frontend',
'src.frontend.blog',
'src.frontend.content',
'src.frontend.convert',
'src.frontend.download',
'src.frontend.lang',
'src.backend',
'src.backend.convert',
'src.backend.download',
'src.backend.output',
'src.backend.portals',
'src']
Installed Middleware:
('django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware')
Traceback:
File "/usr/lib/python2.5/site-packages/django/core/handlers/base.py" in get_response
92. response = callback(request, *callback_args, **callback_kwargs)
File "/home/filsh/filsh/src/frontend/download/views.py" in dodownload
55. conn.request("POST", "/process/local/download", params, headers)
Exception Type: IOError at /process/dodownload/vkr89z4p8q0dnt6u5s0bdz1ax
Exception Value: sys.stdout access restricted by mod_wsgi
Request information
GET
No GET data
POST
No POST data
COOKIES
No cookie data
META
Variable Value
DOCUMENT_ROOT '/var/www/'
GATEWAY_INTERFACE 'CGI/1.1'
HTTP_ACCEPT 'image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*'
HTTP_ACCEPT_ENCODING 'gzip, deflate'
HTTP_ACCEPT_LANGUAGE 'de'
HTTP_CONNECTION 'close'
HTTP_HOST 'www.filsh.net'
HTTP_UA_CPU 'x86'
HTTP_USER_AGENT 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; GTB5; InfoPath.1; .NET CLR 1.1.4322)'
HTTP_X_FORWARDED_FOR '80.152.137.16'
HTTP_X_REAL_IP '80.152.137.16'
PATH '/usr/local/bin:/usr/bin:/bin'
PATH_INFO u'/process/dodownload/vkr89z4p8q0dnt6u5s0bdz1ax'
PATH_TRANSLATED '/home/filsh/filsh/wsgi.py/process/dodownload/vkr89z4p8q0dnt6u5s0bdz1ax'
QUERY_STRING ''
REMOTE_ADDR '127.0.0.1'
REMOTE_PORT '33735'
REQUEST_METHOD 'GET'
REQUEST_URI '/process/dodownload/vkr89z4p8q0dnt6u5s0bdz1ax'
SCRIPT_FILENAME '/home/filsh/filsh/wsgi.py'
SCRIPT_NAME u''
SERVER_ADDR '127.0.0.1'
SERVER_ADMIN 'webmaster@localhost'
SERVER_NAME 'www.filsh.net'
SERVER_PORT '80'
SERVER_PROTOCOL 'HTTP/1.0'
SERVER_SIGNATURE '<address>Apache/2.2.3 (Debian) mod_wsgi/2.3 Python/2.5 Server at www.filsh.net Port 80</address>\n'
SERVER_SOFTWARE 'Apache/2.2.3 (Debian) mod_wsgi/2.3 Python/2.5'
mod_wsgi.application_group 'ks364944.kimsufi.com|'
mod_wsgi.callable_object 'application'
mod_wsgi.listener_host ''
mod_wsgi.listener_port '8080'
mod_wsgi.process_group 'filsh'
mod_wsgi.reload_mechanism '1'
mod_wsgi.script_reloading '1'
wsgi.errors <mod_wsgi.Log object at 0xb0216068>
wsgi.file_wrapper <built-in method file_wrapper of mod_wsgi.Adapter object at 0xb0dedda0>
wsgi.input <mod_wsgi.Input object at 0xb0d86160>
wsgi.multiprocess True
wsgi.multithread True
wsgi.run_once False
wsgi.url_scheme 'http'
wsgi.version (1, 0)
Settings
Using settings module settings
Setting Value
ABSOLUTE_URL_OVERRIDES {}
ADMINS ()
ADMIN_FOR ()
ADMIN_MEDIA_PREFIX '/media/'
ALLOWED_INCLUDE_ROOTS ()
APPEND_SLASH False
AUTHENTICATION_BACKENDS ('django.contrib.auth.backends.ModelBackend',)
BANNED_IPS ()
CACHE_BACKEND 'locmem://'
CACHE_MIDDLEWARE_KEY_PREFIX ''
CACHE_MIDDLEWARE_SECONDS 600
COMMENTS_ALLOW_PROFANITIES False
COMMENTS_BANNED_USERS_GROUP None
COMMENTS_FIRST_FEW 0
COMMENTS_MODERATORS_GROUP None
COMMENTS_SKETCHY_USERS_GROUP None
DATABASE_ENGINE 'mysql'
DATABASE_HOST '94.23.0.198'
DATABASE_NAME 'filsh4'
DATABASE_OPTIONS {}
DATABASE_PASSWORD '********************'
DATABASE_PORT ''
DATABASE_USER 'root'
DATETIME_FORMAT 'N j, Y, P'
DATE_FORMAT 'N j, Y'
DEBUG True
DEBUG_PROPAGATE_EXCEPTIONS False
DEFAULT_CHARSET 'utf-8'
DEFAULT_CONTENT_TYPE 'text/html'
DEFAULT_FILE_STORAGE 'django.core.files.storage.FileSystemStorage'
weiter...