RMN3 BUGS

Posts

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@rpgmaker.net and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.
Apache/2.2.3 (Red Hat) Server at rpgmaker.net Port 80

I get this error when I try to download Glacia's Chapter One.


Edit: Fixed now ty RMN gods.
Max McGee
with sorrow down past the fence
9159
Am experiencing same error as above:

Also:
Sometimes RMN hangs for a really, really long time when performing what should be a trivial task (submitting a review) or for literally no reason.

And...I'm not positive it's RMN but I haven't seen it happen on any other site- sometimes RMN seems to maybe cause my laptop keyboard to get all funky and then shut down? It's pretty disturbing. I have no idea what the cause could be.
WIP
I'm not comfortable with any idea that can't be expressed in the form of men's jewelry
11363
The site hanging is something it's been afflicted with that I haven't figured out why yet. Basically Apache runs out of memory and the server locks up until Apache gets back under control.
A strange little quirk: the Download Now button appears on a gamepage when a download is submitted, not when it is approved.
I just got this:

OperationalError at /forums/topics/5764/
(2019, "Can't initialize character set latin1 (path: /usr/share/mysql/charsets/)")Request Method: GET
Request URL: http://rpgmaker.net/forums/topics/5764/
Exception Type: OperationalError
Exception Value: (2019, "Can't initialize character set latin1 (path: /usr/share/mysql/charsets/)")
Exception Location: /usr/lib64/python2.4/site-packages/MySQL_python-1.2.2-py2.4-linux-x86_64.egg/MySQLdb/connections.py in __init__, line 170
Python Executable: /usr/bin/python
Python Version: 2.4.3
Python Path:
Server time: Sat, 20 Feb 2010 12:08:43 -0600

Traceback Switch to copy-and-paste view
/usr/lib/python2.4/site-packages/Django-1.0.2_final-py2.4.egg/django/core/handlers/base.py in get_response
...
response = middleware_method(request, callback, callback_args, callback_kwargs) ...
â–¶ Local vars
/var/www/sites/rpgmaker.net/django/rmn/apps/ban/middleware.py in process_view
if request.META != u'/banned/' and is_banned(request, request.user):
...
...
â–¶ Local vars
/var/www/sites/rpgmaker.net/django/rmn/apps/ban/utils.py in is_banned
cursor = connection.cursor()
...
...
â–¶ Local vars
/usr/lib/python2.4/site-packages/Django-1.0.2_final-py2.4.egg/django/db/backends/__init__.py in cursor
...
cursor = self._cursor(settings) ...
â–¶ Local vars
/usr/lib/python2.4/site-packages/Django-1.0.2_final-py2.4.egg/django/db/backends/mysql/base.py in _cursor
...
self.connection = Database.connect(**kwargs) ...
â–¶ Local vars
/usr/lib64/python2.4/site-packages/MySQL_python-1.2.2-py2.4-linux-x86_64.egg/MySQLdb/__init__.py in Connect
...
return Connection(*args, **kwargs) ...
â–¶ Local vars
/usr/lib64/python2.4/site-packages/MySQL_python-1.2.2-py2.4-linux-x86_64.egg/MySQLdb/connections.py in __init__
...
super(Connection, self).__init__(*args, **kwargs2) ...
â–¶ Local vars
Request information
GETVariable Value
post u'124744'

POST

No POST data
COOKIESVariable Value
__utma '153618939.3994212518475295000.1220223825.1266680701.1266687124.3154'
__utmb '153618939.13.10.1266687124'
__utmc '153618939'
sessionid '0bd3313706d13a86a3c868fd80d2d934'
__utmz '153618939.1261792512.2439.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)'

METAVariable Value
DOCUMENT_ROOT '/var/www/sites/rpgmaker.net/html'
GATEWAY_INTERFACE 'CGI/1.1'
HTTP_ACCEPT 'text/html, application/xml;q=0.9, application/xhtml+xml, image/png, image/jpeg, image/gif, image/x-xbitmap, */*;q=0.1'
HTTP_ACCEPT_CHARSET 'iso-8859-1, utf-8, utf-16, *;q=0.1'
HTTP_ACCEPT_ENCODING 'deflate, gzip, x-gzip, identity, *;q=0'
HTTP_ACCEPT_LANGUAGE 'en-CA,en;q=0.9'
HTTP_CONNECTION 'close'
HTTP_COOKIE '__utmz=153618939.1261792512.2439.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); sessionid=0bd3313706d13a86a3c868fd80d2d934; __utma=153618939.3994212518475295000.1220223825.1266680701.1266687124.3154; __utmc=153618939; __utmb=153618939.13.10.1266687124'
HTTP_COOKIE2 '$Version=1'
HTTP_HOST 'rpgmaker.net'
HTTP_REFERER 'http://rpgmaker.net/forums/'
HTTP_TE 'deflate, gzip, chunked, identity, trailers'
HTTP_USER_AGENT 'Opera/9.80 (Windows NT 5.1; U; en) Presto/2.2.15 Version/10.10'
HTTP_X_FORWARDED_FOR '142.162.178.94'
HTTP_X_REAL_IP '142.162.178.94'
PATH '/sbin:/usr/sbin:/bin:/usr/bin'
PATH_INFO u'/forums/topics/5764/'
PATH_TRANSLATED '/var/www/sites/rpgmaker.net/django/rmn/apache/wsgi.py/forums/topics/5764/'
QUERY_STRING 'post=124744'
REMOTE_ADDR '142.162.178.94'
REMOTE_PORT '37298'
REQUEST_METHOD 'GET'
REQUEST_URI '/forums/topics/5764/?post=124744'
SCRIPT_FILENAME '/var/www/sites/rpgmaker.net/django/rmn/apache/wsgi.py'
SCRIPT_NAME u''
SERVER_ADDR '127.0.0.1'
SERVER_ADMIN 'webmaster@rpgmaker.net'
SERVER_NAME 'rpgmaker.net'
SERVER_PORT '80'
SERVER_PROTOCOL 'HTTP/1.0'
SERVER_SIGNATURE '<address>Apache/2.2.3 (Red Hat) Server at rpgmaker.net Port 80</address>\n'
SERVER_SOFTWARE 'Apache/2.2.3 (Red Hat)'
mod_wsgi.application_group ''
mod_wsgi.callable_object 'application'
mod_wsgi.listener_host '127.0.0.1'
mod_wsgi.listener_port '80'
mod_wsgi.process_group 'rpgmaker'
mod_wsgi.reload_mechanism '1'
mod_wsgi.script_reloading '1'
wsgi.errors <mod_wsgi.Log object at 0x2b0119ee70c0>
wsgi.file_wrapper <built-in method file_wrapper of mod_wsgi.Adapter object at 0x2b0119e25dc8>
wsgi.input <mod_wsgi.Input object at 0x2b0119e36930>
wsgi.multiprocess True
wsgi.multithread True
wsgi.run_once False
wsgi.url_scheme 'http'
wsgi.version (1, 0)

Settings
Using settings module rmn.settingsSetting Value
ABSOLUTE_URL_OVERRIDES {}
ADMINS ()
ADMIN_FOR ()
ADMIN_MEDIA_PREFIX '/media/'
ALLOWED_INCLUDE_ROOTS ()
APPEND_SLASH True
AUTHENTICATION_BACKENDS ('django.contrib.auth.backends.ModelBackend',)
BANNED_IPS ()
CACHE_BACKEND 'locmem://'
CACHE_MIDDLEWARE_KEY_PREFIX ''
CACHE_MIDDLEWARE_SECONDS 600
CAPTCHA_KEY '6LcTwQYAAAAAAL1YJ8nRLR-pm_fpGwOMYiOXvHGw'
COMMENTS_ALLOW_PROFANITIES False
COMMENTS_BANNED_USERS_GROUP None
COMMENTS_FIRST_FEW 0
COMMENTS_MODERATORS_GROUP None
COMMENTS_SKETCHY_USERS_GROUP None
CONTENT_ROOT '/var/www/sites/rpgmaker.net/content/'
DATABASE_ENGINE 'mysql'
DATABASE_HOST 'localhost'
DATABASE_NAME 'rmn'
DATABASE_OPTIONS {}
DATABASE_PASSWORD '********************'
DATABASE_PORT ''
DATABASE_USER 'rmn_user'
DATETIME_FORMAT 'm/d/Y h:i A'
DATE_FORMAT 'm/d/Y'
DEBUG True
DEBUG_PROPAGATE_EXCEPTIONS False
DEFAULT_CHARSET 'utf-8'
DEFAULT_CONTENT_TYPE 'text/html'
DEFAULT_FILE_STORAGE 'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL 'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE ''
DEFAULT_TABLESPACE ''
DISALLOWED_USER_AGENTS ()
DJANGO_PATH '/var/www/sites/rpgmaker.net/django/'
EMAIL_HOST 'smtp.gmail.com'
EMAIL_HOST_PASSWORD '********************'
EMAIL_HOST_USER 'staff@rpgmaker.net'
EMAIL_PORT 587
EMAIL_SUBJECT_PREFIX ' '
EMAIL_USE_TLS True
FILE_CHARSET 'utf-8'
FILE_UPLOAD_HANDLERS ('rmn.apps.upload.uploadhandler.UploadHandler',)
FILE_UPLOAD_MAX_MEMORY_SIZE 2621440
FILE_UPLOAD_PERMISSIONS 436
FILE_UPLOAD_TEMP_DIR None
FIXTURE_DIRS ()
FORCE_SCRIPT_NAME None
IGNORABLE_404_ENDS ('mail.pl', 'mailform.pl', 'mail.cgi', 'mailform.cgi', 'favicon.ico', '.php')
IGNORABLE_404_STARTS ('/cgi-bin/', '/_vti_bin', '/_vti_inf')
INSTALLED_APPS
INTERNAL_IPS ('192.168.1.101', '127.0.0.1')
JING_PATH '/usr/bin/jing'
LANGUAGES (('ar', 'Arabic'), ('bn', 'Bengali'), ('bg', 'Bulgarian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('es', 'Spanish'), ('et', 'Estonian'), ('es-ar', 'Argentinean Spanish'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('ga', 'Irish'), ('gl', 'Galician'), ('hu', 'Hungarian'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('ko', 'Korean'), ('km', 'Khmer'), ('kn', 'Kannada'), ('lv', 'Latvian'), ('lt', 'Lithuanian'), ('mk', 'Macedonian'), ('nl', 'Dutch'), ('no', 'Norwegian'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sr', 'Serbian'), ('sv', 'Swedish'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('uk', 'Ukrainian'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese'))
LANGUAGES_BIDI ('he', 'ar', 'fa')
LANGUAGE_CODE 'en-us'
LANGUAGE_COOKIE_NAME 'django_language'
LOCALE_PATHS ()
LOGIN_REDIRECT_URL '/accounts/profile/'
LOGIN_URL '/account/login/'
LOGOUT_URL '/accounts/logout/'
MANAGERS ()
MEDIA_ROOT '/var/www/sites/rpgmaker.net/html/'
MEDIA_URL 'http://rpgmaker.net/media/'
MIDDLEWARE_CLASSES ('django.middleware.gzip.GZipMiddleware', 'django.middleware.common.CommonMiddleware', 'django.contrib.csrf.middleware.CsrfMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.doc.XViewMiddleware', 'django.middleware.http.SetRemoteAddrFromForwardedFor', 'rmn.apps.resources.middleware.ResourcesMiddleware', 'rmn.apps.base.middleware.SiteMiddleware', 'rmn.apps.users.middleware.UserMiddleware', 'rmn.apps.ban.middleware.BanMiddleware')
MONTH_DAY_FORMAT 'F j'
PASSWORD_RESET_TIMEOUT_DAYS '********************'
PREPEND_WWW False
PROFANITIES_LIST '********************'
RECAPTCHA_PRIV_KEY '6LcTwQYAAAAAAL1YJ8nRLR-pm_fpGwOMYiOXvHGw'
RECAPTCHA_PUB_KEY '6LcTwQYAAAAAALtrg2HzMbLrF1hkAW2Hab2MXsAM'
RESOURCE_COMBINERS {'css': 'rmn.apps.resources.CSSManager', 'js': 'rmn.apps.resources.JSManager'}
ROOT_URLCONF 'rmn.urls'
SECRET_KEY '********************'
SEND_BROKEN_LINK_EMAILS False
SERVER_EMAIL 'root@localhost'
SESSION_COOKIE_AGE 1209600
SESSION_COOKIE_DOMAIN None
SESSION_COOKIE_NAME 'sessionid'
SESSION_COOKIE_PATH '/'
SESSION_COOKIE_SECURE False
SESSION_ENGINE 'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE False
SESSION_FILE_PATH None
SESSION_SAVE_EVERY_REQUEST False
SETTINGS_MODULE 'rmn.settings'
SITE_ROOT '/var/www/sites/rpgmaker.net/django/rmn/'
TEMPLATE_CONTEXT_PROCESSORS ('django.core.context_processors.request', 'django.core.context_processors.media', 'rmn.apps.base.context_processors.site', 'rmn.apps.users.context_processors.user', 'rmn.apps.resources.context_processors.resources', 'django.core.context_processors.debug')
TEMPLATE_DEBUG True
TEMPLATE_DIRS ('/var/www/sites/rpgmaker.net/django/rmn/templates',)
TEMPLATE_LOADERS ('django.template.loaders.filesystem.load_template_source', 'django.template.loaders.app_directories.load_template_source', 'rmn.apps.games.premium_template_loader.load_template_source')
TEMPLATE_STRING_IF_INVALID ''
TEST_DATABASE_CHARSET None
TEST_DATABASE_COLLATION None
TEST_DATABASE_NAME None
TEST_RUNNER 'django.test.simple.run_tests'
TIME_FORMAT 'h:i A'
TIME_ZONE 'America/Chicago'
TRANSACTIONS_MANAGED False
URL_VALIDATOR_USER_AGENT 'Django/1.0.2 final (http://www.djangoproject.com)'
USE_ETAGS False
USE_I18N False
YEAR_MONTH_FORMAT 'F Y'


You're seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard 500 page.


Not sure what topic I was trying to view, but I know this is the first time thats happened to me.
yeah, same error. happens infrequently everywhere
I've gotten it twice now - once on the homepage and once clicking on this topic!
I'm getting it pretty frequently. Every once in a while for about a minute, I can't go anywhere without getting "OperationalError at (place)".
OperationalError at /forums/site/

(2019, "Can't initialize character set latin1 (path: /usr/share/mysql/charsets/)")

Request Method: GET
Request URL: http://rpgmaker.net/forums/site/
Exception Type: OperationalError
Exception Value:

(2019, "Can't initialize character set latin1 (path: /usr/share/mysql/charsets/)")

Exception Location: /usr/lib64/python2.4/site-packages/MySQL_python-1.2.2-py2.4-linux-x86_64.egg/MySQLdb/connections.py in __init__, line 170
Python Executable: /usr/bin/python
Python Version: 2.4.3
Python Path:
Server time: Sat, 20 Feb 2010 13:53:57 -0600
Yeah, same with me. Usually happens when I try and go on the forums.
Max McGee
with sorrow down past the fence
9159
The site and forums are fucking up tremendously right now. Every time I click to a new page or thread I get a gigantic error message, at the top of which it says it can't initialize character set "latin1". Fortunately refreshing 1-2 times fixes it so it is not technically a fatal error but it is super frustrating. Other people have said this is happening infrequently but it is happening to me every time I click a new page.

Here is what the error message looks like without formatting:


OperationalError at /

(2019, "Can't initialize character set latin1 (path: /usr/share/mysql/charsets/)")

Request Method: GET
Request URL: http://rpgmaker.net/
Exception Type: OperationalError
Exception Value:

(2019, "Can't initialize character set latin1 (path: /usr/share/mysql/charsets/)")

Exception Location: /usr/lib64/python2.4/site-packages/MySQL_python-1.2.2-py2.4-linux-x86_64.egg/MySQLdb/connections.py in __init__, line 170
Python Executable: /usr/bin/python
Python Version: 2.4.3
Python Path:
Server time: Sat, 20 Feb 2010 14:57:57 -0600
Traceback Switch to copy-and-paste view

* /usr/lib/python2.4/site-packages/Django-1.0.2_final-py2.4.egg/django/core/handlers/base.py in get_response
74. resolver = urlresolvers.RegexURLResolver(r'^/', urlconf)
75. try:
76. callback, callback_args, callback_kwargs = resolver.resolve(
77. request.path_info)
78.
79. # Apply view middleware
80. for middleware_method in self._view_middleware:
81. response = middleware_method(request, callback, callback_args, callback_kwargs) ...
82. if response:
83. return response
84.
85. try:
86. response = callback(request, *callback_args, **callback_kwargs)
87. except Exception, e:
â–¶ Local vars
Variable Value
callback
<function index at 0x2b0119aa3410>
callback_args
()
callback_kwargs
{}
exc_info
(<class _mysql_exceptions.OperationalError at 0x2b01192803b0>, <_mysql_exceptions.OperationalError instance at 0x2b0119e7cfc8>, <traceback object at 0x2b0119ee6908>)
exceptions
<module 'django.core.exceptions' from '/usr/lib/python2.4/site-packages/Django-1.0.2_final-py2.4.egg/django/core/exceptions.pyc'>
middleware_method
<bound method BanMiddleware.process_view of <rmn.apps.ban.middleware.BanMiddleware object at 0x2b0119a67750>>
receivers

request
<WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{'__utma': '153618939.942165804.1261432951.1266648457.1266654381.13', '__utmz': '153618939.1265663785.3.4.utmcsr=ghostlightgames.net|utmccn=(referral)|utmcmd=referral|utmcct=/forums/index.php', 'sessionid': 'f3f1b94e2b6b1b4ce700c163dc2c5c76'}, META:{'DOCUMENT_ROOT': '/var/www/sites/rpgmaker.net/html', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', '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_CONNECTION': 'close', 'HTTP_COOKIE': '__utma=153618939.942165804.1261432951.1266648457.1266654381.13; __utmz=153618939.1265663785.3.4.utmcsr=ghostlightgames.net|utmccn=(referral)|utmcmd=referral|utmcct=/forums/index.php; sessionid=f3f1b94e2b6b1b4ce700c163dc2c5c76', 'HTTP_HOST': 'rpgmaker.net', 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.8) Gecko/20100202 Firefox/3.5.8', 'HTTP_X_FORWARDED_FOR': '67.189.190.227', 'HTTP_X_REAL_IP': '67.189.190.227', 'PATH': '/sbin:/usr/sbin:/bin:/usr/bin', 'PATH_INFO': u'/', 'PATH_TRANSLATED': '/var/www/sites/rpgmaker.net/django/rmn/apache/wsgi.py/', 'QUERY_STRING': '', 'REMOTE_ADDR': '67.189.190.227', 'REMOTE_PORT': '48348', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/', 'SCRIPT_FILENAME': '/var/www/sites/rpgmaker.net/django/rmn/apache/wsgi.py', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '127.0.0.1', 'SERVER_ADMIN': 'webmaster@rpgmaker.net', 'SERVER_NAME': 'rpgmaker.net', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SIGNATURE': '<address>Apache/2.2.3 (Red Hat) Server at rpgmaker.net Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.3 (Red Hat)', 'mod_wsgi.application_group': '', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.listener_host': '127.0.0.1', 'mod_wsgi.listener_port': '80', 'mod_wsgi.process_group': 'rpgmaker', 'mod_wsgi.reload_mechanism': '1', 'mod_wsgi.script_reloading': '1', 'wsgi.errors': <mod_wsgi.Log object at 0x2b01116e1ae0>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x2b01190cf030>, 'wsgi.input': <mod_wsgi.Input object at 0x2b0119e207b0>, 'wsgi.multiprocess': True, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>
resolver
<RegexURLResolver rmn.urls ^></RegexURLResolver>
response
None
self
<django.core.handlers.wsgi.WSGIHandler object at 0x2b01116dd750>
settings
<django.conf.LazySettings object at 0x2aaaac1d2b90>
urlconf
'rmn.urls'
urlresolvers
<module 'django.core.urlresolvers' from '/usr/lib/python2.4/site-packages/Django-1.0.2_final-py2.4.egg/django/core/urlresolvers.pyc'>
* /var/www/sites/rpgmaker.net/django/rmn/apps/ban/middleware.py in process_view
3. from rmn.apps.base import utils
4. from utils import is_banned
5.
6.
7.
8. class BanMiddleware(object):
9. def process_view(self, request, view_func, view_args, view_kwargs):
10. if request.META != u'/banned/' and is_banned(request, request.user): ...
11. return utils.redirect('banned')
â–¶ Local vars
Variable Value
request
<WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{'__utma': '153618939.942165804.1261432951.1266648457.1266654381.13', '__utmz': '153618939.1265663785.3.4.utmcsr=ghostlightgames.net|utmccn=(referral)|utmcmd=referral|utmcct=/forums/index.php', 'sessionid': 'f3f1b94e2b6b1b4ce700c163dc2c5c76'}, META:{'DOCUMENT_ROOT': '/var/www/sites/rpgmaker.net/html', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', '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_CONNECTION': 'close', 'HTTP_COOKIE': '__utma=153618939.942165804.1261432951.1266648457.1266654381.13; __utmz=153618939.1265663785.3.4.utmcsr=ghostlightgames.net|utmccn=(referral)|utmcmd=referral|utmcct=/forums/index.php; sessionid=f3f1b94e2b6b1b4ce700c163dc2c5c76', 'HTTP_HOST': 'rpgmaker.net', 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.8) Gecko/20100202 Firefox/3.5.8', 'HTTP_X_FORWARDED_FOR': '67.189.190.227', 'HTTP_X_REAL_IP': '67.189.190.227', 'PATH': '/sbin:/usr/sbin:/bin:/usr/bin', 'PATH_INFO': u'/', 'PATH_TRANSLATED': '/var/www/sites/rpgmaker.net/django/rmn/apache/wsgi.py/', 'QUERY_STRING': '', 'REMOTE_ADDR': '67.189.190.227', 'REMOTE_PORT': '48348', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/', 'SCRIPT_FILENAME': '/var/www/sites/rpgmaker.net/django/rmn/apache/wsgi.py', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '127.0.0.1', 'SERVER_ADMIN': 'webmaster@rpgmaker.net', 'SERVER_NAME': 'rpgmaker.net', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SIGNATURE': '<address>Apache/2.2.3 (Red Hat) Server at rpgmaker.net Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.3 (Red Hat)', 'mod_wsgi.application_group': '', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.listener_host': '127.0.0.1', 'mod_wsgi.listener_port': '80', 'mod_wsgi.process_group': 'rpgmaker', 'mod_wsgi.reload_mechanism': '1', 'mod_wsgi.script_reloading': '1', 'wsgi.errors': <mod_wsgi.Log object at 0x2b01116e1ae0>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x2b01190cf030>, 'wsgi.input': <mod_wsgi.Input object at 0x2b0119e207b0>, 'wsgi.multiprocess': True, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>
self
<rmn.apps.ban.middleware.BanMiddleware object at 0x2b0119a67750>
view_args
()
view_func
<function index at 0x2b0119aa3410>
view_kwargs
{}
* /var/www/sites/rpgmaker.net/django/rmn/apps/ban/utils.py in is_banned
20. ban_sql.append(' AND '.join(ip_sql))
21.
22. sql = """
23. SELECT id
24. FROM ban_userban
25. WHERE %s""" % ' OR '.join(ban_sql)
26.
27. cursor = connection.cursor() ...
28. cursor.execute(sql)
29.
30. if cursor.rowcount:
31. return True
32. else:
33. return False
â–¶ Local vars
Variable Value
ban_sql

i
3
ip_parts

ip_sql

request
<WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{'__utma': '153618939.942165804.1261432951.1266648457.1266654381.13', '__utmz': '153618939.1265663785.3.4.utmcsr=ghostlightgames.net|utmccn=(referral)|utmcmd=referral|utmcct=/forums/index.php', 'sessionid': 'f3f1b94e2b6b1b4ce700c163dc2c5c76'}, META:{'DOCUMENT_ROOT': '/var/www/sites/rpgmaker.net/html', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', '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_CONNECTION': 'close', 'HTTP_COOKIE': '__utma=153618939.942165804.1261432951.1266648457.1266654381.13; __utmz=153618939.1265663785.3.4.utmcsr=ghostlightgames.net|utmccn=(referral)|utmcmd=referral|utmcct=/forums/index.php; sessionid=f3f1b94e2b6b1b4ce700c163dc2c5c76', 'HTTP_HOST': 'rpgmaker.net', 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.8) Gecko/20100202 Firefox/3.5.8', 'HTTP_X_FORWARDED_FOR': '67.189.190.227', 'HTTP_X_REAL_IP': '67.189.190.227', 'PATH': '/sbin:/usr/sbin:/bin:/usr/bin', 'PATH_INFO': u'/', 'PATH_TRANSLATED': '/var/www/sites/rpgmaker.net/django/rmn/apache/wsgi.py/', 'QUERY_STRING': '', 'REMOTE_ADDR': '67.189.190.227', 'REMOTE_PORT': '48348', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/', 'SCRIPT_FILENAME': '/var/www/sites/rpgmaker.net/django/rmn/apache/wsgi.py', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '127.0.0.1', 'SERVER_ADMIN': 'webmaster@rpgmaker.net', 'SERVER_NAME': 'rpgmaker.net', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SIGNATURE': '<address>Apache/2.2.3 (Red Hat) Server at rpgmaker.net Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.3 (Red Hat)', 'mod_wsgi.application_group': '', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.listener_host': '127.0.0.1', 'mod_wsgi.listener_port': '80', 'mod_wsgi.process_group': 'rpgmaker', 'mod_wsgi.reload_mechanism': '1', 'mod_wsgi.script_reloading': '1', 'wsgi.errors': <mod_wsgi.Log object at 0x2b01116e1ae0>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x2b01190cf030>, 'wsgi.input': <mod_wsgi.Input object at 0x2b0119e207b0>, 'wsgi.multiprocess': True, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>
sql
'\nSELECT id\nFROM ban_userban\nWHERE (67 BETWEEN `ip_low1` AND `ip_high1`) AND (189 BETWEEN `ip_low2` AND `ip_high2`) AND (190 BETWEEN `ip_low3` AND `ip_high3`) AND (227 BETWEEN `ip_low4` AND `ip_high4`)'
timestamp
1266699477
user
<rmn.apps.users.GuestUser object at 0x2b0119e20910>
* /usr/lib/python2.4/site-packages/Django-1.0.2_final-py2.4.egg/django/db/backends/__init__.py in cursor
49. def close(self):
50. if self.connection is not None:
51. self.connection.close()
52. self.connection = None
53.
54. def cursor(self):
55. from django.conf import settings
56. cursor = self._cursor(settings) ...
57. if settings.DEBUG:
58. return self.make_debug_cursor(cursor)
59. return cursor
60.
61. def make_debug_cursor(self, cursor):
62. return util.CursorDebugWrapper(cursor, self)
â–¶ Local vars
Variable Value
self
<django.db.backends.mysql.base.DatabaseWrapper object at 0x2b01192f02b8>
settings
<django.conf.LazySettings object at 0x2aaaac1d2b90>
* /usr/lib/python2.4/site-packages/Django-1.0.2_final-py2.4.egg/django/db/backends/mysql/base.py in _cursor
255. if settings.DATABASE_HOST.startswith('/'):
256. kwargs = settings.DATABASE_HOST
257. elif settings.DATABASE_HOST:
258. kwargs = settings.DATABASE_HOST
259. if settings.DATABASE_PORT:
260. kwargs = int(settings.DATABASE_PORT)
261. kwargs.update(self.options)
262. self.connection = Database.connect(**kwargs) ...
263. self.connection.encoders = self.connection.encoders
264. self.connection.encoders = self.connection.encoders
265. cursor = CursorWrapper(self.connection.cursor())
266. return cursor
267.
268. def _rollback(self):
â–¶ Local vars
Variable Value
kwargs
{'charset': 'utf8', 'conv': {0: <function typecast_decimal at 0x2b0119201050>, 1: <type 'int'>, 2: <type 'int'>, 3: <type 'long'>, 4: <type 'float'>, 5: <type 'float'>, 7: <function mysql_timestamp_converter at 0x2b0119289398>, 8: <type 'long'>, 9: <type 'int'>, 10: <function Date_or_None at 0x2b0119289230>, 11: <function typecast_time at 0x2b0119200e60>, 12: <function DateTime_or_None at 0x2b01192890c8>, 13: <type 'int'>, 15: , 246: <function typecast_decimal at 0x2b0119201050>, 248: <function Str2Set at 0x2b0119289668>, 252: , 253: , 254: , <type 'datetime.datetime'>: <function DateTime2literal at 0x2b01192892a8>, <type 'datetime.timedelta'>: <function DateTimeDelta2literal at 0x2b0119289320>, <type 'array.array'>: <function array2Str at 0x2b0119289aa0>, <type 'bool'>: <function Bool2Str at 0x2b01192895f0>, <type 'instance'>: <function Instance2Str at 0x2b01192899b0>, <type 'float'>: <function Float2Str at 0x2b0119289848>, <type 'int'>: <function Thing2Str at 0x2b0119289758>, <type 'list'>: <built-in function escape_sequence>, <type 'long'>: <function Thing2Str at 0x2b0119289758>, <type 'dict'>: <built-in function escape_dict>, <type 'NoneType'>: <function None2NULL at 0x2b01192898c0>, <type 'str'>: <function Thing2Literal at 0x2b0119289938>, <type 'tuple'>: <built-in function escape_sequence>, <type 'object'>: <function Instance2Str at 0x2b01192899b0>, <type 'unicode'>: <function Unicode2Str at 0x2b01192897d0>, <class 'sets.Set'>: <function Set2Str at 0x2b01192896e0>}, 'db': 'rmn', 'host': 'localhost', 'passwd': 'gk2Q?x4', 'use_unicode': True, 'user': 'rmn_user'}
self
<django.db.backends.mysql.base.DatabaseWrapper object at 0x2b01192f02b8>
settings
<django.conf.LazySettings object at 0x2aaaac1d2b90>
* /usr/lib64/python2.4/site-packages/MySQL_python-1.2.2-py2.4-linux-x86_64.egg/MySQLdb/__init__.py in Connect
67.
68. def Binary(x):
69. return str(x)
70.
71. def Connect(*args, **kwargs):
72. """Factory function for connections.Connection."""
73. from connections import Connection
74. return Connection(*args, **kwargs) ...
75.
76. connect = Connection = Connect
77.
78. __all__ = [ 'BINARY', 'Binary', 'Connect', 'Connection', 'DATE',
79. 'Date', 'Time', 'Timestamp', 'DateFromTicks', 'TimeFromTicks',
80. 'TimestampFromTicks', 'DataError', 'DatabaseError', 'Error',
â–¶ Local vars
Variable Value
Connection
<class 'MySQLdb.connections.Connection'>
args
()
kwargs
{'charset': 'utf8', 'conv': {0: <function typecast_decimal at 0x2b0119201050>, 1: <type 'int'>, 2: <type 'int'>, 3: <type 'long'>, 4: <type 'float'>, 5: <type 'float'>, 7: <function mysql_timestamp_converter at 0x2b0119289398>, 8: <type 'long'>, 9: <type 'int'>, 10: <function Date_or_None at 0x2b0119289230>, 11: <function typecast_time at 0x2b0119200e60>, 12: <function DateTime_or_None at 0x2b01192890c8>, 13: <type 'int'>, 15: , 246: <function typecast_decimal at 0x2b0119201050>, 248: <function Str2Set at 0x2b0119289668>, 252: , 253: , 254: , <type 'datetime.datetime'>: <function DateTime2literal at 0x2b01192892a8>, <type 'datetime.timedelta'>: <function DateTimeDelta2literal at 0x2b0119289320>, <type 'array.array'>: <function array2Str at 0x2b0119289aa0>, <type 'bool'>: <function Bool2Str at 0x2b01192895f0>, <type 'instance'>: <function Instance2Str at 0x2b01192899b0>, <type 'float'>: <function Float2Str at 0x2b0119289848>, <type 'int'>: <function Thing2Str at 0x2b0119289758>, <type 'list'>: <built-in function escape_sequence>, <type 'long'>: <function Thing2Str at 0x2b0119289758>, <type 'dict'>: <built-in function escape_dict>, <type 'NoneType'>: <function None2NULL at 0x2b01192898c0>, <type 'str'>: <function Thing2Literal at 0x2b0119289938>, <type 'tuple'>: <built-in function escape_sequence>, <type 'object'>: <function Instance2Str at 0x2b01192899b0>, <type 'unicode'>: <function Unicode2Str at 0x2b01192897d0>, <class 'sets.Set'>: <function Set2Str at 0x2b01192896e0>}, 'db': 'rmn', 'host': 'localhost', 'passwd': 'gk2Q?x4', 'use_unicode': True, 'user': 'rmn_user'}
* /usr/lib64/python2.4/site-packages/MySQL_python-1.2.2-py2.4-linux-x86_64.egg/MySQLdb/connections.py in __init__
163. if client_version >= (4, 1):
164. client_flag |= CLIENT.MULTI_STATEMENTS
165. if client_version >= (5, 0):
166. client_flag |= CLIENT.MULTI_RESULTS
167.
168. kwargs2 = client_flag
169.
170. super(Connection, self).__init__(*args, **kwargs2) ...
171.
172. self.encoders = dict()
174.
175. self._server_version = tuple([ int(n) for n in self.get_server_info().split('.') ])
176.
â–¶ Local vars
Variable Value
CLIENT
<module 'MySQLdb.constants.CLIENT' from '/usr/lib64/python2.4/site-packages/MySQL_python-1.2.2-py2.4-linux-x86_64.egg/MySQLdb/constants/CLIENT.py'>
FIELD_TYPE
<module 'MySQLdb.constants.FIELD_TYPE' from '/usr/lib64/python2.4/site-packages/MySQL_python-1.2.2-py2.4-linux-x86_64.egg/MySQLdb/constants/FIELD_TYPE.py'>
WeakValueDictionary
<class weakref.WeakValueDictionary at 0x2aaaac1e6c50>
args
()
charset
'utf8'
client_flag
196608
client_version
(5, 0)
conv
{0: <function typecast_decimal at 0x2b0119201050>, 1: <type 'int'>, 2: <type 'int'>, 3: <type 'long'>, 4: <type 'float'>, 5: <type 'float'>, 7: <function mysql_timestamp_converter at 0x2b0119289398>, 8: <type 'long'>, 9: <type 'int'>, 10: <function Date_or_None at 0x2b0119289230>, 11: <function typecast_time at 0x2b0119200e60>, 12: <function DateTime_or_None at 0x2b01192890c8>, 13: <type 'int'>, 15: , 246: <function typecast_decimal at 0x2b0119201050>, 248: <function Str2Set at 0x2b0119289668>, 252: , 253: , 254: , <type 'datetime.datetime'>: <function DateTime2literal at 0x2b01192892a8>, <type 'datetime.timedelta'>: <function DateTimeDelta2literal at 0x2b0119289320>, <type 'array.array'>: <function array2Str at 0x2b0119289aa0>, <type 'bool'>: <function Bool2Str at 0x2b01192895f0>, <type 'instance'>: <function Instance2Str at 0x2b01192899b0>, <type 'float'>: <function Float2Str at 0x2b0119289848>, <type 'int'>: <function Thing2Str at 0x2b0119289758>, <type 'list'>: <built-in function escape_sequence>, <type 'long'>: <function Thing2Str at 0x2b0119289758>, <type 'dict'>: <built-in function escape_dict>, <type 'NoneType'>: <function None2NULL at 0x2b01192898c0>, <type 'str'>: <function Thing2Literal at 0x2b0119289938>, <type 'tuple'>: <built-in function escape_sequence>, <type 'object'>: <function Instance2Str at 0x2b01192899b0>, <type 'unicode'>: <function Unicode2Str at 0x2b01192897d0>, <class 'sets.Set'>: <function Set2Str at 0x2b01192896e0>}
conv2
{0: <function typecast_decimal at 0x2b0119201050>, 1: <type 'int'>, 2: <type 'int'>, 3: <type 'long'>, 4: <type 'float'>, 5: <type 'float'>, 7: <function mysql_timestamp_converter at 0x2b0119289398>, 8: <type 'long'>, 9: <type 'int'>, 10: <function Date_or_None at 0x2b0119289230>, 11: <function typecast_time at 0x2b0119200e60>, 12: <function DateTime_or_None at 0x2b01192890c8>, 13: <type 'int'>, 15: , 246: <function typecast_decimal at 0x2b0119201050>, 248: <function Str2Set at 0x2b0119289668>, 252: , 253: , 254: }
conversions
{0: <class 'decimal.Decimal'>, 1: <type 'int'>, 2: <type 'int'>, 3: <type 'long'>, 4: <type 'float'>, 5: <type 'float'>, 7: <function mysql_timestamp_converter at 0x2b0119289398>, 8: <type 'long'>, 9: <type 'int'>, 10: <function Date_or_None at 0x2b0119289230>, 11: <function TimeDelta_or_None at 0x2b0119289140>, 12: <function DateTime_or_None at 0x2b01192890c8>, 13: <type 'int'>, 15: , 246: <class 'decimal.Decimal'>, 248: <function Str2Set at 0x2b0119289668>, 252: , 253: , 254: , <type 'datetime.datetime'>: <function DateTime2literal at 0x2b01192892a8>, <type 'datetime.timedelta'>: <function DateTimeDelta2literal at 0x2b0119289320>, <type 'array.array'>: <function array2Str at 0x2b0119289aa0>, <type 'bool'>: <function Bool2Str at 0x2b01192895f0>, <type 'instance'>: <function Instance2Str at 0x2b01192899b0>, <type 'float'>: <function Float2Str at 0x2b0119289848>, <type 'int'>: <function Thing2Str at 0x2b0119289758>, <type 'list'>: <built-in function escape_sequence>, <type 'long'>: <function Thing2Str at 0x2b0119289758>, <type 'dict'>: <built-in function escape_dict>, <type 'NoneType'>: <function None2NULL at 0x2b01192898c0>, <type 'str'>: <function Thing2Literal at 0x2b0119289938>, <type 'tuple'>: <built-in function escape_sequence>, <type 'object'>: <function Instance2Str at 0x2b01192899b0>, <type 'unicode'>: <function Unicode2Str at 0x2b01192897d0>, <class 'sets.Set'>: <function Set2Str at 0x2b01192896e0>}
k
254
kwargs
{'charset': 'utf8', 'conv': {0: <function typecast_decimal at 0x2b0119201050>, 1: <type 'int'>, 2: <type 'int'>, 3: <type 'long'>, 4: <type 'float'>, 5: <type 'float'>, 7: <function mysql_timestamp_converter at 0x2b0119289398>, 8: <type 'long'>, 9: <type 'int'>, 10: <function Date_or_None at 0x2b0119289230>, 11: <function typecast_time at 0x2b0119200e60>, 12: <function DateTime_or_None at 0x2b01192890c8>, 13: <type 'int'>, 15: , 246: <function typecast_decimal at 0x2b0119201050>, 248: <function Str2Set at 0x2b0119289668>, 252: , 253: , 254: , <type 'datetime.datetime'>: <function DateTime2literal at 0x2b01192892a8>, <type 'datetime.timedelta'>: <function DateTimeDelta2literal at 0x2b0119289320>, <type 'array.array'>: <function array2Str at 0x2b0119289aa0>, <type 'bool'>: <function Bool2Str at 0x2b01192895f0>, <type 'instance'>: <function Instance2Str at 0x2b01192899b0>, <type 'float'>: <function Float2Str at 0x2b0119289848>, <type 'int'>: <function Thing2Str at 0x2b0119289758>, <type 'list'>: <built-in function escape_sequence>, <type 'long'>: <function Thing2Str at 0x2b0119289758>, <type 'dict'>: <built-in function escape_dict>, <type 'NoneType'>: <function None2NULL at 0x2b01192898c0>, <type 'str'>: <function Thing2Literal at 0x2b0119289938>, <type 'tuple'>: <built-in function escape_sequence>, <type 'object'>: <function Instance2Str at 0x2b01192899b0>, <type 'unicode'>: <function Unicode2Str at 0x2b01192897d0>, <class 'sets.Set'>: <function Set2Str at 0x2b01192896e0>}, 'db': 'rmn', 'host': 'localhost', 'passwd': 'gk2Q?x4', 'use_unicode': True, 'user': 'rmn_user'}
kwargs2
{'client_flag': 196608, 'conv': {0: <function typecast_decimal at 0x2b0119201050>, 1: <type 'int'>, 2: <type 'int'>, 3: <type 'long'>, 4: <type 'float'>, 5: <type 'float'>, 7: <function mysql_timestamp_converter at 0x2b0119289398>, 8: <type 'long'>, 9: <type 'int'>, 10: <function Date_or_None at 0x2b0119289230>, 11: <function typecast_time at 0x2b0119200e60>, 12: <function DateTime_or_None at 0x2b01192890c8>, 13: <type 'int'>, 15: , 246: <function typecast_decimal at 0x2b0119201050>, 248: <function Str2Set at 0x2b0119289668>, 252: , 253: , 254: }, 'db': 'rmn', 'host': 'localhost', 'passwd': 'gk2Q?x4', 'user': 'rmn_user'}
n
'0'
proxy
<built-in function proxy>
self
<_mysql.connection closed at 2b011a21d160>
sql_mode
''
types
<module 'types' from '/usr/lib64/python2.4/types.pyc'>
use_unicode
True
v


Environment: Request Method: GET Request URL: http://rpgmaker.net/ Django Version: 1.0.2 final Python Version: 2.4.3 Installed Applications: Installed Middleware: ('django.middleware.gzip.GZipMiddleware', 'django.middleware.common.CommonMiddleware', 'django.contrib.csrf.middleware.CsrfMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.doc.XViewMiddleware', 'django.middleware.http.SetRemoteAddrFromForwardedFor', 'rmn.apps.resources.middleware.ResourcesMiddleware', 'rmn.apps.base.middleware.SiteMiddleware', 'rmn.apps.users.middleware.UserMiddleware', 'rmn.apps.ban.middleware.BanMiddleware') Traceback: File "/usr/lib/python2.4/site-packages/Django-1.0.2_final-py2.4.egg/django/core/handlers/base.py" in get_response 81. response = middleware_method(request, callback, callback_args, callback_kwargs) File "/var/www/sites/rpgmaker.net/django/rmn/apps/ban/middleware.py" in process_view 10. if request.META != u'/banned/' and is_banned(request, request.user): File "/var/www/sites/rpgmaker.net/django/rmn/apps/ban/utils.py" in is_banned 27. cursor = connection.cursor() File "/usr/lib/python2.4/site-packages/Django-1.0.2_final-py2.4.egg/django/db/backends/__init__.py" in cursor 56. cursor = self._cursor(settings) File "/usr/lib/python2.4/site-packages/Django-1.0.2_final-py2.4.egg/django/db/backends/mysql/base.py" in _cursor 262. self.connection = Database.connect(**kwargs) File "/usr/lib64/python2.4/site-packages/MySQL_python-1.2.2-py2.4-linux-x86_64.egg/MySQLdb/__init__.py" in Connect 74. return Connection(*args, **kwargs) File "/usr/lib64/python2.4/site-packages/MySQL_python-1.2.2-py2.4-linux-x86_64.egg/MySQLdb/connections.py" in __init__ 170. super(Connection, self).__init__(*args, **kwargs2) Exception Type: OperationalError at / Exception Value: (2019, "Can't initialize character set latin1 (path: /usr/share/mysql/charsets/)")

Request information
GET

No GET data
POST

No POST data
COOKIES
Variable Value
__utma
'153618939.942165804.1261432951.1266648457.1266654381.13'
__utmz
'153618939.1265663785.3.4.utmcsr=ghostlightgames.net|utmccn=(referral)|utmcmd=referral|utmcct=/forums/index.php'
sessionid
'f3f1b94e2b6b1b4ce700c163dc2c5c76'
META
Variable Value
DOCUMENT_ROOT
'/var/www/sites/rpgmaker.net/html'
GATEWAY_INTERFACE
'CGI/1.1'
HTTP_ACCEPT
'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'
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_CONNECTION
'close'
HTTP_COOKIE
'__utma=153618939.942165804.1261432951.1266648457.1266654381.13; __utmz=153618939.1265663785.3.4.utmcsr=ghostlightgames.net|utmccn=(referral)|utmcmd=referral|utmcct=/forums/index.php; sessionid=f3f1b94e2b6b1b4ce700c163dc2c5c76'
HTTP_HOST
'rpgmaker.net'
HTTP_USER_AGENT
'Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.8) Gecko/20100202 Firefox/3.5.8'
HTTP_X_FORWARDED_FOR
'67.189.190.227'
HTTP_X_REAL_IP
'67.189.190.227'
PATH
'/sbin:/usr/sbin:/bin:/usr/bin'
PATH_INFO
u'/'
PATH_TRANSLATED
'/var/www/sites/rpgmaker.net/django/rmn/apache/wsgi.py/'
QUERY_STRING
''
REMOTE_ADDR
'67.189.190.227'
REMOTE_PORT
'48348'
REQUEST_METHOD
'GET'
REQUEST_URI
'/'
SCRIPT_FILENAME
'/var/www/sites/rpgmaker.net/django/rmn/apache/wsgi.py'
SCRIPT_NAME
u''
SERVER_ADDR
'127.0.0.1'
SERVER_ADMIN
'webmaster@rpgmaker.net'
SERVER_NAME
'rpgmaker.net'
SERVER_PORT
'80'
SERVER_PROTOCOL
'HTTP/1.0'
SERVER_SIGNATURE
'<address>Apache/2.2.3 (Red Hat) Server at rpgmaker.net Port 80</address>\n'
SERVER_SOFTWARE
'Apache/2.2.3 (Red Hat)'
mod_wsgi.application_group
''
mod_wsgi.callable_object
'application'
mod_wsgi.listener_host
'127.0.0.1'
mod_wsgi.listener_port
'80'
mod_wsgi.process_group
'rpgmaker'
mod_wsgi.reload_mechanism
'1'
mod_wsgi.script_reloading
'1'
wsgi.errors
<mod_wsgi.Log object at 0x2b01116e1ae0>
wsgi.file_wrapper
<built-in method file_wrapper of mod_wsgi.Adapter object at 0x2b01190cf030>
wsgi.input
<mod_wsgi.Input object at 0x2b0119e207b0>
wsgi.multiprocess
True
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'http'
wsgi.version
(1, 0)
Settings
Using settings module rmn.settings
Setting Value
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
()
ADMIN_FOR
()
ADMIN_MEDIA_PREFIX
'/media/'
ALLOWED_INCLUDE_ROOTS
()
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
('django.contrib.auth.backends.ModelBackend',)
BANNED_IPS
()
CACHE_BACKEND
'locmem://'
CACHE_MIDDLEWARE_KEY_PREFIX
''
CACHE_MIDDLEWARE_SECONDS
600
CAPTCHA_KEY
'6LcTwQYAAAAAAL1YJ8nRLR-pm_fpGwOMYiOXvHGw'
COMMENTS_ALLOW_PROFANITIES
False
COMMENTS_BANNED_USERS_GROUP
None
COMMENTS_FIRST_FEW
0
COMMENTS_MODERATORS_GROUP
None
COMMENTS_SKETCHY_USERS_GROUP
None
CONTENT_ROOT
'/var/www/sites/rpgmaker.net/content/'
DATABASE_ENGINE
'mysql'
DATABASE_HOST
'localhost'
DATABASE_NAME
'rmn'
DATABASE_OPTIONS
{}
DATABASE_PASSWORD
'********************'
DATABASE_PORT
''
DATABASE_USER
'rmn_user'
DATETIME_FORMAT
'm/d/Y h:i A'
DATE_FORMAT
'm/d/Y'
DEBUG
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DEFAULT_CHARSET
'utf-8'
DEFAULT_CONTENT_TYPE
'text/html'
DEFAULT_FILE_STORAGE
'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE
''
DEFAULT_TABLESPACE
''
DISALLOWED_USER_AGENTS
()
DJANGO_PATH
'/var/www/sites/rpgmaker.net/django/'
EMAIL_HOST
'smtp.gmail.com'
EMAIL_HOST_PASSWORD
'********************'
EMAIL_HOST_USER
'staff@rpgmaker.net'
EMAIL_PORT
587
EMAIL_SUBJECT_PREFIX
' '
EMAIL_USE_TLS
True
FILE_CHARSET
'utf-8'
FILE_UPLOAD_HANDLERS
('rmn.apps.upload.uploadhandler.UploadHandler',)
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
436
FILE_UPLOAD_TEMP_DIR
None
FIXTURE_DIRS
()
FORCE_SCRIPT_NAME

None
IGNORABLE_404_ENDS
('mail.pl', 'mailform.pl', 'mail.cgi', 'mailform.cgi', 'favicon.ico', '.php')
IGNORABLE_404_STARTS
('/cgi-bin/', '/_vti_bin', '/_vti_inf')
INSTALLED_APPS

INTERNAL_IPS
('192.168.1.101', '127.0.0.1')
JING_PATH
'/usr/bin/jing'
LANGUAGES
(('ar', 'Arabic'), ('bn', 'Bengali'), ('bg', 'Bulgarian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('es', 'Spanish'), ('et', 'Estonian'), ('es-ar', 'Argentinean Spanish'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('ga', 'Irish'), ('gl', 'Galician'), ('hu', 'Hungarian'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('ko', 'Korean'), ('km', 'Khmer'), ('kn', 'Kannada'), ('lv', 'Latvian'), ('lt', 'Lithuanian'), ('mk', 'Macedonian'), ('nl', 'Dutch'), ('no', 'Norwegian'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sr', 'Serbian'), ('sv', 'Swedish'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('uk', 'Ukrainian'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese'))
LANGUAGES_BIDI
('he', 'ar', 'fa')
LANGUAGE_CODE
'en-us'
LANGUAGE_COOKIE_NAME
'django_language'
LOCALE_PATHS
()
LOGIN_REDIRECT_URL
'/accounts/profile/'
LOGIN_URL
'/account/login/'
LOGOUT_URL
'/accounts/logout/'
MANAGERS
()
MEDIA_ROOT
'/var/www/sites/rpgmaker.net/html/'
MEDIA_URL
'http://rpgmaker.net/media/'
MIDDLEWARE_CLASSES
('django.middleware.gzip.GZipMiddleware', 'django.middleware.common.CommonMiddleware', 'django.contrib.csrf.middleware.CsrfMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.doc.XViewMiddleware', 'django.middleware.http.SetRemoteAddrFromForwardedFor', 'rmn.apps.resources.middleware.ResourcesMiddleware', 'rmn.apps.base.middleware.SiteMiddleware', 'rmn.apps.users.middleware.UserMiddleware', 'rmn.apps.ban.middleware.BanMiddleware')
MONTH_DAY_FORMAT
'F j'
PASSWORD_RESET_TIMEOUT_DAYS
'********************'
PREPEND_WWW
False
PROFANITIES_LIST
'********************'
RECAPTCHA_PRIV_KEY
'6LcTwQYAAAAAAL1YJ8nRLR-pm_fpGwOMYiOXvHGw'
RECAPTCHA_PUB_KEY
'6LcTwQYAAAAAALtrg2HzMbLrF1hkAW2Hab2MXsAM'
RESOURCE_COMBINERS
{'css': 'rmn.apps.resources.CSSManager', 'js': 'rmn.apps.resources.JSManager'}
ROOT_URLCONF
'rmn.urls'
SECRET_KEY
'********************'
SEND_BROKEN_LINK_EMAILS
False
SERVER_EMAIL
'root@localhost'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_NAME
'sessionid'
SESSION_COOKIE_PATH
'/'
SESSION_COOKIE_SECURE
False
SESSION_ENGINE
'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SETTINGS_MODULE
'rmn.settings'
SITE_ROOT
'/var/www/sites/rpgmaker.net/django/rmn/'
TEMPLATE_CONTEXT_PROCESSORS
('django.core.context_processors.request', 'django.core.context_processors.media', 'rmn.apps.base.context_processors.site', 'rmn.apps.users.context_processors.user', 'rmn.apps.resources.context_processors.resources', 'django.core.context_processors.debug')
TEMPLATE_DEBUG
True
TEMPLATE_DIRS
('/var/www/sites/rpgmaker.net/django/rmn/templates',)
TEMPLATE_LOADERS
('django.template.loaders.filesystem.load_template_source', 'django.template.loaders.app_directories.load_template_source', 'rmn.apps.games.premium_template_loader.load_template_source')
TEMPLATE_STRING_IF_INVALID
''
TEST_DATABASE_CHARSET
None
TEST_DATABASE_COLLATION
None
TEST_DATABASE_NAME
None
TEST_RUNNER
'django.test.simple.run_tests'
TIME_FORMAT
'h:i A'
TIME_ZONE
'America/Chicago'
TRANSACTIONS_MANAGED
False
URL_VALIDATOR_USER_AGENT
'Django/1.0.2 final (http://www.djangoproject.com)'
USE_ETAGS
False
USE_I18N
False
YEAR_MONTH_FORMAT
'F Y'

You're seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard 500 page.
i think we might have notified WIP quite enough now
Max McGee
with sorrow down past the fence
9159
ah. so we have.
never hurts to make it absolutely clear
halibabica
RMN's Official Reviewmonger
16948
I think it might be connected to a broken banner or something. That's the only thing that changes with every page load, so it could be causing the random crashes.

But I don't know nothin' 'bout the interwebs, so it's very likely I'm wrong.
I've been getting this error randomly every time I load new pages:



OperationalError at /forums/site/

(2019, "Can't initialize character set latin1 (path: /usr/share/mysql/charsets/)")

Request Method: GET
Request URL: http://rpgmaker.net/forums/site/
Exception Type: OperationalError
Exception Value:

(2019, "Can't initialize character set latin1 (path: /usr/share/mysql/charsets/)")

Exception Location: /usr/lib64/python2.4/site-packages/MySQL_python-1.2.2-py2.4-linux-x86_64.egg/MySQLdb/connections.py in __init__, line 170
Python Executable: /usr/bin/python
Python Version: 2.4.3
Python Path:
Server time: Sat, 20 Feb 2010 21:04:06 -0600
Traceback Switch to copy-and-paste view

* /usr/lib/python2.4/site-packages/Django-1.0.2_final-py2.4.egg/django/core/handlers/base.py in get_response
74. resolver = urlresolvers.RegexURLResolver(r'^/', urlconf)
75. try:
76. callback, callback_args, callback_kwargs = resolver.resolve(
77. request.path_info)
78.
79. # Apply view middleware
80. for middleware_method in self._view_middleware:
81. response = middleware_method(request, callback, callback_args, callback_kwargs) ...
82. if response:
83. return response
84.
85. try:
86. response = callback(request, *callback_args, **callback_kwargs)
87. except Exception, e:
â–¶ Local vars
Variable Value
callback
<function view_forum at 0x2b0119d17ed8>
callback_args
()
callback_kwargs
{'forum_slug': u'site'}
exc_info
(<class _mysql_exceptions.OperationalError at 0x2b01192803b0>, <_mysql_exceptions.OperationalError instance at 0x2b011a6d6518>, <traceback object at 0x2aaab405aa70>)
exceptions
<module 'django.core.exceptions' from '/usr/lib/python2.4/site-packages/Django-1.0.2_final-py2.4.egg/django/core/exceptions.pyc'>
middleware_method
<bound method BanMiddleware.process_view of <rmn.apps.ban.middleware.BanMiddleware object at 0x2b0119a67750>>
receivers

request
<WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{'__utma': '153618939.788148208.1256621033.1266709945.1266718189.167', '__utmb': '153618939.44.10.1266718189', '__utmc': '153618939', '__utmz': '153618939.1256621033.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)', 'sessionid': '7a19d07702a01831c981d4e627dfd798'}, META:{'DOCUMENT_ROOT': '/var/www/sites/rpgmaker.net/html', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', '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_CONNECTION': 'close', 'HTTP_COOKIE': '__utma=153618939.788148208.1256621033.1266709945.1266718189.167; __utmz=153618939.1256621033.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); sessionid=7a19d07702a01831c981d4e627dfd798; __utmc=153618939; __utmb=153618939.44.10.1266718189', 'HTTP_HOST': 'rpgmaker.net', 'HTTP_REFERER': 'http://rpgmaker.net/forums/topics/4086/', 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.8) Gecko/20100202 Firefox/3.5.8', 'HTTP_X_FORWARDED_FOR': '67.61.52.237', 'HTTP_X_REAL_IP': '67.61.52.237', 'PATH': '/sbin:/usr/sbin:/bin:/usr/bin', 'PATH_INFO': u'/forums/site/', 'PATH_TRANSLATED': '/var/www/sites/rpgmaker.net/django/rmn/apache/wsgi.py/forums/site/', 'QUERY_STRING': '', 'REMOTE_ADDR': '67.61.52.237', 'REMOTE_PORT': '58710', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/forums/site/', 'SCRIPT_FILENAME': '/var/www/sites/rpgmaker.net/django/rmn/apache/wsgi.py', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '127.0.0.1', 'SERVER_ADMIN': 'webmaster@rpgmaker.net', 'SERVER_NAME': 'rpgmaker.net', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SIGNATURE': '<address>Apache/2.2.3 (Red Hat) Server at rpgmaker.net Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.3 (Red Hat)', 'mod_wsgi.application_group': '', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.listener_host': '127.0.0.1', 'mod_wsgi.listener_port': '80', 'mod_wsgi.process_group': 'rpgmaker', 'mod_wsgi.reload_mechanism': '1', 'mod_wsgi.script_reloading': '1', 'wsgi.errors': <mod_wsgi.Log object at 0x2b0119fcd240>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x2b01190abdc8>, 'wsgi.input': <mod_wsgi.Input object at 0x2b01190a4bb0>, 'wsgi.multiprocess': True, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>
resolver
<RegexURLResolver rmn.urls ^/>
response
None
self
<django.core.handlers.wsgi.WSGIHandler object at 0x2b01116dd750>
settings
<django.conf.LazySettings object at 0x2aaaac1d2b90>
urlconf
'rmn.urls'
urlresolvers
<module 'django.core.urlresolvers' from '/usr/lib/python2.4/site-packages/Django-1.0.2_final-py2.4.egg/django/core/urlresolvers.pyc'>
* /var/www/sites/rpgmaker.net/django/rmn/apps/ban/middleware.py in process_view
3. from rmn.apps.base import utils
4. from utils import is_banned
5.
6.
7.
8. class BanMiddleware(object):
9. def process_view(self, request, view_func, view_args, view_kwargs):
10. if request.META != u'/banned/' and is_banned(request, request.user): ...
11. return utils.redirect('banned')
â–¶ Local vars
Variable Value
request
<WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{'__utma': '153618939.788148208.1256621033.1266709945.1266718189.167', '__utmb': '153618939.44.10.1266718189', '__utmc': '153618939', '__utmz': '153618939.1256621033.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)', 'sessionid': '7a19d07702a01831c981d4e627dfd798'}, META:{'DOCUMENT_ROOT': '/var/www/sites/rpgmaker.net/html', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', '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_CONNECTION': 'close', 'HTTP_COOKIE': '__utma=153618939.788148208.1256621033.1266709945.1266718189.167; __utmz=153618939.1256621033.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); sessionid=7a19d07702a01831c981d4e627dfd798; __utmc=153618939; __utmb=153618939.44.10.1266718189', 'HTTP_HOST': 'rpgmaker.net', 'HTTP_REFERER': 'http://rpgmaker.net/forums/topics/4086/', 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.8) Gecko/20100202 Firefox/3.5.8', 'HTTP_X_FORWARDED_FOR': '67.61.52.237', 'HTTP_X_REAL_IP': '67.61.52.237', 'PATH': '/sbin:/usr/sbin:/bin:/usr/bin', 'PATH_INFO': u'/forums/site/', 'PATH_TRANSLATED': '/var/www/sites/rpgmaker.net/django/rmn/apache/wsgi.py/forums/site/', 'QUERY_STRING': '', 'REMOTE_ADDR': '67.61.52.237', 'REMOTE_PORT': '58710', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/forums/site/', 'SCRIPT_FILENAME': '/var/www/sites/rpgmaker.net/django/rmn/apache/wsgi.py', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '127.0.0.1', 'SERVER_ADMIN': 'webmaster@rpgmaker.net', 'SERVER_NAME': 'rpgmaker.net', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SIGNATURE': '<address>Apache/2.2.3 (Red Hat) Server at rpgmaker.net Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.3 (Red Hat)', 'mod_wsgi.application_group': '', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.listener_host': '127.0.0.1', 'mod_wsgi.listener_port': '80', 'mod_wsgi.process_group': 'rpgmaker', 'mod_wsgi.reload_mechanism': '1', 'mod_wsgi.script_reloading': '1', 'wsgi.errors': <mod_wsgi.Log object at 0x2b0119fcd240>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x2b01190abdc8>, 'wsgi.input': <mod_wsgi.Input object at 0x2b01190a4bb0>, 'wsgi.multiprocess': True, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>
self
<rmn.apps.ban.middleware.BanMiddleware object at 0x2b0119a67750>
view_args
()
view_func
<function view_forum at 0x2b0119d17ed8>
view_kwargs
{'forum_slug': u'site'}
* /var/www/sites/rpgmaker.net/django/rmn/apps/ban/utils.py in is_banned
20. ban_sql.append(' AND '.join(ip_sql))
21.
22. sql = """
23. SELECT id
24. FROM ban_userban
25. WHERE %s""" % ' OR '.join(ban_sql)
26.
27. cursor = connection.cursor() ...
28. cursor.execute(sql)
29.
30. if cursor.rowcount:
31. return True
32. else:
33. return False
â–¶ Local vars
Variable Value
ban_sql

i
3
ip_parts

ip_sql

request
<WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{'__utma': '153618939.788148208.1256621033.1266709945.1266718189.167', '__utmb': '153618939.44.10.1266718189', '__utmc': '153618939', '__utmz': '153618939.1256621033.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)', 'sessionid': '7a19d07702a01831c981d4e627dfd798'}, META:{'DOCUMENT_ROOT': '/var/www/sites/rpgmaker.net/html', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', '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_CONNECTION': 'close', 'HTTP_COOKIE': '__utma=153618939.788148208.1256621033.1266709945.1266718189.167; __utmz=153618939.1256621033.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); sessionid=7a19d07702a01831c981d4e627dfd798; __utmc=153618939; __utmb=153618939.44.10.1266718189', 'HTTP_HOST': 'rpgmaker.net', 'HTTP_REFERER': 'http://rpgmaker.net/forums/topics/4086/', 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.8) Gecko/20100202 Firefox/3.5.8', 'HTTP_X_FORWARDED_FOR': '67.61.52.237', 'HTTP_X_REAL_IP': '67.61.52.237', 'PATH': '/sbin:/usr/sbin:/bin:/usr/bin', 'PATH_INFO': u'/forums/site/', 'PATH_TRANSLATED': '/var/www/sites/rpgmaker.net/django/rmn/apache/wsgi.py/forums/site/', 'QUERY_STRING': '', 'REMOTE_ADDR': '67.61.52.237', 'REMOTE_PORT': '58710', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/forums/site/', 'SCRIPT_FILENAME': '/var/www/sites/rpgmaker.net/django/rmn/apache/wsgi.py', 'SCRIPT_NAME': u'', 'SERVER_ADDR': '127.0.0.1', 'SERVER_ADMIN': 'webmaster@rpgmaker.net', 'SERVER_NAME': 'rpgmaker.net', 'SERVER_PORT': '80', 'SERVER_PROTOCOL': 'HTTP/1.0', 'SERVER_SIGNATURE': '<address>Apache/2.2.3 (Red Hat) Server at rpgmaker.net Port 80</address>\n', 'SERVER_SOFTWARE': 'Apache/2.2.3 (Red Hat)', 'mod_wsgi.application_group': '', 'mod_wsgi.callable_object': 'application', 'mod_wsgi.listener_host': '127.0.0.1', 'mod_wsgi.listener_port': '80', 'mod_wsgi.process_group': 'rpgmaker', 'mod_wsgi.reload_mechanism': '1', 'mod_wsgi.script_reloading': '1', 'wsgi.errors': <mod_wsgi.Log object at 0x2b0119fcd240>, 'wsgi.file_wrapper': <built-in method file_wrapper of mod_wsgi.Adapter object at 0x2b01190abdc8>, 'wsgi.input': <mod_wsgi.Input object at 0x2b01190a4bb0>, 'wsgi.multiprocess': True, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}>
sql
'\nSELECT id\nFROM ban_userban\nWHERE (67 BETWEEN `ip_low1` AND `ip_high1`) AND (61 BETWEEN `ip_low2` AND `ip_high2`) AND (52 BETWEEN `ip_low3` AND `ip_high3`) AND (237 BETWEEN `ip_low4` AND `ip_high4`)'
timestamp
1266721446
user
<rmn.apps.users.GuestUser object at 0x2b0119c635d0>
* /usr/lib/python2.4/site-packages/Django-1.0.2_final-py2.4.egg/django/db/backends/__init__.py in cursor
49. def close(self):
50. if self.connection is not None:
51. self.connection.close()
52. self.connection = None
53.
54. def cursor(self):
55. from django.conf import settings
56. cursor = self._cursor(settings) ...
57. if settings.DEBUG:
58. return self.make_debug_cursor(cursor)
59. return cursor
60.
61. def make_debug_cursor(self, cursor):
62. return util.CursorDebugWrapper(cursor, self)
â–¶ Local vars
Variable Value
self
<django.db.backends.mysql.base.DatabaseWrapper object at 0x2b01192f02b8>
settings
<django.conf.LazySettings object at 0x2aaaac1d2b90>
* /usr/lib/python2.4/site-packages/Django-1.0.2_final-py2.4.egg/django/db/backends/mysql/base.py in _cursor
255. if settings.DATABASE_HOST.startswith('/'):
256. kwargs = settings.DATABASE_HOST
257. elif settings.DATABASE_HOST:
258. kwargs = settings.DATABASE_HOST
259. if settings.DATABASE_PORT:
260. kwargs = int(settings.DATABASE_PORT)
261. kwargs.update(self.options)
262. self.connection = Database.connect(**kwargs) ...
263. self.connection.encoders = self.connection.encoders
264. self.connection.encoders = self.connection.encoders
265. cursor = CursorWrapper(self.connection.cursor())
266. return cursor
267.
268. def _rollback(self):
â–¶ Local vars
Variable Value
kwargs
{'charset': 'utf8', 'conv': {0: <function typecast_decimal at 0x2b0119201050>, 1: <type 'int'>, 2: <type 'int'>, 3: <type 'long'>, 4: <type 'float'>, 5: <type 'float'>, 7: <function mysql_timestamp_converter at 0x2b0119289398>, 8: <type 'long'>, 9: <type 'int'>, 10: <function Date_or_None at 0x2b0119289230>, 11: <function typecast_time at 0x2b0119200e60>, 12: <function DateTime_or_None at 0x2b01192890c8>, 13: <type 'int'>, 15: , 246: <function typecast_decimal at 0x2b0119201050>, 248: <function Str2Set at 0x2b0119289668>, 252: , 253: , 254: , <type 'datetime.datetime'>: <function DateTime2literal at 0x2b01192892a8>, <type 'datetime.timedelta'>: <function DateTimeDelta2literal at 0x2b0119289320>, <type 'array.array'>: <function array2Str at 0x2b0119289aa0>, <type 'bool'>: <function Bool2Str at 0x2b01192895f0>, <type 'instance'>: <function Instance2Str at 0x2b01192899b0>, <type 'float'>: <function Float2Str at 0x2b0119289848>, <type 'int'>: <function Thing2Str at 0x2b0119289758>, <type 'list'>: <built-in function escape_sequence>, <type 'long'>: <function Thing2Str at 0x2b0119289758>, <type 'dict'>: <built-in function escape_dict>, <type 'NoneType'>: <function None2NULL at 0x2b01192898c0>, <type 'str'>: <function Thing2Literal at 0x2b0119289938>, <type 'tuple'>: <built-in function escape_sequence>, <type 'object'>: <function Instance2Str at 0x2b01192899b0>, <type 'unicode'>: <function Unicode2Str at 0x2b01192897d0>, <class 'sets.Set'>: <function Set2Str at 0x2b01192896e0>}, 'db': 'rmn', 'host': 'localhost', 'passwd': 'gk2Q?x4', 'use_unicode': True, 'user': 'rmn_user'}
self
<django.db.backends.mysql.base.DatabaseWrapper object at 0x2b01192f02b8>
settings
<django.conf.LazySettings object at 0x2aaaac1d2b90>
* /usr/lib64/python2.4/site-packages/MySQL_python-1.2.2-py2.4-linux-x86_64.egg/MySQLdb/__init__.py in Connect
67.
68. def Binary(x):
69. return str(x)
70.
71. def Connect(*args, **kwargs):
72. """Factory function for connections.Connection."""
73. from connections import Connection
74. return Connection(*args, **kwargs) ...
75.
76. connect = Connection = Connect
77.
78. __all__ = [ 'BINARY', 'Binary', 'Connect', 'Connection', 'DATE',
79. 'Date', 'Time', 'Timestamp', 'DateFromTicks', 'TimeFromTicks',
80. 'TimestampFromTicks', 'DataError', 'DatabaseError', 'Error',
â–¶ Local vars
Variable Value
Connection
<class 'MySQLdb.connections.Connection'>
args
()
kwargs
{'charset': 'utf8', 'conv': {0: <function typecast_decimal at 0x2b0119201050>, 1: <type 'int'>, 2: <type 'int'>, 3: <type 'long'>, 4: <type 'float'>, 5: <type 'float'>, 7: <function mysql_timestamp_converter at 0x2b0119289398>, 8: <type 'long'>, 9: <type 'int'>, 10: <function Date_or_None at 0x2b0119289230>, 11: <function typecast_time at 0x2b0119200e60>, 12: <function DateTime_or_None at 0x2b01192890c8>, 13: <type 'int'>, 15: , 246: <function typecast_decimal at 0x2b0119201050>, 248: <function Str2Set at 0x2b0119289668>, 252: , 253: , 254: , <type 'datetime.datetime'>: <function DateTime2literal at 0x2b01192892a8>, <type 'datetime.timedelta'>: <function DateTimeDelta2literal at 0x2b0119289320>, <type 'array.array'>: <function array2Str at 0x2b0119289aa0>, <type 'bool'>: <function Bool2Str at 0x2b01192895f0>, <type 'instance'>: <function Instance2Str at 0x2b01192899b0>, <type 'float'>: <function Float2Str at 0x2b0119289848>, <type 'int'>: <function Thing2Str at 0x2b0119289758>, <type 'list'>: <built-in function escape_sequence>, <type 'long'>: <function Thing2Str at 0x2b0119289758>, <type 'dict'>: <built-in function escape_dict>, <type 'NoneType'>: <function None2NULL at 0x2b01192898c0>, <type 'str'>: <function Thing2Literal at 0x2b0119289938>, <type 'tuple'>: <built-in function escape_sequence>, <type 'object'>: <function Instance2Str at 0x2b01192899b0>, <type 'unicode'>: <function Unicode2Str at 0x2b01192897d0>, <class 'sets.Set'>: <function Set2Str at 0x2b01192896e0>}, 'db': 'rmn', 'host': 'localhost', 'passwd': 'gk2Q?x4', 'use_unicode': True, 'user': 'rmn_user'}
* /usr/lib64/python2.4/site-packages/MySQL_python-1.2.2-py2.4-linux-x86_64.egg/MySQLdb/connections.py in __init__
163. if client_version >= (4, 1):
164. client_flag |= CLIENT.MULTI_STATEMENTS
165. if client_version >= (5, 0):
166. client_flag |= CLIENT.MULTI_RESULTS
167.
168. kwargs2 = client_flag
169.
170. super(Connection, self).__init__(*args, **kwargs2) ...
171.
172. self.encoders = dict()
174.
175. self._server_version = tuple([ int(n) for n in self.get_server_info().split('.') ])
176.
â–¶ Local vars
Variable Value
CLIENT
<module 'MySQLdb.constants.CLIENT' from '/usr/lib64/python2.4/site-packages/MySQL_python-1.2.2-py2.4-linux-x86_64.egg/MySQLdb/constants/CLIENT.py'>
FIELD_TYPE
<module 'MySQLdb.constants.FIELD_TYPE' from '/usr/lib64/python2.4/site-packages/MySQL_python-1.2.2-py2.4-linux-x86_64.egg/MySQLdb/constants/FIELD_TYPE.py'>
WeakValueDictionary
<class weakref.WeakValueDictionary at 0x2aaaac1e6c50>
args
()
charset
'utf8'
client_flag
196608
client_version
(5, 0)
conv
{0: <function typecast_decimal at 0x2b0119201050>, 1: <type 'int'>, 2: <type 'int'>, 3: <type 'long'>, 4: <type 'float'>, 5: <type 'float'>, 7: <function mysql_timestamp_converter at 0x2b0119289398>, 8: <type 'long'>, 9: <type 'int'>, 10: <function Date_or_None at 0x2b0119289230>, 11: <function typecast_time at 0x2b0119200e60>, 12: <function DateTime_or_None at 0x2b01192890c8>, 13: <type 'int'>, 15: , 246: <function typecast_decimal at 0x2b0119201050>, 248: <function Str2Set at 0x2b0119289668>, 252: , 253: , 254: , <type 'datetime.datetime'>: <function DateTime2literal at 0x2b01192892a8>, <type 'datetime.timedelta'>: <function DateTimeDelta2literal at 0x2b0119289320>, <type 'array.array'>: <function array2Str at 0x2b0119289aa0>, <type 'bool'>: <function Bool2Str at 0x2b01192895f0>, <type 'instance'>: <function Instance2Str at 0x2b01192899b0>, <type 'float'>: <function Float2Str at 0x2b0119289848>, <type 'int'>: <function Thing2Str at 0x2b0119289758>, <type 'list'>: <built-in function escape_sequence>, <type 'long'>: <function Thing2Str at 0x2b0119289758>, <type 'dict'>: <built-in function escape_dict>, <type 'NoneType'>: <function None2NULL at 0x2b01192898c0>, <type 'str'>: <function Thing2Literal at 0x2b0119289938>, <type 'tuple'>: <built-in function escape_sequence>, <type 'object'>: <function Instance2Str at 0x2b01192899b0>, <type 'unicode'>: <function Unicode2Str at 0x2b01192897d0>, <class 'sets.Set'>: <function Set2Str at 0x2b01192896e0>}
conv2
{0: <function typecast_decimal at 0x2b0119201050>, 1: <type 'int'>, 2: <type 'int'>, 3: <type 'long'>, 4: <type 'float'>, 5: <type 'float'>, 7: <function mysql_timestamp_converter at 0x2b0119289398>, 8: <type 'long'>, 9: <type 'int'>, 10: <function Date_or_None at 0x2b0119289230>, 11: <function typecast_time at 0x2b0119200e60>, 12: <function DateTime_or_None at 0x2b01192890c8>, 13: <type 'int'>, 15: , 246: <function typecast_decimal at 0x2b0119201050>, 248: <function Str2Set at 0x2b0119289668>, 252: , 253: , 254: }
conversions
{0: <class 'decimal.Decimal'>, 1: <type 'int'>, 2: <type 'int'>, 3: <type 'long'>, 4: <type 'float'>, 5: <type 'float'>, 7: <function mysql_timestamp_converter at 0x2b0119289398>, 8: <type 'long'>, 9: <type 'int'>, 10: <function Date_or_None at 0x2b0119289230>, 11: <function TimeDelta_or_None at 0x2b0119289140>, 12: <function DateTime_or_None at 0x2b01192890c8>, 13: <type 'int'>, 15: , 246: <class 'decimal.Decimal'>, 248: <function Str2Set at 0x2b0119289668>, 252: , 253: , 254: , <type 'datetime.datetime'>: <function DateTime2literal at 0x2b01192892a8>, <type 'datetime.timedelta'>: <function DateTimeDelta2literal at 0x2b0119289320>, <type 'array.array'>: <function array2Str at 0x2b0119289aa0>, <type 'bool'>: <function Bool2Str at 0x2b01192895f0>, <type 'instance'>: <function Instance2Str at 0x2b01192899b0>, <type 'float'>: <function Float2Str at 0x2b0119289848>, <type 'int'>: <function Thing2Str at 0x2b0119289758>, <type 'list'>: <built-in function escape_sequence>, <type 'long'>: <function Thing2Str at 0x2b0119289758>, <type 'dict'>: <built-in function escape_dict>, <type 'NoneType'>: <function None2NULL at 0x2b01192898c0>, <type 'str'>: <function Thing2Literal at 0x2b0119289938>, <type 'tuple'>: <built-in function escape_sequence>, <type 'object'>: <function Instance2Str at 0x2b01192899b0>, <type 'unicode'>: <function Unicode2Str at 0x2b01192897d0>, <class 'sets.Set'>: <function Set2Str at 0x2b01192896e0>}
k
254
kwargs
{'charset': 'utf8', 'conv': {0: <function typecast_decimal at 0x2b0119201050>, 1: <type 'int'>, 2: <type 'int'>, 3: <type 'long'>, 4: <type 'float'>, 5: <type 'float'>, 7: <function mysql_timestamp_converter at 0x2b0119289398>, 8: <type 'long'>, 9: <type 'int'>, 10: <function Date_or_None at 0x2b0119289230>, 11: <function typecast_time at 0x2b0119200e60>, 12: <function DateTime_or_None at 0x2b01192890c8>, 13: <type 'int'>, 15: , 246: <function typecast_decimal at 0x2b0119201050>, 248: <function Str2Set at 0x2b0119289668>, 252: , 253: , 254: , <type 'datetime.datetime'>: <function DateTime2literal at 0x2b01192892a8>, <type 'datetime.timedelta'>: <function DateTimeDelta2literal at 0x2b0119289320>, <type 'array.array'>: <function array2Str at 0x2b0119289aa0>, <type 'bool'>: <function Bool2Str at 0x2b01192895f0>, <type 'instance'>: <function Instance2Str at 0x2b01192899b0>, <type 'float'>: <function Float2Str at 0x2b0119289848>, <type 'int'>: <function Thing2Str at 0x2b0119289758>, <type 'list'>: <built-in function escape_sequence>, <type 'long'>: <function Thing2Str at 0x2b0119289758>, <type 'dict'>: <built-in function escape_dict>, <type 'NoneType'>: <function None2NULL at 0x2b01192898c0>, <type 'str'>: <function Thing2Literal at 0x2b0119289938>, <type 'tuple'>: <built-in function escape_sequence>, <type 'object'>: <function Instance2Str at 0x2b01192899b0>, <type 'unicode'>: <function Unicode2Str at 0x2b01192897d0>, <class 'sets.Set'>: <function Set2Str at 0x2b01192896e0>}, 'db': 'rmn', 'host': 'localhost', 'passwd': 'gk2Q?x4', 'use_unicode': True, 'user': 'rmn_user'}
kwargs2
{'client_flag': 196608, 'conv': {0: <function typecast_decimal at 0x2b0119201050>, 1: <type 'int'>, 2: <type 'int'>, 3: <type 'long'>, 4: <type 'float'>, 5: <type 'float'>, 7: <function mysql_timestamp_converter at 0x2b0119289398>, 8: <type 'long'>, 9: <type 'int'>, 10: <function Date_or_None at 0x2b0119289230>, 11: <function typecast_time at 0x2b0119200e60>, 12: <function DateTime_or_None at 0x2b01192890c8>, 13: <type 'int'>, 15: , 246: <function typecast_decimal at 0x2b0119201050>, 248: <function Str2Set at 0x2b0119289668>, 252: , 253: , 254: }, 'db': 'rmn', 'host': 'localhost', 'passwd': 'gk2Q?x4', 'user': 'rmn_user'}
n
'0'
proxy
<built-in function proxy>
self
<_mysql.connection closed at 2b011a3bbe10>
sql_mode
''
types
<module 'types' from '/usr/lib64/python2.4/types.pyc'>
use_unicode
True
v


Environment: Request Method: GET Request URL: http://rpgmaker.net/forums/site/ Django Version: 1.0.2 final Python Version: 2.4.3 Installed Applications: Installed Middleware: ('django.middleware.gzip.GZipMiddleware', 'django.middleware.common.CommonMiddleware', 'django.contrib.csrf.middleware.CsrfMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.doc.XViewMiddleware', 'django.middleware.http.SetRemoteAddrFromForwardedFor', 'rmn.apps.resources.middleware.ResourcesMiddleware', 'rmn.apps.base.middleware.SiteMiddleware', 'rmn.apps.users.middleware.UserMiddleware', 'rmn.apps.ban.middleware.BanMiddleware') Traceback: File "/usr/lib/python2.4/site-packages/Django-1.0.2_final-py2.4.egg/django/core/handlers/base.py" in get_response 81. response = middleware_method(request, callback, callback_args, callback_kwargs) File "/var/www/sites/rpgmaker.net/django/rmn/apps/ban/middleware.py" in process_view 10. if request.META != u'/banned/' and is_banned(request, request.user): File "/var/www/sites/rpgmaker.net/django/rmn/apps/ban/utils.py" in is_banned 27. cursor = connection.cursor() File "/usr/lib/python2.4/site-packages/Django-1.0.2_final-py2.4.egg/django/db/backends/__init__.py" in cursor 56. cursor = self._cursor(settings) File "/usr/lib/python2.4/site-packages/Django-1.0.2_final-py2.4.egg/django/db/backends/mysql/base.py" in _cursor 262. self.connection = Database.connect(**kwargs) File "/usr/lib64/python2.4/site-packages/MySQL_python-1.2.2-py2.4-linux-x86_64.egg/MySQLdb/__init__.py" in Connect 74. return Connection(*args, **kwargs) File "/usr/lib64/python2.4/site-packages/MySQL_python-1.2.2-py2.4-linux-x86_64.egg/MySQLdb/connections.py" in __init__ 170. super(Connection, self).__init__(*args, **kwargs2) Exception Type: OperationalError at /forums/site/ Exception Value: (2019, "Can't initialize character set latin1 (path: /usr/share/mysql/charsets/)")

Request information
GET

No GET data
POST

No POST data
COOKIES
Variable Value
__utma
'153618939.788148208.1256621033.1266709945.1266718189.167'
__utmb
'153618939.44.10.1266718189'
__utmc
'153618939'
sessionid
'7a19d07702a01831c981d4e627dfd798'
__utmz
'153618939.1256621033.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)'
META
Variable Value
DOCUMENT_ROOT
'/var/www/sites/rpgmaker.net/html'
GATEWAY_INTERFACE
'CGI/1.1'
HTTP_ACCEPT
'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'
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_CONNECTION
'close'
HTTP_COOKIE
'__utma=153618939.788148208.1256621033.1266709945.1266718189.167; __utmz=153618939.1256621033.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); sessionid=7a19d07702a01831c981d4e627dfd798; __utmc=153618939; __utmb=153618939.44.10.1266718189'
HTTP_HOST
'rpgmaker.net'
HTTP_REFERER
'http://rpgmaker.net/forums/topics/4086/'
HTTP_USER_AGENT
'Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.8) Gecko/20100202 Firefox/3.5.8'
HTTP_X_FORWARDED_FOR
'67.61.52.237'
HTTP_X_REAL_IP
'67.61.52.237'
PATH
'/sbin:/usr/sbin:/bin:/usr/bin'
PATH_INFO
u'/forums/site/'
PATH_TRANSLATED
'/var/www/sites/rpgmaker.net/django/rmn/apache/wsgi.py/forums/site/'
QUERY_STRING
''
REMOTE_ADDR
'67.61.52.237'
REMOTE_PORT
'58710'
REQUEST_METHOD
'GET'
REQUEST_URI
'/forums/site/'
SCRIPT_FILENAME
'/var/www/sites/rpgmaker.net/django/rmn/apache/wsgi.py'
SCRIPT_NAME
u''
SERVER_ADDR
'127.0.0.1'
SERVER_ADMIN
'webmaster@rpgmaker.net'
SERVER_NAME
'rpgmaker.net'
SERVER_PORT
'80'
SERVER_PROTOCOL
'HTTP/1.0'
SERVER_SIGNATURE
'<address>Apache/2.2.3 (Red Hat) Server at rpgmaker.net Port 80</address>\n'
SERVER_SOFTWARE
'Apache/2.2.3 (Red Hat)'
mod_wsgi.application_group
''
mod_wsgi.callable_object
'application'
mod_wsgi.listener_host
'127.0.0.1'
mod_wsgi.listener_port
'80'
mod_wsgi.process_group
'rpgmaker'
mod_wsgi.reload_mechanism
'1'
mod_wsgi.script_reloading
'1'
wsgi.errors
<mod_wsgi.Log object at 0x2b0119fcd240>
wsgi.file_wrapper
<built-in method file_wrapper of mod_wsgi.Adapter object at 0x2b01190abdc8>
wsgi.input
<mod_wsgi.Input object at 0x2b01190a4bb0>
wsgi.multiprocess
True
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
'http'
wsgi.version
(1, 0)
Settings
Using settings module rmn.settings
Setting Value
ABSOLUTE_URL_OVERRIDES
{}
ADMINS
()
ADMIN_FOR
()
ADMIN_MEDIA_PREFIX
'/media/'
ALLOWED_INCLUDE_ROOTS
()
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
('django.contrib.auth.backends.ModelBackend',)
BANNED_IPS
()
CACHE_BACKEND
'locmem://'
CACHE_MIDDLEWARE_KEY_PREFIX
''
CACHE_MIDDLEWARE_SECONDS
600
CAPTCHA_KEY
'6LcTwQYAAAAAAL1YJ8nRLR-pm_fpGwOMYiOXvHGw'
COMMENTS_ALLOW_PROFANITIES
False
COMMENTS_BANNED_USERS_GROUP
None
COMMENTS_FIRST_FEW
0
COMMENTS_MODERATORS_GROUP
None
COMMENTS_SKETCHY_USERS_GROUP
None
CONTENT_ROOT
'/var/www/sites/rpgmaker.net/content/'
DATABASE_ENGINE
'mysql'
DATABASE_HOST
'localhost'
DATABASE_NAME
'rmn'
DATABASE_OPTIONS
{}
DATABASE_PASSWORD
'********************'
DATABASE_PORT
''
DATABASE_USER
'rmn_user'
DATETIME_FORMAT
'm/d/Y h:i A'
DATE_FORMAT
'm/d/Y'
DEBUG
True
DEBUG_PROPAGATE_EXCEPTIONS
False
DEFAULT_CHARSET
'utf-8'
DEFAULT_CONTENT_TYPE
'text/html'
DEFAULT_FILE_STORAGE
'django.core.files.storage.FileSystemStorage'
DEFAULT_FROM_EMAIL
'webmaster@localhost'
DEFAULT_INDEX_TABLESPACE
''
DEFAULT_TABLESPACE
''
DISALLOWED_USER_AGENTS
()
DJANGO_PATH
'/var/www/sites/rpgmaker.net/django/'
EMAIL_HOST
'smtp.gmail.com'
EMAIL_HOST_PASSWORD
'********************'
EMAIL_HOST_USER
'staff@rpgmaker.net'
EMAIL_PORT
587
EMAIL_SUBJECT_PREFIX
' '
EMAIL_USE_TLS
True
FILE_CHARSET
'utf-8'
FILE_UPLOAD_HANDLERS
('rmn.apps.upload.uploadhandler.UploadHandler',)
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
FILE_UPLOAD_PERMISSIONS
436
FILE_UPLOAD_TEMP_DIR
None
FIXTURE_DIRS
()
FORCE_SCRIPT_NAME
None
IGNORABLE_404_ENDS
('mail.pl', 'mailform.pl', 'mail.cgi', 'mailform.cgi', 'favicon.ico', '.php')
IGNORABLE_404_STARTS
('/cgi-bin/', '/_vti_bin', '/_vti_inf')
INSTALLED_APPS

INTERNAL_IPS
('192.168.1.101', '127.0.0.1')
JING_PATH
'/usr/bin/jing'
LANGUAGES
(('ar', 'Arabic'), ('bn', 'Bengali'), ('bg', 'Bulgarian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('es', 'Spanish'), ('et', 'Estonian'), ('es-ar', 'Argentinean Spanish'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('ga', 'Irish'), ('gl', 'Galician'), ('hu', 'Hungarian'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('ko', 'Korean'), ('km', 'Khmer'), ('kn', 'Kannada'), ('lv', 'Latvian'), ('lt', 'Lithuanian'), ('mk', 'Macedonian'), ('nl', 'Dutch'), ('no', 'Norwegian'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sr', 'Serbian'), ('sv', 'Swedish'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('uk', 'Ukrainian'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese'))
LANGUAGES_BIDI
('he', 'ar', 'fa')
LANGUAGE_CODE
'en-us'
LANGUAGE_COOKIE_NAME
'django_language'
LOCALE_PATHS
()
LOGIN_REDIRECT_URL
'/accounts/profile/'
LOGIN_URL
'/account/login/'
LOGOUT_URL
'/accounts/logout/'
MANAGERS
()
MEDIA_ROOT
'/var/www/sites/rpgmaker.net/html/'
MEDIA_URL
'http://rpgmaker.net/media/'
MIDDLEWARE_CLASSES
('django.middleware.gzip.GZipMiddleware', 'django.middleware.common.CommonMiddleware', 'django.contrib.csrf.middleware.CsrfMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.doc.XViewMiddleware', 'django.middleware.http.SetRemoteAddrFromForwardedFor', 'rmn.apps.resources.middleware.ResourcesMiddleware', 'rmn.apps.base.middleware.SiteMiddleware', 'rmn.apps.users.middleware.UserMiddleware', 'rmn.apps.ban.middleware.BanMiddleware')
MONTH_DAY_FORMAT
'F j'
PASSWORD_RESET_TIMEOUT_DAYS
'********************'
PREPEND_WWW
False
PROFANITIES_LIST
'********************'
RECAPTCHA_PRIV_KEY
'6LcTwQYAAAAAAL1YJ8nRLR-pm_fpGwOMYiOXvHGw'
RECAPTCHA_PUB_KEY
'6LcTwQYAAAAAALtrg2HzMbLrF1hkAW2Hab2MXsAM'
RESOURCE_COMBINERS
{'css': 'rmn.apps.resources.CSSManager', 'js': 'rmn.apps.resources.JSManager'}
ROOT_URLCONF
'rmn.urls'
SECRET_KEY
'********************'
SEND_BROKEN_LINK_EMAILS
False
SERVER_EMAIL
'root@localhost'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_NAME
'sessionid'
SESSION_COOKIE_PATH
'/'
SESSION_COOKIE_SECURE
False
SESSION_ENGINE
'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
None
SESSION_SAVE_EVERY_REQUEST
False
SETTINGS_MODULE
'rmn.settings'
SITE_ROOT
'/var/www/sites/rpgmaker.net/django/rmn/'
TEMPLATE_CONTEXT_PROCESSORS
('django.core.context_processors.request', 'django.core.context_processors.media', 'rmn.apps.base.context_processors.site', 'rmn.apps.users.context_processors.user', 'rmn.apps.resources.context_processors.resources', 'django.core.context_processors.debug')
TEMPLATE_DEBUG
True
TEMPLATE_DIRS
('/var/www/sites/rpgmaker.net/django/rmn/templates',)
TEMPLATE_LOADERS
('django.template.loaders.filesystem.load_template_source', 'django.template.loaders.app_directories.load_template_source', 'rmn.apps.games.premium_template_loader.load_template_source')
TEMPLATE_STRING_IF_INVALID
''
TEST_DATABASE_CHARSET
None
TEST_DATABASE_COLLATION
None
TEST_DATABASE_NAME
None
TEST_RUNNER
'django.test.simple.run_tests'
TIME_FORMAT
'h:i A'
TIME_ZONE
'America/Chicago'
TRANSACTIONS_MANAGED
False
URL_VALIDATOR_USER_AGENT
'Django/1.0.2 final (http://www.djangoproject.com)'
USE_ETAGS
False
USE_I18N
False
YEAR_MONTH_FORMAT
'F Y'

You're seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard 500 page.


The site is still usable, but it kind of reminds me of the blue screens in the days of olde.
post=124813
post=124799
HEY GUYS MAYBE YOU SHOULD VISIT THE BUGS TOPIC SOME TIME
halibabica
RMN's Official Reviewmonger
16948
WIP, WE HAVE A PROBLEM!

*posts same bug*
It's getting worse now, and it's kind of scary. I had to refresh the page literally 5 or 6 times to get past the error.
Max McGee
with sorrow down past the fence
9159
I am still experiencing this problem.

Another problem I have been experiencing since the RMN 3 update that I did not remember to mention until now:

I cannot delete blog entries from my games. I click delete but they do not go away. Sometimes I get a delete confirmation, sometimes I don't...either way I can't delete the blog entries. This is especially a problem now because the above error just tricked me into "refreshing" three separate copies of the same blog entry into being on my game page.
The only delete button that works is your locker unfortunately