Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Die Funktionalität dieser Website ist durch Wartungsarbeiten eingeschränkt, die Ihr Erlebnis verbessern sollen. Wenn ein Artikel Ihr Problem nicht löst und Sie eine Frage stellen möchten, können Sie unsere Gemeinschaft über @FirefoxSupport auf Twitter, /r/firefox oder Reddit fragen.

Hilfe durchsuchen

Vorsicht vor Support-Betrug: Wir fordern Sie niemals auf, eine Telefonnummer anzurufen, eine SMS an eine Telefonnummer zu senden oder persönliche Daten preiszugeben. Bitte melden Sie verdächtige Aktivitäten über die Funktion „Missbrauch melden“.

Weitere Informationen

Attribute Error showing Django setting should be DEBUG=TRUE when it is currently DEBUG=FALSE. I don't know how to fix this. Need help changing setting please!

  • 1 Antwort
  • 12 haben dieses Problem
  • 2 Aufrufe
  • Letzte Antwort von cor-el

more options

I am trying to access an online simulation through Pearson's MyMIS Lab for an online class. I was using this simulation a couple of days ago but when I logged on this morning, the simulation would not open. I have copy and pasted the error message that pops up when I try to access it. At the bottom, it reads "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 have no idea what Django settings are and have researched how to change the setting but I am not familiar with this at all. Any help would be greatly appreciated so I can get my homework finished! Thank you!!!!


AttributeError at /simLaunch/launch/

'Settings' object has no attribute 'XLSIMS_LAUNCH_URL'

Request Method: 	POST
Request URL: 	http://econdip.pearsoncmg.com/xlsim/simLaunch/launch/
Django Version: 	1.5.2
Exception Type: 	AttributeError
Exception Value: 	

'Settings' object has no attribute 'XLSIMS_LAUNCH_URL'

Exception Location: 	/vh/docroots/econdip.pearsoncmg.com/prod/virtualenv/lib/python2.6/site-packages/django/conf/__init__.py in __getattr__, line 54
Python Executable: 	/usr/bin/python
Python Version: 	2.6.6
Python Path: 	

['/vh/docroots/econdip.pearsoncmg.com/prod/virtualenv/lib/python2.6/site-packages',
 '/usr/lib64/python26.zip',
 '/usr/lib64/python2.6',
 '/usr/lib64/python2.6/plat-linux2',
 '/usr/lib64/python2.6/lib-tk',
 '/usr/lib64/python2.6/lib-old',
 '/usr/lib64/python2.6/lib-dynload',
 '/usr/lib64/python2.6/site-packages',
 '/usr/lib64/python2.6/site-packages/gtk-2.0',
 '/usr/lib/python2.6/site-packages',
 '/usr/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg-info',
 '/vh/docroots/econdip.pearsoncmg.com/prod/server/glservice']

Server time: 	Sat, 30 Aug 2014 14:59:46 -0500

Environment:


Request Method: POST
Request URL: http://econdip.pearsoncmg.com/xlsim/simLaunch/launch/

Django Version: 1.5.2
Python Version: 2.6.6
Installed Applications:
('django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.sites',
 'django.contrib.messages',
 'django.contrib.staticfiles',
 'django.contrib.admin',
 'gldata',
 'econ.ca',
 'econ.ue',
 'gllaunch',
 'datacapture',
 'xlsims')
Installed Middleware:
('django.middleware.common.CommonMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.middleware.csrf.CsrfViewMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.contrib.messages.middleware.MessageMiddleware')


Traceback:
File "/vh/docroots/econdip.pearsoncmg.com/prod/virtualenv/lib/python2.6/site-packages/django/core/handlers/base.py" in get_response
  115.                         response = callback(request, *callback_args, **callback_kwargs)
File "/vh/docroots/econdip.pearsoncmg.com/prod/virtualenv/lib/python2.6/site-packages/django/views/decorators/csrf.py" in wrapped_view
  77.         return view_func(*args, **kwargs)
File "/vh/docroots/econdip.pearsoncmg.com/prod/server/glservice/xlsims/views.py" in launchSim
  23.     if TPIUtils.has_valid_signature(launch_data, url=settings.XLSIMS_LAUNCH_URL, key='bphsc2014'):
File "/vh/docroots/econdip.pearsoncmg.com/prod/virtualenv/lib/python2.6/site-packages/django/conf/__init__.py" in __getattr__
  54.         return getattr(self._wrapped, name)
I am trying to access an online simulation through Pearson's MyMIS Lab for an online class. I was using this simulation a couple of days ago but when I logged on this morning, the simulation would not open. I have copy and pasted the error message that pops up when I try to access it. At the bottom, it reads "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 have no idea what Django settings are and have researched how to change the setting but I am not familiar with this at all. Any help would be greatly appreciated so I can get my homework finished! Thank you!!!! <pre><nowiki>AttributeError at /simLaunch/launch/ 'Settings' object has no attribute 'XLSIMS_LAUNCH_URL' Request Method: POST Request URL: http://econdip.pearsoncmg.com/xlsim/simLaunch/launch/ Django Version: 1.5.2 Exception Type: AttributeError Exception Value: 'Settings' object has no attribute 'XLSIMS_LAUNCH_URL' Exception Location: /vh/docroots/econdip.pearsoncmg.com/prod/virtualenv/lib/python2.6/site-packages/django/conf/__init__.py in __getattr__, line 54 Python Executable: /usr/bin/python Python Version: 2.6.6 Python Path: ['/vh/docroots/econdip.pearsoncmg.com/prod/virtualenv/lib/python2.6/site-packages', '/usr/lib64/python26.zip', '/usr/lib64/python2.6', '/usr/lib64/python2.6/plat-linux2', '/usr/lib64/python2.6/lib-tk', '/usr/lib64/python2.6/lib-old', '/usr/lib64/python2.6/lib-dynload', '/usr/lib64/python2.6/site-packages', '/usr/lib64/python2.6/site-packages/gtk-2.0', '/usr/lib/python2.6/site-packages', '/usr/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg-info', '/vh/docroots/econdip.pearsoncmg.com/prod/server/glservice'] Server time: Sat, 30 Aug 2014 14:59:46 -0500 Environment: Request Method: POST Request URL: http://econdip.pearsoncmg.com/xlsim/simLaunch/launch/ Django Version: 1.5.2 Python Version: 2.6.6 Installed Applications: ('django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.admin', 'gldata', 'econ.ca', 'econ.ue', 'gllaunch', 'datacapture', 'xlsims') Installed Middleware: ('django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware') Traceback: File "/vh/docroots/econdip.pearsoncmg.com/prod/virtualenv/lib/python2.6/site-packages/django/core/handlers/base.py" in get_response 115. response = callback(request, *callback_args, **callback_kwargs) File "/vh/docroots/econdip.pearsoncmg.com/prod/virtualenv/lib/python2.6/site-packages/django/views/decorators/csrf.py" in wrapped_view 77. return view_func(*args, **kwargs) File "/vh/docroots/econdip.pearsoncmg.com/prod/server/glservice/xlsims/views.py" in launchSim 23. if TPIUtils.has_valid_signature(launch_data, url=settings.XLSIMS_LAUNCH_URL, key='bphsc2014'): File "/vh/docroots/econdip.pearsoncmg.com/prod/virtualenv/lib/python2.6/site-packages/django/conf/__init__.py" in __getattr__ 54. return getattr(self._wrapped, name)</nowiki></pre>

Geändert am von cor-el

Ausgewählte Lösung

That is a problem with a Python script that runs on the server. The website needs to fix this. If the problem persists then contact them via e-mail.

You can try to clear the cache and remove cookies from this website.

"Clear the Cache":

  • Firefox > Preferences > Advanced > Network > Cached Web Content: "Clear Now"

"Remove Cookies" from sites causing problems:

  • Firefox > Preferences > Privacy > "Use custom settings for history" > Cookies: "Show Cookies"
Diese Antwort im Kontext lesen 👍 2

Alle Antworten (1)

more options

Ausgewählte Lösung

That is a problem with a Python script that runs on the server. The website needs to fix this. If the problem persists then contact them via e-mail.

You can try to clear the cache and remove cookies from this website.

"Clear the Cache":

  • Firefox > Preferences > Advanced > Network > Cached Web Content: "Clear Now"

"Remove Cookies" from sites causing problems:

  • Firefox > Preferences > Privacy > "Use custom settings for history" > Cookies: "Show Cookies"