Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 09-14-2009, 09:12 AM   #1
jquest
Member
jquest began at the beginning.
 
Posts: 24
Karma: 10
Join Date: Feb 2008
Device: kindle
6.12 Unstable

Hi,

I'm running 6.12 on Ubuntu 9.04, AMD64, up to date.

I've noticed a number of things with version 6.12:

1. Calibre seems to exit often when doing large numbers of convert to mobi operations, typically from lit to mobi.
2. after one of these crashes it's difficult to get calibre to start again, without manually going into /tmp and removing all calibre* and py* files and directories.
3. Calibre seems to hang often during a convert process, again converting from either pdf or lit files - typically it seems one or more files just 'won't convert'. If I exit calbre, clear the temp dir as in #2 above, and then retry the hanging conversion, often it will go through quickly.
4. It seems as though the 'Show Job Details' button no longer gives you any 'live' status - details will only show up when a conversion job has been completed.
5. Importing groups of files into calibre seems to often make the program exit - most of the groups are combinations of pdfs and lit files.
6. When I try to view a pdf file in calibre, nothing happens. Viewing the file using the external 'evice' browser works just fine, but calibre doesn't seem to be able to view them.

Is there a specific way that I should be running the system to give you debug outputs to help you with the issues? I figure if I am having them, others might be too, and Calibre is too great a program to have these instabilities.

Cheers,

Ned
jquest is offline   Reply With Quote
Old 09-14-2009, 12:20 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You're using the calibre binary installer? Or did you build from source?
kovidgoyal is offline   Reply With Quote
Advert
Old 09-14-2009, 02:12 PM   #3
jquest
Member
jquest began at the beginning.
 
Posts: 24
Karma: 10
Join Date: Feb 2008
Device: kindle
The binary installer
jquest is offline   Reply With Quote
Old 09-14-2009, 03:25 PM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
I've fixed a couple of memory leaks that should take care of 1.


For 2 and 3, try running calibre as

calibre-debug -g

from a terminal

4. the job output is stored to disk now, so buffering of disk IO will cause this.

5. Again calibre-debug -g

6. This will a dependency problem when running the binary installer (it has its own bundled libraries which probably conflict with the system ones preventing evince from running.
kovidgoyal is offline   Reply With Quote
Old 09-14-2009, 07:09 PM   #5
jquest
Member
jquest began at the beginning.
 
Posts: 24
Karma: 10
Join Date: Feb 2008
Device: kindle
great, I'll start running it that way and send debug traces as they occur.

Cheers,

Ned
jquest is offline   Reply With Quote
Advert
Old 09-15-2009, 07:53 AM   #6
jquest
Member
jquest began at the beginning.
 
Posts: 24
Karma: 10
Join Date: Feb 2008
Device: kindle
OK, first time I got to try this new method.

I'm running it from a shell script as follows:

rm -rf /tmp/calib*
rm -rf /tmp/py*
bash -c 'calibre-debug -g > calibre.log 2> calibre-error.log' >calibre-bash.log 2>&1

it created two logs this time - calibre.log, & calibre-error.log

They are attached to this post.

I was importing a bunch of pdb files when this happened.


Thanks.
Attached Files
File Type: txt calibre.log.txt (56.0 KB, 213 views)
File Type: txt calibre-error.log.txt (1.7 KB, 214 views)
jquest is offline   Reply With Quote
Old 09-15-2009, 07:59 AM   #7
jquest
Member
jquest began at the beginning.
 
Posts: 24
Karma: 10
Join Date: Feb 2008
Device: kindle
Now I have removed the 'rm' lines from the script and started again.

The main screen starts to come up, but then it dies immediately.

The log is attached.

I'll put the 'rm' lines back now.
Attached Files
File Type: txt calibre-error.log.txt (673 Bytes, 190 views)
jquest is offline   Reply With Quote
Old 09-15-2009, 08:03 AM   #8
jquest
Member
jquest began at the beginning.
 
Posts: 24
Karma: 10
Join Date: Feb 2008
Device: kindle
still won't come up.

Same log as list time, but I looked in /tmp and saw the attached two log files.

Hmm, now afterwards if I just run straight 'calibre' from the command line, it comes up fine.

maybe this problem is an artifact of running in debug mode after a crash?

yep, must be, since shutting down calibre after the non debug successful startup, then running the debug version seems to work ok.
Attached Files
File Type: txt calibre_0.6.12_FHGpU7_worker_redirect.log.txt (172 Bytes, 203 views)
File Type: txt calibre_0.6.12_zrrV_I_worker_redirect.log.txt (172 Bytes, 207 views)

Last edited by jquest; 09-15-2009 at 08:12 AM.
jquest is offline   Reply With Quote
Old 09-15-2009, 08:26 AM   #9
jquest
Member
jquest began at the beginning.
 
Posts: 24
Karma: 10
Join Date: Feb 2008
Device: kindle
I imported about 10 pdb files, all going well, then edited the metadata to fix some input, and then started a bulk convert of all of these 10 pdb files into mobi.

It ran for a bit, I think one got converted completely and then it died.

Attached is a tar file of the logs from both my shell script, and from the tmp directory.

I've also attached the logs from the 2nd run of bulk convert on the 9 remaining pdb files to mobi.

and one final run in the 3rd tar, I had converted maybe 8 files, choosing to convert them individually rather than in bulk, but as the number of pending jobs got over 10, then it choked again.
Attached Files
File Type: gz calibre-crash-logs.tar.gz (2.2 KB, 223 views)
File Type: gz calibre-crash-logs-2.tar.gz (4.0 KB, 207 views)
File Type: gz calibre-crash-logs-3.tar.gz (15.8 KB, 208 views)

Last edited by jquest; 09-15-2009 at 09:39 AM.
jquest is offline   Reply With Quote
Old 09-15-2009, 11:57 AM   #10
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
OK looks like a segfault when the worker process sends its result to the main process running the GUI. Next thing to do is run the gui with strace as follows

strace -f calibre

Also, I'd suggest waiting a couple of days until I release 0.6.13 as it has a few stability fixes that might take care of this.
kovidgoyal is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Unstable BeBook becomes stable with a Nokia battery IgnareAcademy BeBook 3 06-19-2009 06:10 AM
Unstable BeBook becomes stable without an SD-card IgnareAcademy BeBook 0 06-01-2009 05:40 AM
Plucker V1.8 (stable) and V1.82 (unstable) out Colin Dunstan Reading and Management 0 05-23-2004 04:45 AM


All times are GMT -4. The time now is 04:43 PM.


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