Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Related Tools

Notices

Reply
 
Thread Tools Search this Thread
Old 03-11-2013, 02:56 PM   #331
maxjens
Connoisseur
maxjens ought to be getting tired of karma fortunes by now.maxjens ought to be getting tired of karma fortunes by now.maxjens ought to be getting tired of karma fortunes by now.maxjens ought to be getting tired of karma fortunes by now.maxjens ought to be getting tired of karma fortunes by now.maxjens ought to be getting tired of karma fortunes by now.maxjens ought to be getting tired of karma fortunes by now.maxjens ought to be getting tired of karma fortunes by now.maxjens ought to be getting tired of karma fortunes by now.maxjens ought to be getting tired of karma fortunes by now.maxjens ought to be getting tired of karma fortunes by now.
 
maxjens's Avatar
 
Posts: 88
Karma: 490410
Join Date: Jul 2010
Device: iPad & Bebook Neo
Feature request - Recent additions

Is it possible to make the # of recent additions a setting in the stream, instead of in the config_local.php file.

The number of new books constantly changes and the default setting is often wrong.

maxjens is offline   Reply With Quote
Old 03-11-2013, 04:04 PM   #332
vlad59
Addict
vlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five words
 
Posts: 369
Karma: 37869
Join Date: Sep 2011
Device: Kobo eReader Touch, Kobo Aura HD
Quote:
Originally Posted by maxjens View Post
After a while i noticed that i got a lot of errors trying to download a book. I use Wamp and cops 0.2.3 (latest version). It took me a while to discover that it was this setting that created the error. I set it back to zero and the errors stopped.
First can you confirm this comportment is the same when using a standard Internet browser ?

If that's true, can you email me an ebook and a copy of your Calibre database (or a minimal database that can reproduce the problem). I'll check it out.

About your feature request, the recent additions always the X most recent ebooks so I don't know how any default setting can be wrong. Can you explain it a little more ?
vlad59 is offline   Reply With Quote
Advert
Old 03-11-2013, 04:48 PM   #333
mariosipad
Guru
mariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watch
 
Posts: 718
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
Thumbs up

Quote:
Originally Posted by maxjens View Post
I used the Epub metadata setting, because I liked the idea of getting the latest metadata displayed instead of the one in the file itself.

$config['cops_update_epub-metadata'] = "1";

After a while i noticed that i got a lot of errors trying to download a book. I use Wamp and cops 0.3.2 (latest version). It took me a while to discover that it was this setting that created the error. I set it back to zero and the errors stopped.

Quote:
Originally Posted by vlad59 View Post
First can you confirm this comportment is the same when using a standard Internet browser ?
I saw the post and tried it out for myself.
1 - WAMP+ COPS + IOS =
a. sometimes no error
b. sometimes an error in downloading
c. sometimes no error but application crash
2 - WAMP = COPS + EPUBReader for Firefox (in Windows 7 and OSX)
a. sometimes no error
b. sometimes an error in opening plugin (I can download the ebook, but it does not open in EPUBReader (error)
c. sometimes error message of EPUBReader

3 - Debian Apache + COPS + IOS
and
4 - Debian Apache + COPS + EPUBReader
same behaviour

$config['cops_update_epub-metadata'] = "0";

and all the problems go away.

So the ePubs in the calibre database/directories/folders are not changed.

The problem is that the eReaders cannot read the served content.
(X-Sendfile = off, only PHP)

To reproduce the problem use Firefox with EPUBReader and any Calibre Database.
As I wrote not every eBook gave this problem, but I could not find logic in what eBook gave a problem or not. So it's a proces of trial and error.
mariosipad is offline   Reply With Quote
Old 03-11-2013, 04:49 PM   #334
maxjens
Connoisseur
maxjens ought to be getting tired of karma fortunes by now.maxjens ought to be getting tired of karma fortunes by now.maxjens ought to be getting tired of karma fortunes by now.maxjens ought to be getting tired of karma fortunes by now.maxjens ought to be getting tired of karma fortunes by now.maxjens ought to be getting tired of karma fortunes by now.maxjens ought to be getting tired of karma fortunes by now.maxjens ought to be getting tired of karma fortunes by now.maxjens ought to be getting tired of karma fortunes by now.maxjens ought to be getting tired of karma fortunes by now.maxjens ought to be getting tired of karma fortunes by now.
 
maxjens's Avatar
 
Posts: 88
Karma: 490410
Join Date: Jul 2010
Device: iPad & Bebook Neo
Quote:
Originally Posted by vlad59 View Post
About your feature request, the recent additions always the X most recent ebooks so I don't know how any default setting can be wrong. Can you explain it a little more ?
I standard have 50 specified, but when i add 100 books i will only get the 50 most recent additions, the other 50 will only show if i change the value to 100.
maxjens is offline   Reply With Quote
Old 03-12-2013, 06:39 AM   #335
vlad59
Addict
vlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five words
 
Posts: 369
Karma: 37869
Join Date: Sep 2011
Device: Kobo eReader Touch, Kobo Aura HD
@mariosipad

I tried using Epubreader last night but I never managed to enter my OPDS url .... not a very easy to use plugin !

I'll try again with mantano / fbreader

@maxjens

Now I understand what you mean but I don't know what I can do about it.

I could check the last day where books were added and get all the books added this day. It seems too complicated for my taste but is that what you wanted ?
vlad59 is offline   Reply With Quote
Advert
Old 03-12-2013, 08:43 AM   #336
maxjens
Connoisseur
maxjens ought to be getting tired of karma fortunes by now.maxjens ought to be getting tired of karma fortunes by now.maxjens ought to be getting tired of karma fortunes by now.maxjens ought to be getting tired of karma fortunes by now.maxjens ought to be getting tired of karma fortunes by now.maxjens ought to be getting tired of karma fortunes by now.maxjens ought to be getting tired of karma fortunes by now.maxjens ought to be getting tired of karma fortunes by now.maxjens ought to be getting tired of karma fortunes by now.maxjens ought to be getting tired of karma fortunes by now.maxjens ought to be getting tired of karma fortunes by now.
 
maxjens's Avatar
 
Posts: 88
Karma: 490410
Join Date: Jul 2010
Device: iPad & Bebook Neo
Quote:
Originally Posted by vlad59 View Post
I could check the last day where books were added and get all the books added this day. It seems too complicated for my taste but is that what you wanted ?
That would be great, then the number doesn't matter. Or add a feed that sorts on day added.
maxjens is offline   Reply With Quote
Old 03-12-2013, 12:04 PM   #337
vlad59
Addict
vlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five words
 
Posts: 369
Karma: 37869
Join Date: Sep 2011
Device: Kobo eReader Touch, Kobo Aura HD
@mariosipad & maxjens

I made some more tries with metadata update and I didn't have a single fail. I guess I'll need some files that fail for you.

So far I've tried with :
* Debian + PHP 5.3 + Nginx
* Archlinux + PHP 5.4 + Nginx

I'll try with my Synology later (to use Apache).
vlad59 is offline   Reply With Quote
Old 03-12-2013, 12:41 PM   #338
vlad59
Addict
vlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five words
 
Posts: 369
Karma: 37869
Join Date: Sep 2011
Device: Kobo eReader Touch, Kobo Aura HD
I found a file always causing problem with EpubReader. I'll take care of that and report later.

Last edited by vlad59; 03-12-2013 at 01:00 PM.
vlad59 is offline   Reply With Quote
Old 03-12-2013, 01:04 PM   #339
mariosipad
Guru
mariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watch
 
Posts: 718
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
Quote:
Originally Posted by vlad59 View Post
I found a file causing always problem with EpubReader. I'll take care of that and report later.
That saves me (a lot of) work. Trying to explain something is not always easy.

I can recreate the problem with the seting
$config['cops_update_epub-metadata'] = "1";

But not always reliably.

Sometimes a file works ok, and then error!? Strange.

The problem also occurs more in my Windows WAMP setup than in my Debian setup.

Setting $config['cops_update_epub-metadata'] = "0"; solves the problem everytime.
mariosipad is offline   Reply With Quote
Old 03-12-2013, 01:15 PM   #340
Northguy
Member
Northguy began at the beginning.
 
Posts: 22
Karma: 10
Join Date: Oct 2011
Device: Kobo Glo HD
Hmmm.. this seems the same issue as reported by me earlier. I failed to reproduce the error last time, but I suspect that this has something to do with my browsers cache.

Will try to reproduce the error also. When I reported this error it seemed as if the file size of an e-book shrunk to a few kb.

Regards.

Northguy
Northguy is offline   Reply With Quote
Old 03-12-2013, 01:51 PM   #341
mariosipad
Guru
mariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watchmariosipad is clearly one to watch
 
Posts: 718
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
@Northguy

It might be the same issue, but I never observed the file-size of the book to shrink to e few kb.

The e-readers just said that the e-Pub was corrupted (see attachement) when served with COPS with the setting

$config['cops_update_epub-metadata'] = "1";.

However I never tried your Sony (?) e-reader.
The same problem might manifest itself in different ways with different e-readers.

@vlad59
Maybe you could see if there is a difference between the original file (Calibre) and the file "served" with COPS if that file was unreadable.
Attached Thumbnails
Click image for larger version

Name:	Screen shot 2013-03-12 at 2.51.07 PM.png
Views:	212
Size:	20.6 KB
ID:	102806  
mariosipad is offline   Reply With Quote
Old 03-13-2013, 10:03 AM   #342
vlad59
Addict
vlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five words
 
Posts: 369
Karma: 37869
Join Date: Sep 2011
Device: Kobo eReader Touch, Kobo Aura HD
So far the problem I did reproduce is getting a unusable epub with approximately the same size as the original Epub.

I did not reproduce any 0 size epub.

The first problem is due to a problem in the zip library I'm using. I've tried contacting the author asking for his help. Let's hope he'll answer !
vlad59 is offline   Reply With Quote
Old 03-13-2013, 02:43 PM   #343
maxjens
Connoisseur
maxjens ought to be getting tired of karma fortunes by now.maxjens ought to be getting tired of karma fortunes by now.maxjens ought to be getting tired of karma fortunes by now.maxjens ought to be getting tired of karma fortunes by now.maxjens ought to be getting tired of karma fortunes by now.maxjens ought to be getting tired of karma fortunes by now.maxjens ought to be getting tired of karma fortunes by now.maxjens ought to be getting tired of karma fortunes by now.maxjens ought to be getting tired of karma fortunes by now.maxjens ought to be getting tired of karma fortunes by now.maxjens ought to be getting tired of karma fortunes by now.
 
maxjens's Avatar
 
Posts: 88
Karma: 490410
Join Date: Jul 2010
Device: iPad & Bebook Neo
Quote:
Originally Posted by vlad59 View Post
So far the problem I did reproduce is getting a unusable epub with approximately the same size as the original Epub.

I did not reproduce any 0 size epub.

The first problem is due to a problem in the zip library I'm using. I've tried contacting the author asking for his help. Let's hope he'll answer !
Why is it behaving differently per epub, some are rejected, others are accepted?

Just curious
maxjens is offline   Reply With Quote
Old 03-13-2013, 04:32 PM   #344
vlad59
Addict
vlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five wordsvlad59 can name that ebook in five words
 
Posts: 369
Karma: 37869
Join Date: Sep 2011
Device: Kobo eReader Touch, Kobo Aura HD
Quote:
Originally Posted by maxjens View Post
Why is it behaving differently per epub, some are rejected, others are accepted?

Just curious
I'm still asking myself the same question and for now I have no idea why

I'll keep you posted.
vlad59 is offline   Reply With Quote
Old 03-13-2013, 04:59 PM   #345
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
PeterT's Avatar
 
Posts: 12,154
Karma: 73448616
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
Any chance that what you are seeing is a CaSE SenSItivity issue between what is in the database and what is on the filesystem?
PeterT is offline   Reply With Quote
Reply

Tags
calibre opds, dns, kobo aura, synology

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre OPDS server with windows apps? nickdma Related Tools 10 03-03-2024 02:53 PM
[Old Thread] Android FBreader and Calibre OPDS server question kalex Calibre 5 12-24-2015 10:16 PM
PHP+Apache web server for calibre ... chaley Related Tools 254 04-28-2014 08:18 PM
External OPDS catalogue in Calibre bolton Calibre 1 09-05-2012 06:14 AM
Calibre Command Line usage with PHP artoros Related Tools 13 07-01-2010 09:57 AM


All times are GMT -4. The time now is 12:56 AM.


MobileRead.com is a privately owned, operated and funded community.