New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Isso does not work with misaka 2.0.0 #208

noqqe opened this Issue Oct 25, 2015 · 5 comments


None yet
5 participants
Copy link

noqqe commented Oct 25, 2015


I upgraded isso and my OpenBSD recently.

sudo pip2.7 install --upgrade isso
Collecting misaka (from isso)                                                                                                                                 [6396/6806]
  Downloading misaka-2.0.0.tar.gz (121kB)
    100% |████████████████████████████████| 122kB 295kB/s
Installing collected packages: pycparser, cffi, misaka, isso, six
  Found existing installation: misaka 1.0.2
    Uninstalling misaka-1.0.2:
      Successfully uninstalled misaka-1.0.2
  Running install for misaka

This was resulting in a new version of misaka. Lib was upgraded from 1.0.2 to 2.0.0.

But when your try access comments, this error appears in the logs:

2015-10-25 12:55:06,021 ERROR: GET /
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/site-packages/isso/", line 136, in dispatch
    response = handler(request.environ, request, **values)
  File "/usr/local/lib/python2.7/site-packages/isso/views/", line 45, in dec
    return func(cls, env, req, *args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/isso/views/", line 421, in fetch
    'replies'        : self._process_fetched_list(root_list, plain)
  File "/usr/local/lib/python2.7/site-packages/isso/views/", line 464, in _process_fetched_list
    item['text'] = self.isso.render(item['text'])
  File "/usr/local/lib/python2.7/site-packages/isso/", line 114, in render
    return self.markup.render(text)
  File "/usr/local/lib/python2.7/site-packages/isso/utils/", line 102, in render
    return self._render(text)
  File "/usr/local/lib/python2.7/site-packages/isso/utils/", line 99, in <lambda>
    self._render = lambda text: sanitize(sanitizer, parser(text))
  File "/usr/local/lib/python2.7/site-packages/isso/utils/", line 69, in inner
    rv = md.render(text).rstrip("\n")
AttributeError: 'Markdown' object has no attribute 'render'

I fixed this by downgrading misaka to 1.0.2 again.

pip2.7 install misaka==1.0.2
You are using pip version 7.1.0, however version 7.1.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Collecting misaka==1.0.2
  Downloading misaka-1.0.2.tar.gz (78kB)
    100% |████████████████████████████████| 81kB 175kB/s
Installing collected packages: misaka
  Found existing installation: misaka 2.0.0
    Uninstalling misaka-2.0.0:
      Successfully uninstalled misaka-2.0.0
  Running install for misaka
Successfully installed misaka-1.0.2

The misaka version should probably be clearly referenced in


This comment has been minimized.

Copy link

jilljenn commented Oct 26, 2015

Thank you! I got the same exact problem. Indeed, Misaka 2.0.0 was released quite recently (2015-10-22).

I'm going to try to fix the misaka.Markdown calls to use a version which works with Python 3.4 and Misaka 2.0.0.

sprin added a commit to sprin/isso that referenced this issue Oct 29, 2015

sprin added a commit to sprin/isso that referenced this issue Nov 2, 2015

Pin misaka to 1.x
With the release of misaka 2.0, new users experienced breakage when
2.0 was installed (posativ#208).

2.0 has a slightly different API, and Python 2.6 support in 2.0 is not
yet released. posativ#212 contains the update to 2.0, so this change should
only be a stopgap until the next misaka release with Py2.6 support.

@sprin sprin referenced this issue Nov 2, 2015


Pin misaka to 1.x #214


This comment has been minimized.

Copy link

ghost commented Dec 23, 2015

I had the same error.
Downgrading with "pip install misaka==1.0.2" worked.


This comment has been minimized.

Copy link

marqpdx commented Dec 28, 2015

I can affirm that teamdoom's note is correct:
Downgrading with "pip install misaka==1.0.2" worked.


This comment has been minimized.

Copy link

elrac commented Jan 15, 2016

I had the same issue, and pip install misaka==1.0.2 fixed it.


This comment has been minimized.

Copy link

posativ commented Feb 6, 2016

This has been fixed in 0.10 and is already available on PyPi!

@posativ posativ closed this Feb 6, 2016

blatinier added a commit that referenced this issue Apr 25, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment