Your comments

Hi,


you should probably tray anyway: personally, I've found it easy to install "manually" ubooquity on Synology. The main difficult task is to adapt the startup script but even that may even be simplified since DSM6.0 because we can create scripts directly from within the web admin interface.

But if you are completely new to Linux, it may look scary.You may look there; at the begining, when looking to install ubooquity on my NAS I found this: [Test packages available] Ubooquity: comic book server

I haven't tested it since it doesn't seem to support my brand of Syno, but you can give it a try (and tell us how that works)

Going back to this "Java heap space" error.

The same situation happens sometime when reading a comic using the web reader. It's generally because some scan are insane large (more than 1Mo for an image... I should probably reproces them, but htat's too much work)

When encountering java heap space error, Ubooquity hangs... but it's not 100% dead: for example, I can still refresh the log pages (even though the reader is stuck because of this error).

So I belive you should definitely catch that error in the two situations:

  • during a scan
  • when reading a book

In case of that error, throw a message for the user, and either kill ubooquity entirely, or try to recover (although I don't know how you can force java to release all memory)


Sorry, my explanation was misleading: I didn't think of cookie authentification and just assumed the worst...

It makes sense to allow for multiple network connections using the same cookie

But maybe we could reduce the time-out ? to something like 15min or 30min. This is normally plenty enough to do whatever you need to do. Or let an admin set this value in the admin page?

mmm, I don't use Chrome but you might have a point: I've just tested connection to the admin with 2 different browsers on the same PC and I got the password prompt. So you got that right


But I still feel the admin should be more secured: when wrote this report, I used the same laptop when I left home and when I get to the office. This cookie thing would explain why I didn't have any prompting. But I still feel it's not good enough

  • I changed IP address between home and office => this should prompt for a new password
  • There was at least 1 hour between the time I left home and the time I get to the office during which I'm sure my laptop was disconnected => this should prompt for a new password

I have a similar problem: my collection contains many "Hors serie" comics displaying HS in the number field (I scrap metadata from bedetheque). And I get a similar warning in the logs during scanning


If you plan to change the type of this field, in a future release be very careful of the ordering method you will use in that field: 95% of comics have a proper number in that field, and you will want to have 1 ordered before 2 and 2 before 10... if you make a string of this field and use normal ordering then 10 will be after 1 but before 2.... which would be very bad

Alternatively, you could add a new field "Alternate numbering" make it a string and populate it during a scan whenever the current number field is invalid; The current number field is the order in which the item is to be seen: when you have a mix of both in a collection, put the "alternate number" at the end of the number field for example


I don't think you need a full rescan to fix this. You can rescan only books that have an empty number field. You could also add a button when opening the book for a rescan of an individual book. This way the user may go and choose to rescan the book when he made a modification

Since ubooquity is designed to be multi-user, it would be nice to be able to create "shared reading list" allowing other users to see/modify a reading list, and "private reading list" that can only be seen/modified by the user

:-( too bad, for once that I was wiling to participate in the development of a project and had some knowledge of the langage


Good news!

Here is the benefit I see in the "average" feature: I've opened my server to several friends, and being able to rate and see the average would allow each other to get information of what comics are worth reading when we are wrowsing through the collection without knowing what to read first

Yes, this would be a nice feature: we could add comics or series to a "reading list" similar to a music playlist; this would allow to remember the advices given by friends

Thanks a lot for looking at this problem. I'm pretty sure you're not closing the files when we navigate from page to page.

I've found an other way (in linux) to investigate exactly the problem:

  • find pid of ubboquity
  • look in the folder /proc/PID/fd

this folder contains all the file descriptors used by the pid; it's the best way to investigate the problem


I've just encountered the bug again, so I counted the files in that folder, (command line = ls -l fd | wc -l) , it tells me 1023 ! remenber: I'm only allowed 1024 in linux; so I'm pretty sure that's what causing the bug

  • After restart : ls -l fd | wc -l) = 48
  • After login : ls -l fd | wc -l) = 75
  • Now when I load new pages, here what I get


admin@DiskStation:/proc/9202$ sudo ls -l fd | wc -l
99
admin@DiskStation:/proc/9202$ sudo ls -l fd | wc -l
119
admin@DiskStation:/proc/9202$ sudo ls -l fd | wc -l
139
admin@DiskStation:/proc/9202$ sudo ls -l fd | wc -l
159

So, It's pretty clear that I load 20 new fd for each page (corresponding to the 20 icons that I've defined in the admin settings)... until I bump into the 1024 limit