The specified argument cannot be found: model=Subpage, id=5924890
Request Method: | GET |
---|---|
Request URL: | https://satori.tcs.uj.edu.pl/view/Subpage/5924890/content_files/zasady.pdf/zasady.pdf |
Django Version: | 1.4 |
Exception Type: | ArgumentNotFound |
Exception Value: | The specified argument cannot be found: model=Subpage, id=5924890 |
Exception Location: | <thrift> in Subpage_get_struct, line 2 |
Python Executable: | /home/satori/dockerized/venv/bin/python |
Python Version: | 2.7.18 |
Python Path: | ['/home/satori/dockerized/venv/bin', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/home/satori/dockerized/venv/lib/python2.7/site-packages', '/home/satori/satori/satori.objects', '/home/satori/satori/satori.ars', '/home/satori/dockerized/venv/lib/python2.7/site-packages/blist-1.3.6-py2.7-linux-x86_64.egg', '/home/satori/dockerized/venv/lib/python2.7/site-packages/ply-3.11-py2.7.egg', '/home/satori/satori/satori.client.common', '/home/satori/satori/satori.events', '/home/satori/satori/satori.tools', '/home/satori/dockerized/venv/lib/python2.7/site-packages/PyYAML-5.4.1-py2.7-linux-x86_64.egg', '/home/satori/satori/satori.core', '/home/satori/dockerized/venv/lib/python2.7/site-packages/docutils-0.16-py2.7.egg', '/home/satori/dockerized/venv/lib/python2.7/site-packages/idna-2.10-py2.7.egg', '/home/satori/dockerized/venv/lib/python2.7/site-packages/hyperlink-19.0.0-py2.7.egg', '/home/satori/dockerized/venv/lib/python2.7/site-packages/sphinx_rtd_theme-0.5.0-py2.7.egg', '/home/satori/dockerized/venv/lib/python2.7/site-packages/cryptography-2.9.2-py2.7-linux-x86_64.egg', '/home/satori/satori/satori.web', '/home/satori/dockerized/venv/lib/python2.7/site-packages/XStatic_MathJax-2.0.0-py2.7.egg', '/home/satori/dockerized/venv/lib/python2.7/site-packages/Sphinx-1.3.6-py2.7.egg', '/home/satori/dockerized/venv/lib/python2.7/site-packages/flup-1.0.2-py2.7.egg', '/home/satori/dockerized/venv/lib/python2.7/site-packages/Django-1.4-py2.7.egg', '/home/satori/dockerized/venv/lib/python2.7/site-packages/snowballstemmer-2.2.0-py2.7.egg', '/home/satori/dockerized/venv/lib/python2.7/site-packages/six-1.16.0-py2.7.egg', '/home/satori/satori/satori.judge', '/home/satori/dockerized/venv/lib/python2.7/site-packages/python_unshare-0.2-py2.7-linux-x86_64.egg', '/home/satori/dockerized/venv/lib/python2.7/site-packages/psutil-5.9.2-py2.7-linux-x86_64.egg', '/home/satori/satori/satori.kolejka', '/home/satori/dockerized/venv/lib/python2.7/site-packages/Babel-2.8.1-py2.7.egg', '/home/satori/dockerized/venv/lib/python2.7/site-packages/MarkupSafe-1.1.1-py2.7-linux-x86_64.egg', '/home/satori/dockerized/venv/lib/python2.7/site-packages/Jinja2-2.11.3-py2.7.egg', '/home/satori/dockerized/venv/lib/python2.7/site-packages/gdata-2.0.18-py2.7.egg', '/home/satori/dockerized/venv/lib/python2.7/site-packages/ipaddr-2.2.0-py2.7.egg', '/home/satori/dockerized/venv/lib/python2.7/site-packages/pyasn1-0.4.8-py2.7.egg', '/home/satori/dockerized/venv/lib/python2.7/site-packages/service_identity-21.1.0-py2.7.egg', '/home/satori/dockerized/venv/lib/python2.7/site-packages/pyOpenSSL-19.1.0-py2.7.egg', '/home/satori/dockerized/venv/lib/python2.7/site-packages/uWSGI-2.0.20-py2.7.egg', '/home/satori/dockerized/venv/lib/python2.7/site-packages/Twisted-17.9.0-py2.7-linux-x86_64.egg', '/home/satori/dockerized/venv/lib/python2.7/site-packages/setproctitle-1.1.10-py2.7-linux-x86_64.egg', '/home/satori/dockerized/venv/lib/python2.7/site-packages/psycopg2-2.8.6-py2.7-linux-x86_64.egg', '/home/satori/dockerized/venv/lib/python2.7/site-packages/egenix_mx_base-3.2.9-py2.7-linux-x86_64.egg', '/home/satori/dockerized/venv/lib/python2.7/site-packages/python_memcached-1.59-py2.7.egg', '/home/satori/dockerized/venv/lib/python2.7/site-packages/python_openid-2.2.5-py2.7.egg', '/home/satori/dockerized/venv/lib/python2.7/site-packages/pycrypto-2.3-py2.7-linux-x86_64.egg', '/home/satori/dockerized/venv/lib/python2.7/site-packages/ipaddress-1.0.23-py2.7.egg', '/home/satori/dockerized/venv/lib/python2.7/site-packages/enum34-1.1.10-py2.7.egg', '/home/satori/dockerized/venv/lib/python2.7/site-packages/cffi-1.15.1-py2.7-linux-x86_64.egg', '/home/satori/dockerized/venv/lib/python2.7/site-packages/pytz-2022.2.1-py2.7.egg', '/home/satori/dockerized/venv/lib/python2.7/site-packages/alabaster-0.7.12-py2.7.egg', '/home/satori/dockerized/venv/lib/python2.7/site-packages/pyasn1_modules-0.3.0rc1-py2.7.egg', '/home/satori/dockerized/venv/lib/python2.7/site-packages/attrs-22.1.0-py2.7.egg', '/home/satori/dockerized/venv/lib/python2.7/site-packages/Automat-20.2.0-py2.7.egg', '/home/satori/dockerized/venv/lib/python2.7/site-packages/incremental-21.3.0-py2.7.egg', '/home/satori/dockerized/venv/lib/python2.7/site-packages/constantly-15.1.0-py2.7.egg', '/home/satori/dockerized/venv/lib/python2.7/site-packages/zope.interface-5.5.0.dev0-py2.7.egg', '/home/satori/dockerized/venv/lib/python2.7/site-packages/pycparser-2.21-py2.7.egg', '/home/satori/dockerized/venv/lib/python2.7/site-packages/thrift-0.9.3-py2.7-linux-x86_64.egg', '/home/satori/dockerized/venv/lib/python2.7/site-packages/Pygments-2.5.2-py2.7.egg'] |
Server time: | Thu, 28 Mar 2024 17:45:17 +0100 |
/home/satori/dockerized/venv/lib/python2.7/site-packages/Django-1.4-py2.7.egg/django/core/handlers/base.py
in get_response
for middleware_method in self._view_middleware:
response = middleware_method(request, callback, callback_args, callback_kwargs)
if response:
break
if response is None:
try:
response = callback(request, *callback_args, **callback_kwargs)...
except Exception, e:
# If the view raised an exception, run it through exception
# middleware, and if the exception middleware returns a
# response, use that. Otherwise, reraise the exception.
for middleware_method in self._exception_middleware:
response = middleware_method(request, e)
Variable | Value |
---|---|
exceptions | <module 'django.core.exceptions' from '/home/satori/dockerized/venv/lib/python2.7/site-packages/Django-1.4-py2.7.egg/django/core/exceptions.pyc'> |
e | ArgumentNotFound() |
callback_args | () |
settings | <django.conf.LazySettings object at 0x7f8b07890490> |
middleware_method | <bound method CommonMiddleware.process_request of <django.middleware.common.CommonMiddleware object at 0x7f8b0739eb50>> |
self | <django.core.handlers.wsgi.WSGIHandler object at 0x7f8b074df990> |
request | "<WSGIRequest\npath:/view/Subpage/5924890/content_files/zasady.pdf/zasady.pdf,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{'CONTENT_LENGTH': '0',\n 'CONTEXT_DOCUMENT_ROOT': '/home/satori/dockerized/public_html',\n 'CONTEXT_PREFIX': '',\n 'DOCUMENT_ROOT': '/home/satori/dockerized/public_html',\n 'GATEWAY_INTERFACE': 'CGI/1.1',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_CONNECTION': 'close',\n 'HTTP_HOST': 'satori.tcs.uj.edu.pl',\n 'HTTP_USER_AGENT': 'claudebot',\n 'HTTP_X_FORWARDED_FOR': '54.234.136.147, 54.234.136.147',\n 'HTTP_X_FORWARDED_HOST': 'satori.tcs.uj.edu.pl, satori.tcs.uj.edu.pl',\n 'HTTP_X_FORWARDED_PROTO': 'https',\n 'HTTP_X_FORWARDED_SERVER': 'satori.tcs.uj.edu.pl',\n 'HTTP_X_REAL_IP': '54.234.136.147',\n 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',\n 'PATH_INFO': u'/view/Subpage/5924890/content_files/zasady.pdf/zasady.pdf',\n 'PATH_TRANSLATED': '/home/satori/dockerized/fcgi-bin/satori.web.fcgi/view/Subpage/5924890/content_files/zasady.pdf/zasady.pdf',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '172.17.0.1',\n 'REMOTE_PORT': '37338',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_SCHEME': 'http',\n 'REQUEST_URI': '/view/Subpage/5924890/content_files/zasady.pdf/zasady.pdf',\n 'SCRIPT_FILENAME': '/home/satori/dockerized/fcgi-bin/satori.web.fcgi',\n 'SCRIPT_NAME': u'',\n 'SCRIPT_URI': 'http://satori.tcs.uj.edu.pl/view/Subpage/5924890/content_files/zasady.pdf/zasady.pdf',\n 'SCRIPT_URL': '/view/Subpage/5924890/content_files/zasady.pdf/zasady.pdf',\n 'SERVER_ADDR': '172.17.0.6',\n 'SERVER_ADMIN': 'tcs.satori@uj.edu.pl',\n 'SERVER_NAME': 'satori.tcs.uj.edu.pl',\n 'SERVER_PORT': '80',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SIGNATURE': '<address>Apache/2.4.41 (Ubuntu) Server at satori.tcs.uj.edu.pl Port 80</address>\\n',\n 'SERVER_SOFTWARE': 'Apache/2.4.41 (Ubuntu)',\n 'wsgi.errors': <flup.server.fcgi_base.OutputStream object at 0x7f8aefbcb350>,\n 'wsgi.input': <flup.server.fcgi_base.InputStream object at 0x7f8aefbcb910>,\n 'wsgi.multiprocess': False,\n 'wsgi.multithread': True,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 0)}>" |
callback | <function getfile_group at 0x7f8b042b23d0> |
resolver | <RegexURLResolver satori.web.urls (None:None) ^/> |
urlresolvers | <module 'django.core.urlresolvers' from '/home/satori/dockerized/venv/lib/python2.7/site-packages/Django-1.4-py2.7.egg/django/core/urlresolvers.pyc'> |
callback_kwargs | {'attr_name': u'zasady.pdf', 'file_name': u'zasady.pdf', 'group_name': u'content_files', 'id': u'5924890', 'mode': u'view', 'model': u'Subpage'} |
response | None |
urlconf | 'satori.web.urls' |
/home/satori/satori/satori.web/satori/web/views/download.py
in getfile_group
def getfile_group(request, mode, model, id, group_name, attr_name, file_name):
try:
token_container.set_token(request.COOKIES.get(settings.SATORI_TOKEN_COOKIE_NAME, ''))
except:
token_container.set_token('')
obj = globals()[model](int(id))
blob = getattr(obj, group_name + '_get_blob')(attr_name)...
response = HttpResponse(content=blob_generator(blob), mimetype=guess_type(file_name)[0])
if mode == 'view':
response['Content-Disposition'] = 'inline; filename='+file_name
else:
response['Content-Disposition'] = 'attachment; filename='+file_name
Variable | Value |
---|---|
obj | <satori.client.common.unwrap.Subpage object at 0x7f8aefbe8b90> |
file_name | u'zasady.pdf' |
attr_name | u'zasady.pdf' |
request | "<WSGIRequest\npath:/view/Subpage/5924890/content_files/zasady.pdf/zasady.pdf,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{'CONTENT_LENGTH': '0',\n 'CONTEXT_DOCUMENT_ROOT': '/home/satori/dockerized/public_html',\n 'CONTEXT_PREFIX': '',\n 'DOCUMENT_ROOT': '/home/satori/dockerized/public_html',\n 'GATEWAY_INTERFACE': 'CGI/1.1',\n 'HTTP_ACCEPT': '*/*',\n 'HTTP_CONNECTION': 'close',\n 'HTTP_HOST': 'satori.tcs.uj.edu.pl',\n 'HTTP_USER_AGENT': 'claudebot',\n 'HTTP_X_FORWARDED_FOR': '54.234.136.147, 54.234.136.147',\n 'HTTP_X_FORWARDED_HOST': 'satori.tcs.uj.edu.pl, satori.tcs.uj.edu.pl',\n 'HTTP_X_FORWARDED_PROTO': 'https',\n 'HTTP_X_FORWARDED_SERVER': 'satori.tcs.uj.edu.pl',\n 'HTTP_X_REAL_IP': '54.234.136.147',\n 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',\n 'PATH_INFO': u'/view/Subpage/5924890/content_files/zasady.pdf/zasady.pdf',\n 'PATH_TRANSLATED': '/home/satori/dockerized/fcgi-bin/satori.web.fcgi/view/Subpage/5924890/content_files/zasady.pdf/zasady.pdf',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '172.17.0.1',\n 'REMOTE_PORT': '37338',\n 'REQUEST_METHOD': 'GET',\n 'REQUEST_SCHEME': 'http',\n 'REQUEST_URI': '/view/Subpage/5924890/content_files/zasady.pdf/zasady.pdf',\n 'SCRIPT_FILENAME': '/home/satori/dockerized/fcgi-bin/satori.web.fcgi',\n 'SCRIPT_NAME': u'',\n 'SCRIPT_URI': 'http://satori.tcs.uj.edu.pl/view/Subpage/5924890/content_files/zasady.pdf/zasady.pdf',\n 'SCRIPT_URL': '/view/Subpage/5924890/content_files/zasady.pdf/zasady.pdf',\n 'SERVER_ADDR': '172.17.0.6',\n 'SERVER_ADMIN': 'tcs.satori@uj.edu.pl',\n 'SERVER_NAME': 'satori.tcs.uj.edu.pl',\n 'SERVER_PORT': '80',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SIGNATURE': '<address>Apache/2.4.41 (Ubuntu) Server at satori.tcs.uj.edu.pl Port 80</address>\\n',\n 'SERVER_SOFTWARE': 'Apache/2.4.41 (Ubuntu)',\n 'wsgi.errors': <flup.server.fcgi_base.OutputStream object at 0x7f8aefbcb350>,\n 'wsgi.input': <flup.server.fcgi_base.InputStream object at 0x7f8aefbcb910>,\n 'wsgi.multiprocess': False,\n 'wsgi.multithread': True,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 0)}>" |
group_name | u'content_files' |
mode | u'view' |
model | u'Subpage' |
id | u'5924890' |
/home/satori/satori/satori.client.common/satori/client/common/unwrap.py
in blob_get
class_dict[meth_name + '_path'] = open_path
def unwrap_blob_get(class_dict, class_name, meth_name, BlobReader):
group_name = meth_name[:-9]
def blob_get(self, name):
return BlobReader(class_name, self.id, name, group_name)...
class_dict[meth_name] = blob_get
def blob_get_path(self, name, path):
with open(path, 'w') as dst:
blob = blob_get(self, name)
Variable | Value |
---|---|
class_name | 'Subpage' |
self | <satori.client.common.unwrap.Subpage object at 0x7f8aefbe8b90> |
name | u'zasady.pdf' |
BlobReader | <class 'satori.client.common.remote.BlobReader'> |
group_name | 'content_files' |
/home/satori/satori/satori.client.common/satori/client/common/unwrap.py
in __getattr__
if struct is not None:
def __init__(self, _id, _struct=None):
super(new_class, self).__init__(_id, _struct)
def __getattr__(self, name):
if name in struct.ars_type().fields:
if self._struct is None:
self._struct = self.get_struct()._struct...
return getattr(self._struct, name)
else:
raise AttributeError('\'{0}\' object has no attribute \'{1}\''.format(class_name, name))
def refresh(self):
self._struct = self.get_struct()._struct
Variable | Value |
---|---|
class_name | 'Subpage' |
self | <satori.client.common.unwrap.Subpage object at 0x7f8aefbe8b90> |
name | 'id' |
struct | <class 'satori.ars.model.SubpageStruct'> |
/home/satori/satori/satori.client.common/satori/client/common/unwrap.py
in func
ret = _implementation(*newargs, **newkwargs)
perf.end('call')
except ArsExceptionBase as ex:
ex = ex.ars_type().convert_from_ars(ex)
reraise = compile('def ' + _procname + '():\n raise ex\n', '<thrift>', 'exec')
exception = {'ex': ex, '__loader__': StubCodeLoader(_procname)}
exec reraise in exception
exception[_procname]()...
perf.begin('ret')
ret = _rettype.convert_from_ars(ret)
perf.end('ret')
return ret
Variable | Value |
---|---|
exception | {'Subpage_get_struct': <function Subpage_get_struct at 0x7f8aefb5edd0>, '__builtins__': {'ArithmeticError': <type 'exceptions.ArithmeticError'>, 'AssertionError': <type 'exceptions.AssertionError'>, 'AttributeError': <type 'exceptions.AttributeError'>, 'BaseException': <type 'exceptions.BaseException'>, 'BufferError': <type 'exceptions.BufferError'>, 'BytesWarning': <type 'exceptions.BytesWarning'>, 'DeprecationWarning': <type 'exceptions.DeprecationWarning'>, 'EOFError': <type 'exceptions.EOFError'>, 'Ellipsis': Ellipsis, 'EnvironmentError': <type 'exceptions.EnvironmentError'>, 'Exception': <type 'exceptions.Exception'>, 'False': False, 'FloatingPointError': <type 'exceptions.FloatingPointError'>, 'FutureWarning': <type 'exceptions.FutureWarning'>, 'GeneratorExit': <type 'exceptions.GeneratorExit'>, 'IOError': <type 'exceptions.IOError'>, 'ImportError': <type 'exceptions.ImportError'>, 'ImportWarning': <type 'exceptions.ImportWarning'>, 'IndentationError': <type 'exceptions.IndentationError'>, 'IndexError': <type 'exceptions.IndexError'>, 'KeyError': <type 'exceptions.KeyError'>, 'KeyboardInterrupt': <type 'exceptions.KeyboardInterrupt'>, 'LookupError': <type 'exceptions.LookupError'>, 'MemoryError': <type 'exceptions.MemoryError'>, 'NameError': <type 'exceptions.NameError'>, 'None': None, 'NotImplemented': NotImplemented, 'NotImplementedError': <type 'exceptions.NotImplementedError'>, 'OSError': <type 'exceptions.OSError'>, 'OverflowError': <type 'exceptions.OverflowError'>, 'PendingDeprecationWarning': <type 'exceptions.PendingDeprecationWarning'>, 'ReferenceError': <type 'exceptions.ReferenceError'>, 'RuntimeError': <type 'exceptions.RuntimeError'>, 'RuntimeWarning': <type 'exceptions.RuntimeWarning'>, 'StandardError': <type 'exceptions.StandardError'>, 'StopIteration': <type 'exceptions.StopIteration'>, 'SyntaxError': <type 'exceptions.SyntaxError'>, 'SyntaxWarning': <type 'exceptions.SyntaxWarning'>, 'SystemError': <type 'exceptions.SystemError'>, 'SystemExit': <type 'exceptions.SystemExit'>, 'TabError': <type 'exceptions.TabError'>, 'True': True, 'TypeError': <type 'exceptions.TypeError'>, 'UnboundLocalError': <type 'exceptions.UnboundLocalError'>, 'UnicodeDecodeError': <type 'exceptions.UnicodeDecodeError'>, 'UnicodeEncodeError': <type 'exceptions.UnicodeEncodeError'>, 'UnicodeError': <type 'exceptions.UnicodeError'>, 'UnicodeTranslateError': <type 'exceptions.UnicodeTranslateError'>, 'UnicodeWarning': <type 'exceptions.UnicodeWarning'>, 'UserWarning': <type 'exceptions.UserWarning'>, 'ValueError': <type 'exceptions.ValueError'>, 'Warning': <type 'exceptions.Warning'>, 'ZeroDivisionError': <type 'exceptions.ZeroDivisionError'>, '__debug__': True, '__doc__': "Built-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices.", '__import__': <built-in function __import__>, '__name__': '__builtin__', '__package__': None, 'abs': <built-in function abs>, 'all': <built-in function all>, 'any': <built-in function any>, 'apply': <built-in function apply>, 'basestring': <type 'basestring'>, 'bin': <built-in function bin>, 'bool': <type 'bool'>, 'buffer': <type 'buffer'>, 'bytearray': <type 'bytearray'>, 'bytes': <type 'str'>, 'callable': <built-in function callable>, 'chr': <built-in function chr>, 'classmethod': <type 'classmethod'>, 'cmp': <built-in function cmp>, 'coerce': <built-in function coerce>, 'compile': <built-in function compile>, 'complex': <type 'complex'>, 'copyright': Copyright (c) 2001-2020 Python Software Foundation. All Rights Reserved. Copyright (c) 2000 BeOpen.com. All Rights Reserved. Copyright (c) 1995-2001 Corporation for National Research Initiatives. All Rights Reserved. Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam. All Rights Reserved., 'credits': Thanks to CWI, CNRI, BeOpen.com, Zope Corporation and a cast of thousands for supporting Python development. See www.python.org for more information., 'delattr': <built-in function delattr>, 'dict': <type 'dict'>, 'dir': <built-in function dir>, 'divmod': <built-in function divmod>, 'enumerate': <type 'enumerate'>, 'eval': <built-in function eval>, 'execfile': <built-in function execfile>, 'exit': Use exit() or Ctrl-D (i.e. EOF) to exit, 'file': <type 'file'>, 'filter': <built-in function filter>, 'float': <type 'float'>, 'format': <built-in function format>, 'frozenset': <type 'frozenset'>, 'getattr': <built-in function getattr>, 'globals': <built-in function globals>, 'hasattr': <built-in function hasattr>, 'hash': <built-in function hash>, 'help': Type help() for interactive help, or help(object) for help about object., 'hex': <built-in function hex>, 'id': <built-in function id>, 'input': <built-in function input>, 'int': <type 'int'>, 'intern': <built-in function intern>, 'isinstance': <built-in function isinstance>, 'issubclass': <built-in function issubclass>, 'iter': <built-in function iter>, 'len': <built-in function len>, 'license': Type license() to see the full license text, 'list': <type 'list'>, 'locals': <built-in function locals>, 'long': <type 'long'>, 'map': <built-in function map>, 'max': <built-in function max>, 'memoryview': <type 'memoryview'>, 'min': <built-in function min>, 'next': <built-in function next>, 'object': <type 'object'>, 'oct': <built-in function oct>, 'open': <built-in function open>, 'ord': <built-in function ord>, 'pow': <built-in function pow>, 'print': <built-in function print>, 'property': <type 'property'>, 'quit': Use quit() or Ctrl-D (i.e. EOF) to exit, 'range': <built-in function range>, 'raw_input': <built-in function raw_input>, 'reduce': <built-in function reduce>, 'reload': <built-in function reload>, 'repr': <built-in function repr>, 'reversed': <type 'reversed'>, 'round': <built-in function round>, 'set': <type 'set'>, 'setattr': <built-in function setattr>, 'slice': <type 'slice'>, 'sorted': <built-in function sorted>, 'staticmethod': <type 'staticmethod'>, 'str': <type 'str'>, 'sum': <built-in function sum>, 'super': <type 'super'>, 'tuple': <type 'tuple'>, 'type': <type 'type'>, 'unichr': <built-in function unichr>, 'unicode': <type 'unicode'>, 'vars': <built-in function vars>, 'xrange': <type 'xrange'>, 'zip': <built-in function zip>}, '__loader__': <satori.client.common.unwrap.StubCodeLoader object at 0x7f8aefbe8c90>, 'ex': ArgumentNotFound()} |
i | 0 |
args | (<satori.client.common.unwrap.Subpage object at 0x7f8aefbe8b90>,) |
newkwargs | {} |
value | <satori.client.common.unwrap.Subpage object at 0x7f8aefbe8b90> |
ex | ArgumentNotFound() |
kwargs | {} |
reraise | <code object <module> at 0x7f8aefcb5f30, file "<thrift>", line 1> |
argtype | <satori.ars.model.ArsTypeAlias object at 0x7f8b07360ad0> |
newargs | ['', 5924890] |
<thrift>
in Subpage_get_struct
thrift code
raise Subpage_get_struct error...
No GET data
No POST data
No FILES data
No cookie data
Variable | Value |
---|---|
wsgi.multiprocess | False |
HTTP_X_FORWARDED_SERVER | 'satori.tcs.uj.edu.pl' |
CONTEXT_DOCUMENT_ROOT | '/home/satori/dockerized/public_html' |
SERVER_SOFTWARE | 'Apache/2.4.41 (Ubuntu)' |
CONTEXT_PREFIX | '' |
SERVER_SIGNATURE | '<address>Apache/2.4.41 (Ubuntu) Server at satori.tcs.uj.edu.pl Port 80</address>\n' |
REQUEST_METHOD | 'GET' |
PATH_INFO | u'/view/Subpage/5924890/content_files/zasady.pdf/zasady.pdf' |
SERVER_PROTOCOL | 'HTTP/1.1' |
QUERY_STRING | '' |
PATH | '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' |
HTTP_X_REAL_IP | '54.234.136.147' |
CONTENT_LENGTH | '0' |
HTTP_USER_AGENT | 'claudebot' |
HTTP_CONNECTION | 'close' |
SERVER_NAME | 'satori.tcs.uj.edu.pl' |
REMOTE_ADDR | '172.17.0.1' |
wsgi.url_scheme | 'http' |
PATH_TRANSLATED | '/home/satori/dockerized/fcgi-bin/satori.web.fcgi/view/Subpage/5924890/content_files/zasady.pdf/zasady.pdf' |
SERVER_PORT | '80' |
SERVER_ADDR | '172.17.0.6' |
DOCUMENT_ROOT | '/home/satori/dockerized/public_html' |
HTTP_X_FORWARDED_PROTO | 'https' |
SCRIPT_FILENAME | '/home/satori/dockerized/fcgi-bin/satori.web.fcgi' |
SERVER_ADMIN | 'tcs.satori@uj.edu.pl' |
SCRIPT_URI | 'http://satori.tcs.uj.edu.pl/view/Subpage/5924890/content_files/zasady.pdf/zasady.pdf' |
wsgi.input | <flup.server.fcgi_base.InputStream object at 0x7f8aefbcb910> |
HTTP_HOST | 'satori.tcs.uj.edu.pl' |
SCRIPT_URL | '/view/Subpage/5924890/content_files/zasady.pdf/zasady.pdf' |
wsgi.multithread | True |
REQUEST_URI | '/view/Subpage/5924890/content_files/zasady.pdf/zasady.pdf' |
HTTP_ACCEPT | '*/*' |
wsgi.version | (1, 0) |
GATEWAY_INTERFACE | 'CGI/1.1' |
HTTP_X_FORWARDED_FOR | '54.234.136.147, 54.234.136.147' |
SCRIPT_NAME | u'' |
REMOTE_PORT | '37338' |
HTTP_X_FORWARDED_HOST | 'satori.tcs.uj.edu.pl, satori.tcs.uj.edu.pl' |
REQUEST_SCHEME | 'http' |
wsgi.run_once | False |
wsgi.errors | <flup.server.fcgi_base.OutputStream object at 0x7f8aefbcb350> |
satori.web.settings
Setting | Value |
---|---|
USE_L10N | False |
USE_THOUSAND_SEPARATOR | False |
SATORI_TOKEN_COOKIE_HTTPONLY | u'********************' |
CSRF_COOKIE_SECURE | True |
LANGUAGE_CODE | 'en-us' |
ROOT_URLCONF | 'satori.web.urls' |
MANAGERS | () |
DEFAULT_CHARSET | 'utf-8' |
STATIC_ROOT | '' |
SATORI_TOKEN_COOKIE_DOMAIN | u'********************' |
MESSAGE_STORAGE | 'django.contrib.messages.storage.fallback.FallbackStorage' |
DATABASE_HOST | '' |
EMAIL_SUBJECT_PREFIX | '[Django] ' |
SEND_BROKEN_LINK_EMAILS | False |
URL_VALIDATOR_USER_AGENT | 'Django/1.4 (https://www.djangoproject.com)' |
STATICFILES_FINDERS | ('django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder') |
SESSION_COOKIE_DOMAIN | None |
SESSION_COOKIE_NAME | 'sessionid' |
ADMIN_FOR | () |
TIME_INPUT_FORMATS | ('%H:%M:%S', '%H:%M') |
DATABASES | {'default': {'ENGINE': 'django.db.backends.dummy', 'HOST': '', 'NAME': '', 'OPTIONS': {}, 'PASSWORD': u'********************', 'PORT': '', 'TEST_CHARSET': None, 'TEST_COLLATION': None, 'TEST_MIRROR': None, 'TEST_NAME': None, 'TIME_ZONE': 'Europe/Warsaw', 'USER': ''}} |
FILE_UPLOAD_PERMISSIONS | None |
FILE_UPLOAD_HANDLERS | ('django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler') |
DEFAULT_CONTENT_TYPE | 'text/html' |
THRIFT_HOST | 'satori.tcs.uj.edu.pl' |
APPEND_SLASH | True |
LOCALE_PATHS | () |
DATABASE_ROUTERS | [] |
YEAR_MONTH_FORMAT | 'F Y' |
STATICFILES_STORAGE | 'django.contrib.staticfiles.storage.StaticFilesStorage' |
CACHES | {'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache', 'LOCATION': ''}} |
THRIFT_PORT | 2889 |
SERVER_EMAIL | 'root@localhost' |
RECAPTCHA_PUB_KEY | u'********************' |
USE_X_FORWARDED_HOST | False |
MIDDLEWARE_CLASSES | ('django.middleware.common.CommonMiddleware',) |
USE_I18N | False |
THOUSAND_SEPARATOR | ',' |
SECRET_KEY | u'********************' |
LANGUAGE_COOKIE_NAME | 'django_language' |
FILE_UPLOAD_TEMP_DIR | '/home/satori/uploads.tmp' |
TRANSACTIONS_MANAGED | False |
LOGGING_CONFIG | 'django.utils.log.dictConfig' |
SIGNING_BACKEND | 'django.core.signing.TimestampSigner' |
TEMPLATE_LOADERS | ('django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader') |
FIRST_DAY_OF_WEEK | 0 |
WSGI_APPLICATION | None |
TEMPLATE_DEBUG | True |
X_FRAME_OPTIONS | 'SAMEORIGIN' |
AUTHENTICATION_BACKENDS | ('django.contrib.auth.backends.ModelBackend',) |
FORCE_SCRIPT_NAME | None |
CACHE_BACKEND | 'locmem://' |
SATORI_TOKEN_COOKIE_SECURE | u'********************' |
SESSION_COOKIE_SECURE | True |
SATORI_TOKEN_COOKIE_PATH | u'********************' |
CACHE_MIDDLEWARE_KEY_PREFIX | u'********************' |
CSRF_COOKIE_DOMAIN | None |
FILE_CHARSET | 'utf-8' |
DEBUG | True |
USE_SSL | True |
SESSION_FILE_PATH | None |
DEFAULT_FILE_STORAGE | 'django.core.files.storage.FileSystemStorage' |
INSTALLED_APPS | ('satori.web', 'django.contrib.webdesign') |
LANGUAGES | (('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('bn', 'Bengali'), ('bs', 'Bosnian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('en-gb', 'British English'), ('eo', 'Esperanto'), ('es', 'Spanish'), ('es-ar', 'Argentinian Spanish'), ('es-mx', 'Mexican Spanish'), ('es-ni', 'Nicaraguan Spanish'), ('et', 'Estonian'), ('eu', 'Basque'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('fy-nl', 'Frisian'), ('ga', 'Irish'), ('gl', 'Galician'), ('he', 'Hebrew'), ('hi', 'Hindi'), ('hr', 'Croatian'), ('hu', 'Hungarian'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lt', 'Lithuanian'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('ml', 'Malayalam'), ('mn', 'Mongolian'), ('nb', 'Norwegian Bokmal'), ('ne', 'Nepali'), ('nl', 'Dutch'), ('nn', 'Norwegian Nynorsk'), ('pa', 'Punjabi'), ('pl', 'Polish'), ('pt', 'Portuguese'), ('pt-br', 'Brazilian Portuguese'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sq', 'Albanian'), ('sr', 'Serbian'), ('sr-latn', 'Serbian Latin'), ('sv', 'Swedish'), ('sw', 'Swahili'), ('ta', 'Tamil'), ('te', 'Telugu'), ('th', 'Thai'), ('tr', 'Turkish'), ('tt', 'Tatar'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')) |
DATABASE_ENGINE | '' |
DATABASE_NAME | '' |
PREPEND_WWW | False |
SECURE_PROXY_SSL_HEADER | ('HTTP_X_FORWARDED_PROTO', 'https') |
SESSION_COOKIE_HTTPONLY | True |
DATABASE_PORT | '' |
DEBUG_PROPAGATE_EXCEPTIONS | False |
MONTH_DAY_FORMAT | 'F j' |
LOGIN_URL | '/accounts/login/' |
SESSION_EXPIRE_AT_BROWSER_CLOSE | False |
BLOB_HOST | 'satori.tcs.uj.edu.pl' |
TIME_FORMAT | 'P' |
DATE_INPUT_FORMATS | ('%Y-%m-%d', '%m/%d/%Y', '%m/%d/%y', '%b %d %Y', '%b %d, %Y', '%d %b %Y', '%d %b, %Y', '%B %d %Y', '%B %d, %Y', '%d %B %Y', '%d %B, %Y') |
CSRF_COOKIE_NAME | 'csrftoken' |
EMAIL_HOST_PASSWORD | u'********************' |
PASSWORD_RESET_TIMEOUT_DAYS | u'********************' |
USE_TZ | False |
CACHE_MIDDLEWARE_ALIAS | 'default' |
SESSION_SAVE_EVERY_REQUEST | False |
ADMIN_MEDIA_PREFIX | '/media/' |
NUMBER_GROUPING | 0 |
SESSION_ENGINE | 'django.contrib.sessions.backends.db' |
CSRF_FAILURE_VIEW | 'django.views.csrf.csrf_failure' |
CSRF_COOKIE_PATH | '/' |
LOGIN_REDIRECT_URL | '/accounts/profile/' |
SESSION_COOKIE_PATH | '/' |
LOGGING | {'disable_existing_loggers': True, 'formatters': {'default': {'format': '%(asctime)s - %(name)s - %(levelname)s - %(message)s'}}, 'handlers': {'console': {'class': 'logging.FileHandler', 'filename': '/home/satori/satori.web.log', 'formatter': 'default', 'level': 'DEBUG'}}, 'root': {'handlers': ['console'], 'level': 'DEBUG'}, 'version': 1} |
IGNORABLE_404_URLS | () |
PROJECT_PATH | '/home/satori/satori/satori.web/satori/web' |
TEMPLATE_STRING_IF_INVALID | '' |
COMMENTS_ALLOW_PROFANITIES | False |
LOGOUT_URL | '/accounts/logout/' |
EMAIL_USE_TLS | False |
FIXTURE_DIRS | () |
EMAIL_HOST | 'tcs.uj.edu.pl' |
DATE_FORMAT | 'N j, Y' |
MEDIA_ROOT | '' |
DEFAULT_EXCEPTION_REPORTER_FILTER | 'django.views.debug.SafeExceptionReporterFilter' |
ADMINS | () |
FORMAT_MODULE_PATH | None |
DEFAULT_FROM_EMAIL | 'webmaster@localhost' |
STATICFILES_DIRS | () |
MEDIA_URL | '' |
DATETIME_FORMAT | 'N j, Y, P' |
TEMPLATE_DIRS | ('/home/satori/satori/satori.web/satori/web',) |
SITE_ID | 1 |
DISALLOWED_USER_AGENTS | () |
ALLOWED_INCLUDE_ROOTS | () |
DECIMAL_SEPARATOR | '.' |
SHORT_DATE_FORMAT | 'm/d/Y' |
DATABASE_USER | '' |
TEST_RUNNER | 'django.test.simple.DjangoTestSuiteRunner' |
RECAPTCHA_PRIV_KEY | u'********************' |
TIME_ZONE | 'Europe/Warsaw' |
FILE_UPLOAD_MAX_MEMORY_SIZE | 2621440 |
EMAIL_BACKEND | 'django.core.mail.backends.smtp.EmailBackend' |
DEFAULT_TABLESPACE | '' |
TEMPLATE_CONTEXT_PROCESSORS | ('django.contrib.auth.context_processors.auth', 'django.core.context_processors.debug', 'django.core.context_processors.i18n', 'django.core.context_processors.media', 'django.core.context_processors.static', 'django.core.context_processors.tz', 'django.contrib.messages.context_processors.messages') |
SESSION_COOKIE_AGE | 1209600 |
SETTINGS_MODULE | 'satori.web.settings' |
USE_ETAGS | False |
LANGUAGES_BIDI | ('he', 'ar', 'fa') |
DEFAULT_INDEX_TABLESPACE | '' |
INTERNAL_IPS | () |
STATIC_URL | None |
EMAIL_PORT | 25 |
BLOB_PORT | 2887 |
SHORT_DATETIME_FORMAT | 'm/d/Y P' |
PASSWORD_HASHERS | u'********************' |
ABSOLUTE_URL_OVERRIDES | {} |
CACHE_MIDDLEWARE_SECONDS | 600 |
SATORI_TOKEN_COOKIE_NAME | u'********************' |
DATETIME_INPUT_FORMATS | ('%Y-%m-%d %H:%M:%S', '%Y-%m-%d %H:%M:%S.%f', '%Y-%m-%d %H:%M', '%Y-%m-%d', '%m/%d/%Y %H:%M:%S', '%m/%d/%Y %H:%M:%S.%f', '%m/%d/%Y %H:%M', '%m/%d/%Y', '%m/%d/%y %H:%M:%S', '%m/%d/%y %H:%M:%S.%f', '%m/%d/%y %H:%M', '%m/%d/%y') |
DATABASE_PASSWORD | u'********************' |
EMAIL_HOST_USER | '' |
PROFANITIES_LIST | u'********************' |
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.