Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Browsing www.seattleclearinghouse.poly.edu raises error #146

Open
aaaaalbert opened this issue Sep 22, 2014 · 0 comments
Open

Browsing www.seattleclearinghouse.poly.edu raises error #146

aaaaalbert opened this issue Sep 22, 2014 · 0 comments

Comments

@aaaaalbert
Copy link
Contributor

The Seattle Clearinghouse URL is https://seattleclearinghouse.poly.edu/. When users point browsers to www.seattleclearinghouse.poly.edu (note the www prefix), this causes a Django error.

I think this should be easily fixed by either cofiguring redirection in the Apache config, or adding the URL in the Django app.

Traceback (most recent call last):
 File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 101, in get_response
 File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 252, in resolve
 File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 252, in resolve
 File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 158, in resolve
 File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 164, in _get_callback
 File "/usr/local/lib/python2.7/dist-packages/django/utils/functional.py", line 124, in wrapper
 File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 91, in get_callable
 File "/usr/local/lib/python2.7/dist-packages/django/utils/importlib.py", line 35, in import_module
 File "/home/clearinghouse/live/seattlegeni/website/html/views.py", line 58, in <module>
 File "/home/clearinghouse/live/seattlegeni/common/util/validations.py", line 29, in <module>
 File "/home/clearinghouse/live/seattle/repyhelper.py", line 458, in translate_and_import
 File "/home/clearinghouse/live/seattle/repyhelper.py", line 491, in _import_file_contents_to_caller_namespace
 File "/home/clearinghouse/live/seattle/rsa_repy.py", line 41, in <module>
 File "/home/clearinghouse/live/seattle/repyhelper.py", line 457, in translate_and_import
 File "/home/clearinghouse/live/seattle/repyhelper.py", line 407, in translate
 File "/home/clearinghouse/live/seattle/repyhelper.py", line 198, in _translation_is_needed

TranslationError: File name exists but wasn't automatically generated: /home/clearinghouse/live/seattle/random_repy.py

<ModPythonRequest
path:/html/login,
GET:<QueryDict: {}>,
POST:<QueryDict: {}>,
COOKIES:{},
META:{'AUTH_TYPE': None,
'CONTENT_LENGTH': 0,
'CONTENT_TYPE': None,
'GATEWAY_INTERFACE': 'CGI/1.1',
'HTTP_CONNECTION': 'Keep-Alive',
'HTTP_HOST': 'seattleclearinghouse.poly.edu',
'HTTP_USER_AGENT': 'Mozilla/5.0 (compatible; Win32; ActiveXperts.Http)',
'PATH_INFO': u'/html/login',
'PATH_TRANSLATED': None,
'QUERY_STRING': None,
'REMOTE_ADDR': '128.238.1.83',
'REMOTE_HOST': None,
'REMOTE_IDENT': None,
'REMOTE_USER': None,
'REQUEST_METHOD': 'GET',
'SCRIPT_NAME': '',
'SERVER_NAME': 'www.seattleclearinghouse.poly.edu',
'SERVER_PORT': 443,
'SERVER_PROTOCOL': 'HTTP/1.1',
'SERVER_SOFTWARE': 'mod_python'}>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant