ManoSeimas / manoseimas.lt

ManoSeimas.lt website source code.
http://manoseimas.lt/
GNU Affero General Public License v3.0
4 stars 3 forks source link

/votings widget fails to work (a 2nd AJAX request also returns 500) #78

Closed mgedmin closed 9 years ago

mgedmin commented 9 years ago

This is not a duplicate of #77.

The error is

Internal Server Error: /0002zq.json
Traceback (most recent call last):
  File "/vagrant/eggs/Django-1.8.3-py2.7.egg/django/core/handlers/base.py", line 132, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/vagrant/parts/django-sboard/sboard/views.py", line 70, in node_view
    return view.validate() or view.render()
  File "/vagrant/parts/django-sboard/sboard/nodes.py", line 567, in render
    return json_response(self.node._doc)
  File "/vagrant/parts/django-sboard/sboard/json.py", line 7, in json_response
    content = json.dumps(data)
AttributeError: 'module' object has no attribute 'dumps'

Filed upstream as https://bitbucket.org/sirex/django-sboard/issues/1/attributeerror-module-object-has-no

mgedmin commented 9 years ago

Uh, actually... don't we use a fork of django-sboard on GitHub? Because https://github.com/ManoSeimas/manoseimas.lt/blob/31b6fbb48564e04662c4ac740741ea3f16e89584/config/base.cfg#L12

frgtn commented 9 years ago

Yes, it was moved to github under manoseimas org because I needed to fix something and was too lazy to hg.

mgedmin commented 9 years ago

(Thank you for doing that.)