BasioMeusPuga / Lector

Qt based ebook reader
GNU General Public License v3.0
1.51k stars 207 forks source link

poppler-qt5 again #21

Closed ghost closed 6 years ago

ghost commented 6 years ago

Hi, I tried a lot, but pdf-support doesn't work. All requirements are installed, I think... bildschirmfoto_2018-03-18_19-24-03 Any hints for me? Thank you!

BasioMeusPuga commented 6 years ago

Do you also have poppler-qt5 installed (at about the version specified in the README)?

Edit: And if that is indeed the case, could you please open python3 in a terminal and tell me the output of import popplerqt5?

ghost commented 6 years ago

After installing Qt5 from their very slow server and no success I read your edit. This Memory access violation I mentioned some hours before too. bildschirmfoto_2018-03-18_22-23-14 What could this be? It's a new experience for me to install a python program :-)

BasioMeusPuga commented 6 years ago

My German is a little rusty. Which is to say I don't know any. But that reads as a segmentation fault.

Some googling leads me to the following: https://github.com/wbsoft/frescobaldi/issues/838#issuecomment-251867781

Try pip show sip python-poppler-qt5 in a terminal and tell me what versions you have installed.

ghost commented 6 years ago

Hi, Good Morning, Memory access is 'Speicherzugriff'... pip doesn't output anything, but pip3 does. bildschirmfoto_2018-03-19_08-50-42 I tried intalling poppler with pip; only pip3 goes. bildschirmfoto_2018-03-19_08-54-05

There is another software here on github: arminstraub/krop. Same problem! Thanks

ShadowMitia commented 6 years ago

Hi,

I got the same error, but when I try to import popplerqt5 in the terminal it gives me this:

>>> import popplerqt5
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: /lib64/libQt5Core.so.5: version `Qt_5.10' not found (required by /usr/local/lib64/python3.6/site-packages/PyQt5/QtCore.so)
>>> 

And my version of Qt5 installed from my package manager (I'm using Fedora), is still on 5.9.*, which explains the error.

Hope this helps.

ghost commented 6 years ago

It's a pity, but after an install orgy (all from source; qt5, sip, poppler) it ended with an undefined QDomElement. I stop here.

BasioMeusPuga commented 6 years ago

I really don't think the error is with Lector here. That said, I'll try to make a Flatpak available at around the time of the .3 release. That should workaround what issues you have.

ghost commented 6 years ago

Hi, I did a new installation of Ubuntu_18.04 and it works, even with pdf-books :-) Thank you!