View Single Post
Old 11-10-2014, 04:57 AM   #149
Anak
Guru
Anak ought to be getting tired of karma fortunes by now.Anak ought to be getting tired of karma fortunes by now.Anak ought to be getting tired of karma fortunes by now.Anak ought to be getting tired of karma fortunes by now.Anak ought to be getting tired of karma fortunes by now.Anak ought to be getting tired of karma fortunes by now.Anak ought to be getting tired of karma fortunes by now.Anak ought to be getting tired of karma fortunes by now.Anak ought to be getting tired of karma fortunes by now.Anak ought to be getting tired of karma fortunes by now.Anak ought to be getting tired of karma fortunes by now.
 
Posts: 603
Karma: 641742
Join Date: Mar 2012
Location: DE
Device: Kobo Glo
Quote:
Originally Posted by tshering View Post
There should be an error message by 7-zip and/or the script
Possible error messages of the script are:
- ERROR while creating KoboRoot.tar
- ERROR while creating KoboRoot.tgz
- No result!

@Anak
From your description ("final archive") I take it is "ERROR while creating KoboRoot.tgz". Just to be sure.
This might help to find the problem.

@DNSB
Do you remember what exactly was the problem when running without administrator mode? Where there some messages from 7-zip?
Yes, what i meaned here is the final step to create the archive with the patched files.
There is no error message, the script just ends without creating the archive (or it doesn't pauze and keep the CMD window open, like other erorrs).

Redirect the output to file
Code:
3.11.0.bat > output.log 2>&1
Output log as normal user
Code:
Deleted file - D:\patch_kobo_3110\3.11.0_target\usr\local\Kobo\libadobe.so
Deleted file - D:\patch_kobo_3110\3.11.0_target\usr\local\Kobo\libnickel.so.1.0.0
Deleted file - D:\patch_kobo_3110\3.11.0_target\usr\local\Kobo\librmsdk.so.1.0.0
//////////////////////////////////////////////
//                    Patching start
//////////////////////////////////////////////
Read 249852 bytes from input file 'D:\patch_kobo_3110\3.11.0_source\libadobe.so'
Ignoring disabled patch `Remove PDF map widget shown during panning`
Ignoring disabled patch `Preserve PDF pan position across page turns`
Ignoring disabled patch `Remove PDF page turn arrows at left and right edges of page`
Wrote 249852 bytes to output file 'D:\patch_kobo_3110\3.11.0_target\usr\local\Kobo\libadobe.so'
//////////////////////////////////////////////
//                    Patching end
//////////////////////////////////////////////
//////////////////////////////////////////////
//                    Patching start
//////////////////////////////////////////////
Read 16739384 bytes from input file 'D:\patch_kobo_3110\3.11.0_source\libnickel.so.1.0.0'
Ignoring disabled patch `Disable reading footer`
Applied patch `Custom reading footer style`
Ignoring disabled patch `Custom header style for Touch`
Ignoring disabled patch `Custom header style for Mini`
Applied patch `Custom header style for Glo/Aura/AuraHD/H2O`
Applied patch `My 15 line spacing values`
Applied patch `Custom fonts sizes`
Applied patch `Custom left & right margins`
Applied patch `Brightness fine control`
Applied patch `Search in Library by default`
Applied patch `Unitless ePub line height`
Applied patch `Freedom to advanced fonts control`
Ignoring disabled patch `Allow download all in Browser`
Ignoring disabled patch `ePub adjustable top/bottom margin`
Ignoring disabled patch `ePub fixed top/bottom margin`
Ignoring disabled patch `Custom page refresh options`
Ignoring disabled patch `Remove system fonts in Reader list`
Ignoring disabled patch `Remove non-system fonts in Reader list`
Ignoring disabled patch `Cyrillic keyboard`
Ignoring disabled patch `Customise PinchGestureRecognizer`
Ignoring disabled patch `Wi-Fi insomnia`
Applied patch `Margins fine tuning`
Ignoring disabled patch `Custom kepub default margins`
Ignoring disabled patch `Block WiFi firmware upgrade`
Wrote 16739384 bytes to output file 'D:\patch_kobo_3110\3.11.0_target\usr\local\Kobo\libnickel.so.1.0.0'
//////////////////////////////////////////////
//                    Patching end
//////////////////////////////////////////////
//////////////////////////////////////////////
//                    Patching start
//////////////////////////////////////////////
Read 7433052 bytes from input file 'D:\patch_kobo_3110\3.11.0_source\librmsdk.so.1.0.0'
Applied patch `Fix page breaks bug`
Ignoring disabled patch `Ignore book internal CSS stylesheet`
Ignoring disabled patch `Ignore book TOC navpoints`
Wrote 7433052 bytes to output file 'D:\patch_kobo_3110\3.11.0_target\usr\local\Kobo\librmsdk.so.1.0.0'
//////////////////////////////////////////////
//                    Patching end
//////////////////////////////////////////////
'FIND' is not recognized as an internal or external command,
operable program or batch file.
Output log as administrator, in an elevated CMD. The output is similar.
However if I run the batch file directly. Right click and choose "Run as administrator":
Code:
ERROR: Can not find C:\WINDOWS\system32\3.11.0_source
Press any key to continue...
It is obvious the "3.11.0_source" is not present in the Windows directory.
I don't know why the file looks there.

Last edited by Anak; 11-10-2014 at 05:01 AM.
Anak is offline   Reply With Quote