Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 02-01-2015, 05:29 PM   #1
bambuko
Connoisseur
bambuko began at the beginning.
 
Posts: 62
Karma: 10
Join Date: Feb 2014
Device: Kobo mini, Kobo Clara HD
another broken pipe

Not always, but very often when starting Calibre I get the following message:
Code:
Starting up Calibre
/mnt/sdd1/Calibre
Using library at /mnt/sdd1/CalibreLibrary
Traceback (most recent call last):
  File "site-packages/calibre/gui2/splash.py", line 56, in run
  File "site-packages/calibre/gui2/splash.py", line 87, in _show_message
  File "site-packages/calibre/gui2/splash.py", line 84, in send
  File "site-packages/calibre/utils/ipc/__init__.py", line 19, in eintr_retry_call
IOError: [Errno 32] Broken pipe
and when I do get it, the Calibre usually crashes soon after starting.
Any suggestions please?
bambuko is offline   Reply With Quote
Old 02-01-2015, 06:40 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,871
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
That indicates calibre could not communicate with the worker process that displays the splash screen. Turn off the splash screen in the Preferences->Look & Feel.

EDIT: note however, that if there is some fundamental underlying problem, this is unlikely to actually fix it.

Last edited by kovidgoyal; 02-01-2015 at 06:59 PM.
kovidgoyal is offline   Reply With Quote
Advert
Old 02-02-2015, 04:37 AM   #3
bambuko
Connoisseur
bambuko began at the beginning.
 
Posts: 62
Karma: 10
Join Date: Feb 2014
Device: Kobo mini, Kobo Clara HD
Thanks!
It always seems to be splash screen it stops at, so hopefully your suggestion will solve it and there is no underlaying problem...
The only "underlaying" I can think of is the fact that I am using Calibre as portable installation on usb HDD (with Library on the same usb HDD).

I will report after trying it without splash screen for a while.

EDIT:
well it didn't take too long...
it now crashed with:
Code:
/mnt/sdd1/calibre-portable.sh: line 222: 13469 Segmentation fault      
"`pwd`/calibre" --with-library "$CALIBRE_LIBRARY_DIRECTORY"
and another try:
Code:
/mnt/sdd1/calibre-portable.sh: line 222: 24423 Segmentation fault     
"`pwd`/calibre" --with-library "$CALIBRE_LIBRARY_DIRECTORY"
and looking at calibre-portable.sh: line 222

Code:
# original text: calibre --with-library "$CALIBRE_LIBRARY_DIRECTORY"
# below modified to make it portable
"`pwd`/calibre" --with-library "$CALIBRE_LIBRARY_DIRECTORY"
it looks like it might have been cause by the changes I have made

I have now double checked permissions on calibre and reverted back to the original
Code:
calibre --with-library "$CALIBRE_LIBRARY_DIRECTORY"
and I am still having segmentation faults

I am totally confused...

Last edited by bambuko; 02-02-2015 at 05:50 AM.
bambuko is offline   Reply With Quote
Old 02-02-2015, 06:33 AM   #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,871
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
The underlying problem is that Qt is crashing on your system

You can get a backtrace using gdb to confirm that. Just google how to get a backtrace on whatever linux distro you are using.
kovidgoyal is offline   Reply With Quote
Old 02-02-2015, 06:57 AM   #5
bambuko
Connoisseur
bambuko began at the beginning.
 
Posts: 62
Karma: 10
Join Date: Feb 2014
Device: Kobo mini, Kobo Clara HD
This is well beyond my knowledge level but I will try

EDIT (on reflection):
If it is indeed QT crashing on my system, why doesn't it crash when I am running Calibre installed on PC HDD, only crashing when I am using portable installation on usb connected HD ?

Last edited by bambuko; 02-02-2015 at 07:10 AM.
bambuko is offline   Reply With Quote
Advert
Old 02-02-2015, 07:21 AM   #6
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,871
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Who knows, Qt is a sensitive beast. calibre itself is written in python,which doesn't crash (it's an interpreted language) so when a crash happens it is almost always in Qt. But, as I said, we need a backtrace to confirm that.
kovidgoyal is offline   Reply With Quote
Old 02-02-2015, 07:25 AM   #7
bambuko
Connoisseur
bambuko began at the beginning.
 
Posts: 62
Karma: 10
Join Date: Feb 2014
Device: Kobo mini, Kobo Clara HD
Quote:
Originally Posted by kovidgoyal View Post
... But, as I said, we need a backtrace to confirm that.
I am working on it - trying to educate myself, so it may take a bit longer
bambuko is offline   Reply With Quote
Old 02-15-2015, 09:19 AM   #8
bambuko
Connoisseur
bambuko began at the beginning.
 
Posts: 62
Karma: 10
Join Date: Feb 2014
Device: Kobo mini, Kobo Clara HD
Solved - changed distro (was thinking about doing it anyway and this problem made my mind )
Now running in LinuxMint17.1 cinnamon and without any problems.

Thank you for your help
bambuko is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ERROR: Unhandled exception: <b>IOError</b>:[Errno 32] Broken pipe Martin77 Calibre 3 12-24-2015 07:50 AM
Broken pipe issues jasonfedelem Library Management 8 06-05-2015 07:34 AM
Is this a pipe dream? Marcy Which one should I buy? 1 03-05-2014 06:46 AM
Accessories Pipe music from your eDGe to your stereo via BlueTooth borisb enTourage Archive 0 05-24-2010 04:22 PM
Unutterably Silly This is not a pipe dream montsnmags Lounge 30 11-23-2008 07:15 PM


All times are GMT -4. The time now is 03:38 AM.


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