You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ubuntu 20.04. I tried on a fresh virtualbox install to avoid messing with qt libraries installed in the main system.
Followed the instructions in readme:
don't have brew in ubuntu, but I've ran apt install cmake libpoppler-qt5-1, and also apt build-dep cmake libpoppler-qt5-1 -- just in case some build dependencies are also necessary
successfully ran both pip commands
when trying to open a PDF in the app, I get
Traceback (most recent call last):
File "/shared/remy/remy/gui/filebrowser.py", line 442, in openEntry
self.viewers[uid] = NotebookViewer(index.get(uid))
File "/shared/remy/remy/gui/notebookview.py", line 99, in __init__
self._maxPage = document.baseDocument().numPages() - 1
File "/shared/remy/remy/remarkable/metadata.py", line 256, in baseDocument
from popplerqt5 import Poppler
ImportError: /home/dev/.local/lib/python3.8/site-packages/PyQt5/QtXml.abi3.so: undefined symbol: _ZN12QDomDocument10setContentEP16QXmlStreamReaderbP7QStringPiS4_, version Qt_5
Seems like a mismatch between python API and the installed library.
I also tried installing via brew, but even though it installed successfully, it still couldn't find the poppler library, unless I installed it via apt.
And the final option I tried -- running pip3 uninstall pyqt5 pyqt5-sip python-poppler-qt5 and then installing them via the package manager (generally this would mean more consistent versions): apt install python3-poppler-qt5 python3-pyq. Then when opening a pdf I'm getting
Traceback (most recent call last):
File "/shared/remy/remy/gui/filebrowser.py", line 442, in openEntry
self.viewers[uid] = NotebookViewer(index.get(uid))
File "/shared/remy/remy/gui/notebookview.py", line 99, in __init__
self._maxPage = document.baseDocument().numPages() - 1
File "/shared/remy/remy/remarkable/metadata.py", line 262, in baseDocument
self._pdf.setRenderHint(Poppler.Document.HideAnnotations)
AttributeError: type object 'Document' has no attribute 'HideAnnotations
not sure if it's much better though, presumably this method was added in a more recent poppler version, and that's why you were suggesting to install from github in the first place?
The text was updated successfully, but these errors were encountered:
Any luck? I don't have a Linux machine at hand to try...python-poppler-qt5 is both very convenient to use and super annoying to install...I wish there was a good alternative...
The new version on the devel branch can replace python-poppler-qt5 with the much easier to install PyMuPDF.
You can try and see if that makes it work for you.
Ubuntu 20.04. I tried on a fresh virtualbox install to avoid messing with qt libraries installed in the main system.
Followed the instructions in readme:
apt install cmake libpoppler-qt5-1
, and alsoapt build-dep cmake libpoppler-qt5-1
-- just in case some build dependencies are also necessarySeems like a mismatch between python API and the installed library.
I also tried installing via
brew
, but even though it installed successfully, it still couldn't find the poppler library, unless I installed it via apt.And the final option I tried -- running
pip3 uninstall pyqt5 pyqt5-sip python-poppler-qt5
and then installing them via the package manager (generally this would mean more consistent versions):apt install python3-poppler-qt5 python3-pyq
. Then when opening a pdf I'm gettingnot sure if it's much better though, presumably this method was added in a more recent poppler version, and that's why you were suggesting to install from github in the first place?
The text was updated successfully, but these errors were encountered: