Skip to content
YACReader
Help and support for Linux users.

Can't compile on Debian Jesse

More
10 years 4 months ago #2446 by josephm
Replied by josephm on topic Can't compile on Debian Jesse
hi selmf, thanks for your advice.

I have mounted the NAS on the raspberry (with ip 192.168.0.21)

sudo mkdir /mnt/MyComics
sudo mount -t cifs -o username=mylogin,password=mypassword //192.168.0.21/MyComics /mnt/MyComics

and created the library (extremely slow!)
sudo YACReaderLibraryServer create-library MyComics /mnt/MyComics

The created .yacreaderlibrary in /mnt/MyComics is owned by root (because of sudo?) and need to be changed to pi:pi to the server to work

Still having the errors while creating library (using libunarr):
- rar.c:65: Skipping directory entry "Comics X"
- zip.c:104: Skipping directory entry "Comics Y"
- rar.c:98: Skipping newsub header @115887447

for mostly each comics

But anyway it seams to work

Many thanks for the help i will make more tests, but think that the issues mainly come from rights.

Please Log in or Create an account to join the conversation.

More
10 years 4 months ago #2447 by selmf
Replied by selmf on topic Can't compile on Debian Jesse

josephm wrote: Still having the errors while creating library (using libunarr):
- rar.c:65: Skipping directory entry "Comics X"
- zip.c:104: Skipping directory entry "Comics Y"
- rar.c:98: Skipping newsub header @115887447

for mostly each comics

But anyway it seams to work

Many thanks for the help i will make more tests, but think that the issues mainly come from rights.


These errors are info messages generated by libunarr. Zip and rar archives contain multiple data entries. If the entry is a file, it will get extracted, if it is a directory, there strictly speaking is no data to be extracted. It's just additional info how the data in the archive is structured, but has no data that is extractable. Think of it as a label. So you need to skip those entries when extracting. The newsub header is similiar. No need to worry about 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.

More
10 years 4 months ago - 10 years 4 months ago #2448 by Luis Ángel
Replied by Luis Ángel on topic Can't compile on Debian Jesse

josephm wrote: ....
and created the library (extremely slow!)....


Yes, the Raspberry Pi, even the latest version, is a slow device. Plus, you are creating the library over the network, the network is going to be a huge bottleneck.

My suggestion is to create the libraries using YACReaderLibrary in a Mac or PC with the HD attached using SATA or USB. After that, once the HD is back in your NAS or the Raspberry Pi, you can use the add-library command. Updates shouldn't be so problematic, just do them frequently with small batches of comics.

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.

Please Log in or Create an account to join the conversation.

More
10 years 4 months ago #2460 by josephm
Replied by josephm on topic Can't compile on Debian Jesse
Hi Luis,

I tried to compile with p7zip library on Raspberry.

But when launching YACLibraryServer, I got the error:
QIODevice::read: device not open

or
Processing comicsQSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers:

why such errors?
Thanks for your patience.

Please Log in or Create an account to join the conversation.

Moderators: Luis Ángel
Powered by Kunena Forum

Thanks for downloading YACReader!

Your download is starting.

YACReader for iOS and Android

Connect to YACReaderLibrary to browse, read remotely and import comics. Your reading progress is synchronized across devices.

Download on the App Store Get it on Google Play Available at Amazon Appstore

Discover all the features on the iOS and Android pages, and learn how to use them in the iOS and Android user guides.

Support YACReader

YACReader for desktop and server is free to use, but it is not free to develop: maintaining this website, developer programs, code signing certificates, test devices and, of course, all the time it takes. Less than 0.01% of downloads end in a donation, so any amount counts.

By supporting the project you help keep it regularly updated and, most importantly, alive. Thanks!