NameError at /eshop/cd/foglar-m-s-stinadla-se-bouri/

global name 'Http404' is not defined

Request Method: GET
Request URL: http://www.bazar-cd.cz/eshop/cd/foglar-m-s-stinadla-se-bouri/
Exception Type: NameError
Exception Value: global name 'Http404' is not defined
Exception Location: /srv/www/cdbazar/../cdbazar/store/views.py in full_shop_view, line 1703
Python Executable: /usr/bin/python
Python Version: 2.4.2

Traceback (innermost last)

Switch to copy-and-paste view

Traceback (most recent call last):
File "/usr/local/lib/python2.4/site-packages/django/core/handlers/base.py" in _real_get_response
  81. response = callback(request, *callback_args, **callback_kwargs)
File "/srv/www/cdbazar/../cdbazar/store/views.py" in articleByArticleTypeSlug
  756. return full_shop_view(request)
File "/srv/www/cdbazar/../cdbazar/store/views.py" in full_shop_view
  1703. raise Http404

  NameError at /eshop/cd/foglar-m-s-stinadla-se-bouri/
  global name 'Http404' is not defined

Request information

GET

Variable Value
query
u'foglar m.s. stinadla se bouri 8594050430167'
articleType
u'CD'
isArticleDetail
True
page
u'741'

POST

No POST data

No cookie data

META

Variable Value
DOCUMENT_ROOT
u'/srv/www/cdbazar'
GATEWAY_INTERFACE
u'CGI/1.1'
HTTP_ACCEPT
u'*/*'
HTTP_CONNECTION
u'close'
HTTP_HOST
u'www.bazar-cd.cz'
HTTP_REFERER
u'http://www.bazar-cd.cz/eshop/cd/foglar-m-s-stinadla-se-bouri/?articleType=CD&page=741'
HTTP_USER_AGENT
u'claudebot'
HTTP_X_FORWARDED_FOR
u'3.91.19.28'
HTTP_X_REAL_IP
u'3.91.19.28'
PATH
u'/usr/sbin:/bin:/usr/bin:/sbin:/usr/X11R6/bin'
PATH_INFO
u'/eshop/cd/foglar-m-s-stinadla-se-bouri/'
PATH_TRANSLATED
u'redirect:/mysite.fcgi/eshop/cd/foglar-m-s-stinadla-se-bouri//cd/foglar-m-s-stinadla-se-bouri/'
QUERY_STRING
u'articleType=CD&page=741'
REDIRECT_QUERY_STRING
u'articleType=CD&page=741'
REDIRECT_SCRIPT_URI
u'http://www.bazar-cd.cz/eshop/cd/foglar-m-s-stinadla-se-bouri/'
REDIRECT_SCRIPT_URL
u'/eshop/cd/foglar-m-s-stinadla-se-bouri/'
REDIRECT_STATUS
u'200'
REDIRECT_URL
u'/eshop/cd/foglar-m-s-stinadla-se-bouri/'
REMOTE_ADDR
u'89.221.223.106'
REMOTE_PORT
u'60902'
REQUEST_METHOD
u'GET'
REQUEST_URI
u'/eshop/cd/foglar-m-s-stinadla-se-bouri/?articleType=CD&page=741'
SCRIPT_FILENAME
u'/srv/www/cdbazar/mysite.fcgi'
SCRIPT_NAME
u'/mysite.fcgi'
SCRIPT_URI
u'http://www.bazar-cd.cz/eshop/cd/foglar-m-s-stinadla-se-bouri/'
SCRIPT_URL
u'/eshop/cd/foglar-m-s-stinadla-se-bouri/'
SERVER_ADDR
u'81.0.208.105'
SERVER_ADMIN
u'root@xen-05'
SERVER_NAME
u'www.bazar-cd.cz'
SERVER_PORT
u'80'
SERVER_PROTOCOL
u'HTTP/1.0'
SERVER_SIGNATURE
u'<address>Apache/2.2.0 (Linux/SUSE) Server at www.bazar-cd.cz Port 80</address>\n'
SERVER_SOFTWARE
u'Apache/2.2.0 (Linux/SUSE)'
wsgi.errors
<flup.server.fcgi_base.OutputStream object at 0xf463130c>
wsgi.input
<flup.server.fcgi_base.InputStream object at 0xf463172c>
wsgi.multiprocess
False
wsgi.multithread
True
wsgi.run_once
False
wsgi.url_scheme
u'http'
wsgi.version
(1, 0)

Settings

Using settings module cdbazar.settings

Setting Value
ABSOLUTE_URL_OVERRIDES
{}
ACCOUNT_ACTIVATION_DAYS
2
ADDITIONAL_PRICES
(((2, 1), 129.0), ((2, 2), 90.0), ((3, 1), 150.0), ((3, 2), 120.0))
ADMINS
('Jan Stavel', 'jan.stavel@pracovni.net')
ADMIN_FOR
()
ADMIN_MEDIA_PREFIX
u'/media/'
ALLOWED_INCLUDE_ROOTS
()
APPEND_SLASH
True
AUTHENTICATION_BACKENDS
('django.contrib.auth.backends.ModelBackend',)
AUTH_PROFILE_MODULE
u'registration.userprofile'
BANNED_IPS
()
CACHE_BACKEND
u'memcached://127.0.0.1:11211'
CACHE_MIDDLEWARE_KEY_PREFIX
u''
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
u'mysql'
DATABASE_HOST
u''
DATABASE_NAME
u'cdbazar'
DATABASE_OPTIONS
{}
DATABASE_PASSWORD
u'********************'
DATABASE_PORT
u''
DATABASE_USER
u'cdbazar'
DATETIME_FORMAT
u'N j, Y, P'
DATE_FORMAT
u'N j, Y'
DEBUG
True
DEFAULT_CHARSET
u'utf-8'
DEFAULT_CONTENT_TYPE
u'text/html'
DEFAULT_FROM_EMAIL
u'bazar@bazar-cd.cz'
DELIVERY
((1, <django.utils.functional.__proxy__ object at 0xf589fcac>), (2, <django.utils.functional.__proxy__ object at 0xf58894ec>), (3, <django.utils.functional.__proxy__ object at 0xf467d50c>))
DELIVERY_PAYMENT_HELP
u' '
DISALLOWED_USER_AGENTS
()
EMAIL_HOST
u'127.0.0.1'
EMAIL_HOST_PASSWORD
u'********************'
EMAIL_HOST_USER
u''
EMAIL_PORT
25
EMAIL_SUBJECT_PREFIX
u'[Django] '
EMAIL_USE_TLS
False
FILE_CHARSET
u'utf-8'
FIXTURE_DIRS
()
GOOGLE_ANALYTICS_MODEL
True
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
['django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.webdesign', 'cdbazar.admin', 'cdbazar.store', 'cdbazar.summary', 'cdbazar.web', 'cdbazar.contacts', 'cdbazar.workflow', 'cdbazar.accounting', 'cdbazar.registration', 'cdbazar.djaptcha', 'cdbazar.sorl.thumbnail', 'kss.django', 'django.contrib.comments', 'google_analytics', 'robots', 'cdbazar.tests']
INTERNAL_IPS
()
JING_PATH
u'/usr/bin/jing'
KSS_BASE_URL
u'/ajax'
KSS_DEBUG
False
LANGUAGES
(('ar', 'Arabic'), ('bn', 'Bengali'), ('bg', 'Bulgarian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('es', 'Spanish'), ('es_AR', 'Argentinean Spanish'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('ga', 'Gaeilge'), ('gl', 'Galician'), ('hu', 'Hungarian'), ('he', 'Hebrew'), ('hr', 'Croatian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ko', 'Korean'), ('km', 'Khmer'), ('kn', 'Kannada'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('nl', 'Dutch'), ('no', 'Norwegian'), ('pl', 'Polish'), ('pt', 'Portugese'), ('pt-br', 'Brazilian'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sr', 'Serbian'), ('sv', 'Swedish'), ('ta', 'Tamil'), ('te', 'Telugu'), ('tr', 'Turkish'), ('uk', 'Ukrainian'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese'))
LANGUAGES_BIDI
('he', 'ar', 'fa')
LANGUAGE_CODE
u'cs-cz'
LOCAL_STORE_PAYMENT_DELIVERY
(1, 3)
LOGIN_REDIRECT_URL
u'/accounts/profile/'
LOGIN_URL
u'/accounts/login/'
LOGOUT_URL
u'/accounts/logout/'
MANAGERS
('Jan Stavel', 'jan.stavel@pracovni.net')
MEDIA_ROOT
u'/srv/www/cdbazar/media'
MEDIA_URL
u''
MIDDLEWARE_CLASSES
('django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.middleware.transaction.TransactionMiddleware', 'django.middleware.doc.XViewMiddleware', 'django.middleware.locale.LocaleMiddleware', 'cdbazar.middleware.ThreadLocals')
MONTH_DAY_FORMAT
u'F j'
ORDER_ACTION_MESSAGES
{u'Back to user': <django.utils.functional.__proxy__ object at 0xf4688eec>, u'Submit': <django.utils.functional.__proxy__ object at 0xf468e60c>, u'To confirm payment': <django.utils.functional.__proxy__ object at 0xf469624c>, u'To confirm takeover': <django.utils.functional.__proxy__ object at 0xf469a06c>, u'To expedite': <django.utils.functional.__proxy__ object at 0xf4692b2c>, u'To hold up': <django.utils.functional.__proxy__ object at 0xf469242c>, u'To open': <django.utils.functional.__proxy__ object at 0xf468ed0c>, u'To reject': <django.utils.functional.__proxy__ object at 0xf46887cc>, u'To submit rejection': <django.utils.functional.__proxy__ object at 0xf469694c>}
ORDER_ROUNDING
2
PAYMENTS
((1, <django.utils.functional.__proxy__ object at 0xf468524c>), (2, <django.utils.functional.__proxy__ object at 0xf468596c>), (3, <django.utils.functional.__proxy__ object at 0xf46880ac>))
PREPEND_WWW
False
PROFANITIES_LIST
u'********************'
ROBOTS_USE_SITEMAP
False
ROOT_URLCONF
u'cdbazar.urls'
SECRET_KEY
u'********************'
SEND_BROKEN_LINK_EMAILS
False
SERVER_EMAIL
u'root@localhost'
SESSION_COOKIE_AGE
1209600
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_NAME
u'sessionid'
SESSION_COOKIE_SECURE
False
SESSION_ENGINE
u'django.contrib.sessions.backends.db'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
SESSION_FILE_PATH
u'/tmp/'
SESSION_SAVE_EVERY_REQUEST
False
SETTINGS_MODULE
u'cdbazar.settings'
SITE_ID
1
TEMPLATE_CONTEXT_PROCESSORS
('django.core.context_processors.i18n', 'django.core.context_processors.auth', 'django.core.context_processors.debug', 'django.core.context_processors.media', 'django.core.context_processors.request')
TEMPLATE_DEBUG
False
TEMPLATE_DIRS
('/srv/www/cdbazar/workflow/templates', '/srv/www/cdbazar/templates')
TEMPLATE_LOADERS
('django.template.loaders.filesystem.load_template_source', 'django.template.loaders.app_directories.load_template_source')
TEMPLATE_STRING_IF_INVALID
u''
TEST_DATABASE_CHARSET
None
TEST_DATABASE_COLLATION
None
TEST_DATABASE_NAME
None
TEST_RUNNER
u'django.test.simple.run_tests'
TIME_FORMAT
u'P'
TIME_ZONE
u'Europe/Prague'
TRANSACTIONS_MANAGED
False
URL_VALIDATOR_USER_AGENT
u'Django/0.97-pre-SVN-unknown (http://www.djangoproject.com)'
USE_ETAGS
False
USE_I18N
True
VALID_COMBINATIONS
((2, 1), (2, 2), (1, 3), (3, 1), (3, 2))
WEBUSER_PASSWORD
u'********************'
WORKFLOW_CONDITIONS_MODULE
u'cdbazar.conditions'
YEAR_MONTH_FORMAT
u'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.