無法執行 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.

相關內容