Welcome to the forum, Guest

TOPIC: Can't compile on Debian Jesse

Can't compile on Debian Jesse 7 years 10 months ago #2446

josephm

Offline

Junior Boarder

Posts: 22

Thank you received: 1

Karma: 1

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.
The administrator has disabled public write access.

Can't compile on Debian Jesse 7 years 10 months ago #2447

selmf

Offline

Developer

Posts: 631

Thank you received: 135

Karma: 18

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.
The administrator has disabled public write access.

Can't compile on Debian Jesse 7 years 10 months ago #2448

Luis Ángel

Offline

Administrator

Posts: 2616

Thank you received: 543

Karma: 22

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: 7 years 10 months ago by Luis Ángel.
The administrator has disabled public write access.

Can't compile on Debian Jesse 7 years 10 months ago #2460

josephm

Offline

Junior Boarder

Posts: 22

Thank you received: 1

Karma: 1

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.
The administrator has disabled public write access.
Powered by Kunena Forum