Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 03-28-2011, 05:21 AM   #1
speakingtohe
Wizard
speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.
 
Posts: 4,812
Karma: 26912940
Join Date: Apr 2010
Device: sony PRS-T1 and T3, Kobo Mini and Aura HD, Tablet
Problem upgrading to 7.51 or 7.52

I upgraded to 7.51 and calibre could not load library
I then upgraded to 7.52 with the same result.
I tried many things, including renaming /moving library directories running in debug mode etc. Leaving Calibre running overnight and had no luck

Calibre loads Splash screen. Splash screen disappears and nothing happens.
Windows task manager shows Calibre running with 6 parallel processes.
No cpu usage showing and the memory usage for Calibre.exe increments by 4k every 5-10 seconds.

After failing to get either version to work I went back to 7.47

Calibre said the database was corrupted so I tried another library which loaded.

I deleted the Calibre config directory and then it would load the original library

I thought it would be a good time to just start a new library and import all books. This went surprisingly well and was much faster than I expected. Missed a few hundred but that can be fixed.

Database check passed.

Installed 7.52 again and back where I started.

Calibre loads Splash screen. Splash screen disappears and nothing happens.
Windows task manager shows Calibre running with 6 parallel processes.
No cpu usage showing and the memory usage for Calibre.exe increments by 4k every 5-10 seconds.

I am running Windows 7 on I7 system and have had no previous problems with Calibre.
I assume it is a problem that only I am having as I have been reading the forum looking for a clue.

Any advice greatly appreciated.

Thanks
Helen
speakingtohe is offline   Reply With Quote
Old 03-28-2011, 05:26 AM   #2
ldolse
Wizard
ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.
 
Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
You could try launching from the command line using this command:
calibre-debug -g

And then paste the debug output here.
ldolse is offline   Reply With Quote
Advert
Old 03-28-2011, 05:45 AM   #3
speakingtohe
Wizard
speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.
 
Posts: 4,812
Karma: 26912940
Join Date: Apr 2010
Device: sony PRS-T1 and T3, Kobo Mini and Aura HD, Tablet
Alright
Thanks Helen

C:\Program Files (x86)\Calibre2>calibre-debug -g
Starting up...
Traceback (most recent call last):
File "site-packages\calibre\gui2\main.py", line 253, in initialize
File "site-packages\calibre\gui2\main.py", line 234, in initialize_db
File "site-packages\calibre\gui2\main.py", line 203, in initialize_db_stage2
File "site-packages\calibre\gui2\main.py", line 159, in start_gui
File "site-packages\calibre\gui2\ui.py", line 228, in initialize
File "site-packages\calibre\gui2\init.py", line 58, in __init__
File "site-packages\calibre\gui2\library\views.py", line 412, in set_database
File "site-packages\calibre\gui2\library\models.py", line 154, in set_database

File "site-packages\calibre\gui2\library\models.py", line 699, in build_data_c
onvertors
AttributeError: 'NoneType' object has no attribute 'get'
speakingtohe is offline   Reply With Quote
Old 03-28-2011, 05:46 AM   #4
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,896
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
The first time you run calibre after upgrading beyond version 0.7.47 it will take longer to start because of a database change that requires the database to be adjusted.

So the question is did you let it run long enough before you killed it? Since it was running and the memory usage was increasing I'm guessing you didn't let it finish the database changes.

From Calibre's Change Log
Quote:
Release: 0.7.48 [04 Mar, 2011]

New Features
  • Changes to the internal database structure used by calibre "These changes will allow calibre, in the future, to support book language, arbitrary book identifiers and keep track of when the metadata for a book was last modified. WARNING: Because of these changes, if you downgrade calibre versions after upgrading to 0.7.48, you will lose any changes you make to the ISBN of book entries in your calibre database, so do not downgrade unless you really have to. Also note that the first time you start calibre after this update, the startup will be slow as the database structure is being changed."

Last edited by DoctorOhh; 03-28-2011 at 05:52 AM.
DoctorOhh is offline   Reply With Quote
Old 03-28-2011, 05:53 AM   #5
Lady Fitzgerald
Wizard
Lady Fitzgerald ought to be getting tired of karma fortunes by now.Lady Fitzgerald ought to be getting tired of karma fortunes by now.Lady Fitzgerald ought to be getting tired of karma fortunes by now.Lady Fitzgerald ought to be getting tired of karma fortunes by now.Lady Fitzgerald ought to be getting tired of karma fortunes by now.Lady Fitzgerald ought to be getting tired of karma fortunes by now.Lady Fitzgerald ought to be getting tired of karma fortunes by now.Lady Fitzgerald ought to be getting tired of karma fortunes by now.Lady Fitzgerald ought to be getting tired of karma fortunes by now.Lady Fitzgerald ought to be getting tired of karma fortunes by now.Lady Fitzgerald ought to be getting tired of karma fortunes by now.
 
Lady Fitzgerald's Avatar
 
Posts: 2,013
Karma: 251649
Join Date: Apr 2010
Location: Tempe, AZ, USA, Earth
Device: JetBook Lite (away from home) + 1 spare, 32" TV (at home)
Is it necessary to install 0.7.48 before installing a later version if installing from a version earlier than 0.7.48? How long does it typically take for calibre to convert to the new database?
Lady Fitzgerald is offline   Reply With Quote
Advert
Old 03-28-2011, 05:56 AM   #6
speakingtohe
Wizard
speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.
 
Posts: 4,812
Karma: 26912940
Join Date: Apr 2010
Device: sony PRS-T1 and T3, Kobo Mini and Aura HD, Tablet
I did run it overnight first time (about 10 hours) and was doing it again.
I stupidly thought it should be done as my computer is very fast.
It is now running in debug mode I will just leave it go I guess?

Thanks Helen
speakingtohe is offline   Reply With Quote
Old 03-28-2011, 05:57 AM   #7
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,896
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
Quote:
Originally Posted by Lady Fitzgerald View Post
Is it necessary to install 0.7.48 before installing a later version if installing from a version earlier than 0.7.48? How long does it typically take for calibre to convert to the new database?
No, I don't believe installing 0.7.48 is required. I don't recall it taking too long for these changes to the database but everyone's setups are different.
DoctorOhh is offline   Reply With Quote
Old 03-28-2011, 05:59 AM   #8
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,896
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
Quote:
Originally Posted by speakingtohe View Post
I did run it overnight first time (about 10 hours) and was doing it again.
I stupidly thought it should be done as my computer is very fast.
It is now running in debug mode I will just leave it go I guess?

Thanks Helen
It shouldn't take that long. Hopefully someone with more insight will check out your situation.

You could open a bug ticket.
DoctorOhh is offline   Reply With Quote
Old 03-28-2011, 06:06 AM   #9
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,408
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
That debug log says that there is something wrong with a custom column.

How much of calibre comes up? In particular, can you see the toolbar and use the preferences dialogs? If so, then go to preferences -> add your own columns, then for each custom column, select it, press the I button to look at its properties, then press OK having changed nothing. After doing this to all columns, press Apply. My strong suspicion is that the error will disappear.
chaley is offline   Reply With Quote
Old 03-28-2011, 06:17 AM   #10
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,408
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
I looked at the code, and there isn't any obvious way that the custom columns can get broken in the way they seem to have been. I would like to understand how it got that way. Could you give me a copy of your database (metadata.db)? Zip it first, please, then send it to calibre-bugs at charles dot haleys dot org.

Thanks

BTW: letting it run won't do anything useful...

EDIT: I can probably fix the db, in which case I will send it back to you.

Last edited by chaley; 03-28-2011 at 06:34 AM.
chaley is offline   Reply With Quote
Old 03-28-2011, 06:22 AM   #11
speakingtohe
Wizard
speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.
 
Posts: 4,812
Karma: 26912940
Join Date: Apr 2010
Device: sony PRS-T1 and T3, Kobo Mini and Aura HD, Tablet
Nothing comes up but the splash screen which disappears in 10 seconds.
Calibre is not listed in the task manager under applications tab as it would normally be.
Windows task manager process tab shows Calibre running with 6 parallel processes.

Thanks Helen
speakingtohe is offline   Reply With Quote
Old 03-28-2011, 06:43 AM   #12
speakingtohe
Wizard
speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.
 
Posts: 4,812
Karma: 26912940
Join Date: Apr 2010
Device: sony PRS-T1 and T3, Kobo Mini and Aura HD, Tablet
Quote:
BTW: letting it run won't do anything useful
I stopped it, deleted config directory and started calibre with empty library
That was fine
I tried opening library I created 2 days ago and got
-------------
calibre, version 0.7.52
ERROR: Unhandled exception: <b>AttributeError</b>:'NoneType' object has no attribute 'get'

Traceback (most recent call last):
File "site-packages\calibre\gui2\dialogs\choose_library.py", line 97, in accept
File "site-packages\calibre\gui2\dialogs\choose_library.py", line 72, in perform_action
File "site-packages\calibre\gui2\actions\choose_library.py", line 387, in choose_library_callback
File "site-packages\calibre\gui2\ui.py", line 439, in library_moved
File "site-packages\calibre\gui2\library\views.py", line 412, in set_database
File "site-packages\calibre\gui2\library\models.py", line 154, in set_database
File "site-packages\calibre\gui2\library\models.py", line 699, in build_data_convertors
AttributeError: 'NoneType' object has no attribute 'get'


--------------------------
I tried creating a custom column and got

calibre, version 0.7.52
ERROR: Unhandled exception: <b>KeyError</b>:u'#err'

Traceback (most recent call last):
File "site-packages\calibre\gui2\preferences\main.py", line 275, in show_plugin
File "site-packages\calibre\gui2\preferences\columns.py", line 38, in initialize
File "site-packages\calibre\gui2\preferences\columns.py", line 65, in init_columns
File "site-packages\calibre\gui2\preferences\columns.py", line 65, in <lambda>
KeyError: u'#err'

----------------------------------

It is 3:30 AM here so I will have to try tomorrow.
I will reinstall 7.47 again and see if I can sort out the custom column issue using that release.

Thanks for your help.
Helen
speakingtohe is offline   Reply With Quote
Old 03-28-2011, 01:37 PM   #13
speakingtohe
Wizard
speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.
 
Posts: 4,812
Karma: 26912940
Join Date: Apr 2010
Device: sony PRS-T1 and T3, Kobo Mini and Aura HD, Tablet
The problem is mostly resolved and was caused by corrupted database which Charles (chaley) repaired.
Thanks all
Helen
speakingtohe is offline   Reply With Quote
Old 03-28-2011, 01:38 PM   #14
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,408
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Thanks for the database. I identified the symptom, and have added code to repair the problem when it occurs. This change will be in the next release.

Unfortunately, I haven't identified how it happened. The four suspects, check_database, create_library, restore_database, and modify column, all do the right thing.
chaley is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Opus Problem Upgrading Opus Adri Bookeen 18 02-20-2011 06:15 AM
problem upgrading GA Russell Calibre 4 09-29-2010 05:22 PM
Problem upgrading calibre AprilHare Calibre 5 04-16-2009 05:42 PM
Problem upgrading to last version trustno12003 Calibre 0 12-26-2008 07:36 AM
Problem upgrading capinredbeard iRex 4 02-12-2008 02:02 AM


All times are GMT -4. The time now is 07:13 AM.


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