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

Remarkable fail to launch on manjaro #382

Open
itsDARKSAMA opened this issue Jun 7, 2021 · 5 comments
Open

Remarkable fail to launch on manjaro #382

itsDARKSAMA opened this issue Jun 7, 2021 · 5 comments

Comments

@itsDARKSAMA
Copy link

remarkable

Traceback (most recent call last):
File "/usr/bin/remarkable", line 66, in
remarkable.main()
AttributeError: module 'remarkable' has no attribute 'main'

@NA0341
Copy link

NA0341 commented Jul 12, 2021

same (or similar) issue here:

Installed remarkable 1.87-6 using Pandoc
-» first output:

remarkable 
/usr/lib/python3.9/site-packages/pdfkit/source.py:11: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if self.type is 'file':
*Spellchecking not enabled.
*To enable spellchecking install python-gtkspellcheck.
pacman -S --asdeps python-gtkspellcheck
Traceback (most recent call last):
  File "/usr/bin/remarkable", line 66, in <module>
    remarkable.main()
  File "/usr/lib/python3.9/site-packages/remarkable/__init__.py", line 49, in main
    window = RemarkableWindow.RemarkableWindow()
  File "/usr/lib/python3.9/site-packages/remarkable_lib/Window.py", line 52, in __new__
    builder = get_builder('RemarkableWindow')
  File "/usr/lib/python3.9/site-packages/remarkable_lib/helpers.py", line 48, in get_builder
    builder.add_from_file(ui_filename)
  File "/usr/lib/python3.9/site-packages/remarkable_lib/Builder.py", line 92, in add_from_file
    ele_widgets = tree.getiterator("object")
AttributeError: 'ElementTree' object has no attribute 'getiterator'

Installed python-gtkspellcheck
-» second output:

remarkable
/usr/lib/python3.9/site-packages/pdfkit/source.py:11: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if self.type is 'file':

** (remarkable:22626): WARNING **: 16:15:50.499: Error loading plugin: libvoikko.so.1: cannot open shared object file: No such file or directory


** (remarkable:22626): WARNING **: 16:15:50.499: Error loading plugin: libhspell.so.0: cannot open shared object file: No such file or directory


** (remarkable:22626): WARNING **: 16:15:50.500: Error loading plugin: libnuspell.so.4: cannot open shared object file: No such file or directory


** (remarkable:22626): WARNING **: 16:15:50.500: Error loading plugin: libaspell.so.15: cannot open shared object file: No such file or directory

Traceback (most recent call last):
  File "/usr/bin/remarkable", line 66, in <module>
    remarkable.main()
  File "/usr/lib/python3.9/site-packages/remarkable/__init__.py", line 49, in main
    window = RemarkableWindow.RemarkableWindow()
  File "/usr/lib/python3.9/site-packages/remarkable_lib/Window.py", line 52, in __new__
    builder = get_builder('RemarkableWindow')
  File "/usr/lib/python3.9/site-packages/remarkable_lib/helpers.py", line 48, in get_builder
    builder.add_from_file(ui_filename)
  File "/usr/lib/python3.9/site-packages/remarkable_lib/Builder.py", line 92, in add_from_file
    ele_widgets = tree.getiterator("object")
AttributeError: 'ElementTree' object has no attribute 'getiterator'

@raffraffraff
Copy link

raffraffraff commented Aug 4, 2021

I'm posting this workaround in any of the issues related to installing Remarkable. It's hacky but it works.

@ruchg
Copy link

ruchg commented Aug 11, 2021

I have the same issue as the original poster.

Running Cinnamon on Fedora 34

[ruchg@localhost ~]$ remarkable Traceback (most recent call last): File "/usr/bin/remarkable", line 66, in <module> remarkable.main() AttributeError: module remarkable has no attribute main [ruchg@localhost ~]$

Regards.

@neteler
Copy link
Contributor

neteler commented Dec 1, 2021

Dirty hack:

diff -ru /usr/lib/python3.9/site-packages/remarkable_lib/Builder.py.orig /usr/lib/python3.9/site-packages/remarkable_lib/Builder.py
--- /usr/lib/python3.9/site-packages/remarkable_lib/Builder.py.orig	2021-12-01 23:30:33.036956591 +0100
+++ /usr/lib/python3.9/site-packages/remarkable_lib/Builder.py	2021-12-01 23:30:55.301889319 +0100
@@ -89,7 +89,7 @@
         tree = ElementTree()
         tree.parse(filename)
 
-        ele_widgets = tree.getiterator("object")
+        ele_widgets = tree.iter("object")
         for ele_widget in ele_widgets:
             name = ele_widget.attrib['id']
             widget = self.get_object(name)
@@ -111,7 +111,7 @@
             if connections:
                 self.connections.extend(connections)
 
-        ele_signals = tree.getiterator("signal")
+        ele_signals = tree.iter("signal")
         for ele_signal in ele_signals:
             self.glade_handler_dict.update(
             {ele_signal.attrib["handler"]: None})

See also dupe in #375

@gitressa
Copy link

gitressa commented Apr 13, 2024

What's a good alternative to Remarkable?
EDIT: https://github.com/KDE/ghostwriter looks nice.

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

No branches or pull requests

6 participants