View Single Post
Old 08-26-2014, 09:09 PM   #25
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by BetterRed View Post
@rebl - It would appear the PI is trying to use
'wordconv_exe_path': u'c:\\Program Files\\Microsoft Office\\Office12\\Wordconv.exe'

You could right about wordconv.exe being 'locked' into the location into which it was installed, Office is a cantankerous thing. On my system it appears in the Default value of ...Wow6432Node\Classes\CLSID\{BC7ADC2B-CC8C-48d2-A820-1BC605B0D3C7}\LocalServer32 as c:\\Program Files (86)\\Microsoft Office\\Office12\\Wordconv.exe.

Aaaah, I just installed DOC Input. I think I see the problem, the PI doesn't appear to save the location of wordconv.exe. I would expect it to create a file named DOC Input.json in the %CALIBRE_CONFIG_DIRECTORY%\plugins in which it would persist the path to wordconv.exe - but I don't see any such thing.

So every time it executes it reverts back to its default location ==>> c:\\Program Files\\Microsoft Office\\Office12\\Wordconv.exe

I suspect the PI was written and tested on a 32 bit (maybe XP) environment.

Maybe David can tweak the PI to get it to save the location of wordconv.exe in its own json file.

Office would assume that any program wanting to invoke wordconv.exe would get its location from the Windows Registry, via its 'well known' CLSID - Ψ²*∞

BR
Are you using the last version I posted? This fixed a problem I found with saving the file location. Plus, are you changing the setting during the conversion or from the preferences? If you do it during the conversion, it is for that conversion only and overrides what is in the preferences if that gets changed.

I will admit to cheating in my testing. I don't have the conversion program installed. I simply created a file with the correct name in a few places. But, both versions of calibre save the location with no problems.
davidfor is offline   Reply With Quote