Advertisement
amit_saxena

ERP Error

Jun 2nd, 2015
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 2.63 KB | None | 0 0
  1. Traceback (innermost last):
  2.   File "/home/erpnext/frappe-bench/apps/frappe/frappe/app.py", line 48, in application
  3.     frappe.local.http_request = frappe.auth.HTTPRequest()
  4.   File "/home/erpnext/frappe-bench/apps/frappe/frappe/auth.py", line 49, in __init__
  5.     frappe.local.login_manager = LoginManager()
  6.   File "/home/erpnext/frappe-bench/apps/frappe/frappe/auth.py", line 93, in __init__
  7.     self.make_session(resume=True)
  8.   File "/home/erpnext/frappe-bench/apps/frappe/frappe/auth.py", line 132, in make_session
  9.     full_name=self.full_name, user_type=self.user_type)
  10.   File "/home/erpnext/frappe-bench/apps/frappe/frappe/sessions.py", line 144, in __init__
  11.     else:
  12.   File "/home/erpnext/frappe-bench/apps/frappe/frappe/sessions.py", line 192, in resume
  13.     if data:
  14.   File "/home/erpnext/frappe-bench/apps/frappe/frappe/sessions.py", line 205, in get_session_record
  15.     if not r:
  16.   File "/home/erpnext/frappe-bench/apps/frappe/frappe/sessions.py", line 218, in get_session_data
  17.     if not data:
  18.   File "/home/erpnext/frappe-bench/apps/frappe/frappe/sessions.py", line 231, in get_session_data_from_cache
  19.     expiry = self.get_expiry_in_seconds(session_data.get("session_expiry"))
  20.   File "/home/erpnext/frappe-bench/apps/frappe/frappe/utils/data.py", line 146, in now
  21.     """return current time in hh:mm"""
  22.   File "/home/erpnext/frappe-bench/apps/frappe/frappe/utils/data.py", line 108, in now_datetime
  23.     return convert_utc_to_user_timezone(datetime.datetime.utcnow())
  24.   File "/home/erpnext/frappe-bench/apps/frappe/frappe/utils/data.py", line 136, in convert_utc_to_user_timezone
  25.     return now_datetime().strftime(DATETIME_FORMAT)
  26.   File "/home/erpnext/frappe-bench/apps/frappe/frappe/utils/data.py", line 130, in get_user_time_zone
  27.     def now():
  28.   File "/home/erpnext/frappe-bench/apps/frappe/frappe/utils/redis_wrapper.py", line 115, in hget
  29.     value = super(redis.Redis, self).hget(self.make_key(name), key)
  30.   File "/home/erpnext/frappe-bench/env/local/lib/python2.7/site-packages/redis/client.py", line 1768, in hget
  31.     return self.execute_command('HGET', name, key)
  32.   File "/home/erpnext/frappe-bench/env/local/lib/python2.7/site-packages/redis/client.py", line 529, in execute_command
  33.     return self.parse_response(connection, command_name, **options)
  34.   File "/home/erpnext/frappe-bench/env/local/lib/python2.7/site-packages/redis/client.py", line 541, in parse_response
  35.     response = connection.read_response()
  36.   File "/home/erpnext/frappe-bench/env/local/lib/python2.7/site-packages/redis/connection.py", line 550, in read_response
  37.     raise response
  38.  ResponseError: WRONGTYPE Operation against a key holding the wrong kind of value
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement