View Single Post
Old 12-14-2012, 04:26 AM   #172
asllearner
Junior Member
asllearner began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Aug 2011
Device: none
I am trying to add links to two programs in Open_With:
one is to BeCyPDFMetaEdit.exe

For some strange reason, this program requires administrator priviledges to run. I believe this is leading to the following error:

calibre, version 0.9.9
ERROR: Unhandled exception: <b>error</b>740, 'CreateProcess', 'The requested operation requires elevation.')

Traceback (most recent call last):
File "calibre_plugins.open_with.action", line 178, in open_with
File "calibre_plugins.open_with.action", line 221, in launch_app
error: (740, 'CreateProcess', 'The requested operation requires elevation.')

Is there a workaround? I am going to contact the author of BeCyPDFMetaEdit to find out about the elevated priviledges, but maybe someone knows a workaround?

(ps..I mean a workaround less of a kludge than running calibre in administrator mode...)

If I try to use the com version (which is not what I want, anyway), using a bat file
(
pause
C:/MyPrograms/BeCyPDFMetaEdit-2.37.0-en/BeCyPDFMetaEdit.exe
pause
)
the resulting dos window just flashes by too quickly for me to see why it failed.


Also, I am trying to use jpdftweak.
When I run this, from the bat file provided by the program (
pause
@java -jar jpdftweak.jar %*
pause
) the resulting dos window just flashes by too quickly for me to see why it failed, as above.

if I try to link to the jar file directly, I get:
calibre, version 0.9.9
ERROR: Unhandled exception: <b>error</b>193, 'CreateProcess', '%1 is not a valid Win32 application.')

Traceback (most recent call last):
File "calibre_plugins.open_with.action", line 178, in open_with
File "calibre_plugins.open_with.action", line 221, in launch_app
error: (193, 'CreateProcess', '%1 is not a valid Win32 application.')

Can I do anything about this?

Thanks in advance for any help.

PS. I have only moderate ability with batch files, python, and all that jazz so dont be afraid to offend me by dumbing it down :-)

Last edited by asllearner; 12-14-2012 at 04:48 AM. Reason: appended ps
asllearner is offline   Reply With Quote