Git Product home page Git Product logo

Comments (12)

rmcrackan avatar rmcrackan commented on August 12, 2024

Sorry about this. Do you still have the older log from when the pdfs were downloaded? If so, can you also attach them to this bug? I'm curious to know if they could shed some light.

from libation.

wrampy avatar wrampy commented on August 12, 2024

No, I don't have the old logs, but I can reproduce the behavior.

When I first downloaded the whole library I run into issues due to filenames being too long. Therefore I changed the filename pattern in the settings and re-downloaded/liberated all the audiobooks. And it looks like the PDFs were not downloaded after the first time. The two audiobooks that have the PDFs were added later, so there was no re-downloading.

Steps to reproduce:

  1. search for the book
  2. click the "Set the Downloaded status manually..." menu item under "Visible books"
  3. change it to "Not Downloaded" and save it
  4. the semaphore lights next to the book will change to red
  5. the menu items under "Liberate" show that 1 audiobook needs liberation, but all PDFs were downloaded libation

You can see this behavior in the logs I already attached.

It looks like only the "Not Downloaded" status applies only to the audio file, not to the PDF, so the application won't try to download the PDF ever again.

from libation.

Mbucari avatar Mbucari commented on August 12, 2024

@wrampy What's the filesystem of the disk where you're saving your books?

from libation.

wrampy avatar wrampy commented on August 12, 2024

@Mbucari ext4

from libation.

Mbucari avatar Mbucari commented on August 12, 2024

@wrampy Regarding PDF download status, there is no way to batch change PDF download statuses. However, you may change each book's PDF status manually by clicking on the book tags button in the main grid like so:

VirtualBox_Ubuntu 22_29_12_2022_02_02_10

from libation.

wrampy avatar wrampy commented on August 12, 2024

Great, now it works. This is more of a UI/UX issue, as a user who opens this application 1-2x a month I don't know about all these hidden features. So far I did everything from the main menu and never opened this dialog of an individual book. I would recommend to extend the batch download status change functionality for PDFs (or at least put a hint there that those changes won't apply to PDFs).

libation2

And the logs Log202212.log

from libation.

Mbucari avatar Mbucari commented on August 12, 2024

I think at one point libation did have an option to set PDF statuses on all visible books, and I'm not sure what happened to it.

File names longer than Max path should be truncated, so books failing to download because of file name length is a Libation bug. I'll look into it more tomorrow.

from libation.

wrampy avatar wrampy commented on August 12, 2024

This was one of the books that had issues because of the long filenames:
Author: "Dr. Aziz Gazipura PsyD"
Title: "Not Nice"
Subtitle: "Stop People Pleasing, Staying Silent, & Feeling Guilty... And Start Speaking up, Saying No, Asking Boldly, and Unapologetically Being Yourself"

It has a ridiculously long subtitle. Totally 23 + 8 + 143 = 174 characters plus a few hyphens and colons in the m4b filename. Libation was able to download it to "/tmp", but when copying to its final location it quickly run out of the 255 bytes/characters (as the folder name becomes very long too) enforced by the filesystem (encrypted ext4).

from libation.

rmcrackan avatar rmcrackan commented on August 12, 2024

@wrampy

This is more of a UI/UX issue, as a user who opens this application 1-2x a month I don't know about all these hidden features.

Yes and no. You're absolutely right that you shouldn't need to know all the nooks and crannies in order to get this to work. The part that isn't UI is: these were marked as 'pdf downloaded' when the file wasn't actually downloaded -- that sounds like a deeper bug than UI. Which ties into what Mbucari said "File names longer than Max path should be truncated, so books failing to download because of file name length is a Libation bug"

recommend to extend the batch download status change functionality for PDFs

Agreed. I always kinda wondered if I should do this then I forgot about it. Guess I should have. Oops

@Mbucari

ext4

Does your long file name support look for max length through environmental stuff? Or do we make assumptions based on windows?

I think at one point libation did have an option to set PDF statuses on all visible books, and I'm not sure what happened to it

I don't believe so. This doesn't sound like something we would have removed.

File names longer than Max path should be truncated, so books failing to download because of file name length is a Libation bug. I'll look into it more tomorrow.

This was my thought also. Lemme know what you find

from libation.

rmcrackan avatar rmcrackan commented on August 12, 2024

batch download status change functionality for PDFs

Done. This feature will be included in the next version

from libation.

rmcrackan avatar rmcrackan commented on August 12, 2024

Unix file path issue will be included in the next version. Another thanks to @Mbucari for debugging this clusterf**k

from libation.

rmcrackan avatar rmcrackan commented on August 12, 2024

Included in latest: v8.8.1

from libation.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.