无法执行 Remarkable Markdown 编辑器

无法执行 Remarkable Markdown 编辑器

我使用的是 Ubuntu 15.10 gnome。我尝试使用 .deb 下载并安装 Remarkable,网址为他们的网站通过软件中心。每次我尝试执行它时它都会崩溃。这是终端的结果:

$ remarkable
/usr/lib/python3/dist-packages/remarkable/__init__.py:27: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gtk # pylint: disable=E0611
/usr/lib/python3/dist-packages/remarkable/RemarkableWindow.py:28: PyGIWarning: WebKit was imported without specifying a version first. Use gi.require_version('WebKit', '3.0') before import to ensure that the right version gets loaded.
  from gi.repository import WebKit
*Spellchecking not enabled.
*To enable spellchecking install pygtkspellcheck
*https://pypi.python.org/pypi/pygtkspellcheck/
Traceback (most recent call last):
  File "/usr/bin/remarkable", line 66, in <module>
    remarkable.main()
  File "/usr/lib/python3/dist-packages/remarkable/__init__.py", line 48, in main
    window = RemarkableWindow.RemarkableWindow()
  File "/usr/lib/python3/dist-packages/remarkable_lib/Window.py", line 52, in __new__
    builder = get_builder('RemarkableWindow')
  File "/usr/lib/python3/dist-packages/remarkable_lib/helpers.py", line 48, in get_builder
    builder.add_from_file(ui_filename)
  File "/usr/lib/python3/dist-packages/remarkable_lib/Builder.py", line 86, in add_from_file
    Gtk.Builder.add_from_file(self, filename)
GLib.Error: gtk-builder-error-quark: /usr/share/remarkable/ui/RemarkableWindow.ui:835:58 Object with ID  not found (13)

谢谢您的帮助!

答案1

sitzmoebelchronograph 评论了一种解决方法针对 Remarkable Github 项目问题 #14 中的崩溃。

我可以确认这个问题。

在我的 Debian 版本中,我通过编辑 /usr/share/remarkable/ui/RemarkableWindow.ui 解决了这个问题,我禁用了从第 834 行到第 842 行的所有内容,如下所示:

           <!--
                <child>
                  <object class="GtkMenuItem" id="mnu_about">
                    <property name="related_action"/>
                    <property name="visible">True</property>
                    <property name="can_focus">False</property>
                    <property name="label" translatable="yes">About</property>
                    <property name="use_underline">True</property>
                  </object>
                </child>
               -->

这将禁用“帮助”菜单中的“关于”菜单项。这将解决我的启动问题。希望这也能帮助你们解决问题

答案2

我记得 Remarkable 有很多问题。

我建议您改用 retext。只需输入sudo apt install retext

相关内容