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

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 07-23-2010, 03:01 PM   #1
marcaronson408
Junior Member
marcaronson408 began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jul 2010
Device: Kindle 2
Calibre launch failure

I was using Calibre for several days without any problems when it suddenly stopped working. Some specifics:
  • I launch Calibre. The initial splash screen shows up for a fraction of a second -- just long enough to be visible -- and then it disappears. The normal Calibre interface never shows up.
  • I opened taskmanager and I see that the image "calibre.exe" is running. I kill it and try to restart -- same result.
  • I rebooted to ensure a clean system -- same problem.
  • I uninstalled the version I was running (0.7.9) and installed the latest version (0.7.10) -- same problem.

Not sure what is happening. I am running windows XP SP3 on a laptop. My ebook reader is a Kindle, but it is not connected to the laptop when these problems happen.

Any help that anyone can provide would be greatly appreciated -- thanks!

Marc
marcaronson408 is offline   Reply With Quote
Old 07-23-2010, 03:02 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: 25,790
Karma: 4998511
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Run it from a command prompt as

calibre-debug -g

and post the output
kovidgoyal is offline   Reply With Quote
 
Enthusiast
Old 07-23-2010, 03:11 PM   #3
marcaronson408
Junior Member
marcaronson408 began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jul 2010
Device: Kindle 2
Thank you for the quick response -- here is what I get:
Quote:
C:\Program Files\Calibre2>calibre-debug.exe -g
Starting up...
Failed to parse C:\Documents and Settings\aroma05\Application Data\calibre\gui.py
Traceback (most recent call last):
File "site-packages\calibre\utils\config.py", line 403, in parse
File "encodings\utf_8.py", line 16, in decode
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 0-1: invalid data
Traceback (most recent call last):
File "site-packages\calibre\gui2\main.py", line 251, in initialize
File "site-packages\calibre\gui2\main.py", line 231, in initialize_db
File "site-packages\calibre\gui2\main.py", line 200, in initialize_db_stage2
File "site-packages\calibre\gui2\main.py", line 155, in start_gui
File "site-packages\calibre\gui2\ui.py", line 121, in initialize
File "site-packages\calibre\gui2\layout.py", line 400, in __init__
File "site-packages\calibre\gui2\layout.py", line 578, in setup_actions
File "site-packages\calibre\gui2\device.py", line 643, in create_device_menu
File "site-packages\calibre\gui2\device.py", line 480, in __init__
File "site-packages\calibre\utils\config.py", line 476, in __setitem__
File "site-packages\calibre\utils\config.py", line 487, in set
File "site-packages\calibre\utils\config.py", line 428, in set
File "site-packages\calibre\utils\config.py", line 316, in parse_string
File "encodings\utf_8.py", line 16, in decode
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 0-1: invalid data
marcaronson408 is offline   Reply With Quote
Old 07-23-2010, 03:15 PM   #4
marcaronson408
Junior Member
marcaronson408 began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jul 2010
Device: Kindle 2
I renamed "gui.py" to "gui.py.save", restarted calibre and it looks like things are working. Thanks for suggesting the debug mode.

Update to my post: I see that a new "gui.py" was automatically generated. It contains readable content when viewed in emacs. The saved version contains "junk" when viewed in emacs. I'm guessing that somehow my gui.py file was corrupted.

Marc

Last edited by marcaronson408; 07-23-2010 at 03:47 PM.
marcaronson408 is offline   Reply With Quote
Old 07-23-2010, 08:43 PM   #5
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: 25,790
Karma: 4998511
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Glad you got it working. gui.py contains GUI related configuration information, so you may have lost a few settings.
kovidgoyal is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
calibre and windows 7 failure ibm650 Calibre 10 07-23-2009 07:38 PM
Calibre view failure with mobi under Kubuntu joneall Calibre 2 07-19-2009 10:31 AM
impossible to launch calibre littoral Calibre 22 11-09-2008 06:42 PM
failure to launch whymany Calibre 4 10-06-2008 07:06 AM
calibre failure to install whymany Calibre 3 10-03-2008 09:04 PM


All times are GMT -4. The time now is 04:29 AM.


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