Advertisement
dziban303

wxbot 'elevation is not defined'

Jun 26th, 2019
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.96 KB | None | 0 0
  1. 2019-06-26 06:30:35,974 INFO got command locate {'ident': ':dziban303!dziban303', 'command': 'locate', 'sender': 'dziban303', 'msg': 'locate paris', 'chan': '#dzibania', 'args': 'paris', 'mask': 'user/dziban303', 'bot': <pythabot.Pythabot instance at 0x7f6ced2fbef0>}
  2. 2019-06-26 06:30:36,321 ERROR 'elevation' is undefined
  3. Traceback (most recent call last):
  4.   File "/root/virtualenvironment/dziwx/pywx/modules/base.py", line 89, in run
  5.     reply = template.render(context)
  6.   File "/usr/local/lib/python2.7/dist-packages/jinja2/environment.py", line 1008, in render
  7.     return self.environment.handle_exception(exc_info, True)
  8.   File "/usr/local/lib/python2.7/dist-packages/jinja2/environment.py", line 780, in handle_exception
  9.     reraise(exc_type, exc_value, tb)
  10.   File "<template>", line 1, in top-level template code
  11.   File "/usr/local/lib/python2.7/dist-packages/jinja2/filters.py", line 653, in do_int
  12.     return int(value)
  13. UndefinedError: 'elevation' is undefined
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement