Advertisement
Guest User

Untitled

a guest
Jul 27th, 2017
473
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 3.54 KB | None | 0 0
  1. 2017-07-27 14:14:15,307 indico.requestHandler - ERROR decorators.py:121 -- Request finished: UndefinedError ('PaypalPaymentPlugin' is undefined)
  2. Traceback (most recent call last):
  3.   File "/opt/indico/.venv/lib/python2.7/site-packages/indico/legacy/webinterface/rh/base.py", line 493, in process
  4.     profile_name, res = self._do_process(profile)
  5.   File "/opt/indico/.venv/lib/python2.7/site-packages/indico/legacy/webinterface/rh/base.py", line 464, in _do_process
  6.     res = self._process()
  7.   File "/opt/indico/.venv/lib/python2.7/site-packages/indico/modules/events/payment/controllers.py", line 169, in _process
  8.     html = self.plugin.render_payment_form(self.registration)
  9.   File "/opt/indico/.venv/lib/python2.7/site-packages/indico/modules/events/payment/plugins.py", line 142, in render_payment_form
  10.     return render_plugin_template('event_payment_form.html', **data)
  11.   File "/opt/indico/.venv/lib/python2.7/site-packages/flask_pluginengine/plugin.py", line 77, in render_plugin_template
  12.     return render_template(template_name_or_list, **context)
  13.   File "/opt/indico/.venv/lib/python2.7/site-packages/flask/templating.py", line 134, in render_template
  14.     context, ctx.app)
  15.   File "/opt/indico/.venv/lib/python2.7/site-packages/flask/templating.py", line 116, in _render
  16.     rv = template.render(context)
  17.   File "/opt/indico/.venv/lib/python2.7/site-packages/jinja2/environment.py", line 1008, in render
  18.     return self.environment.handle_exception(exc_info, True)
  19.   File "/opt/indico/.venv/lib/python2.7/site-packages/jinja2/environment.py", line 780, in handle_exception
  20.     reraise(exc_type, exc_value, tb)
  21.   File "/opt/indico/indico-plugins/payment_stripe/indico_payment_stripe/templates/event_payment_form.html", line 12, in top-level template code
  22.     <form action="{{ PaypalPaymentPlugin.charge }}" method="POST">
  23.   File "/opt/indico/.venv/lib/python2.7/site-packages/jinja2/environment.py", line 430, in getattr
  24.     return getattr(obj, attribute)
  25. UndefinedError: 'PaypalPaymentPlugin' is undefined
  26.  
  27.  
  28. Request data:
  29.  
  30. {u'data': {u'get': {'_': u'1501157582667', 'method': u'stripe'},
  31.            u'headers': {'Accept': u'application/json, text/javascript, */*; q=0.01',
  32.                         'Accept-Encoding': u'gzip, deflate, br',
  33.                         'Accept-Language': u'en-GB,en-US;q=0.8,en;q=0.6',
  34.                         'Connection': u'keep-alive',
  35.                         'Cookie': u'indico_session=c6bd2df4-6da4-47a2-b2fe-da079068a3e3',
  36.                         'Host': u'events.eitep.de',
  37.                         'Referer': u'https://events.eitep.de/event/3/registrations/2/checkout/',
  38.                         'User-Agent': u'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/59.0.3071.109 Chrome/59.0.3071.109 Safari/537.36',
  39.                         'X-Csrf-Token': u'68517d49-3fda-4ce9-bd64-7df1e670772a',
  40.                         'X-Requested-With': u'XMLHttpRequest'},
  41.            u'json': None,
  42.            u'post': {},
  43.            u'url': {'confId': u'3', 'reg_form_id': 2}},
  44.  u'endpoint': u'payment.event_payment_form',
  45.  u'id': 'b18bb211eca74ac1',
  46.  u'ip': '117.196.39.62',
  47.  u'method': 'GET',
  48.  u'referrer': 'https://events.eitep.de/event/3/registrations/2/checkout/',
  49.  u'rh': 'RHPaymentForm',
  50.  u'url': u'https://events.eitep.de/event/3/registrations/2/checkout/form?method=stripe&_=1501157582667',
  51.  
  52.  
  53.  u'user': '<User(8, tejast@uomc.de): "Tejas T.">',
  54.  u'user_agent': u'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/59.0.3071.109 Chrome/59.0.3071.109 Safari/537.36'}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement