- Posts: 6
- Thank you received: 1
Help and support for Linux users.
Error message : comic not found
- bigbrother1969
- Topic Author
- Offline
- New Member
-
Less
More
2 years 11 months ago #8028
by bigbrother1969
Error message : comic not found was created by bigbrother1969
For some times, I've an error after creating a new library : I create the library using YACReaderLibray under Windows directly on the server hosting my NFS shares.
I do it under Windows, because it crashes when using YacReaderLibrary on Linux, because of some issues with pzip2, I think.
I can open the comics without any problem when using YACReaderLibrary under Windows, but I have a message "Comic not found" when using YACReaderLibray under Linux.
And, more surprising, it only happens on one of the libraries I created : the others 2, located on a different disk and on 2 different NFS shares, don't show any problem when accessing under Linux.
At each time, I completely delete the existing library before creating a new one.
Are there some logs I can access to chek the exact reason of the problem ?
Or do you have any hint to solve the problem ?
Regards
I do it under Windows, because it crashes when using YacReaderLibrary on Linux, because of some issues with pzip2, I think.
I can open the comics without any problem when using YACReaderLibrary under Windows, but I have a message "Comic not found" when using YACReaderLibray under Linux.
And, more surprising, it only happens on one of the libraries I created : the others 2, located on a different disk and on 2 different NFS shares, don't show any problem when accessing under Linux.
At each time, I completely delete the existing library before creating a new one.
Are there some logs I can access to chek the exact reason of the problem ?
Or do you have any hint to solve the problem ?
Regards
Please Log in or Create an account to join the conversation.
- Luis Ángel
-
- Offline
- Administrator
-
Less
More
- Posts: 3354
- Thank you received: 692
2 years 11 months ago #8029
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 Error message : comic not found
hmmm, it could be sqlite failing over your shares, try mounting the using the nolock option.
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.
- bigbrother1969
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 6
- Thank you received: 1
2 years 11 months ago #8031
by bigbrother1969
Replied by bigbrother1969 on topic Error message : comic not found
It's definitely not a problem of share or lock : the error message happens when I use YACReaderLibrary directly on the server, not using the shares
Please Log in or Create an account to join the conversation.
- selmf
- Offline
- Moderator
-
Less
More
- Posts: 639
- Thank you received: 136
2 years 11 months ago #8032
by selmf
My answers are not necessarily official YACReader statements but mostly represent my own opinion in technical matters.
Replied by selmf on topic Error message : comic not found
You'll need to provide some more information and narrow down the cause of this. With what you've told us we can only guess what might be happening.
Which Version of YACReader?
What kind of Linux?
How did you install YACReader?
What kind of comic format does it crash on?
Does YACReaderLibrary crash on a specific file or on all files?
What error message are you getting?
Does it work on a minimal library?
Can you provide a backtrace on the crash?
...
Which Version of YACReader?
What kind of Linux?
How did you install YACReader?
What kind of comic format does it crash on?
Does YACReaderLibrary crash on a specific file or on all files?
What error message are you getting?
Does it work on a minimal library?
Can you provide a backtrace on the crash?
...
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.
- bigbrother1969
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 6
- Thank you received: 1
2 years 11 months ago #8034
by bigbrother1969
Replied by bigbrother1969 on topic Error message : comic not found
Here are some precisions :
[YACReader version]
YACReader version on Windows (server side) : 9.13.1.2307166
YACReader version on Linux (server side) : 9.13.1.0
YACReader version on Linux (client side) : 9.13.1.0
[Linux version]
Linux Mint 21.2 Cinnamon on server and client
[YACReader Installation]
On Windows : with the installer downloader on yacreader.com
On Linux : with the .deb downloader on yacreader.com
[Type of error]
YACReader Library on Linux shows the message "Comic not found" for all the files located in the same directory, and all subdirectories. It represents more than 12000 comics. There's no problem when opening it with the YACReader on Windows.
The exact message is in French and tells "Introuvable / Bande dessinée introuvable"
I've got the same issue with minimal library
To provide a backtrash, where may I find the logs of the application ?
Hope it can help
[YACReader version]
YACReader version on Windows (server side) : 9.13.1.2307166
YACReader version on Linux (server side) : 9.13.1.0
YACReader version on Linux (client side) : 9.13.1.0
[Linux version]
Linux Mint 21.2 Cinnamon on server and client
[YACReader Installation]
On Windows : with the installer downloader on yacreader.com
On Linux : with the .deb downloader on yacreader.com
[Type of error]
YACReader Library on Linux shows the message "Comic not found" for all the files located in the same directory, and all subdirectories. It represents more than 12000 comics. There's no problem when opening it with the YACReader on Windows.
The exact message is in French and tells "Introuvable / Bande dessinée introuvable"
I've got the same issue with minimal library
To provide a backtrash, where may I find the logs of the application ?
Hope it can help
Please Log in or Create an account to join the conversation.
- selmf
- Offline
- Moderator
-
Less
More
- Posts: 639
- Thank you received: 136
2 years 11 months ago #8035
by selmf
My answers are not necessarily official YACReader statements but mostly represent my own opinion in technical matters.
Replied by selmf on topic Error message : comic not found
You've reported two problems.
One is that you can't create a library on-server because it crashes. I would like to know why it crashes. I'm suspecting two things:
1. The server cannot write to the database because it cannot lock the database file for exclusive writing
2. There is a comic or path that is making the server crash for whatever reason
The second problem is that apparently the libraries you created on Windows do not work on your Linux machine. The most likely culprit for that is a path problem. That could occur if YACReader on Windows writes paths into the library that YACReader on Linux cannot process.
So what you need to do is this:
1. Check why the creation of the library is failing on Linux
- Is it creating a database file in the hidden .yacreaderlibrary directory in the library root?
- Does the database contain anything? Checking the file size should tell you that
2. Double-check how you mount your network shares
- Are you setting the nolock option so you can write the database?
- Do your paths contain special characters?
- Are you properly setting up character encoding?
3. Post the crash message you get on Linux
One is that you can't create a library on-server because it crashes. I would like to know why it crashes. I'm suspecting two things:
1. The server cannot write to the database because it cannot lock the database file for exclusive writing
2. There is a comic or path that is making the server crash for whatever reason
The second problem is that apparently the libraries you created on Windows do not work on your Linux machine. The most likely culprit for that is a path problem. That could occur if YACReader on Windows writes paths into the library that YACReader on Linux cannot process.
So what you need to do is this:
1. Check why the creation of the library is failing on Linux
- Is it creating a database file in the hidden .yacreaderlibrary directory in the library root?
- Does the database contain anything? Checking the file size should tell you that
2. Double-check how you mount your network shares
- Are you setting the nolock option so you can write the database?
- Do your paths contain special characters?
- Are you properly setting up character encoding?
3. Post the crash message you get on Linux
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.
- bigbrother1969
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 6
- Thank you received: 1
2 years 11 months ago #8036
by bigbrother1969
Replied by bigbrother1969 on topic Error message : comic not found
When I launch YACReaderLibrary from the console, when it crashes, it says segmentation error (core dumped)
Please Log in or Create an account to join the conversation.
- bigbrother1969
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 6
- Thank you received: 1
2 years 11 months ago #8037
by bigbrother1969
Replied by bigbrother1969 on topic [Solved] Error message : comic not found
I finally found the reason of the problem. And it's not a problem from the program : it was beacouse of a fu..ing corrupted file that made a mess in the SQLlite database.
I removed the file, erased the database and updated the library : everything works fine.
My best compliments for the quality of your work !
I removed the file, erased the database and updated the library : everything works fine.
My best compliments for the quality of your work !
Please Log in or Create an account to join the conversation.
- selmf
- Offline
- Moderator
-
Less
More
- Posts: 639
- Thank you received: 136
2 years 11 months ago #8038
by selmf
My answers are not necessarily official YACReader statements but mostly represent my own opinion in technical matters.
Replied by selmf on topic [Solved] Error message : comic not found
Do you still have the file? It would make a good testcase for us.
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
2 years 11 months ago #8039
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 [Solved] Error message : comic not found
yep, it would be great to have that file.
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.
Moderators: Luis Ángel