- Posts: 22
- Thank you received: 1
Help and support for Linux users.
Can't compile on Debian Jesse
- josephm
- Offline
- Junior Member
-
Less
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.
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.
- selmf
- Offline
- Moderator
-
Less
More
- Posts: 639
- Thank you received: 136
10 years 4 months ago #2447
by selmf
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.
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.
- Luis Ángel
-
- Offline
- Administrator
-
Less
More
- Posts: 3354
- Thank you received: 692
10 years 4 months ago - 10 years 4 months ago #2448
by Luis Ángel
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\
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.
- josephm
- Offline
- Junior Member
-
Less
More
- Posts: 22
- Thank you received: 1
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.
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