jamiemcg / Remarkable

Remarkable - The Markdown Editor for Linux http://remarkableapp.github.io
MIT License
1.97k stars 228 forks source link

Remarkable aborts with AttributeError exception at launch #389

Closed polemon closed 1 month ago

polemon commented 2 years ago

After checking out the Git, I tried running the run.sh inside the directory:

 %> ./run.sh 
*Spellchecking not enabled.
*To enable spellchecking install pygtkspellcheck
*https://pypi.python.org/pypi/pygtkspellcheck/
Traceback (most recent call last):
  File "/home/bereziak/make/Remarkable/remarkable/RemarkableWindow.py", line 1633, in update_live_preview
    html_middle = markdown.markdown(text, self.default_extensions)
AttributeError: module 'markdown' has no attribute 'markdown'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/bereziak/make/Remarkable/remarkable/RemarkableWindow.py", line 1636, in update_live_preview
    html_middle = markdown.markdown(text, extensions =self.safe_extensions)
AttributeError: module 'markdown' has no attribute 'markdown'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/bereziak/make/Remarkable/bin/remarkable", line 66, in <module>
    remarkable.main()
  File "/home/bereziak/make/Remarkable/remarkable/__init__.py", line 49, in main
    window = RemarkableWindow.RemarkableWindow()
  File "/home/bereziak/make/Remarkable/remarkable_lib/Window.py", line 54, in __new__
    new_object.finish_initializing(builder)
  File "/home/bereziak/make/Remarkable/remarkable/RemarkableWindow.py", line 139, in finish_initializing
    self.update_live_preview(self)
  File "/home/bereziak/make/Remarkable/remarkable/RemarkableWindow.py", line 1638, in update_live_preview
    html_middle = markdown.markdown(text)
AttributeError: module 'markdown' has no attribute 'markdown'