View Single Post
Old 10-04-2016, 01:36 AM   #118
maximalmobi7
Enthusiast
maximalmobi7 began at the beginning.
 
Posts: 38
Karma: 10
Join Date: Sep 2016
Location: U.S.A, California, Redding
Device: Amazon Kindle paperwhite 2, and android tablet 10.1 with Kindle app
when rerunning this command I noticed something called upx is not installed is it needed?
I don't no why I can create the con.exe file fine but the gui compiled seems very broken since I can't get it to run right yet, at this point I out of ideas for fixing it, anyone else having this problem creating the files?

Spoiler:
102 INFO: UPX is not available.
108 INFO: UPX is not available.
still getting fatal error! failed to execute script gui
from ExtractCoverThumbs_win.exe

c:\Python27\Scripts>C:\Python27\Scripts\pyinstalle r.exe -Fn ExtractCoverThumbs_con .\ExtractCoverThumbs\__main__.py
95 INFO: PyInstaller: 3.2
96 INFO: Python: 2.7.12
98 INFO: Platform: Windows-10-10.0.14393
101 INFO: wrote C:\Python27\Scripts\ExtractCoverThumbs_con.spec
102 INFO: UPX is not available.
104 INFO: Extending PYTHONPATH with paths
['C:\\Python27\\Scripts\\ExtractCoverThumbs', 'C:\\Python27\\Scripts']
104 INFO: checking Analysis
279 INFO: checking PYZ
437 INFO: checking PKG
507 INFO: Bootloader C:\Python27\lib\site-packages\PyInstaller\bootloader\Windows-32bit\run.exe
509 INFO: checking EXE

C:\Python27\Scripts>C:\Python27\Scripts\pyinstalle r.exe -Fn ExtractCoverThumbs_win --windowed .\ExtractCoverThumbs\gui.pyw
101 INFO: PyInstaller: 3.2
101 INFO: Python: 2.7.12
101 INFO: Platform: Windows-10-10.0.14393
107 INFO: wrote C:\Python27\Scripts\ExtractCoverThumbs_win.spec
108 INFO: UPX is not available.
108 INFO: Extending PYTHONPATH with paths
['C:\\Python27\\Scripts\\ExtractCoverThumbs', 'C:\\Python27\\Scripts']
108 INFO: checking Analysis
229 INFO: checking PYZ
285 INFO: checking PKG
357 INFO: Bootloader C:\Python27\lib\site-packages\PyInstaller\bootloader\Windows-32bit\runw.exe
357 INFO: checking EXE

I found a post that called upx (br) but that didn't install it either , below I run the commands again , I don't no why sometimes it shows more and above it showed less when running the commands that was the other thing I wanted to write, no luck in installed the missing thing called UPX python library I guess?

C:\Python27\Scripts>python -m pip install --upgrade br
Collecting br
Downloading br-0.1.tar.gz
Installing collected packages: br
Running setup.py install for br ... done
Successfully installed br-0.1

C:\Python27\Scripts>C:\Python27\Scripts\pyinstalle r.exe -Fn ExtractCoverThumbs_win --windowed .\ExtractCoverThumbs\gui.pyw
92 INFO: PyInstaller: 3.2
92 INFO: Python: 2.7.12
94 INFO: Platform: Windows-10-10.0.14393
96 INFO: wrote C:\Python27\Scripts\ExtractCoverThumbs_win.spec
98 INFO: UPX is not available.
98 INFO: Extending PYTHONPATH with paths
['C:\\Python27\\Scripts\\ExtractCoverThumbs', 'C:\\Python27\\Scripts']
98 INFO: checking Analysis
125 INFO: Building because C:\Python27\lib\site-packages\PIL\Image.py changed
125 INFO: Initializing module dependency graph...
128 INFO: Initializing module graph hooks...
186 INFO: running Analysis out00-Analysis.toc
188 INFO: Adding Microsoft.VC90.CRT to dependent assemblies of final executable
required by C:\Python27\python.exe
362 INFO: Found C:\WINDOWS\WinSxS\Manifests\x86_policy.9.0.microso ft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.1_none_8550 c6b5d18a9128.manifest
382 INFO: Found C:\WINDOWS\WinSxS\Manifests\x86_policy.9.0.microso ft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.9247_none_f 47e3bf8f656f083.manifest
457 INFO: Searching for assembly x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729. 9247_none ...
457 INFO: Found manifest C:\WINDOWS\WinSxS\Manifests\x86_microsoft.vc90.crt _1fc8b3b9a1e18e3b_9.0.30729.9247_none_5090cb78bcba 4a35.manifest
459 INFO: Searching for file msvcr90.dll
459 INFO: Found file C:\WINDOWS\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a 1e18e3b_9.0.30729.9247_none_5090cb78bcba4a35\msvcr 90.dll
460 INFO: Searching for file msvcp90.dll
460 INFO: Found file C:\WINDOWS\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a 1e18e3b_9.0.30729.9247_none_5090cb78bcba4a35\msvcp 90.dll
460 INFO: Searching for file msvcm90.dll
460 INFO: Found file C:\WINDOWS\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a 1e18e3b_9.0.30729.9247_none_5090cb78bcba4a35\msvcm 90.dll
532 INFO: Found C:\WINDOWS\WinSxS\Manifests\x86_policy.9.0.microso ft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.1_none_8550 c6b5d18a9128.manifest
533 INFO: Found C:\WINDOWS\WinSxS\Manifests\x86_policy.9.0.microso ft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.9247_none_f 47e3bf8f656f083.manifest
535 INFO: Adding redirect Microsoft.VC90.CRT version (9, 0, 21022, 8) -> (9, 0, 30729, 9247)
4315 INFO: Caching module hooks...
4319 INFO: Analyzing C:\Python27\Scripts\ExtractCoverThumbs\gui.pyw
5757 INFO: Processing pre-find module path hook distutils
7835 INFO: Processing pre-safe import module hook _xmlplus
8414 INFO: Loading module hooks...
8414 INFO: Loading module hook "hook-distutils.py"...
8430 INFO: Loading module hook "hook-sysconfig.py"...
8434 INFO: Loading module hook "hook-xml.py"...
8503 INFO: Loading module hook "hook-PIL.py"...
8510 INFO: Excluding import 'FixTk'
8513 INFO: Excluding import 'Tkinter'
8515 INFO: Excluding import 'PyQt5'
8516 WARNING: Removing import PIL.ImageQt from module PyQt5
8516 WARNING: Removing import PIL.ImageQt from module PyQt5.qRgba
8516 WARNING: Removing import PIL.ImageQt from module PyQt5.QPixmap
8517 WARNING: Removing import PIL.ImageQt from module PyQt5.QImage
8517 INFO: Excluding import 'PySide'
8519 WARNING: Removing import PIL.ImageQt from module PySide.QPixmap
8519 WARNING: Removing import PIL.ImageQt from module PySide.qRgba
8520 WARNING: Removing import PIL.ImageQt from module PySide
8520 WARNING: Removing import PIL.ImageQt from module PySide.QImage
8522 INFO: Excluding import 'PyQt4'
8523 WARNING: Removing import PIL.ImageQt from module PyQt4.qRgba
8525 WARNING: Removing import PIL.ImageQt from module PyQt4
8525 WARNING: Removing import PIL.ImageQt from module PyQt4.QImage
8526 WARNING: Removing import PIL.ImageQt from module PyQt4.QPixmap
8526 INFO: Loading module hook "hook-httplib.py"...
8532 INFO: Loading module hook "hook-_tkinter.py"...
9358 INFO: checking Tree
9430 INFO: checking Tree
9453 INFO: Loading module hook "hook-PIL.Image.py"...
9697 INFO: Loading module hook "hook-PIL.SpiderImagePlugin.py"...
9703 INFO: Excluding import 'FixTk'
9703 INFO: Excluding import 'Tkinter'
9704 INFO: Loading module hook "hook-encodings.py"...
10706 INFO: Loading module hook "hook-sqlite3.py"...
10752 INFO: Looking for ctypes DLLs
10772 INFO: Analyzing run-time hooks ...
10779 WARNING: Attempted to add Python module twice with different upper/lowercases: Tkinter
10779 INFO: Including run-time hook 'pyi_rth__tkinter.py'
10799 WARNING: Attempted to add Python module twice with different upper/lowercases: Tkinter
10802 INFO: Looking for dynamic libraries
26084 WARNING: Attempted to add Python module twice with different upper/lowercases: PIL._webp
26086 WARNING: Attempted to add Python module twice with different upper/lowercases: PIL._imagingtk
26086 WARNING: Attempted to add Python module twice with different upper/lowercases: PIL._imaging
26088 INFO: Looking for eggs
26088 INFO: Using Python library C:\WINDOWS\system32\python27.dll
26088 INFO: Found binding redirects:
[BindingRedirect(name=u'Microsoft.VC90.CRT', language=None, arch=u'x86', oldVersion=(9, 0, 21022, 8), newVersion=(9, 0, 30729, 9247), publicKeyToken=u'1fc8b3b9a1e18e3b')]
26102 INFO: Warnings written to C:\Python27\Scripts\build\ExtractCoverThumbs_win\w arnExtractCoverThumbs_win.txt
26352 INFO: checking PYZ
26361 INFO: Building because C:\Python27\lib\site-packages\PIL\Image.py changed
26361 INFO: Building PYZ (ZlibArchive) C:\Python27\Scripts\build\ExtractCoverThumbs_win\o ut00-PYZ.pyz
27078 INFO: checking PKG
27085 INFO: Building because C:\Python27\Scripts\build\ExtractCoverThumbs_win\o ut00-PYZ.pyz changed
27085 INFO: Building PKG (CArchive) out00-PKG.pkg
27506 INFO: Redirecting Microsoft.VC90.CRT version (9, 0, 21022, 8) -> (9, 0, 30729, 9247)
33809 INFO: Bootloader C:\Python27\lib\site-packages\PyInstaller\bootloader\Windows-32bit\runw.exe
33809 INFO: checking EXE
33816 INFO: Rebuilding out00-EXE.toc because pkg is more recent
33816 INFO: Building EXE from out00-EXE.toc
33816 INFO: Appending archive to EXE C:\Python27\Scripts\dist\ExtractCoverThumbs_win.ex e

C:\Python27\Scripts>C:\Python27\Scripts\pyinstalle r.exe -Fn ExtractCoverThumbs_con .\ExtractCoverThumbs\__main__.py
92 INFO: PyInstaller: 3.2
92 INFO: Python: 2.7.12
93 INFO: Platform: Windows-10-10.0.14393
94 INFO: wrote C:\Python27\Scripts\ExtractCoverThumbs_con.spec
95 INFO: UPX is not available.
97 INFO: Extending PYTHONPATH with paths
['C:\\Python27\\Scripts\\ExtractCoverThumbs', 'C:\\Python27\\Scripts']
97 INFO: checking Analysis
120 INFO: Building because C:\Python27\lib\site-packages\PIL\Image.py changed
120 INFO: Initializing module dependency graph...
123 INFO: Initializing module graph hooks...
158 INFO: running Analysis out00-Analysis.toc
160 INFO: Adding Microsoft.VC90.CRT to dependent assemblies of final executable
required by C:\Python27\python.exe
231 INFO: Found C:\WINDOWS\WinSxS\Manifests\x86_policy.9.0.microso ft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.1_none_8550 c6b5d18a9128.manifest
232 INFO: Found C:\WINDOWS\WinSxS\Manifests\x86_policy.9.0.microso ft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.9247_none_f 47e3bf8f656f083.manifest
304 INFO: Searching for assembly x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729. 9247_none ...
304 INFO: Found manifest C:\WINDOWS\WinSxS\Manifests\x86_microsoft.vc90.crt _1fc8b3b9a1e18e3b_9.0.30729.9247_none_5090cb78bcba 4a35.manifest
307 INFO: Searching for file msvcr90.dll
307 INFO: Found file C:\WINDOWS\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a 1e18e3b_9.0.30729.9247_none_5090cb78bcba4a35\msvcr 90.dll
307 INFO: Searching for file msvcp90.dll
307 INFO: Found file C:\WINDOWS\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a 1e18e3b_9.0.30729.9247_none_5090cb78bcba4a35\msvcp 90.dll
308 INFO: Searching for file msvcm90.dll
308 INFO: Found file C:\WINDOWS\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a 1e18e3b_9.0.30729.9247_none_5090cb78bcba4a35\msvcm 90.dll
377 INFO: Found C:\WINDOWS\WinSxS\Manifests\x86_policy.9.0.microso ft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.1_none_8550 c6b5d18a9128.manifest
379 INFO: Found C:\WINDOWS\WinSxS\Manifests\x86_policy.9.0.microso ft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.9247_none_f 47e3bf8f656f083.manifest
379 INFO: Adding redirect Microsoft.VC90.CRT version (9, 0, 21022, 8) -> (9, 0, 30729, 9247)
4148 INFO: Caching module hooks...
4153 INFO: Analyzing C:\Python27\Scripts\ExtractCoverThumbs\__main__.py
5243 INFO: Processing pre-find module path hook distutils
6797 INFO: Processing pre-safe import module hook _xmlplus
7298 INFO: Loading module hooks...
7299 INFO: Loading module hook "hook-distutils.py"...
7300 INFO: Loading module hook "hook-sysconfig.py"...
7301 INFO: Loading module hook "hook-xml.py"...
7345 INFO: Loading module hook "hook-PIL.py"...
7346 INFO: Excluding import 'FixTk'
7348 INFO: Excluding import 'Tkinter'
7349 INFO: Excluding import 'PyQt5'
7351 WARNING: Removing import PIL.ImageQt from module PyQt5
7351 WARNING: Removing import PIL.ImageQt from module PyQt5.qRgba
7351 WARNING: Removing import PIL.ImageQt from module PyQt5.QPixmap
7351 WARNING: Removing import PIL.ImageQt from module PyQt5.QImage
7354 INFO: Excluding import 'PySide'
7355 WARNING: Removing import PIL.ImageQt from module PySide.QPixmap
7355 WARNING: Removing import PIL.ImageQt from module PySide.qRgba
7356 WARNING: Removing import PIL.ImageQt from module PySide
7356 WARNING: Removing import PIL.ImageQt from module PySide.QImage
7357 INFO: Excluding import 'PyQt4'
7359 WARNING: Removing import PIL.ImageQt from module PyQt4.qRgba
7359 WARNING: Removing import PIL.ImageQt from module PyQt4
7359 WARNING: Removing import PIL.ImageQt from module PyQt4.QImage
7360 WARNING: Removing import PIL.ImageQt from module PyQt4.QPixmap
7360 INFO: Loading module hook "hook-httplib.py"...
7361 INFO: Loading module hook "hook-_tkinter.py"...
7994 INFO: checking Tree
8051 INFO: checking Tree
8068 INFO: Loading module hook "hook-PIL.Image.py"...
8300 INFO: Loading module hook "hook-PIL.SpiderImagePlugin.py"...
8302 INFO: Excluding import 'FixTk'
8303 INFO: Excluding import 'Tkinter'
8304 INFO: Loading module hook "hook-encodings.py"...
8614 INFO: Loading module hook "hook-sqlite3.py"...
8640 INFO: Looking for ctypes DLLs
8660 INFO: Analyzing run-time hooks ...
8666 INFO: Including run-time hook 'pyi_rth__tkinter.py'
8676 INFO: Looking for dynamic libraries
23865 WARNING: Attempted to add Python module twice with different upper/lowercases: PIL._webp
23865 WARNING: Attempted to add Python module twice with different upper/lowercases: PIL._imagingtk
23868 WARNING: Attempted to add Python module twice with different upper/lowercases: PIL._imaging
23869 INFO: Looking for eggs
23869 INFO: Using Python library C:\WINDOWS\system32\python27.dll
23870 INFO: Found binding redirects:
[BindingRedirect(name=u'Microsoft.VC90.CRT', language=None, arch=u'x86', oldVersion=(9, 0, 21022, 8), newVersion=(9, 0, 30729, 9247), publicKeyToken=u'1fc8b3b9a1e18e3b')]
23885 INFO: Warnings written to C:\Python27\Scripts\build\ExtractCoverThumbs_con\w arnExtractCoverThumbs_con.txt
24138 INFO: checking PYZ
24147 INFO: Building because C:\Python27\lib\site-packages\PIL\Image.py changed
24147 INFO: Building PYZ (ZlibArchive) C:\Python27\Scripts\build\ExtractCoverThumbs_con\o ut00-PYZ.pyz
24865 INFO: checking PKG
24872 INFO: Building because C:\Python27\Scripts\build\ExtractCoverThumbs_con\o ut00-PYZ.pyz changed
24872 INFO: Building PKG (CArchive) out00-PKG.pkg
24947 INFO: Redirecting Microsoft.VC90.CRT version (9, 0, 21022, 8) -> (9, 0, 30729, 9247)
27401 INFO: Bootloader C:\Python27\lib\site-packages\PyInstaller\bootloader\Windows-32bit\run.exe
27404 INFO: checking EXE
27412 INFO: Rebuilding out00-EXE.toc because pkg is more recent
27413 INFO: Building EXE from out00-EXE.toc
27413 INFO: Appending archive to EXE C:\Python27\Scripts\dist\ExtractCoverThumbs_con.ex e

C:\Python27\Scripts>cd dist

C:\Python27\Scripts\dist>ExtractCoverThumbs_con.ex e
usage: ExtractCoverThumbs_con.exe [-h] [-V] [-s] [--overwrite-pdoc-thumbs]
[--overwrite-amzn-thumbs] [-o] [--skip-apnx]
[-f] [-z] [-d [DAYS]] [-l]
[--mark-real-pages]
kindle_directory
ExtractCoverThumbs_con.exe: error: too few arguments



Directory of C:\Python27\Scripts\dist

10/02/2016 10:38 PM <DIR> .
10/02/2016 10:38 PM <DIR> ..
10/02/2016 10:38 PM <DIR> build
10/02/2016 10:38 PM <DIR> dist
10/03/2016 10:45 PM 8,913,194 ExtractCoverThumbs_con.exe
10/03/2016 10:44 PM 8,861,722 ExtractCoverThumbs_win.exe
10/02/2016 10:40 PM 760 ExtractCoverThumbs_win.spec
3 File(s) 17,775,676 bytes
4 Dir(s) 684,088,717,312 bytes free

C:\Python27\Scripts\dist>ExtractCoverThumbs_win.ex e

C:\Python27\Scripts\dist>

Last edited by maximalmobi7; 10-06-2016 at 05:33 PM. Reason: fatal error! failed to execute script gui
maximalmobi7 is offline   Reply With Quote