03-15-2015, 09:26 PM | #1 |
Ex-Helpdesk Junkie
Posts: 19,421
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Why can't I install the latest calibre on Windows XP?
When calibre version 2.0.0 was released, it was transitioned over to a new graphical toolkit, Qt5. Qt no longer supports Windows XP (and neither does Microsoft, so there is little hope of anything changing).
As a result, the latest version of calibre to work on Windows XP is calibre 1.48. If you want to run calibre on Windows XP, you have a few options:
|
04-07-2015, 07:28 AM | #2 |
Addict
Posts: 224
Karma: 3184
Join Date: Feb 2011
Device: ONYX BOOX Note Air3 C
|
I've followed the instructions in: 2.
Still I'm missing connecting part: I now have a "C:\Program Files\Calibre2\" directory with the 2.23.0 binaries (which won't run because of the safety check). I also have an edited "src/calibre/gui2/__init__.py" Whats next? How do I get a binary out of it ? Can it actually be run right now as is ? (If so, how ?) |
Advert | |
|
04-07-2015, 10:43 AM | #3 |
Ex-Helpdesk Junkie
Posts: 19,421
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Make sure you follow all the instructions for setting up a development environment.
For instance, did you set the CALIBRE_DEVELOP_FROM environment variable as directed? |
04-07-2015, 11:56 AM | #4 |
Addict
Posts: 224
Karma: 3184
Join Date: Feb 2011
Device: ONYX BOOX Note Air3 C
|
Yes, I followed all the instructions, including setting up the environment variable and testing to make sure it's set.
I even followed the implied instruction that I should have python installed, and installed version 2.7.9 . But what is it I'm suppose to do next ? I just want to use the latest version which should work just fine on my system seeing as I've been using version 2.0.0 until now which I suppose was the latest to install on xp. |
04-07-2015, 12:01 PM | #5 |
Ex-Helpdesk Junkie
Posts: 19,421
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
If you still get the incompatibility warning, you haven't set it up correctly.
If it was set up correctly, just run calibre as you would normally. If nothing happens, maybe it crashed horribly -- like I warned. What is the output from running "calibre-debug -g" from the command prompt? |
Advert | |
|
04-07-2015, 12:14 PM | #6 |
Addict
Posts: 224
Karma: 3184
Join Date: Feb 2011
Device: ONYX BOOX Note Air3 C
|
Ah, I get your meaning about the environment variable (should have set it globally).
However it is still not enough despite editing the indicated file I still get the same error message that should have been disabled. |
04-07-2015, 12:19 PM | #7 |
Addict
Posts: 224
Karma: 3184
Join Date: Feb 2011
Device: ONYX BOOX Note Air3 C
|
calibre 2.23* isfrozen: True is64bit: False
Windows-XP-5.1.2600-SP3 Windows ('32bit', 'WindowsPE') ('Windows', 'XP', '5.1.2600') Python 2.7.9 Windows: ('XP', '5.1.2600', 'SP3', 'Multiprocessor Free') Python function terminated unexpectedly calibre requires Windows Vista or newer to run, the last version of calibre that could run on Windows XP is version 1.48, available from : http://download.calibre-ebook.com/ (Error Code: 1) Traceback (most recent call last): File "site.py", line 132, in main File "site.py", line 109, in run_entry_point File "G:\WorkSpace\Programming\Cygwin\home\User\cal ibre-2.23.0\src\calibre\debug.py", line 220, in main calibre(['calibre']) File "G:\WorkSpace\Programming\Cygwin\home\User\cal ibre-2.23.0\src\calibre\gui_launch.py", line 61, in calibre with register_with_default_programs(): File "G:\WorkSpace\Programming\Cygwin\home\User\cal ibre-2.23.0\src\calibre\gui_launch.py", line 47, in register_with_default_programs from calibre.utils.winreg.default_programs import Register File "G:\WorkSpace\Programming\Cygwin\home\User\cal ibre-2.23.0\src\calibre\utils\winreg\default_programs.p y", line 17, in <module> from calibre.utils.winreg.lib import Key, HKEY_CURRENT_USER, HKEY_LOCAL_MACHINE File "G:\WorkSpace\Programming\Cygwin\home\User\cal ibre-2.23.0\src\calibre\utils\winreg\lib.py", line 136, in <module> raise RuntimeError('calibre requires Windows Vista or newer to run, the last version of calibre' RuntimeError: calibre requires Windows Vista or newer to run, the last version of calibre that could run on Windows XP is version 1.48, av ailable from: http://download.calibre-ebook.com/ |
04-07-2015, 04:42 PM | #8 |
Ex-Helpdesk Junkie
Posts: 19,421
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Hmm, the new Default Programs register is blocking it?
I would hope that an error there didn't block calibre from starting... OK. In src/calibre/gui_launch.py, change: Code:
def register_with_default_programs(): from calibre.constants import iswindows if iswindows: |
04-07-2015, 07:47 PM | #9 |
Addict
Posts: 224
Karma: 3184
Join Date: Feb 2011
Device: ONYX BOOX Note Air3 C
|
Does not seem to have changed it:
Code:
calibre 2.23* isfrozen: True is64bit: False Windows-XP-5.1.2600-SP3 Windows ('32bit', 'WindowsPE') ('Windows', 'XP', '5.1.2600') Python 2.7.9 Windows: ('XP', '5.1.2600', 'SP3', 'Multiprocessor Free') Python function terminated unexpectedly calibre requires Windows Vista or newer to run, the last version of calibre that could run on Windows XP is version 1.48, available from: http://download.calibre-ebook.com/ (Error Code: 1) Traceback (most recent call last): File "site.py", line 132, in main File "site.py", line 109, in run_entry_point File "G:\WorkSpace\Programming\Cygwin\home\User\calibre-2.23.0\src\calibre\debug.py", line 220, in main calibre(['calibre']) File "G:\WorkSpace\Programming\Cygwin\home\User\calibre-2.23.0\src\calibre\gui_launch.py", line 63, in calibre main(args) File "G:\WorkSpace\Programming\Cygwin\home\User\calibre-2.23.0\src\calibre\gui2\main.py", line 489, in main gui_debug=gui_debug) File "G:\WorkSpace\Programming\Cygwin\home\User\calibre-2.23.0\src\calibre\gui2\main.py", line 335, in run_gui from calibre.gui2.ui import Main File "G:\WorkSpace\Programming\Cygwin\home\User\calibre-2.23.0\src\calibre\gui2\ui.py", line 51, in <module> from calibre.gui2.open_with import register_keyboard_shortcuts File "G:\WorkSpace\Programming\Cygwin\home\User\calibre-2.23.0\src\calibre\gui2\open_with.py", line 65, in <module> from calibre.utils.winreg.default_programs import find_programs, friendly_app_name File "G:\WorkSpace\Programming\Cygwin\home\User\calibre-2.23.0\src\calibre\utils\winreg\default_programs.py", line 17, in <module> from calibre.utils.winreg.lib import Key, HKEY_CURRENT_USER, HKEY_LOCAL_MACHINE File "G:\WorkSpace\Programming\Cygwin\home\User\calibre-2.23.0\src\calibre\utils\winreg\lib.py", line 136, in <module> raise RuntimeError('calibre requires Windows Vista or newer to run, the last version of calibre' RuntimeError: calibre requires Windows Vista or newer to run, the last version of calibre that could run on Windows XP is version 1.48, available from: http://download.calibre-ebook.com/ |
04-07-2015, 11:13 PM | #10 |
creator of calibre
Posts: 44,334
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
@eschawartz: Default programs uses APIs only available on Vista and later. You have to prevent the entire module from being imported.
|
04-08-2015, 12:19 AM | #11 |
Ex-Helpdesk Junkie
Posts: 19,421
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
I do believe that is exactly what I did (making the iswindows check fail, just like on osx and linux, so it uses the Dummy() ), except it appears now the Open With code also uses it, and I am not sure how to abort that.
|
04-08-2015, 12:34 AM | #12 |
creator of calibre
Posts: 44,334
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Just comment it out, and maybe replace it with dummy functions. Open With will then fail, but everything else should still work. Though really, this is a losing battle you are fighting. More and more places in calibre are going to start using stuff not available in XP.
|
04-08-2015, 12:45 AM | #13 |
Ex-Helpdesk Junkie
Posts: 19,421
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Everyone can decide for themselves when it isn't worth their personal effort anymore, and then freeze their source checkout right before then.
@J.C., In the meantime (because I may end up writing more advanced instructions), the simple isxp disabling *should* work fine using calibre 2.20,and checking out commit e07fc77a529b1787e9de6210d3e1b56d7569ed27. Or disabling default programs as I wrote above, based off of commit ff82ba858ca507be263a4cd76495c4c41587a47a. Last edited by eschwartz; 04-08-2015 at 12:50 AM. |
04-08-2015, 12:46 AM | #14 |
Resident Curmudgeon
Posts: 75,860
Karma: 134368292
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
The solution to running Calibre 2.x under XP is to run the Windows 8.1 comparability check from Microsoft and if the computer is compatible, backup the system drive, install a 64-bit Windows 7 or Windows 8.1 in place of XP. But you will have to install your programs and configure your system all over again.
But in the end, it's worth is a you won't be stuck trying to run things that won't run or won't run well enough. Sigil and Calibre are two programs that do run better with Windows 7 or 8.1. It's never going to get better. It's only going to get worse. XP IS DEAD! Time to move on even if that means having to buy a new computer or upgrade the one you have. |
04-08-2015, 12:57 AM | #15 | |
Ex-Helpdesk Junkie
Posts: 19,421
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Quote:
In case the objective of this thread has eluded you: We know. In fact, I strongly advised against sticking with XP in the opening post. And henceforth we shall restrain ourselves to non-redundant discussion, for example, allowing people to discuss their efforts at doing inadvisable things with full knowledge of the situation. Because everyone deserves the right to experiment if they so desire. Thank you for bringing up this very salient point. But from now on, please restrict yourself to discussing the technical aspects of the ideas in the OP. |
|
Tags |
calibre 2.x, qt5, windows xp |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre install fails windows 8 | rover176 | Devices | 3 | 05-06-2013 05:36 AM |
Can't install Calibre on Windows Vista | jo jo | Devices | 8 | 12-27-2012 02:44 PM |
Cannot install Calibre 8.6 in Windows 7 | polarbearx | Calibre | 5 | 07-26-2012 09:39 AM |
Why can't I install Calibre on Windows 7 ? | Joypeace3 | Calibre | 1 | 01-24-2012 12:50 PM |
Cannot install calibre in windows 7 | chirotor | Calibre | 20 | 12-18-2010 06:05 AM |