Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Devices

Notices

Reply
 
Thread Tools Search this Thread
Old 06-08-2015, 01:21 PM   #31
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,224
Karma: 145488788
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Try a safe mode reboot with networking ad see what happens. If Calibre works, then you know it's something you run on startup.
JSWolf is offline   Reply With Quote
Old 06-08-2015, 02:41 PM   #32
kacir
Wizard
kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.
 
kacir's Avatar
 
Posts: 3,463
Karma: 10684861
Join Date: May 2006
Device: PocketBook 360, before it was Sony Reader, cassiopeia A-20
I was fighting similar issue years ago with a Microsoft Visual Foxpro application that I wrote for a company.
On some computers it took a long time to start the application and/or do certain operations.
That was a big deal, because the issue was wasting valuable employee time.

I ended up installing something like this:
http://www.nirsoft.net/utils/opened_files_view.html
that enabled me to dump and analyze every single access to a file or a directory - to see what the program was trying to access.

I was shocked to see thousands of file [directory] access handles as the application was searching the $PATH and system directories for for an executable file, dll libraries and hundreds of things a modern application needs to run.


I would suspect that something is trying to access some network share or something that doesn't exist. There is similar problem when running older versions of MSOffice when some network shares aren't accessible and you try to do some unusual stuff, such as opening "SaveAs" or "Open file" dialog panel ;-).

I suggest installing a piece of software that can logg *all* file acess, rebooting a machine, waiting a bit until things settle down (and all programs that need to do stuff upon startup finish the work), then activating the logging and starting Calibre.


As a next step you can try to run some process explorer software (even the windows built-in one) and watch what software / library / service is most active during the 30 seconds when Calibre freezes the computer.


I also like to install "startup guard" plugin to Total Commander an weed out all software that is scheduled to start automatically after boot. *Everybody* (*) and his brother think that their little piece of software is the most important one and they try to start it behind your back, so it is ready as soon as you want to use it, even if you need to run it four times a year - for things like backing-up your contacts from your Nokia dumbphone. If they do not start the software itself, they will at least try to check for updates or preload something. Sigh ... .
Startup Guard lists all programs that are set up to start automatically (not services) and you can disable them by a simple doubleclick. I like to disable everything - the three system programs that do need to be started automatically will add themselves to the startup somewhere again. When in doubt, disable the software and then when you miss something you can re-enable it again. You might want to let the Antivirus run ;-).

And while I talk about my beloved TotalCommander, there are quite a few plugins, one of them process explorer that will let you see what is running on your computer. There are quite a few processes started by default that you can safely disable [at home].


One of reasons I prefer to use something other than Windows at home is that I do not need to run antivirus that needs to check every single file before it is accessed by any application.


(*) Calibre is one of notable exceptions. Thank you Kovid ;-)
kacir is offline   Reply With Quote
Advert
Old 06-08-2015, 03:59 PM   #33
Strether
Guru
Strether ought to be getting tired of karma fortunes by now.Strether ought to be getting tired of karma fortunes by now.Strether ought to be getting tired of karma fortunes by now.Strether ought to be getting tired of karma fortunes by now.Strether ought to be getting tired of karma fortunes by now.Strether ought to be getting tired of karma fortunes by now.Strether ought to be getting tired of karma fortunes by now.Strether ought to be getting tired of karma fortunes by now.Strether ought to be getting tired of karma fortunes by now.Strether ought to be getting tired of karma fortunes by now.Strether ought to be getting tired of karma fortunes by now.
 
Strether's Avatar
 
Posts: 765
Karma: 2825929
Join Date: Feb 2007
Location: Fresno
Device: Kindle 1; iPad Air; iPhone 7; Kobo Libra; Kindle Oasis 3
I've hesitated to join this discussion because I know zip about computers. But I had exactly the same symptoms on my computer quite a while ago and it lasted about a year and then abruptly cleared up.

However, I remember trying to think about what had changed in my computer since the last time I'd opened Calibre and the only thing I could think of was that I'd had a Windows Update. I looked at the log of updates and there were a couple of updates to the Microsoft.NET Framework and wondered if there was some conflict.

As I said, it cleared up on its own though it took a long time. But I wonder if Harry T can remember if his problem occurred after the recent Update which happened on 5/12/15, and which also involved the NET Framework, at least on my machine.

Jim
Strether is online now   Reply With Quote
Old 06-08-2015, 04:56 PM   #34
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,637
Karma: 29710510
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by theducks View Post
Really strange is the Inital launch aspect. Something has to wake up, then persists wethere C is running or not.
Cloud?
maybe not wake up as such, but look up some such, on LAN or WAN; or some other network jiggery pokery.

@HarryT - try disconnecting the PC from your network before starting calibre.

And some long shots :
  • Rename the calibre configuration folder to calibre-save. When you start calibre, you may have to 'reconnect' your libraries via Switch/create library. If no effect, delete the newly created configuration folder and rename the old one, calibre-save, back to calibre.
  • Do with calibre-cache the same as above, its in -- C:\Users\{username}\AppData\Local or C:\Users\{username}\AppData\LocalLow -- I forget which, because I've moved mine.
  • Remove calibre-{anything} from C:\Users\{username}\AppData\Local\Temp

    You could also try making use of calibre's Environment variables to relocate the configuration, temporary and cache folders.
BR

Last edited by BetterRed; 06-08-2015 at 05:08 PM.
BetterRed is offline   Reply With Quote
Old 06-09-2015, 12:18 AM   #35
FizzyWater
You kids get off my lawn!
FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.FizzyWater ought to be getting tired of karma fortunes by now.
 
FizzyWater's Avatar
 
Posts: 4,220
Karma: 73492664
Join Date: Aug 2007
Location: Columbus, Ohio
Device: Oasis 2 and Libra H2O and half a dozen older models I can't let go of
For what it's worth, Calibre has been doing this on my computer for some time now as well. I don't use MSE; I use Eset. I used Eset before I started happening....I no longer remember which one, but this started after one of the Calibre updates and hasn't gone away since.

Since I occasionally have issues with Calibre that clear up in later updates, I've just waited and hoped it would go away.
FizzyWater is offline   Reply With Quote
Advert
Old 06-09-2015, 02:47 AM   #36
DrChiper
Bookish
DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.
 
DrChiper's Avatar
 
Posts: 1,006
Karma: 2003162
Join Date: Jun 2011
Device: PC, t1, t2, t3, Clara BW, Clara HD, Libra 2, Libra Color, Nxtpaper 11
Quote:
Originally Posted by kacir View Post
I ended up installing something like this:
http://www.nirsoft.net/utils/opened_files_view.html
that enabled me to dump and analyze every single access to a file or a directory - to see what the program was trying to access.
I'm using the free Microsoft app "procmon" (process monitor), which can be obtained from sysinternals
https://technet.microsoft.com/en-us/sysinternals

It provides all kinds of overviews on registry, files, networks, processes and profiling. Highly recommended. They have other nifty tools too.

Of course, today I couldn't find any freeze at all

Most time seems to be spend in pylib.zip, and there are quite a number of buffer overflows in the plugins and calibre resources. As there is no freeze, however, that does not seems to be too harmful
DrChiper is offline   Reply With Quote
Old 06-09-2015, 03:07 AM   #37
Katsunami
Grand Sorcerer
Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.Katsunami ought to be getting tired of karma fortunes by now.
 
Katsunami's Avatar
 
Posts: 6,111
Karma: 34000001
Join Date: Mar 2008
Device: KPW1, KA1
Quote:
Originally Posted by HarryT View Post
Please read the rest of the thread for more up-to-date information . I've already tried what you suggest (but thanks for the suggestion!).
It seems I've missed that. I've seen that you excluded the entire calibre folder, but saw no mention of the library.

Would it be an option to temporarily disable any plugins and libraries, to see if you have some corrupt or outdated stuff in there or something...
Katsunami is offline   Reply With Quote
Old 06-09-2015, 03:34 AM   #38
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
On the CLI:
Code:
calibre --ignore-plugins
eschwartz is offline   Reply With Quote
Old 06-09-2015, 06:39 AM   #39
kacir
Wizard
kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.kacir ought to be getting tired of karma fortunes by now.
 
kacir's Avatar
 
Posts: 3,463
Karma: 10684861
Join Date: May 2006
Device: PocketBook 360, before it was Sony Reader, cassiopeia A-20
Quote:
Originally Posted by DrChiper View Post
I'm using the free Microsoft app "procmon" (process monitor), which can be obtained from sysinternals
I think that that I used Filemon from sysinternals. I just couldn't remember the name of the software in a hurry.
Process Monitor you mention is new and improved version.
kacir is offline   Reply With Quote
Old 06-09-2015, 07:09 AM   #40
DrChiper
Bookish
DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.
 
DrChiper's Avatar
 
Posts: 1,006
Karma: 2003162
Join Date: Jun 2011
Device: PC, t1, t2, t3, Clara BW, Clara HD, Libra 2, Libra Color, Nxtpaper 11
Quote:
Originally Posted by kacir View Post
I think that that I used Filemon from sysinternals. I just couldn't remember the name of the software in a hurry.
Process Monitor you mention is new and improved version.
Not quite: ProcMon exists already for years and years. They released recently a new version though. Together with "ProcExp" (Process Explorer) these are the tools to inspect app behavior in your wintel system.
DrChiper is offline   Reply With Quote
Old 06-09-2015, 05:28 PM   #41
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,637
Karma: 29710510
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by DrChiper View Post
Most time seems to be spend in pylib.zip, and there are quite a number of buffer overflows in the plugins and calibre resources. As there is no freeze, however, that does not seems to be too harmful
Hmmm - that's in accordance with chaley's observation in here ==>> post 8

pylib.zip contains a swag of python intermediate code (.pyo - python object code ?), it presumably needs to be loaded when calibre starts. But why would chaley's instance of MSE get involved with that. Maybe because chaley runs calibre differently from most of us ?

There are sub-directories and files with the same name in pylib.zip, hence it cannot be unzipped on a regular Windows/NTFS system using a regular unzipper, viz:

Click image for larger version

Name:	Capture.JPG
Views:	250
Size:	30.9 KB
ID:	139144

But that's probably a red herring. I suspect the intermediate code is loaded direct from the zip file, also the 'duplicate' file names have no extension so presumably they'd be ignored, anyway I think they're all zero length.

BR
BetterRed is offline   Reply With Quote
Old 06-09-2015, 05:33 PM   #42
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,637
Karma: 29710510
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by Katsunami View Post
It seems I've missed that. I've seen that you excluded the entire calibre folder, but saw no mention of the library.

Would it be an option to temporarily disable any plugins and libraries, to see if you have some corrupt or outdated stuff in there or something...
@Katsunami - see what Kovid wrote at ==>> post 15

BR
BetterRed is offline   Reply With Quote
Old 06-09-2015, 06:44 PM   #43
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,341
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by BetterRed View Post
Maybe because chaley runs calibre differently from most of us ?
I always run calibre from the command line using calibre-debug -g. I also have disabled the splash screen.

For me the freeze came after calibre announced that plugins were "successfully initialized" and IIRC before calibre announced "Starting up". The first I am sure of. The second I am not.
chaley is offline   Reply With Quote
Old 06-10-2015, 04:32 AM   #44
DrChiper
Bookish
DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.DrChiper ought to be getting tired of karma fortunes by now.
 
DrChiper's Avatar
 
Posts: 1,006
Karma: 2003162
Join Date: Jun 2011
Device: PC, t1, t2, t3, Clara BW, Clara HD, Libra 2, Libra Color, Nxtpaper 11
Quote:
Originally Posted by chaley View Post
For me the freeze came after calibre announced that plugins were "successfully initialized" and IIRC before calibre announced "Starting up". The first I am sure of. The second I am not.
Interesting. I start calibre via the icon and have the splash enabled. The freeze (when it does happen ) occurs always BEFORE the splash is shown. I use the splash actually as an kind of indicator that the freeze is finished and calibre is almost done with its initializing.
DrChiper is offline   Reply With Quote
Old 06-10-2015, 04:47 AM   #45
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 85,544
Karma: 93383099
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
Quote:
Originally Posted by DrChiper View Post
Interesting. I start calibre via the icon and have the splash enabled. The freeze (when it does happen ) occurs always BEFORE the splash is shown. I use the splash actually as an kind of indicator that the freeze is finished and calibre is almost done with its initializing.
Yep, same here. Freeze, THEN splash-screen. Splash-screen to main window appearing is typically only a couple of seconds.
HarryT is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is it safe to allow calibre scan my entire device? drmadhupk Calibre 13 08-11-2014 12:56 AM
Calibre locks up since last update MikeFortkamp Devices 6 03-15-2014 11:27 PM
Calibre Locks up Laptop during news D/L yocalif Devices 5 03-25-2011 12:16 AM
Please Help - My Entire Calibre Library Disappeared Marcy Calibre 17 08-14-2010 09:56 AM
Did Calibre really just delete my entire collection?! GavinZac Calibre 12 02-06-2009 10:23 PM


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


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