Open yacc143 opened 11 years ago
Try installing Django 1.4.3 instead.
Yuguang
On Mon, Aug 5, 2013 at 6:59 AM, yacc143 notifications@github.com wrote:
Copy & Paste after following the commands on a Debian stable box:
ImportError at / No module named list_detail Request Method: GET Request URL: http://w004d137vm:7777/ Django Version: 1.5.1 Exception Type: ImportError Exception Value:
No module named list_detail Exception Location: /home/kostyrka/d/fiddle/django-cloud-ide/cloud_ide/snippet/views.py in , line 4 Python Executable: /home/kostyrka/d/fiddle/bin/python Python Version: 2.7.3 Python Path:
['/home/kostyrka/d/fiddle/pythonfiddle',
'/home/kostyrka/d/fiddle/local/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg',
'/home/kostyrka/d/fiddle/local/lib/python2.7/site-packages/pip-1.1-py2.7.egg', '/home/kostyrka/d/fiddle/django-cloud-ide',
'/home/kostyrka/d/fiddle/local/lib/python2.7/site-packages/Django-1.5.1-py2.7.egg',
'/home/kostyrka/d/fiddle/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg', '/home/kostyrka/d/fiddle/lib/python2.7/site-packages/pip-1.1-py2.7.egg',
'/home/kostyrka/d/fiddle/lib/python2.7/site-packages/Django-1.5.1-py2.7.egg', '/home/kostyrka/d/fiddle/lib/python2.7', '/home/kostyrka/d/fiddle/lib/python2.7/plat-linux2', '/home/kostyrka/d/fiddle/lib/python2.7/lib-tk', '/home/kostyrka/d/fiddle/lib/python2.7/lib-old', '/home/kostyrka/d/fiddle/lib/python2.7/lib-dynload', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk', '/home/kostyrka/d/fiddle/local/lib/python2.7/site-packages', '/home/kostyrka/d/fiddle/lib/python2.7/site-packages'] Server time: Mon, 5 Aug 2013 05:51:07 -0500 Traceback Switch to copy-and-paste view
/home/kostyrka/d/fiddle/local/lib/python2.7/site-packages/Django-1.5.1-py2.7.egg/django/core/handlers/base.py in get_response if response is None: if hasattr(request, 'urlconf'):
Reset url resolver with a custom urlconf.
urlconf = request.urlconf urlresolvers.set_urlconf(urlconf) resolver = urlresolvers.RegexURLResolver(r'^/', urlconf) resolver_match = resolver.resolve(request.path_info) ... callback, callback_args, callback_kwargs = resolver_match request.resolver_match = resolver_match
Apply view middleware
for middleware_method in self._view_middleware: response = middleware_method(request, callback, callback_args, callback_kwargs) ▶ Local vars Variable Value middleware_method
self
request ",\nPOST:,\nCOOKIES:{},\nMETA:{'CONTENT_LENGTH': '',\n 'CONTENT_TYPE': 'text/plain',\n 'DBUS_SESSION_BUS_ADDRESS': 'unix:abstract=/tmp/dbus-LxhsutiXPC,guid=fc2c34df2b625b1a754e142751f63e25',\n 'DESKTOP_SESSION': 'LXDE',\n 'DISPLAY': ':0',\n 'DJANGO_SETTINGS_MODULE': 'pythonfiddle.settings',\n 'GATEWAY_INTERFACE': 'CGI/1.1',\n 'GDMSESSION': 'LXDE',\n 'GDM_LANG': 'de_AT.UTF-8',\n 'GDM_XSERVER_LOCATION': 'local',\n 'GNOME_KEYRING_CONTROL': '/home/kostyrka/.cache/keyring-gvYYu0',\n 'GNOME_KEYRING_PID': '3385',\n 'HOME': '/home/kostyrka',\n 'HTTPACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,/_;q=0.8',\n 'HTTP_ACCEPT_ENCODING': 'gzip,deflate,sdch',\n 'HTTP_ACCEPT_LANGUAGE': 'de-DE,de;q=0.8,en-US;q=0.6,en;q=0.4',\n 'HTTP_CONNECTION': 'keep-alive',\n 'HTTP_HOST': 'w004d137vm:7777',\n 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.72 Safari/537.36',\n 'LANG': 'de_AT.UTF-8',\n 'LOGNAME': 'kostyrka',\n 'LSCOLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:.tar=01;31:.tgz=01;31:.arj=01;31:.taz=01;31:.lzh=01;31:.lzma=01;31:.tlz=01;31:.txz=01;31:.zip=01;31:.z=01;31:.Z=01;31:.dz=01;31:.gz=01;31:.lz=01;31:.xz=01;31:.bz2=01;31:.bz=01;31:.tbz=01;31:.tbz2=01;31:.tz=01;31:.deb=01;31:.rpm=01;31:.jar=01;31:.war=01;31:.ear=01;31:.sar=01;31:.rar=01;31:.ace=01;31:.zoo=01;31:.cpio=01;31:.7z=01;31:.rz=01;31:.jpg=01;35:.jpeg=01;35:.gif=01;35:.bmp=01;35:.pbm=01;35:.pgm=01;35:.ppm=01;35:.tga=01;35:.xbm=01;35:.xpm=01;35:.tif=01;35:.tiff=01;35:.png=01;35:.svg=01;35:.svgz=01;35:.mng=01;35:.pcx=01;35:.mov=01;35:.mpg=01;35:.mpeg=01;35:.m2v=01;35:.mkv=01;35:.webm=01;35:.ogm=01;35:.mp4=01;35:.m4v=01;35:.mp4v=01;35:.vob=01;35:.qt=01;35:.nuv=01;35:.wmv=01;35:.asf=01;35:.rm=01;35:.rmvb=01;35:.flc=01;35:.avi=01;35:.fli=01;35:.flv=01;35:.gl=01;35:.dl=01;35:.xcf=01;35:.xwd=01;35:.yuv=01;35:.cgm=01;35:.emf=01;35:.axv=01;35:.anx=01;35:.ogv=01;35:.ogx=01;35:.aac=00;36:.au=00;36:.flac=00;36:.mid=00;36:.midi=00;36:.mka=00;36:.mp3=00;36:.mpc=00;36:.ogg=00;36:.ra=00;36:.wav=00;36:.axa=00;36:.oga=00;36:.spx=00;36:_.xspf=00;36:',\n 'OLDPWD': '/home/kostyrka/d/fiddle',\n 'PATH': '/home/kostyrka/d/fiddle/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games',\n 'PATH_INFO': u'/',\n 'PROJECT_HOME': '/home/kostyrka/s/work/sandbox',\n 'PS1': '(fiddle)[\e]0;\u@\h: \w\a]${debian_chroot:+($debian_chroot)}[\033[01;32m]\u@\h[\033[00m]:[\033[01;34m]\w[\033[00m]\$ ',\n 'PWD': '/home/kostyrka/d/fiddle/pythonfiddle',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '148.198.114.214',\n 'REMOTE_HOST': '',\n 'REQUEST_METHOD': 'GET',\n 'RUN_MAIN': 'true',\n 'SAL_USE_VCLPLUGIN': 'gtk',\n 'SCRIPT_NAME': u'',\n 'SERVER_NAME': 'W004D137VM.local',\n 'SERVER_PORT': '7777',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.7.3',\n 'SHELL': '/bin/bash',\n 'SHLVL': '1',\n 'SSH_AGENT_PID': '3469',\n 'SSH_AUTH_SOCK': '/tmp/ssh-FCFiFP2H3lxe/agent.3394',\n 'TERM': 'xterm',\n 'TZ': 'America/Chicago',\n 'USER': 'kostyrka',\n 'USERNAME': 'kostyrka',\n 'VIRTUALENVWRAPPER_HOOK_DIR': '/home/kostyrka/.virtualenvs',\n 'VIRTUALENVWRAPPER_PROJECT_FILENAME': '.project',\n 'VIRTUAL_ENV': '/home/kostyrka/d/fiddle',\n 'WINDOWPATH': '7',\n 'WORKON_HOME': '/home/kostyrka/.virtualenvs',\n 'WORK_ON': '/home/kostyrka/d/venv',\n 'XAUTHORITY': '/home/kostyrka/.Xauthority',\n 'XDG_CONFIG_HOME': '/home/kostyrka/.config',\n 'XDG_CURRENT_DESKTOP': 'LXDE',\n 'XDG_DATA_DIRS': '/usr/local/share/:/usr/share/:/usr/share/gdm/:/var/lib/menu-xdg/',\n 'XDG_MENU_PREFIX': 'lxde-',\n 'XDG_SESSIONCOOKIE': '4374e0fe7bf72dadcc6ef83a00000019-1375092259.853539-1878498278',\n '': '/home/kostyrka/d/fiddle/bin/python',\n '_LXSESSION_PID': '3394',\n 'ftp_proxy': 'http://148.198.114.214:3128/',\n 'http_proxy': ' http://148.198.114.214:3128/',\n 'https_proxy': ' http://148.198.114.214:3128/',\n 'noproxy': '148.198.114.,_.kapsch.net ,*.kapsch.co.at',\n 'wsgi.errors': ', mode 'w' at 0xb75060d0>,\n 'wsgi.file_wrapper': ,\n 'wsgi.input': ,\n 'wsgi.multiprocess': False,\n 'wsgi.multithread': True,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 0)}>" resolver
response
None urlconf 'pythonfiddle.urls' /home/kostyrka/d/fiddle/local/lib/python2.7/site-packages/Django-1.5.1-py2.7.egg/django/core/urlresolvers.py in resolve return self._app_dict[language_code] def resolve(self, path): tried = [] match = self.regex.search(path) if match: new_path = path[match.end():] for pattern in self.url_patterns: ... try: sub_match = pattern.resolve(new_path) except Resolver404 as e: sub_tried = e.args[0].get('tried') if sub_tried is not None: tried.extend([[pattern] + t for t in sub_tried]) ▶ Local vars Variable Value path
u'/' self
new_path
u'' tried
[] match
<_sre.SRE_Match object at 0x9a8acd0> /home/kostyrka/d/fiddle/local/lib/python2.7/site-packages/Django-1.5.1-py2.7.egg/django/core/urlresolvers.py in url_patterns return self._urlconf_module except AttributeError: self._urlconf_module = import_module(self.urlconf_name) return self._urlconf_module @property https://github.com/property def url_patterns(self): patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module) ... try: iter(patterns) except TypeError: raise ImproperlyConfigured("The included urlconf %s doesn't have any patterns in it" % self.urlconf_name) return patterns ▶ Local vars Variable Value self
/home/kostyrka/d/fiddle/local/lib/python2.7/site-packages/Django-1.5.1-py2.7.egg/django/core/urlresolvers.py in urlconf_module raise Resolver404({'path' : path}) @property https://github.com/property def urlconf_module(self): try: return self._urlconf_module except AttributeError: self._urlconf_module = import_module(self.urlconf_name) ... return self._urlconf_module @property https://github.com/property def url_patterns(self): patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module) try: ▶ Local vars Variable Value self
/home/kostyrka/d/fiddle/local/lib/python2.7/site-packages/Django-1.5.1-py2.7.egg/django/utils/importlib.py in import_module raise TypeError("relative imports require the 'package' argument") level = 0 for character in name: if character != '.': break level += 1 name = _resolve_name(name[level:], package, level) import(name) ... return sys.modules[name] ▶ Local vars Variable Value name
'pythonfiddle.urls' package None /home/kostyrka/d/fiddle/pythonfiddle/../pythonfiddle/urls.py in from django.conf.urls.defaults import patterns, url from pythonfiddle.settings import DEBUG, PYTHON_LIB_DIR from cloud_ide.shared.urls import urlpatterns as shared_urls ... urlpatterns = shared_urls + patterns('cloud_ide.fiddle.views', url(r'^$', 'create', name='create_snippet'), url(r'^save/$', 'save', name='save_snippet'), url(r'^check_title/', 'check_title'), url(r'^(?P[-\w]+)/$', 'open', name='open_snippet'), ▶ Local vars Variable Value PYTHON_LIB_DIR
None builtins
{'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BufferError': , 'BytesWarning': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EnvironmentError': , 'Exception': , 'False': False, 'FloatingPointError': , 'FutureWarning': , 'GeneratorExit': , 'IOError': , 'ImportError': , 'ImportWarning': , 'IndentationError': , 'IndexError': , 'KeyError': , 'KeyboardInterrupt': , 'LookupError': , 'MemoryError': , 'NameError': , 'None': None, 'NotImplemented': NotImplemented, 'NotImplementedError': , 'OSError': , 'OverflowError': , 'PendingDeprecationWarning': , 'ReferenceError': , 'RuntimeError': , 'RuntimeWarning': , 'StandardError': , 'StopIteration': , 'SyntaxError': , 'SyntaxWarning': , 'SystemError': , 'SystemExit': , 'TabError': , 'True': True, 'TypeError': , 'UnboundLocalError': , 'UnicodeDecodeError': , 'UnicodeEncodeError': , 'UnicodeError': , 'UnicodeTranslateError': , 'UnicodeWarning': , 'UserWarning': , 'ValueError': , 'Warning': , 'ZeroDivisionError': , 'debug': True, 'doc': "Built-in functions, exceptions, and other objects.\n\nNoteworthy: None is the nil' object; Ellipsis represents...' in slices.", 'import': , 'name': 'builtin', 'package': None, 'abs': , 'all': , 'any': , 'apply': , 'basestring': , 'bin': , 'bool': , 'buffer': , 'bytearray': , 'bytes': , 'callable': , 'chr': , 'classmethod': , 'cmp': , 'coerce': , 'compile': , 'complex': , 'copyright': Copyright (c) 2001-2012 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': , 'dict': , 'dir': , 'divmod': , 'enumerate': , 'eval': , 'execfile': , 'exit': Use exit() or Ctrl-D (i.e. EOF) to exit, 'file': , 'filter': , 'float': , 'format': , 'frozenset': , 'getattr': , 'globals': , 'hasattr': , 'hash': , 'help': Type help() for interactive help, or help(object) for help about object., 'hex': , 'id': , 'input': , 'int': , 'intern': , 'isinstance': , 'issubclass': , 'iter': , 'len': , 'license': Type license() to see the full license text, 'list': , 'locals': , 'long': , 'map': , 'max': , 'memoryview': , 'min': , 'next': , 'object': , 'oct': , 'open': , 'ord': , 'pow': , 'print': , 'property': , 'quit': Use quit() or Ctrl-D (i.e. EOF) to exit, 'range': , 'raw_input': , 'reduce': , 'reload': , 'repr': , 'reversed': , 'round': , 'set': , 'setattr': , 'slice': , 'sorted': , 'staticmethod': , 'str': , 'sum': , 'super': , 'tuple': , 'type': , 'unichr': , 'unicode': , 'vars': , 'xrange': , 'zip': } file
None package None patterns
None url None DEBUG
None name
None doc None /home/kostyrka/d/fiddle/django-cloud-ide/cloud_ide/shared/urls.py in urlpatterns += patterns('', (r'^admin/', include(admin.site.urls)), (r'^sitemap.xml$', 'django.contrib.sitemaps.views.sitemap', {'sitemaps': sitemaps}), ) urlpatterns += patterns('', url(r'^fiddles/', include('cloud_ide.snippet.urls')), ... ) urlpatterns += patterns('cloudide.snippet.views', url(r'^dashboard/', 'dashboard'), url(r'^users/(?P[-\w.]+)/$', 'author_snippets', name='author_snippets'), ) ▶ Local vars Variable Value patterns
None admin
None file
None doc None package None sitemaps
None builtins
{'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BufferError': , 'BytesWarning': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EnvironmentError': , 'Exception': , 'False': False, 'FloatingPointError': , 'FutureWarning': , 'GeneratorExit': , 'IOError': , 'ImportError': , 'ImportWarning': , 'IndentationError': , 'IndexError': , 'KeyError': , 'KeyboardInterrupt': , 'LookupError': , 'MemoryError': , 'NameError': , 'None': None, 'NotImplemented': NotImplemented, 'NotImplementedError': , 'OSError': , 'OverflowError': , 'PendingDeprecationWarning': , 'ReferenceError': , 'RuntimeError': , 'RuntimeWarning': , 'StandardError': , 'StopIteration': , 'SyntaxError': , 'SyntaxWarning': , 'SystemError': , 'SystemExit': , 'TabError': , 'True': True, 'TypeError': , 'UnboundLocalError': , 'UnicodeDecodeError': , 'UnicodeEncodeError': , 'UnicodeError': , 'UnicodeTranslateError': , 'UnicodeWarning': , 'UserWarning': , 'ValueError': , 'Warning': , 'ZeroDivisionError': , 'debug': True, 'doc': "Built-in functions, exceptions, and other objects.\n\nNoteworthy: None is the nil' object; Ellipsis represents...' in slices.", 'import': , 'name': 'builtin', 'package': None, 'abs': , 'all': , 'any': , 'apply': , 'basestring': , 'bin': , 'bool': , 'buffer': , 'bytearray': , 'bytes': , 'callable': , 'chr': , 'classmethod': , 'cmp': , 'coerce': , 'compile': , 'complex': , 'copyright': Copyright (c) 2001-2012 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': , 'dict': , 'dir': , 'divmod': , 'enumerate': , 'eval': , 'execfile': , 'exit': Use exit() or Ctrl-D (i.e. EOF) to exit, 'file': , 'filter': , 'float': , 'format': , 'frozenset': , 'getattr': , 'globals': , 'hasattr': , 'hash': , 'help': Type help() for interactive help, or help(object) for help about object., 'hex': , 'id': , 'input': , 'int': , 'intern': , 'isinstance': , 'issubclass': , 'iter': , 'len': , 'license': Type license() to see the full license text, 'list': , 'locals': , 'long': , 'map': , 'max': , 'memoryview': , 'min': , 'next': , 'object': , 'oct': , 'open': , 'ord': , 'pow': , 'print': , 'property': , 'quit': Use quit() or Ctrl-D (i.e. EOF) to exit, 'range': , 'raw_input': , 'reduce': , 'reload': , 'repr': , 'reversed': , 'round': , 'set': , 'setattr': , 'slice': , 'sorted': , 'staticmethod': , 'str': , 'sum': , 'super': , 'tuple': , 'type': , 'unichr': , 'unicode': , 'vars': , 'xrange': , 'zip': } url None name
None include None add_to_builtins None urlpatterns None /home/kostyrka/d/fiddle/local/lib/python2.7/site-packages/Django-1.5.1-py2.7.egg/django/conf/urls/init.py in include raise ImproperlyConfigured('Cannot override the namespace for a dynamic module that provides a namespace') urlconf_module, app_name, namespace = arg else:
No namespace hint - use manually provided namespace
urlconf_module = arg if isinstance(urlconf_module, six.string_types): urlconf_module = import_module(urlconf_module) ... patterns = getattr(urlconf_module, 'urlpatterns', urlconf_module)
Make sure we can iterate through the patterns (without this, some
testcases will break).
if isinstance(patterns, (list, tuple)): for url_pattern in patterns: ▶ Local vars Variable Value urlconf_module
'cloud_ide.snippet.urls' namespace
None app_name
None arg 'cloud_ide.snippet.urls' /home/kostyrka/d/fiddle/local/lib/python2.7/site-packages/Django-1.5.1-py2.7.egg/django/utils/importlib.py in import_module raise TypeError("relative imports require the 'package' argument") level = 0 for character in name: if character != '.': break level += 1 name = _resolve_name(name[level:], package, level) import(name) ... return sys.modules[name] ▶ Local vars Variable Value name
'cloud_ide.snippet.urls' package None /home/kostyrka/d/fiddle/django-cloud-ide/cloud_ide/snippet/urls.py in from django.conf.urls.defaults import from views import \ ... urlpatterns = patterns('', url(r'^$', snippet_list, name='fiddle_snippet_list'), url(r'^tags/$', ▶ Local vars Variable Value handler403
None include None handler404
None warnings
None builtins
{'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BufferError': , 'BytesWarning': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EnvironmentError': , 'Exception': , 'False': False, 'FloatingPointError': , 'FutureWarning': , 'GeneratorExit': , 'IOError': , 'ImportError': , 'ImportWarning': , 'IndentationError': , 'IndexError': , 'KeyError': , 'KeyboardInterrupt': , 'LookupError': , 'MemoryError': , 'NameError': , 'None': None, 'NotImplemented': NotImplemented, 'NotImplementedError': , 'OSError': , 'OverflowError': , 'PendingDeprecationWarning': , 'ReferenceError': , 'RuntimeError': , 'RuntimeWarning': , 'StandardError': , 'StopIteration': , 'SyntaxError': , 'SyntaxWarning': , 'SystemError': , 'SystemExit': , 'TabError': , 'True': True, 'TypeError': , 'UnboundLocalError': , 'UnicodeDecodeError': , 'UnicodeEncodeError': , 'UnicodeError': , 'UnicodeTranslateError': , 'UnicodeWarning': , 'UserWarning': , 'ValueError': , 'Warning': , 'ZeroDivisionError': , 'debug': True, 'doc': "Built-in functions, exceptions, and other objects.\n\nNoteworthy: None is the nil' object; Ellipsis represents...' in slices.", 'import': , 'name': 'builtin', 'package': None, 'abs': , 'all': , 'any': , 'apply': , 'basestring': , 'bin': , 'bool': , 'buffer': , 'bytearray': , 'bytes': , 'callable': , 'chr': , 'classmethod': , 'cmp': , 'coerce': , 'compile': , 'complex': , 'copyright': Copyright (c) 2001-2012 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': , 'dict': , 'dir': , 'divmod': , 'enumerate': , 'eval': , 'execfile': , 'exit': Use exit() or Ctrl-D (i.e. EOF) to exit, 'file': , 'filter': , 'float': , 'format': , 'frozenset': , 'getattr': , 'globals': , 'hasattr': , 'hash': , 'help': Type help() for interactive help, or help(object) for help about object., 'hex': , 'id': , 'input': , 'int': , 'intern': , 'isinstance': , 'issubclass': , 'iter': , 'len': , 'license': Type license() to see the full license text, 'list': , 'locals': , 'long': , 'map': , 'max': , 'memoryview': , 'min': , 'next': , 'object': , 'oct': , 'open': , 'ord': , 'pow': , 'print': , 'property': , 'quit': Use quit() or Ctrl-D (i.e. EOF) to exit, 'range': , 'raw_input': , 'reduce': , 'reload': , 'repr': , 'reversed': , 'round': , 'set': , 'setattr': , 'slice': , 'sorted': , 'staticmethod': , 'str': , 'sum': , 'super': , 'tuple': , 'type': , 'unichr': , 'unicode': , 'vars': , 'xrange': , 'zip': } file
None package None patterns
None url None name
None handler500
None doc None /home/kostyrka/d/fiddle/django-cloud-ide/cloud_ide/snippet/views.py in from django.contrib.auth.models import User from django.contrib.auth.decorators import login_required from django.shortcuts import get_object_or_404 from django.views.generic.list_detail import object_list ... from taggit.models import Tag from cloud_ide.fiddle.models import Snippet def snippet_list(request, queryset=None, **kwargs): ▶ Local vars Variable Value get_object_or_404
None builtins
{'ArithmeticError': , 'AssertionError': , 'AttributeError': , 'BaseException': , 'BufferError': , 'BytesWarning': , 'DeprecationWarning': , 'EOFError': , 'Ellipsis': Ellipsis, 'EnvironmentError': , 'Exception': , 'False': False, 'FloatingPointError': , 'FutureWarning': , 'GeneratorExit': , 'IOError': , 'ImportError': , 'ImportWarning': , 'IndentationError': , 'IndexError': , 'KeyError': , 'KeyboardInterrupt': , 'LookupError': , 'MemoryError': , 'NameError': , 'None': None, 'NotImplemented': NotImplemented, 'NotImplementedError': , 'OSError': , 'OverflowError': , 'PendingDeprecationWarning': , 'ReferenceError': , 'RuntimeError': , 'RuntimeWarning': , 'StandardError': , 'StopIteration': , 'SyntaxError': , 'SyntaxWarning': , 'SystemError': , 'SystemExit': , 'TabError': , 'True': True, 'TypeError': , 'UnboundLocalError': , 'UnicodeDecodeError': , 'UnicodeEncodeError': , 'UnicodeError': , 'UnicodeTranslateError': , 'UnicodeWarning': , 'UserWarning': , 'ValueError': , 'Warning': , 'ZeroDivisionError': , 'debug': True, 'doc': "Built-in functions, exceptions, and other objects.\n\nNoteworthy: None is the nil' object; Ellipsis represents...' in slices.", 'import': , 'name': 'builtin', 'package': None, 'abs': , 'all': , 'any': , 'apply': , 'basestring': , 'bin': , 'bool': , 'buffer': , 'bytearray': , 'bytes': , 'callable': , 'chr': , 'classmethod': , 'cmp': , 'coerce': , 'compile': , 'complex': , 'copyright': Copyright (c) 2001-2012 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': , 'dict': , 'dir': , 'divmod': , 'enumerate': , 'eval': , 'execfile': , 'exit': Use exit() or Ctrl-D (i.e. EOF) to exit, 'file': , 'filter': , 'float': , 'format': , 'frozenset': , 'getattr': , 'globals': , 'hasattr': , 'hash': , 'help': Type help() for interactive help, or help(object) for help about object., 'hex': , 'id': , 'input': , 'int': , 'intern': , 'isinstance': , 'issubclass': , 'iter': , 'len': , 'license': Type license() to see the full license text, 'list': , 'locals': , 'long': , 'map': , 'max': , 'memoryview': , 'min': , 'next': , 'object': , 'oct': , 'open': , 'ord': , 'pow': , 'print': , 'property': , 'quit': Use quit() or Ctrl-D (i.e. EOF) to exit, 'range': , 'raw_input': , 'reduce': , 'reload': , 'repr': , 'reversed': , 'round': , 'set': , 'setattr': , 'slice': , 'sorted': , 'staticmethod': , 'str': , 'sum': , 'super': , 'tuple': , 'type': , 'unichr': , 'unicode': , 'vars': , 'xrange': , 'zip': } file
None login_required
None package None User
None name
None doc None
Request information
GET No GET data POST No POST data FILES No FILES data COOKIES No cookie data META Variable Value wsgi.version
(1, 0) RUN_MAIN
'true' PROJECT_HOME
'/home/kostyrka/s/work/sandbox' http_proxy
'http://148.198.114.214:3128/' SERVER_SOFTWARE 'WSGIServer/0.1 Python/2.7.3' SCRIPT_NAME u'' XDG_CURRENT_DESKTOP 'LXDE' REQUEST_METHOD
'GET' LOGNAME 'kostyrka' USER
'kostyrka' PATH
'/home/kostyrka/d/fiddle/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games' QUERY_STRING
'' GNOME_KEYRING_CONTROL
'/home/kostyrka/.cache/keyring-gvYYu0' PS1 '(fiddle)[\e]0;\u@\h: \w\a]${debian_chroot:+($debian_chroot)}[\033[01;32m]\u@\h[\033[00m]:[\033[01;34m]\w[\033[00m]\$ ' DISPLAY ':0' SSH_AGENT_PID
'3469' LANG
'de_AT.UTF-8' TERM
'xterm' SHELL
'/bin/bash' TZ
'America/Chicago' XAUTHORITY
'/home/kostyrka/.Xauthority' SERVER_NAME 'W004D137VM.local' REMOTE_ADDR '148.198.114.214' SHLVL
'1' wsgi.url_scheme 'http' https_proxy 'http://148.198.114.214:3128/' WINDOWPATH
'7' SERVER_PORT '7777' CONTENT_LENGTH
'' HOME
'/home/kostyrka' no_proxy
'148.198.114.,.kapsch.net,*.kapsch.co.at' USERNAME
'kostyrka' WORKON_HOME '/home/kostyrka/.virtualenvs' SAL_USE_VCLPLUGIN
'gtk' GDM_XSERVER_LOCATION
'local' wsgi.file_wrapper
'' SSH_AUTH_SOCK
'/tmp/ssh-FCFiFP2H3lxe/agent.3394' wsgi.multithread
True DESKTOP_SESSION 'LXDE' ftp_proxy
'http://148.198.114.214:3128/' GDMSESSION
'LXDE' wsgi.input
HTTP_USER_AGENT 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.72 Safari/537.36' HTTP_HOST
'w004d137vm:7777' GNOME_KEYRING_PID
'3385' HTTP_CONNECTION 'keep-alive' DBUS_SESSION_BUS_ADDRESS
'unix:abstract=/tmp/dbus-LxhsutiXPC,guid=fc2c34df2b625b1a754e142751f63e25' _
'/home/kostyrka/d/fiddle/bin/python' XDG_SESSION_COOKIE
'4374e0fe7bf72dadcc6ef83a00000019-1375092259.853539-1878498278' HTTPACCEPT 'text/html,application/xhtml+xml,application/xml;q=0.9,/_;q=0.8' VIRTUALENVWRAPPER_PROJECT_FILENAME
'.project' WORK_ON '/home/kostyrka/d/venv' VIRTUAL_ENV '/home/kostyrka/d/fiddle' _LXSESSION_PID
'3394' VIRTUALENVWRAPPER_HOOK_DIR
'/home/kostyrka/.virtualenvs' XDG_CONFIG_HOME '/home/kostyrka/.config' GATEWAY_INTERFACE
'CGI/1.1' wsgi.run_once
False OLDPWD
'/home/kostyrka/d/fiddle' wsgi.multiprocess
False HTTP_ACCEPT_LANGUAGE
'de-DE,de;q=0.8,en-US;q=0.6,en;q=0.4' GDM_LANG
'de_AT.UTF-8' wsgi.errors ', mode 'w' at 0xb75060d0> XDG_DATA_DIRS
'/usr/local/share/:/usr/share/:/usr/share/gdm/:/var/lib/menu-xdg/' PWD '/home/kostyrka/d/fiddle/pythonfiddle' SERVER_PROTOCOL 'HTTP/1.1' DJANGO_SETTINGS_MODULE
'pythonfiddle.settings' CONTENT_TYPE
'text/plain' XDG_MENU_PREFIX 'lxde-' LS_COLORS
'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:.tar=01;31:.tgz=01;31:.arj=01;31:.taz=01;31:.lzh=01;31:.lzma=01;31:.tlz=01;31:.txz=01;31:.zip=01;31:.z=01;31:.Z=01;31:.dz=01;31:.gz=01;31:.lz=01;31:.xz=01;31:.bz2=01;31:.bz=01;31:.tbz=01;31:.tbz2=01;31:.tz=01;31:.deb=01;31:.rpm=01;31:.jar=01;31:.war=01;31:.ear=01;31:.sar=01;31:.rar=01;31:.ace=01;31:.zoo=01;31:.cpio=01;31:.7z=01;31:.rz=01;31:.jpg=01;35:.jpeg=01;35:.gif=01;35:.bmp=01;35:.pbm=01;35:.pgm=01;35:.ppm=01;35:.tga=01;35:.xbm=01;35:.xpm=01;35:.tif=01;35:.tiff=01;35:.png=01;35:.svg=01;35:.svgz=01;35:.mng=01;35:.pcx=01;35:.mov=01;35:.mpg=01;35:.mpeg=01;35:.m2v=01;35:.mkv=01;35:.webm=01;35:.ogm=01;35:.mp4=01;35:.m4v=01;35:.mp4v=01;35:.vob=01;35:.qt=01;35:.nuv=01;35:.wmv=01;35:.asf=01;35:.rm=01;35:.rmvb=01;35:.flc=01;35:.avi=01;35:.fli=01;35:.flv=01;35:.gl=01;35:.dl=01;35:.xcf=01;35:.xwd=01;35:.yuv=01;35:.cgm=01;35:.emf=01;35:.axv=01;35:.anx=01;35:.ogv=01;35:.ogx=01;35:.aac=00;36:.au=00;36:.flac=00;36:.mid=00;36:.midi=00;36:.mka=00;36:.mp3=00;36:.mpc=00;36:.ogg=00;36:.ra=00;36:.wav=00;36:.axa=00;36:.oga=00;36:.spx=00;36:.xspf=00;36:' REMOTE_HOST '' HTTP_ACCEPT_ENCODING
'gzip,deflate,sdch' PATH_INFO
u'/' Settings Using settings module pythonfiddle.settings Setting Value MONTH_DAY_FORMAT
'F j' USE_L10N
True USE_THOUSAND_SEPARATOR
False CSRF_COOKIE_SECURE
False LANGUAGE_CODE
'en-us' ROOT_URLCONF
'pythonfiddle.urls' MANAGERS
() TEMPLATE_LOADERS
('django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader') DEFAULT_CHARSET 'utf-8' STATIC_ROOT '/fiddlesalad/static' ORKUT_CONSUMER_SECRET
u'****' ALLOWED_HOSTS
[] MESSAGE_STORAGE 'django.contrib.messages.storage.fallback.FallbackStorage' EMAIL_SUBJECT_PREFIX
'[Django] ' SEND_BROKEN_LINK_EMAILS False STATICFILES_FINDERS ('django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder') SOCIAL_AUTH_CREATE_USERS
True SESSION_CACHE_ALIAS 'default' SESSION_COOKIE_DOMAIN
None SESSION_COOKIE_NAME 'sessionid' AWS_STORAGE_BUCKET_NAME 'bucket_name' ADMIN_FOR
() TIME_INPUT_FORMATS
('%H:%M:%S', '%H:%M') DATABASES
{'default': {'ENGINE': 'django.db.backends.sqlite3', 'HOST': '', 'NAME': 'fiddle', 'OPTIONS': {}, 'PASSWORD': u'****', 'PORT': '', 'TEST_CHARSET': None, 'TEST_COLLATION': None, 'TEST_MIRROR': None, 'TEST_NAME': None, 'TIME_ZONE': 'America/Chicago', 'USER': ''}} FILE_UPLOAD_PERMISSIONS None FILE_UPLOAD_HANDLERS
('django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler') DEFAULT_CONTENT_TYPE
'text/html' APPEND_SLASH
True FIRST_DAY_OF_WEEK
0 DATABASE_ROUTERS
[] YEAR_MONTH_FORMAT
'F Y' STATICFILES_STORAGE 'django.contrib.staticfiles.storage.StaticFilesStorage' CACHES
{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} SERVER_EMAIL
'root@localhost' SESSION_COOKIE_PATH '/' MIDDLEWARE_CLASSES
('django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.contrib.redirects.middleware.RedirectFallbackMiddleware', 'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware') USE_I18N
True THOUSAND_SEPARATOR
',' SECRET_KEY
u'****' LANGUAGE_COOKIE_NAME
'django_language' FILE_UPLOAD_TEMP_DIR
None TRANSACTIONS_MANAGED
False LOGGING_CONFIG
'django.utils.log.dictConfig' GOOGLE_OAUTH2_CLIENT_SECRET u'****' WSGI_APPLICATION
None ORKUT_CONSUMER_KEY
u'****' TEMPLATE_DEBUG
True X_FRAME_OPTIONS 'SAMEORIGIN' AUTHENTICATION_BACKENDS ('social_auth.backends.twitter.TwitterBackend', 'social_auth.backends.facebook.FacebookBackend', 'social_auth.backends.google.GoogleOAuthBackend', 'django.contrib.auth.backends.ModelBackend') FORCE_SCRIPT_NAME
None USE_X_FORWARDED_HOST
False SIGNING_BACKEND 'django.core.signing.TimestampSigner' SESSION_COOKIE_SECURE
False CSRF_COOKIE_DOMAIN
None FILE_CHARSET
'utf-8' DEBUG
True SESSION_FILE_PATH
None AWS_ACCESS_KEY_ID
u'****' DEFAULT_FILE_STORAGE
'django.core.files.storage.FileSystemStorage' INSTALLED_APPS
('django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.admin', 'django.contrib.sites', 'django.contrib.sitemaps', 'django.contrib.flatpages', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.redirects', 'mediasync', 'taggit', 'social_auth', 'chunks', 'cloud_ide.fiddle') FILES
{'BOWSER': 'js/bowser.js', 'KNOCKOUT': 'js/knockout-latest.debug.js', 'KNOCKOUT_MAPPING': 'js/knockout.mapping.js', 'UNDERSCORE': 'js/underscore.js', 'VALIDATE': 'js/jquery.validate.js'} LANGUAGES
(('af', 'Afrikaans'), ('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('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'), ('es-ve', 'Venezuelan 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'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('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'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')) COMMENTS_ALLOW_PROFANITIES
False SOCIAL_AUTH_DEFAULT_USERNAME
'socialauth_user' STATICFILES_DIRS
() PREPEND_WWW False SECURE_PROXY_SSL_HEADER None SESSION_COOKIE_HTTPONLY True AWS_SECRET_ACCESS_KEY
u'****' FACEBOOK_APP_ID '244638052233650' DEBUG_PROPAGATE_EXCEPTIONS
False LINKEDIN_CONSUMER_KEY
u'****' SOCIAL_AUTH_FORCE_RANDOM_USERNAME
False LOGIN_URL
'/login/' SESSION_EXPIRE_AT_BROWSER_CLOSE False LINKEDIN_CONSUMER_SECRET
u'****' TIME_FORMAT 'P' AUTH_USER_MODEL 'auth.User' 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') LOGIN_ERROR_URL '/login/error/' CSRF_COOKIE_NAME
'csrftoken' EMAIL_HOST_PASSWORD u'****' MEDIASYNC
{'AWS_BUCKET': 'bucket_name', 'AWSKEY': u'***', 'AWSSECRET': u'******_', 'BACKEND': 'mediasync.backends.s3', 'JOINED': {'css/boilerplate.css': ['css/boilerplate.css'], 'css/login.css': ['css/login.css'], 'css/snippets.css': ['css/user.css'], 'css/styles.python.css': ['css/jquery-ui.cupertino.css', 'css/layout-default.css', 'css/boilerplate.css', 'css/codemirror.css', 'css/codemirror/util/dialog.css', 'css/show-hint.css', 'css/style.css', 'css/python.css', 'css/faq.css'], 'js/codemirror.python.js': ['js/codemirror.js', 'js/codemirror/show-hint.js', 'js/codemirror/python-hint.js', 'js/codemirror/mode/python/python.js', 'js/codemirror/match-highlighter.js', 'js/codemirror/dialog.js', 'js/codemirror/searchcursor.js', 'js/codemirror/search.js'], 'js/jquery-ui.python.js': ['js/build/lib/jquery-ui.python.min.js', 'js/build/lib/jquery.layout.min.js', 'js/layout.js'], 'js/knockout.js': ['js/jquery.validate.js', 'js/additional-methods.js', 'js/knockout-latest.debug.js', 'js/knockout-jquery-ui-widget.js', 'js/knockout.mapping.js', 'js/bindings.js'], 'js/navigation.js': ['js/navigation.js'], 'js/python.bootstrap.js': ['js/bowser.js', 'js/underscore.js', 'js/classy.js', 'js/json.js', 'js/store.js', 'js/base64.js', 'js/modules.js', 'js/helpers.js', 'js/trie.js', 'js/autocomplete.js', 'js/date.format.js', 'js/python-configuration.js', 'js/compiled-coffee/engine.require.js', 'js/compiled-coffee/python-engine.js'], 'js/python.editor.js': ['js/jquery.csrf.js', 'js/jquery.history.js', 'js/compiled-coffee/model.js'], 'js/python.init.js': ['js/fiddle.js', 'js/xd-yql.js', 'js/ZeroClipboard.js', 'js/setupClipboard.js', 'js/base64.js', 'js/examples.js', 'js/packages.python.js']}, 'SERVE_REMOTE': False} PASSWORD_RESET_TIMEOUTDAYS u'*******' TWITTER_CONSUMER_KEY
u'****' CACHE_MIDDLEWARE_ALIAS
'default' SESSION_SAVE_EVERY_REQUEST
False ADMIN_MEDIA_PREFIX
'/static/admin/' NUMBER_GROUPING 0 TWITTER_CONSUMER_SECRET u'****' SESSION_ENGINE
'django.contrib.sessions.backends.db' CSRF_FAILURE_VIEW
'django.views.csrf.csrf_failure' CSRF_COOKIE_PATH
'/' LOGIN_REDIRECT_URL
'/done/' DECIMAL_SEPARATOR
'.' IGNORABLE_404_URLS
() LOCALE_PATHS
() TEMPLATE_STRING_IF_INVALID
'' MEDIASYNC_JOINED
{'css/boilerplate.css': ['css/boilerplate.css'], 'css/login.css': ['css/login.css'], 'css/snippets.css': ['css/user.css'], 'css/styles.python.css': ['css/jquery-ui.cupertino.css', 'css/layout-default.css', 'css/boilerplate.css', 'css/codemirror.css', 'css/codemirror/util/dialog.css', 'css/show-hint.css', 'css/style.css', 'css/python.css', 'css/faq.css'], 'js/codemirror.python.js': ['js/codemirror.js', 'js/codemirror/show-hint.js', 'js/codemirror/python-hint.js', 'js/codemirror/mode/python/python.js', 'js/codemirror/match-highlighter.js', 'js/codemirror/dialog.js', 'js/codemirror/searchcursor.js', 'js/codemirror/search.js'], 'js/jquery-ui.python.js': ['js/build/lib/jquery-ui.python.min.js', 'js/build/lib/jquery.layout.min.js', 'js/layout.js'], 'js/knockout.js': ['js/jquery.validate.js', 'js/additional-methods.js', 'js/knockout-latest.debug.js', 'js/knockout-jquery-ui-widget.js', 'js/knockout.mapping.js', 'js/bindings.js'], 'js/navigation.js': ['js/navigation.js'], 'js/python.bootstrap.js': ['js/bowser.js', 'js/underscore.js', 'js/classy.js', 'js/json.js', 'js/store.js', 'js/base64.js', 'js/modules.js', 'js/helpers.js', 'js/trie.js', 'js/autocomplete.js', 'js/date.format.js', 'js/python-configuration.js', 'js/compiled-coffee/engine.require.js', 'js/compiled-coffee/python-engine.js'], 'js/python.editor.js': ['js/jquery.csrf.js', 'js/jquery.history.js', 'js/compiled-coffee/model.js'], 'js/python.init.js': ['js/fiddle.js', 'js/xd-yql.js', 'js/ZeroClipboard.js', 'js/setupClipboard.js', 'js/base64.js', 'js/examples.js', 'js/packages.python.js']} LOGOUT_URL
'/accounts/logout/' EMAIL_USE_TLS
False TEMPLATE_DIRS
('/home/kostyrka/d/fiddle/pythonfiddle/../templates', '/home/kostyrka/d/fiddle/pythonfiddle/../pythonfiddle/templates') FIXTURE_DIRS
() EMAIL_HOST
'localhost' DATE_FORMAT 'N j, Y' FACEBOOK_API_SECRET u'****' MEDIA_ROOT
'' DEFAULT_EXCEPTION_REPORTER_FILTER
'django.views.debug.SafeExceptionReporterFilter' ADMINS
() FORMAT_MODULE_PATH
None DEFAULT_FROM_EMAIL
'webmaster@localhost' SOCIAL_AUTH_ERROR_KEY
u'****' MEDIA_URL
'' DATETIME_FORMAT 'N j, Y, P' PYTHON_LIB_DIR
'/home/kostyrka/d/fiddle/pythonfiddle/../pythonfiddle/static\lib' SITE_ID 1 DISALLOWED_USER_AGENTS
() ALLOWED_INCLUDE_ROOTS
() LOGGING {'disable_existing_loggers': False, 'filters': {'require_debug_false': {'()': 'django.utils.log.RequireDebugFalse'}}, 'handlers': {'mail_admins': {'class': 'django.utils.log.AdminEmailHandler', 'filters': ['require_debug_false'], 'level': 'ERROR'}}, 'loggers': {'django.request': {'handlers': ['mail_admins'], 'level': 'ERROR', 'propagate': True}}, 'version': 1} PROJECT_DIR '/home/kostyrka/d/fiddle/pythonfiddle/../pythonfiddle' TEST_RUNNER 'django.test.simple.DjangoTestSuiteRunner' SHORT_DATE_FORMAT
'm/d/Y' CACHE_MIDDLEWARE_KEY_PREFIX u'****' TIME_ZONE
'America/Chicago' 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.contrib.messages.context_processors.messages', 'django.core.context_processors.request', 'cloud_ide.context_processors.debug', 'cloud_ide.context_processors.media', 'pythonfiddle.context_processors.site') SESSION_COOKIE_AGE
1209600 SETTINGS_MODULE 'pythonfiddle.settings' USE_ETAGS
False LANGUAGES_BIDI
('he', 'ar', 'fa') SOCIAL_AUTH_COMPLETE_URL_NAME
'socialauth_complete' DEFAULT_INDEX_TABLESPACE
'' INTERNAL_IPS
() STATIC_URL
'http://127.0.0.1:8000/static/' EMAIL_PORT
25 USE_TZ
False SHORT_DATETIME_FORMAT
'm/d/Y P' PASSWORD_HASHERS
u'****' ABSOLUTE_URL_OVERRIDES
{} GOOGLE_OAUTH2_CLIENT_KEY
u'****' CACHE_MIDDLEWARE_SECONDS
600 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') 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.
— Reply to this email directly or view it on GitHubhttps://github.com/yuguang/pythonfiddle/issues/1 .
I tried 1.4.3 and it didn't work either so I'm going to try and make it work for 1.5 ... might just be some simple migration modifications
Copy & Paste after following the commands on a Debian stable box:
ImportError at / No module named list_detail Request Method: GET Request URL: http://w004d137vm:7777/ Django Version: 1.5.1 Exception Type: ImportError Exception Value:, line 4
Python Executable: /home/kostyrka/d/fiddle/bin/python
Python Version: 2.7.3
Python Path:
No module named list_detail Exception Location: /home/kostyrka/d/fiddle/django-cloud-ide/cloud_ide/snippet/views.py in
['/home/kostyrka/d/fiddle/pythonfiddle', '/home/kostyrka/d/fiddle/local/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg', '/home/kostyrka/d/fiddle/local/lib/python2.7/site-packages/pip-1.1-py2.7.egg', '/home/kostyrka/d/fiddle/django-cloud-ide', '/home/kostyrka/d/fiddle/local/lib/python2.7/site-packages/Django-1.5.1-py2.7.egg', '/home/kostyrka/d/fiddle/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg', '/home/kostyrka/d/fiddle/lib/python2.7/site-packages/pip-1.1-py2.7.egg', '/home/kostyrka/d/fiddle/lib/python2.7/site-packages/Django-1.5.1-py2.7.egg', '/home/kostyrka/d/fiddle/lib/python2.7', '/home/kostyrka/d/fiddle/lib/python2.7/plat-linux2', '/home/kostyrka/d/fiddle/lib/python2.7/lib-tk', '/home/kostyrka/d/fiddle/lib/python2.7/lib-old', '/home/kostyrka/d/fiddle/lib/python2.7/lib-dynload', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk', '/home/kostyrka/d/fiddle/local/lib/python2.7/site-packages', '/home/kostyrka/d/fiddle/lib/python2.7/site-packages'] Server time: Mon, 5 Aug 2013 05:51:07 -0500 Traceback Switch to copy-and-paste view
/home/kostyrka/d/fiddle/local/lib/python2.7/site-packages/Django-1.5.1-py2.7.egg/django/core/handlers/base.py in get_response if response is None: if hasattr(request, 'urlconf'):
Reset url resolver with a custom urlconf.
▶ Local vars Variable Value middleware_method', mode 'w' at 0xb75060d0>,\n 'wsgi.file_wrapper': <class wsgiref.util.FileWrapper at 0x9262fbc>,\n 'wsgi.input': <socket._fileobject object at 0x9a9016c>,\n 'wsgi.multiprocess': False,\n 'wsgi.multithread': True,\n 'wsgi.run_once': False,\n 'wsgi.url_scheme': 'http',\n 'wsgi.version': (1, 0)}>"
resolver
from django.conf.urls.defaults import patterns, url
from pythonfiddle.settings import DEBUG, PYTHON_LIB_DIR
from cloud_ide.shared.urls import urlpatterns as shared_urls ...
urlpatterns = shared_urls + patterns('cloud_ide.fiddle.views',
url(r'^$', 'create', name='create_snippet'),
url(r'^save/$', 'save', name='save_snippet'),
url(r'^check_title/', 'check_title'),
url(r'^(?P[-\w]+)/$', 'open', name='open_snippet'),
▶ Local vars
Variable Value
PYTHON_LIB_DIR,
'name': 'builtin',
'package': None,
'abs': ,
'all': ,
'any': ,
'apply': ,
'basestring': <type 'basestring'>,
'bin': ,
'bool': <type 'bool'>,
'buffer': <type 'buffer'>,
'bytearray': <type 'bytearray'>,
'bytes': <type 'str'>,
'callable': ,
'chr': ,
'classmethod': <type 'classmethod'>,
'cmp': ,
'coerce': ,
'compile': ,
'complex': <type 'complex'>,
'copyright': Copyright (c) 2001-2012 Python Software Foundation.
All Rights Reserved.
<bound method MessageMiddleware.process_request of <django.contrib.messages.middleware.MessageMiddleware object at 0x97c69ac>> self
<django.core.handlers.wsgi.WSGIHandler object at 0x9694f4c> request "<WSGIRequest\npath:/,\nGET:<QueryDict: {}>,\nPOST:<QueryDict: {}>,\nCOOKIES:{},\nMETA:{'CONTENT_LENGTH': '',\n 'CONTENT_TYPE': 'text/plain',\n 'DBUS_SESSION_BUS_ADDRESS': 'unix:abstract=/tmp/dbus-LxhsutiXPC,guid=fc2c34df2b625b1a754e142751f63e25',\n 'DESKTOP_SESSION': 'LXDE',\n 'DISPLAY': ':0',\n 'DJANGO_SETTINGS_MODULE': 'pythonfiddle.settings',\n 'GATEWAY_INTERFACE': 'CGI/1.1',\n 'GDMSESSION': 'LXDE',\n 'GDM_LANG': 'de_AT.UTF-8',\n 'GDM_XSERVER_LOCATION': 'local',\n 'GNOME_KEYRING_CONTROL': '/home/kostyrka/.cache/keyring-gvYYu0',\n 'GNOME_KEYRING_PID': '3385',\n 'HOME': '/home/kostyrka',\n 'HTTPACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,/_;q=0.8',\n 'HTTP_ACCEPT_ENCODING': 'gzip,deflate,sdch',\n 'HTTP_ACCEPT_LANGUAGE': 'de-DE,de;q=0.8,en-US;q=0.6,en;q=0.4',\n 'HTTP_CONNECTION': 'keep-alive',\n 'HTTP_HOST': 'w004d137vm:7777',\n 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.72 Safari/537.36',\n 'LANG': 'de_AT.UTF-8',\n 'LOGNAME': 'kostyrka',\n 'LSCOLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:.tar=01;31:.tgz=01;31:.arj=01;31:.taz=01;31:.lzh=01;31:.lzma=01;31:.tlz=01;31:.txz=01;31:.zip=01;31:.z=01;31:.Z=01;31:.dz=01;31:.gz=01;31:.lz=01;31:.xz=01;31:.bz2=01;31:.bz=01;31:.tbz=01;31:.tbz2=01;31:.tz=01;31:.deb=01;31:.rpm=01;31:.jar=01;31:.war=01;31:.ear=01;31:.sar=01;31:.rar=01;31:.ace=01;31:.zoo=01;31:.cpio=01;31:.7z=01;31:.rz=01;31:.jpg=01;35:.jpeg=01;35:.gif=01;35:.bmp=01;35:.pbm=01;35:.pgm=01;35:.ppm=01;35:.tga=01;35:.xbm=01;35:.xpm=01;35:.tif=01;35:.tiff=01;35:.png=01;35:.svg=01;35:.svgz=01;35:.mng=01;35:.pcx=01;35:.mov=01;35:.mpg=01;35:.mpeg=01;35:.m2v=01;35:.mkv=01;35:.webm=01;35:.ogm=01;35:.mp4=01;35:.m4v=01;35:.mp4v=01;35:.vob=01;35:.qt=01;35:.nuv=01;35:.wmv=01;35:.asf=01;35:.rm=01;35:.rmvb=01;35:.flc=01;35:.avi=01;35:.fli=01;35:.flv=01;35:.gl=01;35:.dl=01;35:.xcf=01;35:.xwd=01;35:.yuv=01;35:.cgm=01;35:.emf=01;35:.axv=01;35:.anx=01;35:.ogv=01;35:.ogx=01;35:.aac=00;36:.au=00;36:.flac=00;36:.mid=00;36:.midi=00;36:.mka=00;36:.mp3=00;36:.mpc=00;36:.ogg=00;36:.ra=00;36:.wav=00;36:.axa=00;36:.oga=00;36:.spx=00;36:_.xspf=00;36:',\n 'OLDPWD': '/home/kostyrka/d/fiddle',\n 'PATH': '/home/kostyrka/d/fiddle/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games',\n 'PATH_INFO': u'/',\n 'PROJECT_HOME': '/home/kostyrka/s/work/sandbox',\n 'PS1': '(fiddle)\[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ',\n 'PWD': '/home/kostyrka/d/fiddle/pythonfiddle',\n 'QUERY_STRING': '',\n 'REMOTE_ADDR': '148.198.114.214',\n 'REMOTE_HOST': '',\n 'REQUEST_METHOD': 'GET',\n 'RUN_MAIN': 'true',\n 'SAL_USE_VCLPLUGIN': 'gtk',\n 'SCRIPT_NAME': u'',\n 'SERVER_NAME': 'W004D137VM.local',\n 'SERVER_PORT': '7777',\n 'SERVER_PROTOCOL': 'HTTP/1.1',\n 'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.7.3',\n 'SHELL': '/bin/bash',\n 'SHLVL': '1',\n 'SSH_AGENT_PID': '3469',\n 'SSH_AUTH_SOCK': '/tmp/ssh-FCFiFP2H3lxe/agent.3394',\n 'TERM': 'xterm',\n 'TZ': 'America/Chicago',\n 'USER': 'kostyrka',\n 'USERNAME': 'kostyrka',\n 'VIRTUALENVWRAPPER_HOOK_DIR': '/home/kostyrka/.virtualenvs',\n 'VIRTUALENVWRAPPER_PROJECT_FILENAME': '.project',\n 'VIRTUAL_ENV': '/home/kostyrka/d/fiddle',\n 'WINDOWPATH': '7',\n 'WORKON_HOME': '/home/kostyrka/.virtualenvs',\n 'WORK_ON': '/home/kostyrka/d/venv',\n 'XAUTHORITY': '/home/kostyrka/.Xauthority',\n 'XDG_CONFIG_HOME': '/home/kostyrka/.config',\n 'XDG_CURRENT_DESKTOP': 'LXDE',\n 'XDG_DATA_DIRS': '/usr/local/share/:/usr/share/:/usr/share/gdm/:/var/lib/menu-xdg/',\n 'XDG_MENU_PREFIX': 'lxde-',\n 'XDG_SESSIONCOOKIE': '4374e0fe7bf72dadcc6ef83a00000019-1375092259.853539-1878498278',\n '': '/home/kostyrka/d/fiddle/bin/python',\n '_LXSESSION_PID': '3394',\n 'ftp_proxy': 'http://148.198.114.214:3128/',\n 'http_proxy': 'http://148.198.114.214:3128/',\n 'https_proxy': 'http://148.198.114.214:3128/',\n 'noproxy': '148.198.114.,_.kapsch.net,*.kapsch.co.at',\n 'wsgi.errors': <open file '
<RegexURLResolver 'pythonfiddle.urls' (None:None) ^/> response
None urlconf 'pythonfiddle.urls' /home/kostyrka/d/fiddle/local/lib/python2.7/site-packages/Django-1.5.1-py2.7.egg/django/core/urlresolvers.py in resolve return self._app_dict[language_code] def resolve(self, path): tried = [] match = self.regex.search(path) if match: new_path = path[match.end():] for pattern in self.url_patterns: ... try: sub_match = pattern.resolve(new_path) except Resolver404 as e: sub_tried = e.args[0].get('tried') if sub_tried is not None: tried.extend([[pattern] + t for t in sub_tried]) ▶ Local vars Variable Value path
u'/' self
<RegexURLResolver 'pythonfiddle.urls' (None:None) ^/> new_path
u'' tried
[] match
<_sre.SRE_Match object at 0x9a8acd0> /home/kostyrka/d/fiddle/local/lib/python2.7/site-packages/Django-1.5.1-py2.7.egg/django/core/urlresolvers.py in url_patterns return self._urlconf_module except AttributeError: self._urlconf_module = import_module(self.urlconf_name) return self._urlconf_module @property def url_patterns(self): patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module) ... try: iter(patterns) except TypeError: raise ImproperlyConfigured("The included urlconf %s doesn't have any patterns in it" % self.urlconf_name) return patterns ▶ Local vars Variable Value self
<RegexURLResolver 'pythonfiddle.urls' (None:None) ^/> /home/kostyrka/d/fiddle/local/lib/python2.7/site-packages/Django-1.5.1-py2.7.egg/django/core/urlresolvers.py in urlconf_module raise Resolver404({'path' : path}) @property def urlconf_module(self): try: return self._urlconf_module except AttributeError: self._urlconf_module = import_module(self.urlconf_name) ... return self._urlconf_module @property def url_patterns(self): patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module) try: ▶ Local vars Variable Value self
<RegexURLResolver 'pythonfiddle.urls' (None:None) ^/> /home/kostyrka/d/fiddle/local/lib/python2.7/site-packages/Django-1.5.1-py2.7.egg/django/utils/importlib.py in import_module raise TypeError("relative imports require the 'package' argument") level = 0 for character in name: if character != '.': break level += 1 name = _resolve_name(name[level:], package, level) import(name) ... return sys.modules[name] ▶ Local vars Variable Value name
'pythonfiddle.urls' package None /home/kostyrka/d/fiddle/pythonfiddle/../pythonfiddle/urls.py in
None 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':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':,
'dict': <type 'dict'>,
'dir': ,
'divmod': ,
'enumerate': <type 'enumerate'>,
'eval': ,
'execfile': ,
'exit': Use exit() or Ctrl-D (i.e. EOF) to exit,
'file': <type 'file'>,
'filter': ,
'float': <type 'float'>,
'format': ,
'frozenset': <type 'frozenset'>,
'getattr': ,
'globals': ,
'hasattr': ,
'hash': ,
'help': Type help() for interactive help, or help(object) for help about object.,
'hex': ,
'id': ,
'input': ,
'int': <type 'int'>,
'intern': ,
'isinstance': ,
'issubclass': ,
'iter': ,
'len': ,
'license': Type license() to see the full license text,
'list': <type 'list'>,
'locals': ,
'long': <type 'long'>,
'map': ,
'max': ,
'memoryview': <type 'memoryview'>,
'min': ,
'next': ,
'object': <type 'object'>,
'oct': ,
'open': ,
'ord': ,
'pow': ,
'print': ,
'property': <type 'property'>,
'quit': Use quit() or Ctrl-D (i.e. EOF) to exit,
'range': ,
'raw_input': ,
'reduce': ,
'reload': ,
'repr': ,
'reversed': <type 'reversed'>,
'round': ,
'set': <type 'set'>,
'setattr': ,
'slice': <type 'slice'>,
'sorted': ,
'staticmethod': <type 'staticmethod'>,
'str': <type 'str'>,
'sum': ,
'super': <type 'super'>,
'tuple': <type 'tuple'>,
'type': <type 'type'>,
'unichr': ,
'unicode': <type 'unicode'>,
'vars': ,
'xrange': <type 'xrange'>,
'zip': }
file
urlpatterns += patterns('',
(r'^admin/', include(admin.site.urls)),
(r'^sitemap.xml$', 'django.contrib.sitemaps.views.sitemap', {'sitemaps': sitemaps}),
)
urlpatterns += patterns('',
url(r'^fiddles/', include('cloud_ide.snippet.urls')), ...
)
urlpatterns += patterns('cloudide.snippet.views',
url(r'^dashboard/', 'dashboard'),
url(r'^users/(?P[-\w. ]+)/$', 'author_snippets', name='author_snippets'),
)
▶ Local vars
Variable Value
patterns,
'name': 'builtin',
'package': None,
'abs': ,
'all': ,
'any': ,
'apply': ,
'basestring': <type 'basestring'>,
'bin': ,
'bool': <type 'bool'>,
'buffer': <type 'buffer'>,
'bytearray': <type 'bytearray'>,
'bytes': <type 'str'>,
'callable': ,
'chr': ,
'classmethod': <type 'classmethod'>,
'cmp': ,
'coerce': ,
'compile': ,
'complex': <type 'complex'>,
'copyright': Copyright (c) 2001-2012 Python Software Foundation.
All Rights Reserved.
None package None patterns
None url None DEBUG
None name
None doc None /home/kostyrka/d/fiddle/django-cloud-ide/cloud_ide/shared/urls.py in
None admin
None file
None doc None package None sitemaps
None 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':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':,
'dict': <type 'dict'>,
'dir': ,
'divmod': ,
'enumerate': <type 'enumerate'>,
'eval': ,
'execfile': ,
'exit': Use exit() or Ctrl-D (i.e. EOF) to exit,
'file': <type 'file'>,
'filter': ,
'float': <type 'float'>,
'format': ,
'frozenset': <type 'frozenset'>,
'getattr': ,
'globals': ,
'hasattr': ,
'hash': ,
'help': Type help() for interactive help, or help(object) for help about object.,
'hex': ,
'id': ,
'input': ,
'int': <type 'int'>,
'intern': ,
'isinstance': ,
'issubclass': ,
'iter': ,
'len': ,
'license': Type license() to see the full license text,
'list': <type 'list'>,
'locals': ,
'long': <type 'long'>,
'map': ,
'max': ,
'memoryview': <type 'memoryview'>,
'min': ,
'next': ,
'object': <type 'object'>,
'oct': ,
'open': ,
'ord': ,
'pow': ,
'print': ,
'property': <type 'property'>,
'quit': Use quit() or Ctrl-D (i.e. EOF) to exit,
'range': ,
'raw_input': ,
'reduce': ,
'reload': ,
'repr': ,
'reversed': <type 'reversed'>,
'round': ,
'set': <type 'set'>,
'setattr': ,
'slice': <type 'slice'>,
'sorted': ,
'staticmethod': <type 'staticmethod'>,
'str': <type 'str'>,
'sum': ,
'super': <type 'super'>,
'tuple': <type 'tuple'>,
'type': <type 'type'>,
'unichr': ,
'unicode': <type 'unicode'>,
'vars': ,
'xrange': <type 'xrange'>,
'zip': }
url
None
name
None include None add_to_builtins None urlpatterns None /home/kostyrka/d/fiddle/local/lib/python2.7/site-packages/Django-1.5.1-py2.7.egg/django/conf/urls/init.py in include raise ImproperlyConfigured('Cannot override the namespace for a dynamic module that provides a namespace') urlconf_module, app_name, namespace = arg else:
No namespace hint - use manually provided namespace
▶ Local vars Variable Value urlconf_module
from django.conf.urls.defaults import
from views import \ ...
urlpatterns = patterns('',
url(r'^$',
snippet_list,
name='fiddle_snippet_list'),
url(r'^tags/$',
▶ Local vars
Variable Value
handler403,
'name': 'builtin',
'package': None,
'abs': ,
'all': ,
'any': ,
'apply': ,
'basestring': <type 'basestring'>,
'bin': ,
'bool': <type 'bool'>,
'buffer': <type 'buffer'>,
'bytearray': <type 'bytearray'>,
'bytes': <type 'str'>,
'callable': ,
'chr': ,
'classmethod': <type 'classmethod'>,
'cmp': ,
'coerce': ,
'compile': ,
'complex': <type 'complex'>,
'copyright': Copyright (c) 2001-2012 Python Software Foundation.
All Rights Reserved.
'cloud_ide.snippet.urls' namespace
None app_name
None arg 'cloud_ide.snippet.urls' /home/kostyrka/d/fiddle/local/lib/python2.7/site-packages/Django-1.5.1-py2.7.egg/django/utils/importlib.py in import_module raise TypeError("relative imports require the 'package' argument") level = 0 for character in name: if character != '.': break level += 1 name = _resolve_name(name[level:], package, level) import(name) ... return sys.modules[name] ▶ Local vars Variable Value name
'cloud_ide.snippet.urls' package None /home/kostyrka/d/fiddle/django-cloud-ide/cloud_ide/snippet/urls.py in
None include None handler404
None warnings
None 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':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':,
'dict': <type 'dict'>,
'dir': ,
'divmod': ,
'enumerate': <type 'enumerate'>,
'eval': ,
'execfile': ,
'exit': Use exit() or Ctrl-D (i.e. EOF) to exit,
'file': <type 'file'>,
'filter': ,
'float': <type 'float'>,
'format': ,
'frozenset': <type 'frozenset'>,
'getattr': ,
'globals': ,
'hasattr': ,
'hash': ,
'help': Type help() for interactive help, or help(object) for help about object.,
'hex': ,
'id': ,
'input': ,
'int': <type 'int'>,
'intern': ,
'isinstance': ,
'issubclass': ,
'iter': ,
'len': ,
'license': Type license() to see the full license text,
'list': <type 'list'>,
'locals': ,
'long': <type 'long'>,
'map': ,
'max': ,
'memoryview': <type 'memoryview'>,
'min': ,
'next': ,
'object': <type 'object'>,
'oct': ,
'open': ,
'ord': ,
'pow': ,
'print': ,
'property': <type 'property'>,
'quit': Use quit() or Ctrl-D (i.e. EOF) to exit,
'range': ,
'raw_input': ,
'reduce': ,
'reload': ,
'repr': ,
'reversed': <type 'reversed'>,
'round': ,
'set': <type 'set'>,
'setattr': ,
'slice': <type 'slice'>,
'sorted': ,
'staticmethod': <type 'staticmethod'>,
'str': <type 'str'>,
'sum': ,
'super': <type 'super'>,
'tuple': <type 'tuple'>,
'type': <type 'type'>,
'unichr': ,
'unicode': <type 'unicode'>,
'vars': ,
'xrange': <type 'xrange'>,
'zip': }
file
from django.contrib.auth.models import User
from django.contrib.auth.decorators import login_required
from django.shortcuts import get_object_or_404
from django.views.generic.list_detail import object_list ...
from taggit.models import Tag
from cloud_ide.fiddle.models import Snippet
def snippet_list(request, queryset=None, kwargs):
▶ Local vars
Variable Value
get_object_or_404,
' name': 'builtin',
'package**': None,
'abs': ,
'all': ,
'any': ,
'apply': ,
'basestring': <type 'basestring'>,
'bin': ,
'bool': <type 'bool'>,
'buffer': <type 'buffer'>,
'bytearray': <type 'bytearray'>,
'bytes': <type 'str'>,
'callable': ,
'chr': ,
'classmethod': <type 'classmethod'>,
'cmp': ,
'coerce': ,
'compile': ,
'complex': <type 'complex'>,
'copyright': Copyright (c) 2001-2012 Python Software Foundation.
All Rights Reserved.
None package None patterns
None url None name
None handler500
None doc None /home/kostyrka/d/fiddle/django-cloud-ide/cloud_ide/snippet/views.py in
None 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':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':,
'dict': <type 'dict'>,
'dir': ,
'divmod': ,
'enumerate': <type 'enumerate'>,
'eval': ,
'execfile': ,
'exit': Use exit() or Ctrl-D (i.e. EOF) to exit,
'file': <type 'file'>,
'filter': ,
'float': <type 'float'>,
'format': ,
'frozenset': <type 'frozenset'>,
'getattr': ,
'globals': ,
'hasattr': ,
'hash': ,
'help': Type help() for interactive help, or help(object) for help about object.,
'hex': ,
'id': ,
'input': ,
'int': <type 'int'>,
'intern': ,
'isinstance': ,
'issubclass': ,
'iter': ,
'len': ,
'license': Type license() to see the full license text,
'list': <type 'list'>,
'locals': ,
'long': <type 'long'>,
'map': ,
'max': ,
'memoryview': <type 'memoryview'>,
'min': ,
'next': ,
'object': <type 'object'>,
'oct': ,
'open': ,
'ord': ,
'pow': ,
'print': ,
'property': <type 'property'>,
'quit': Use quit() or Ctrl-D (i.e. EOF) to exit,
'range': ,
'raw_input': ,
'reduce': ,
'reload': ,
'repr': ,
'reversed': <type 'reversed'>,
'round': ,
'set': <type 'set'>,
'setattr': ,
'slice': <type 'slice'>,
'sorted': ,
'staticmethod': <type 'staticmethod'>,
'str': <type 'str'>,
'sum': ,
'super': <type 'super'>,
'tuple': <type 'tuple'>,
'type': <type 'type'>,
'unichr': ,
'unicode': <type 'unicode'>,
'vars': ,
'xrange': <type 'xrange'>,
'zip': }
file
None login_required
None package None User
None name
None doc None
Request information
GET No GET data POST No POST data FILES No FILES data COOKIES No cookie data META Variable Value wsgi.version', mode 'w' at 0xb75060d0>
XDG_DATA_DIRS
(1, 0) RUN_MAIN
'true' PROJECT_HOME
'/home/kostyrka/s/work/sandbox' http_proxy
'http://148.198.114.214:3128/' SERVER_SOFTWARE 'WSGIServer/0.1 Python/2.7.3' SCRIPT_NAME u'' XDG_CURRENT_DESKTOP 'LXDE' REQUEST_METHOD
'GET' LOGNAME 'kostyrka' USER
'kostyrka' PATH
'/home/kostyrka/d/fiddle/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games' QUERY_STRING
'' GNOME_KEYRING_CONTROL
'/home/kostyrka/.cache/keyring-gvYYu0' PS1 '(fiddle)[\e]0;\u@\h: \w\a]${debian_chroot:+($debian_chroot)}[\033[01;32m]\u@\h[\033[00m]:[\033[01;34m]\w[\033[00m]\$ ' DISPLAY ':0' SSH_AGENT_PID
'3469' LANG
'de_AT.UTF-8' TERM
'xterm' SHELL
'/bin/bash' TZ
'America/Chicago' XAUTHORITY
'/home/kostyrka/.Xauthority' SERVER_NAME 'W004D137VM.local' REMOTE_ADDR '148.198.114.214' SHLVL
'1' wsgi.url_scheme 'http' https_proxy 'http://148.198.114.214:3128/' WINDOWPATH
'7' SERVER_PORT '7777' CONTENT_LENGTH
'' HOME
'/home/kostyrka' noproxy
'148.198.114.,.kapsch.net,.kapsch.co.at' USERNAME
'kostyrka' WORKON_HOME '/home/kostyrka/.virtualenvs' SAL_USE_VCLPLUGIN
'gtk' GDM_XSERVER_LOCATION
'local' wsgi.file_wrapper
'' SSH_AUTH_SOCK
'/tmp/ssh-FCFiFP2H3lxe/agent.3394' wsgi.multithread
True DESKTOP_SESSION 'LXDE' ftp_proxy
'http://148.198.114.214:3128/' GDMSESSION
'LXDE' wsgi.input
<socket._fileobject object at 0x9a9016c> HTTP_USER_AGENT 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.72 Safari/537.36' HTTP_HOST
'w004d137vm:7777' GNOME_KEYRING_PID
'3385' HTTP_CONNECTION 'keep-alive' DBUS_SESSION_BUSADDRESS
'unix:abstract=/tmp/dbus-LxhsutiXPC,guid=fc2c34df2b625b1a754e142751f63e25'
'/home/kostyrka/d/fiddle/bin/python' XDG_SESSION_COOKIE
'4374e0fe7bf72dadcc6ef83a00000019-1375092259.853539-1878498278' HTTPACCEPT 'text/html,application/xhtml+xml,application/xml;q=0.9,/_;q=0.8' VIRTUALENVWRAPPER_PROJECT_FILENAME
'.project' WORK_ON '/home/kostyrka/d/venv' VIRTUAL_ENV '/home/kostyrka/d/fiddle' _LXSESSION_PID
'3394' VIRTUALENVWRAPPER_HOOK_DIR
'/home/kostyrka/.virtualenvs' XDG_CONFIG_HOME '/home/kostyrka/.config' GATEWAY_INTERFACE
'CGI/1.1' wsgi.run_once
False OLDPWD
'/home/kostyrka/d/fiddle' wsgi.multiprocess
False HTTP_ACCEPT_LANGUAGE
'de-DE,de;q=0.8,en-US;q=0.6,en;q=0.4' GDM_LANG
'de_AT.UTF-8' wsgi.errors <open file '
'/usr/local/share/:/usr/share/:/usr/share/gdm/:/var/lib/menu-xdg/' PWD '/home/kostyrka/d/fiddle/pythonfiddle' SERVER_PROTOCOL 'HTTP/1.1' DJANGO_SETTINGS_MODULE
'pythonfiddle.settings' CONTENT_TYPE
'text/plain' XDG_MENU_PREFIX 'lxde-' LSCOLORS
'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:.tar=01;31:.tgz=01;31:.arj=01;31:.taz=01;31:.lzh=01;31:.lzma=01;31:.tlz=01;31:.txz=01;31:.zip=01;31:.z=01;31:.Z=01;31:.dz=01;31:.gz=01;31:.lz=01;31:.xz=01;31:.bz2=01;31:.bz=01;31:.tbz=01;31:.tbz2=01;31:.tz=01;31:.deb=01;31:.rpm=01;31:.jar=01;31:.war=01;31:.ear=01;31:.sar=01;31:.rar=01;31:.ace=01;31:.zoo=01;31:.cpio=01;31:.7z=01;31:.rz=01;31:.jpg=01;35:.jpeg=01;35:.gif=01;35:.bmp=01;35:.pbm=01;35:.pgm=01;35:.ppm=01;35:.tga=01;35:.xbm=01;35:.xpm=01;35:.tif=01;35:.tiff=01;35:.png=01;35:.svg=01;35:.svgz=01;35:.mng=01;35:.pcx=01;35:.mov=01;35:.mpg=01;35:.mpeg=01;35:.m2v=01;35:.mkv=01;35:.webm=01;35:.ogm=01;35:.mp4=01;35:.m4v=01;35:.mp4v=01;35:.vob=01;35:.qt=01;35:.nuv=01;35:.wmv=01;35:.asf=01;35:.rm=01;35:.rmvb=01;35:.flc=01;35:.avi=01;35:.fli=01;35:.flv=01;35:.gl=01;35:.dl=01;35:.xcf=01;35:.xwd=01;35:.yuv=01;35:.cgm=01;35:.emf=01;35:.axv=01;35:.anx=01;35:.ogv=01;35:.ogx=01;35:.aac=00;36:.au=00;36:.flac=00;36:.mid=00;36:.midi=00;36:.mka=00;36:.mp3=00;36:.mpc=00;36:.ogg=00;36:.ra=00;36:.wav=00;36:.axa=00;36:.oga=00;36:.spx=00;36:_.xspf=00;36:' REMOTE_HOST '' HTTP_ACCEPT_ENCODING
'gzip,deflate,sdch' PATH_INFO
u'/' Settings Using settings module pythonfiddle.settings Setting Value MONTH_DAY_FORMAT
'F j' USE_L10N
True USE_THOUSAND_SEPARATOR
False CSRF_COOKIE_SECURE
False LANGUAGE_CODE
'en-us' ROOT_URLCONF
'pythonfiddle.urls' MANAGERS
() TEMPLATE_LOADERS
('django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader') DEFAULT_CHARSET 'utf-8' STATIC_ROOT '/fiddlesalad/static' ORKUT_CONSUMERSECRET
u'**_' ALLOWED_HOSTS
[] MESSAGE_STORAGE 'django.contrib.messages.storage.fallback.FallbackStorage' EMAIL_SUBJECT_PREFIX
'[Django] ' SEND_BROKEN_LINK_EMAILS False STATICFILES_FINDERS ('django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder') SOCIAL_AUTH_CREATE_USERS
True SESSION_CACHE_ALIAS 'default' SESSION_COOKIE_DOMAIN
None SESSION_COOKIE_NAME 'sessionid' AWS_STORAGE_BUCKET_NAME 'bucket_name' ADMIN_FOR
() TIME_INPUTFORMATS
('%H:%M:%S', '%H:%M') DATABASES
{'default': {'ENGINE': 'django.db.backends.sqlite3', 'HOST': '', 'NAME': 'fiddle', 'OPTIONS': {}, 'PASSWORD': u'******_', 'PORT': '', 'TEST_CHARSET': None, 'TEST_COLLATION': None, 'TEST_MIRROR': None, 'TEST_NAME': None, 'TIME_ZONE': 'America/Chicago', 'USER': ''}} FILE_UPLOAD_PERMISSIONS None FILE_UPLOAD_HANDLERS
('django.core.files.uploadhandler.MemoryFileUploadHandler', 'django.core.files.uploadhandler.TemporaryFileUploadHandler') DEFAULT_CONTENT_TYPE
'text/html' APPEND_SLASH
True FIRST_DAY_OF_WEEK
0 DATABASE_ROUTERS
[] YEAR_MONTH_FORMAT
'F Y' STATICFILES_STORAGE 'django.contrib.staticfiles.storage.StaticFilesStorage' CACHES
{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache'}} SERVER_EMAIL
'root@localhost' SESSION_COOKIE_PATH '/' MIDDLEWARE_CLASSES
('django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.contrib.redirects.middleware.RedirectFallbackMiddleware', 'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware') USE_I18N
True THOUSAND_SEPARATOR
',' SECRETKEY
u'******_' LANGUAGE_COOKIE_NAME
'django_language' FILE_UPLOAD_TEMP_DIR
None TRANSACTIONS_MANAGED
False LOGGING_CONFIG
'django.utils.log.dictConfig' GOOGLE_OAUTH2_CLIENTSECRET u'******_' WSGI_APPLICATION
None ORKUT_CONSUMERKEY
u'******_' TEMPLATE_DEBUG
True X_FRAME_OPTIONS 'SAMEORIGIN' AUTHENTICATION_BACKENDS ('social_auth.backends.twitter.TwitterBackend', 'social_auth.backends.facebook.FacebookBackend', 'social_auth.backends.google.GoogleOAuthBackend', 'django.contrib.auth.backends.ModelBackend') FORCE_SCRIPT_NAME
None USE_X_FORWARDED_HOST
False SIGNING_BACKEND 'django.core.signing.TimestampSigner' SESSION_COOKIE_SECURE
False CSRF_COOKIE_DOMAIN
None FILE_CHARSET
'utf-8' DEBUG
True SESSION_FILE_PATH
None AWS_ACCESS_KEYID
u'******_' DEFAULT_FILE_STORAGE
'django.core.files.storage.FileSystemStorage' INSTALLED_APPS
('django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.admin', 'django.contrib.sites', 'django.contrib.sitemaps', 'django.contrib.flatpages', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.redirects', 'mediasync', 'taggit', 'social_auth', 'chunks', 'cloud_ide.fiddle') FILES
{'BOWSER': 'js/bowser.js', 'KNOCKOUT': 'js/knockout-latest.debug.js', 'KNOCKOUT_MAPPING': 'js/knockout.mapping.js', 'UNDERSCORE': 'js/underscore.js', 'VALIDATE': 'js/jquery.validate.js'} LANGUAGES
(('af', 'Afrikaans'), ('ar', 'Arabic'), ('az', 'Azerbaijani'), ('bg', 'Bulgarian'), ('be', 'Belarusian'), ('bn', 'Bengali'), ('br', 'Breton'), ('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'), ('es-ve', 'Venezuelan 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'), ('ia', 'Interlingua'), ('id', 'Indonesian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ka', 'Georgian'), ('kk', 'Kazakh'), ('km', 'Khmer'), ('kn', 'Kannada'), ('ko', 'Korean'), ('lb', 'Luxembourgish'), ('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'), ('udm', 'Udmurt'), ('uk', 'Ukrainian'), ('ur', 'Urdu'), ('vi', 'Vietnamese'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')) COMMENTS_ALLOW_PROFANITIES
False SOCIAL_AUTH_DEFAULT_USERNAME
'socialauth_user' STATICFILES_DIRS
() PREPEND_WWW False SECURE_PROXY_SSL_HEADER None SESSION_COOKIE_HTTPONLY True AWS_SECRET_ACCESSKEY
u'******_' FACEBOOK_APP_ID '244638052233650' DEBUG_PROPAGATE_EXCEPTIONS
False LINKEDIN_CONSUMERKEY
u'******_' SOCIAL_AUTH_FORCE_RANDOM_USERNAME
False LOGIN_URL
'/login/' SESSION_EXPIRE_AT_BROWSER_CLOSE False LINKEDIN_CONSUMERSECRET
u'******_' TIME_FORMAT 'P' AUTH_USER_MODEL 'auth.User' 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') LOGIN_ERROR_URL '/login/error/' CSRF_COOKIE_NAME
'csrftoken' EMAIL_HOSTPASSWORD u'******_' MEDIASYNC
{'AWS_BUCKET': 'bucket_name', 'AWSKEY': u'******_', 'AWSSECRET': u'******_', 'BACKEND': 'mediasync.backends.s3', 'JOINED': {'css/boilerplate.css': ['css/boilerplate.css'], 'css/login.css': ['css/login.css'], 'css/snippets.css': ['css/user.css'], 'css/styles.python.css': ['css/jquery-ui.cupertino.css', 'css/layout-default.css', 'css/boilerplate.css', 'css/codemirror.css', 'css/codemirror/util/dialog.css', 'css/show-hint.css', 'css/style.css', 'css/python.css', 'css/faq.css'], 'js/codemirror.python.js': ['js/codemirror.js', 'js/codemirror/show-hint.js', 'js/codemirror/python-hint.js', 'js/codemirror/mode/python/python.js', 'js/codemirror/match-highlighter.js', 'js/codemirror/dialog.js', 'js/codemirror/searchcursor.js', 'js/codemirror/search.js'], 'js/jquery-ui.python.js': ['js/build/lib/jquery-ui.python.min.js', 'js/build/lib/jquery.layout.min.js', 'js/layout.js'], 'js/knockout.js': ['js/jquery.validate.js', 'js/additional-methods.js', 'js/knockout-latest.debug.js', 'js/knockout-jquery-ui-widget.js', 'js/knockout.mapping.js', 'js/bindings.js'], 'js/navigation.js': ['js/navigation.js'], 'js/python.bootstrap.js': ['js/bowser.js', 'js/underscore.js', 'js/classy.js', 'js/json.js', 'js/store.js', 'js/base64.js', 'js/modules.js', 'js/helpers.js', 'js/trie.js', 'js/autocomplete.js', 'js/date.format.js', 'js/python-configuration.js', 'js/compiled-coffee/engine.require.js', 'js/compiled-coffee/python-engine.js'], 'js/python.editor.js': ['js/jquery.csrf.js', 'js/jquery.history.js', 'js/compiled-coffee/model.js'], 'js/python.init.js': ['js/fiddle.js', 'js/xd-yql.js', 'js/ZeroClipboard.js', 'js/setupClipboard.js', 'js/base64.js', 'js/examples.js', 'js/packages.python.js']}, 'SERVE_REMOTE': False} PASSWORD_RESET_TIMEOUTDAYS u'******_' TWITTER_CONSUMERKEY
u'******_' CACHE_MIDDLEWARE_ALIAS
'default' SESSION_SAVE_EVERY_REQUEST
False ADMIN_MEDIA_PREFIX
'/static/admin/' NUMBER_GROUPING 0 TWITTER_CONSUMERSECRET u'******_' SESSION_ENGINE
'django.contrib.sessions.backends.db' CSRF_FAILURE_VIEW
'django.views.csrf.csrf_failure' CSRF_COOKIE_PATH
'/' LOGIN_REDIRECT_URL
'/done/' DECIMAL_SEPARATOR
'.' IGNORABLE_404_URLS
() LOCALE_PATHS
() TEMPLATE_STRING_IF_INVALID
'' MEDIASYNC_JOINED
{'css/boilerplate.css': ['css/boilerplate.css'], 'css/login.css': ['css/login.css'], 'css/snippets.css': ['css/user.css'], 'css/styles.python.css': ['css/jquery-ui.cupertino.css', 'css/layout-default.css', 'css/boilerplate.css', 'css/codemirror.css', 'css/codemirror/util/dialog.css', 'css/show-hint.css', 'css/style.css', 'css/python.css', 'css/faq.css'], 'js/codemirror.python.js': ['js/codemirror.js', 'js/codemirror/show-hint.js', 'js/codemirror/python-hint.js', 'js/codemirror/mode/python/python.js', 'js/codemirror/match-highlighter.js', 'js/codemirror/dialog.js', 'js/codemirror/searchcursor.js', 'js/codemirror/search.js'], 'js/jquery-ui.python.js': ['js/build/lib/jquery-ui.python.min.js', 'js/build/lib/jquery.layout.min.js', 'js/layout.js'], 'js/knockout.js': ['js/jquery.validate.js', 'js/additional-methods.js', 'js/knockout-latest.debug.js', 'js/knockout-jquery-ui-widget.js', 'js/knockout.mapping.js', 'js/bindings.js'], 'js/navigation.js': ['js/navigation.js'], 'js/python.bootstrap.js': ['js/bowser.js', 'js/underscore.js', 'js/classy.js', 'js/json.js', 'js/store.js', 'js/base64.js', 'js/modules.js', 'js/helpers.js', 'js/trie.js', 'js/autocomplete.js', 'js/date.format.js', 'js/python-configuration.js', 'js/compiled-coffee/engine.require.js', 'js/compiled-coffee/python-engine.js'], 'js/python.editor.js': ['js/jquery.csrf.js', 'js/jquery.history.js', 'js/compiled-coffee/model.js'], 'js/python.init.js': ['js/fiddle.js', 'js/xd-yql.js', 'js/ZeroClipboard.js', 'js/setupClipboard.js', 'js/base64.js', 'js/examples.js', 'js/packages.python.js']} LOGOUT_URL
'/accounts/logout/' EMAIL_USE_TLS
False TEMPLATE_DIRS
('/home/kostyrka/d/fiddle/pythonfiddle/../templates', '/home/kostyrka/d/fiddle/pythonfiddle/../pythonfiddle/templates') FIXTURE_DIRS
() EMAIL_HOST
'localhost' DATE_FORMAT 'N j, Y' FACEBOOK_APISECRET u'******_' MEDIA_ROOT
'' DEFAULT_EXCEPTION_REPORTER_FILTER
'django.views.debug.SafeExceptionReporterFilter' ADMINS
() FORMAT_MODULE_PATH
None DEFAULT_FROM_EMAIL
'webmaster@localhost' SOCIAL_AUTH_ERRORKEY
u'******_' MEDIA_URL
'' DATETIME_FORMAT 'N j, Y, P' PYTHON_LIB_DIR
'/home/kostyrka/d/fiddle/pythonfiddle/../pythonfiddle/static\lib' SITE_ID 1 DISALLOWED_USER_AGENTS
() ALLOWED_INCLUDE_ROOTS
() LOGGING {'disable_existing_loggers': False, 'filters': {'require_debug_false': {'()': 'django.utils.log.RequireDebugFalse'}}, 'handlers': {'mail_admins': {'class': 'django.utils.log.AdminEmailHandler', 'filters': ['require_debug_false'], 'level': 'ERROR'}}, 'loggers': {'django.request': {'handlers': ['mail_admins'], 'level': 'ERROR', 'propagate': True}}, 'version': 1} PROJECT_DIR '/home/kostyrka/d/fiddle/pythonfiddle/../pythonfiddle' TEST_RUNNER 'django.test.simple.DjangoTestSuiteRunner' SHORT_DATE_FORMAT
'm/d/Y' CACHE_MIDDLEWARE_KEYPREFIX u'******_' TIME_ZONE
'America/Chicago' 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.contrib.messages.context_processors.messages', 'django.core.context_processors.request', 'cloud_ide.context_processors.debug', 'cloud_ide.context_processors.media', 'pythonfiddle.context_processors.site') SESSION_COOKIE_AGE
1209600 SETTINGS_MODULE 'pythonfiddle.settings' USE_ETAGS
False LANGUAGES_BIDI
('he', 'ar', 'fa') SOCIAL_AUTH_COMPLETE_URL_NAME
'socialauth_complete' DEFAULT_INDEX_TABLESPACE
'' INTERNAL_IPS
() STATIC_URL
'http://127.0.0.1:8000/static/' EMAIL_PORT
25 USE_TZ
False SHORT_DATETIME_FORMAT
'm/d/Y P' PASSWORDHASHERS
u'******_' ABSOLUTE_URL_OVERRIDES
{} GOOGLE_OAUTH2_CLIENTKEY
u'******_' CACHE_MIDDLEWARE_SECONDS
600 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') EMAIL_HOST_USER '' PROFANITIESLIST
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.