Help and support for Linux users.
Can't compile on Debian Jesse
- AnMartini
-
- Offline
- New Member
-
Less
More
10 years 4 months ago #2418
by AnMartini
- Andrea
Replied by AnMartini on topic Can't compile on Debian Jesse
Hi,
I'm sorry to post again, but I was wondering if you could confirm that this is a YACReaderLibrary Server problem and not a problem of my installation.
Thank you.
I'm sorry to post again, but I was wondering if you could confirm that this is a YACReaderLibrary Server problem and not a problem of my installation.
Thank you.
- Andrea
Please Log in or Create an account to join the conversation.
- Luis Ángel
-
- Offline
- Administrator
-
Less
More
- Posts: 3354
- Thank you received: 692
10 years 4 months ago #2423
by Luis Ángel
Contribute to the project becoming a patron: www.patreon.com/yacreader
You can also donate via Pay-Pal: www.paypal.com/donate?business=5TAMNQCDD...e=Support+YACReader\
Replied by Luis Ángel on topic Can't compile on Debian Jesse
I use YACReaderLibraryServer on a daily basis, so I think that it is not an issue with YACReaderLibraryServer.
Please, create a new folder and put a couple of comics inside it. Then create a library in that folder using YACReaderLibraryServer. After that, go to the initial folder and zip the hidden folder ".yacreaderlibrary". Send it to me so I can see what is going on there. I will neet the full path to that folder too, f.e. /mount/external/MyComicsTest.
Please, create a new folder and put a couple of comics inside it. Then create a library in that folder using YACReaderLibraryServer. After that, go to the initial folder and zip the hidden folder ".yacreaderlibrary". Send it to me so I can see what is going on there. I will neet the full path to that folder too, f.e. /mount/external/MyComicsTest.
Contribute to the project becoming a patron: www.patreon.com/yacreader
You can also donate via Pay-Pal: www.paypal.com/donate?business=5TAMNQCDD...e=Support+YACReader\
The following user(s) said Thank You: AnMartini
Please Log in or Create an account to join the conversation.
- AnMartini
-
- Offline
- New Member
-
10 years 4 months ago - 10 years 4 months ago #2425
by AnMartini
- Andrea
Replied by AnMartini on topic Can't compile on Debian Jesse
Here is the zip:
www.dropbox.com/s/lepgjgvqvrrdu2w/yacreaderlibrary.zip?dl=0
The full path to the folder is
Here is the terminal:
Thank you for your help.
www.dropbox.com/s/lepgjgvqvrrdu2w/yacreaderlibrary.zip?dl=0
The full path to the folder is
Code:
/home/pi/ComicsTest
Code:
pi@raspberrypi:~ $ YACReaderLibraryServer create-library "ComicsTest" ComicsTest
QSqlDatabasePrivate::removeDatabase: connection 'ComicsTest/.yacreaderlibrary/library.ydb' is still in use, all queries will cease to work.
Processing comics..Done!
Number of comis processed = 2
pi@raspberrypi:~ $ YACReaderLibraryServer start
Logging to /home/pi/.local/share/YACReader/YACReaderLibrary/server_log.log
INFO 2016-05-19T14:50:50.989 YACReaderLibraryServer attempting to start
INFO 2016-05-19T14:50:50.995 ---------- System & configuration ----------
INFO 2016-05-19T14:50:50.996 SO : Linux (unknown version)
INFO 2016-05-19T14:50:50.996 7z : found
INFO 2016-05-19T14:50:50.996 Libraries: QMap(("ComicsTest", QPair(2,"ComicsTest"))("Fumetti", QPair(1,"Fumetti")))
INFO 2016-05-19T14:50:50.997 --------------------------------------------
INFO 2016-05-19T14:50:51.003 YACReaderLibrary starting
Thank you for your help.
- Andrea
Last edit: 10 years 4 months ago by AnMartini.
Please Log in or Create an account to join the conversation.
- Luis Ángel
-
- Offline
- Administrator
-
Less
More
- Posts: 3354
- Thank you received: 692
10 years 4 months ago - 10 years 4 months ago #2430
by Luis Ángel
Contribute to the project becoming a patron: www.patreon.com/yacreader
You can also donate via Pay-Pal: www.paypal.com/donate?business=5TAMNQCDD...e=Support+YACReader\
Replied by Luis Ángel on topic Can't compile on Debian Jesse
Thank you for your help. For some reason the comics are imported storing the wrong path in the database...
I have compiled and tested YACReaderLibraryServer creating a new library and it is generating the right information. Tested in Raspbian and Windows 10.
What version of Qt are you using?
I have compiled and tested YACReaderLibraryServer creating a new library and it is generating the right information. Tested in Raspbian and Windows 10.
What version of Qt are you using?
Contribute to the project becoming a patron: www.patreon.com/yacreader
You can also donate via Pay-Pal: www.paypal.com/donate?business=5TAMNQCDD...e=Support+YACReader\
Last edit: 10 years 4 months ago by Luis Ángel.
The following user(s) said Thank You: AnMartini
Please Log in or Create an account to join the conversation.
- AnMartini
-
- Offline
- New Member
-
10 years 4 months ago #2437
by AnMartini
- Andrea
Replied by AnMartini on topic Can't compile on Debian Jesse
Code:
QMake version 3.0
Using Qt version 5.3.2 in /usr/lib/arm-linux-gnueabihf
- Andrea
Please Log in or Create an account to join the conversation.
- Luis Ángel
-
- Offline
- Administrator
-
Less
More
- Posts: 3354
- Thank you received: 692
10 years 4 months ago #2440
by Luis Ángel
Contribute to the project becoming a patron: www.patreon.com/yacreader
You can also donate via Pay-Pal: www.paypal.com/donate?business=5TAMNQCDD...e=Support+YACReader\
Replied by Luis Ángel on topic Can't compile on Debian Jesse
AnMartini, are you creating the library using a relative path?
Try with something like this:
Try with something like this:
Code:
YACReaderLibraryServer create-library MyComics /home/pi/ComicsTest
Contribute to the project becoming a patron: www.patreon.com/yacreader
You can also donate via Pay-Pal: www.paypal.com/donate?business=5TAMNQCDD...e=Support+YACReader\
Please Log in or Create an account to join the conversation.
- selmf
- Offline
- Moderator
-
Less
More
- Posts: 639
- Thank you received: 136
10 years 4 months ago #2441
by selmf
My answers are not necessarily official YACReader statements but mostly represent my own opinion in technical matters.
Replied by selmf on topic Can't compile on Debian Jesse
Hi AnMartini,
could you test something for me? Please remove all you libraries using "YACReaderLibraryServer remove-library library" and then recreate them using full paths, i.e something like:
After that, please check if these libraries are working for you.
could you test something for me? Please remove all you libraries using "YACReaderLibraryServer remove-library library" and then recreate them using full paths, i.e something like:
Code:
YACReaderLibraryServer create-library Comicstest /home/pi/ComicsTest/
After that, please check if these libraries are working for you.
My answers are not necessarily official YACReader statements but mostly represent my own opinion in technical matters.
Please Log in or Create an account to join the conversation.
- Luis Ángel
-
- Offline
- Administrator
-
Less
More
- Posts: 3354
- Thank you received: 692
10 years 4 months ago #2442
by Luis Ángel
Contribute to the project becoming a patron: www.patreon.com/yacreader
You can also donate via Pay-Pal: www.paypal.com/donate?business=5TAMNQCDD...e=Support+YACReader\
Replied by Luis Ángel on topic Can't compile on Debian Jesse
Just in case, remove manually .yacreaderlibrary hidden folder from /home/pi/ComicsTest/ too.
Contribute to the project becoming a patron: www.patreon.com/yacreader
You can also donate via Pay-Pal: www.paypal.com/donate?business=5TAMNQCDD...e=Support+YACReader\
Please Log in or Create an account to join the conversation.
- josephm
- Offline
- Junior Member
-
Less
More
- Posts: 22
- Thank you received: 1
10 years 4 months ago - 10 years 4 months ago #2444
by josephm
Replied by josephm on topic Can't compile on Debian Jesse
Hi, finally i reached to make it working on Raspberry Pi 3
YACReaderlibraryserver create-library MyComics "/home/pi/MyComics"
The created .yacreaderlibrary is owned by root and I changed it by owner pi:
sudo chown -R pi:pi .yacreaderlibrary
And then launched with
sudo YACReaderlibraryserver start MyComics
Here is all the procedure to install YACReaderlibraryServer on Raspberry Pi:
# 1- Install last version of Raspbian from www.raspberrypi.org/downloads/raspbian/ and create a microSD card following the installation guide on the page
# 2- From a console in Raspbian or by SSH (I used Putty from a PC with username: pi, password: raspberry)
sudo raspi-config (from the Menu) and Expand Filesystem + Finish and reboot
# 3- After rebooting, from a console type:
sudo apt-get update
# 4- Install Qt5 and Dependencies
sudo apt-get install -y -q mercurial qt5-qmake qt5-default qtbase5-dev
sudo apt-get install -y -q libpoppler-qt5-dev qtscript5-dev
sudo apt-get install sqlite3 libsqlite3-dev
# 5- Download yacreader source files
mkdir ~/yacreader
hg clone bitbucket.org/luisangelsm/yacreader ~/yacreader
# 6- Install libunarr library from source
cd ~/yacreader/compressed_archive/
wget github.com/selmf/unarr/archive/master.zip
unzip master.zip
# 6- or Install libp7zip library from source
# cd ~/yacreader/compressed_archive/
# wget sourceforge.net/projects/p7zip/files/p7z...20.1_src_all.tar.bz2
# tar xvf p7zip_9.20.1_src_all.tar.bz2
# mv p7zip_9.20.1_src_all.tar.bz2 libp7zip
# 7- Make and install YACReaderLibraryServer
cd ~/yacreader/YACReaderLibraryServer
# If 7zip
# qmake YACReaderLibraryServer.pro CONFIG+=7zip CONFIG+=standalone_server
# if unarr
qmake YACReaderLibraryServer.pro
make
make install
# 8- Create library with name MyComics and in directory /media/pi/MyComics/
sudo YACReaderLibraryServer create-library MyComics /media/pi/MyComics/
# 9- Change owner of .yacreaderlibrary to pi
cd /media/pi/MyComics/
chown -R pi:pi .yacreaderlibrary
# 10- Launch Server with library LibName
sudo YACReaderLibraryServer start LibName &
I hope this will help people install on Rasberry.
To do: mount a NAS on rasberry and make working the library from NAS
Thanks to all for helping, Enjoy.
YACReaderlibraryserver create-library MyComics "/home/pi/MyComics"
The created .yacreaderlibrary is owned by root and I changed it by owner pi:
sudo chown -R pi:pi .yacreaderlibrary
And then launched with
sudo YACReaderlibraryserver start MyComics
Here is all the procedure to install YACReaderlibraryServer on Raspberry Pi:
# 1- Install last version of Raspbian from www.raspberrypi.org/downloads/raspbian/ and create a microSD card following the installation guide on the page
# 2- From a console in Raspbian or by SSH (I used Putty from a PC with username: pi, password: raspberry)
sudo raspi-config (from the Menu) and Expand Filesystem + Finish and reboot
# 3- After rebooting, from a console type:
sudo apt-get update
# 4- Install Qt5 and Dependencies
sudo apt-get install -y -q mercurial qt5-qmake qt5-default qtbase5-dev
sudo apt-get install -y -q libpoppler-qt5-dev qtscript5-dev
sudo apt-get install sqlite3 libsqlite3-dev
# 5- Download yacreader source files
mkdir ~/yacreader
hg clone bitbucket.org/luisangelsm/yacreader ~/yacreader
# 6- Install libunarr library from source
cd ~/yacreader/compressed_archive/
wget github.com/selmf/unarr/archive/master.zip
unzip master.zip
# 6- or Install libp7zip library from source
# cd ~/yacreader/compressed_archive/
# wget sourceforge.net/projects/p7zip/files/p7z...20.1_src_all.tar.bz2
# tar xvf p7zip_9.20.1_src_all.tar.bz2
# mv p7zip_9.20.1_src_all.tar.bz2 libp7zip
# 7- Make and install YACReaderLibraryServer
cd ~/yacreader/YACReaderLibraryServer
# If 7zip
# qmake YACReaderLibraryServer.pro CONFIG+=7zip CONFIG+=standalone_server
# if unarr
qmake YACReaderLibraryServer.pro
make
make install
# 8- Create library with name MyComics and in directory /media/pi/MyComics/
sudo YACReaderLibraryServer create-library MyComics /media/pi/MyComics/
# 9- Change owner of .yacreaderlibrary to pi
cd /media/pi/MyComics/
chown -R pi:pi .yacreaderlibrary
# 10- Launch Server with library LibName
sudo YACReaderLibraryServer start LibName &
I hope this will help people install on Rasberry.
To do: mount a NAS on rasberry and make working the library from NAS
Thanks to all for helping, Enjoy.
Last edit: 10 years 4 months ago by josephm.
Please Log in or Create an account to join the conversation.
- selmf
- Offline
- Moderator
-
Less
More
- Posts: 639
- Thank you received: 136
10 years 4 months ago #2445
by selmf
My answers are not necessarily official YACReader statements but mostly represent my own opinion in technical matters.
Replied by selmf on topic Can't compile on Debian Jesse
HA! Great 
I was just about to write in your thread to ask you to retry creating the library using absolute file paths. Any idea how you endend up having .yacreaderlibrary owned by root?
Word of advice regarding NAS - this can be tricky. We have been having more than one user complaining about issues with this combination. If you run into problems, add the mount option "nolock" to your network share, this should take care of it.
I was just about to write in your thread to ask you to retry creating the library using absolute file paths. Any idea how you endend up having .yacreaderlibrary owned by root?
Word of advice regarding NAS - this can be tricky. We have been having more than one user complaining about issues with this combination. If you run into problems, add the mount option "nolock" to your network share, this should take care of it.
My answers are not necessarily official YACReader statements but mostly represent my own opinion in technical matters.
Please Log in or Create an account to join the conversation.
Moderators: Luis Ángel