Open shamim2018 opened 5 years ago
Can you tell me what errors you're getting in the terminal?
its not opening any files and no errors in terminal
I run the program in windows platform. When i touch the "Add book" button, and then i choose a file which format is *.azw3, next i click open and it failed to add into the interface. In the main window, I just see a whole black.
@avago621 I'm going to need a little more information to go on. What platform are you running on? What did you do for dependencies? Can you include a copy of the book?
@krystalxiao666 Can you please include a copy of the book so I can make sure it's the code that's the issue?
Everyone in this thread, will you please check if python-lxml
is installed?
@BasioMeusPuga Ubuntu 18.04 64bit installed the dependencies from Synaptic package manager Learn German .pdf
python-lxml is installed
@avago621 Does the terminal / log say you don't have python-poppler-qt5
installed? Because that's needed to parse pdf files.
it works now after installed the python3-lxml do i uninstall python-lxml ? python-poppler-qt5 is installed
@BasioMeusPuga
but its a bit slow
@BasioMeusPuga I can't upload the file which format is .azw3 python-lxml is installed .
@BasioMeusPuga
@BasioMeusPuga as last picture shows, i add a file .azw3 ,but the main window has nothing
@BasioMeusPuga another problem , i can't install python_poppler_qt5 in my windows pc
I successfully installed Lector on Debian Buster (with newest packages). I have Anaconda3 installed on my system.
Lector was installed in ~/anaconda3/lib/python3.7/site-packages/lector directory. Open terminal in that folder and type: python3 main.py (write correct program name, not "main"! I wite something, github deletes double underlines).
I have other necessary packages already installed. So message is... program is possible to install and run. Even on newest testing version.
Program works fast, pictures looks good, reads many format, like azw3 for example.
My lector.desktop:
[Desktop Entry] Categories=Qt;KDE;Graphics;Viewer; Comment=A Qt based ebook reader Exec=python3 /home/jameskent/anaconda3/lib/python3.7/site-packages/lector/main.py GenericName=eBook Reader Icon=/home/jameskent/anaconda3/lib/python3.7/site-packages/lector/resources/raw/Lector.png MimeType=application/pdf;application/x-cbr;application/ereader;application/x-mobipocket-subscription;application/x-mobipocket-ebook;application/x$ Name=Lector Type=Application X-KDE-StartupNotify=false X-Desktop-File-Install-Version=0.23
"main" is not really "main", has double underline before and after
I followed these instructions:
!/bin/bash
sudo apt install qt5-default pyqt5-dev pyqt5-dev-tools python3-poppler-qt5 libpoppler-qt5-1 libpoppler-qt5-dev python3-pip pip3 install beautifulsoup4 mkdir git cd git git clone https://github.com/BasioMeusPuga/Lector.git cd Lector/ python3 setup.py build sudo python3 setup.py install
I was going to post an issue but this guide solved it. The instructions are clearer about which version of python is being used, whereas the instructions for the manual install in the readme is not and might lead to confusion. It might be worthwhile to amend those instructions.
My E-Book repository is immense and as a result, I've stored it in an entire file-system. It might be nice to add the ability to import entire folders worth of books instead of having to do it one-at-a-time as it currently is.
The page selector drop-down menu might make sense for a manga or comic book, but it feels clunky compared to a simple scroll-down read like in Okular. I will admit that i am unfamiliar with Lector so if there is a way to do it in a scroll-down fashion then please let me know. If no feature exists though, then it may be worth considering.
Different distros have different conventions about what they want to call their packages. Which is why python3
is not a version, and 3.6
is. Which is also why the README says what the minimum version is. I also don't recommend installing python packages systemwide using pip
because of potential conflicts. Which is why I'm working on a .deb / snap package for next release.
Press the Settings
button in the toolbar. The first thing it'll show you is the Library
. Select whatever directory your ebooks are in.
I'll think about the scroll down.
I followed these instructions:
!/bin/bash
sudo apt install qt5-default pyqt5-dev pyqt5-dev-tools python3-poppler-qt5 libpoppler-qt5-1 libpoppler-qt5-dev python3-pip
pip3 install beautifulsoup4
mkdir git
cd git
git clone https://github.com/BasioMeusPuga/Lector.git
cd Lector/
python3 setup.py build
sudo python3 setup.py install
And it installed successfully. But not opening any books.