Skip to content
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

Latest Markdown release causes issues #159

Open
viksuper555 opened this issue Jul 21, 2022 · 0 comments · May be fixed by #160
Open

Latest Markdown release causes issues #159

viksuper555 opened this issue Jul 21, 2022 · 0 comments · May be fixed by #160

Comments

@viksuper555
Copy link

viksuper555 commented Jul 21, 2022

Versions of the dependency Markdown 3.4 and later cause exceptions in this package.
Check Release history

Stack trace:

TypeError: extendMarkdown() missing 1 required positional argument: 'md_globals'
non-HTTP exception: extendMarkdown() missing 1 required positional argument: 'md_globals'
Traceback (most recent call last):
File "/tmp/8da6a7b605213c4/antenv/lib/python3.8/site-packages/flask/app.py", line 1950, in full_dispatch_request
rv = self.dispatch_request()
File "/tmp/8da6a7b605213c4/antenv/lib/python3.8/site-packages/flask/app.py", line 1936, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/tmp/8da6a7b605213c4/antenv/lib/python3.8/site-packages/flask_caching/__init__.py", line 860, in decorated_function
return f(*args, **kwargs)
File "/tmp/8da6a7b605213c4/antenv/lib/python3.8/site-packages/flask_blogging/views.py", line 129, in index
blogging_engine.process_post(post, render=render)
File "/tmp/8da6a7b605213c4/antenv/lib/python3.8/site-packages/flask_blogging/engine.py", line 154, in process_post
post_processor.process(post, render)
File "/tmp/8da6a7b605213c4/antenv/lib/python3.8/site-packages/flask_blogging/processor.py", line 79, in process
cls.render_text(post)
File "/tmp/8da6a7b605213c4/antenv/lib/python3.8/site-packages/flask_blogging/processor.py", line 58, in render_text
md = markdown.Markdown(extensions=cls.all_extensions())
File "/tmp/8da6a7b605213c4/antenv/lib/python3.8/site-packages/markdown/core.py", line 96, in __init__
self.registerExtensions(extensions=kwargs.get('extensions', []),
File "/tmp/8da6a7b605213c4/antenv/lib/python3.8/site-packages/markdown/core.py", line 125, in registerExtensions
ext.extendMarkdown(self)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant