Untitled

From Wet Agouti, 2 Years ago, written in Plain Text, viewed 2 times. This paste will self destruct in 1 Second.
URL https://paste.paivola.fi/view/206153c4 Embed
Download Paste or View Raw
  1. [2019-10-05 15:11:57,822] ERROR in app: Exception on /api/admin/users/add [POST]
  2. Traceback (most recent call last):
  3.   File "/usr/local/lib/python3.5/site-packages/flask/app.py", line 2311, in wsgi_app
  4.     response = self.full_dispatch_request()
  5.   File "/usr/local/lib/python3.5/site-packages/flask/app.py", line 1834, in full_dispatch_request
  6.     rv = self.handle_user_exception(e)
  7.   File "/usr/local/lib/python3.5/site-packages/flask/app.py", line 1737, in handle_user_exception
  8.     reraise(exc_type, exc_value, tb)
  9.   File "/usr/local/lib/python3.5/site-packages/flask/_compat.py", line 36, in reraise
  10.     raise value
  11.   File "/usr/local/lib/python3.5/site-packages/flask/app.py", line 1832, in full_dispatch_request
  12.     rv = self.dispatch_request()
  13.   File "/usr/local/lib/python3.5/site-packages/flask/app.py", line 1818, in dispatch_request
  14.     return self.view_functions[rule.endpoint](**req.view_args)
  15.   File "./ranssi/handlers/admin.py", line 154, in addUsers
  16.     user.insert()
  17.   File "./ranssi/types/user.py", line 117, in insert
  18.     self.firstName, self.lastName, self.birthName))
  19.   File "./ranssi/types/robject.py", line 167, in executeAndCommit
  20.     cur.execute(command, args)
  21.   File "/usr/local/lib/python3.5/site-packages/pymysql/cursors.py", line 168, in execute
  22.     query = self.mogrify(query, args)
  23.   File "/usr/local/lib/python3.5/site-packages/pymysql/cursors.py", line 147, in mogrify
  24.     query = query % self._escape_args(args, conn)
  25. TypeError: not all arguments converted during string formatting

Reply to "Untitled"

Here you can reply to the paste above