First time here? Check out the FAQ!

Revision history  [back]

What causes the error with the users page?

Clicking the last page of the Users page leads to:

TypeError at /users/
__init__() got an unexpected keyword argument 'iterable_as_array'


Request Method:
GET 

Request URL:
http://xxx/users/?sort=reputation&page=8 

Django Version:

1.8.18 

Exception Type:
TypeError 

Exception Value:
__init__() got an unexpected keyword argument 'iterable_as_array'


Exception Location:
/usr/local/lib/python2.7/dist-packages/simplejson/__init__.py in dumps, line 397 

Python Executable:
/usr/bin/python 

Python Version:
2.7.12 

Python Path:
['/usr/lib/python2.7',
 '/usr/lib/python2.7/plat-x86_64-linux-gnu',
 '/usr/lib/python2.7/lib-tk',
 '/usr/lib/python2.7/lib-old',
 '/usr/lib/python2.7/lib-dynload',
 '/usr/local/lib/python2.7/dist-packages',
 '/usr/lib/python2.7/dist-packages',
 '/opt',
 '/opt/SHAZAM',
 '/usr/local/lib/python2.7/dist-packages/askbot/deps']


Server time:
Sun, 4 Feb 2018 07:02:05 +0000

What is the cause of this?

This is with the master branch of Askbot.

What causes the error with the users page?

Clicking the last page of the Users page leads to:

TypeError at /users/
__init__() got an unexpected keyword argument 'iterable_as_array'


Request Method:
GET 

Request URL:
http://xxx/users/?sort=reputation&page=8 http://ask.econometrics.com/users/?sort=reputation&page=8 

Django Version:

1.8.18 

Exception Type:
TypeError 

Exception Value:
__init__() got an unexpected keyword argument 'iterable_as_array'


Exception Location:
/usr/local/lib/python2.7/dist-packages/simplejson/__init__.py in dumps, line 397 

Python Executable:
/usr/bin/python 

Python Version:
2.7.12 

Python Path:
['/usr/lib/python2.7',
 '/usr/lib/python2.7/plat-x86_64-linux-gnu',
 '/usr/lib/python2.7/lib-tk',
 '/usr/lib/python2.7/lib-old',
 '/usr/lib/python2.7/lib-dynload',
 '/usr/local/lib/python2.7/dist-packages',
 '/usr/lib/python2.7/dist-packages',
 '/opt',
 '/opt/SHAZAM',
 '/usr/local/lib/python2.7/dist-packages/askbot/deps']


Server time:
Sun, 4 Feb 2018 07:02:05 +0000

What is the cause of this?

This is with the master branch of Askbot.