Skip to content

Instantly share code, notes, and snippets.

@7coil
Created April 9, 2017 21:14
Show Gist options
  • Save 7coil/34464ddd5af148733c170d8dda70290c to your computer and use it in GitHub Desktop.
Save 7coil/34464ddd5af148733c170d8dda70290c to your computer and use it in GitHub Desktop.
Warning: g.media_domain == g.domain. This may give untrusted content access to user cookies
Warning: g.oauth_domain == g.domain. CORS requests to g.domain will be allowed
Traceback (most recent call last):
File "/usr/local/bin/paster", line 9, in <module>
load_entry_point('PasteScript==1.7.5', 'console_scripts', 'paster')()
File "/usr/lib/python2.7/dist-packages/paste/script/command.py", line 104, in run
invoke(command, command_name, options, args[1:])
File "/usr/lib/python2.7/dist-packages/paste/script/command.py", line 143, in invoke
exit_code = runner.run(args)
File "/usr/lib/python2.7/dist-packages/paste/script/command.py", line 238, in run
result = self.command()
File "/usr/lib/python2.7/dist-packages/pylons/commands.py", line 494, in command
wsgiapp = loadapp(config_name, relative_to=here_dir)
File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 247, in loadapp
return loadobj(APP, uri, name=name, **kw)
File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 272, in loadobj
return context.create()
File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 710, in create
return self.object_type.invoke(self)
File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 146, in invoke
return fix_call(context.object, context.global_conf, **context.local_conf)
File "/usr/lib/python2.7/dist-packages/paste/deploy/util.py", line 55, in fix_call
val = callable(*args, **kw)
File "/home/mss/src/reddit/r2/r2/__init__.py", line 41, in make_app
return real_make_app(*args, **kwargs)
File "/home/mss/src/reddit/r2/r2/config/middleware.py", line 506, in make_app
config = load_environment(global_conf, app_conf)
File "/home/mss/src/reddit/r2/r2/config/environment.py", line 78, in load_environment
g.plugins.load_plugins(config)
File "/home/mss/src/reddit/r2/r2/lib/plugin.py", line 149, in load_plugins
plugin.on_load(g)
File "/home/mss/src/thebutton/reddit_thebutton/__init__.py", line 41, in on_load
g.thebutton_caches,
File "/home/mss/src/reddit/r2/r2/lib/app_globals.py", line 513, in __getattr__
raise AttributeError("g has no attr %r" % name)
A
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment