Beim ersten mal hatte ich onedir und one file weggelassen, aber dann hatte
ich es dazu getahn, aber der Fehler bleibt.
Ich habe das Terminal verwendet(Standart bei Ubuntu) und das gibt folgendes aus:
Makespec.py:
Code: Alles auswählen
kespec.py --onefile --onedir /home/jtschoch/Desktop/Zeitbegrennzungs-Tool/TimeLimiter/timelimiter
wrote /usr/lib/pymodules/python2.7/pyinstaller-1.5.1/timelimiter/timelimiter.spec
now run Build.py to build the executable
Build.py:
Code: Alles auswählen
checking Analysis
building because /home/jtschoch/Desktop/Zeitbegrennzungs-Tool/TimeLimiter/timelimiter changed
running Analysis outAnalysis0.toc
Analyzing: support/_mountzlib.py
Analyzing: support/useUnicode.py
Analyzing: /home/jtschoch/Desktop/Zeitbegrennzungs-Tool/TimeLimiter/timelimiter
I: Analyzing /usr/bin/python2.7
I: Skipping libpthread.so.0 dependency of python2.7
I: Skipping libdl.so.2 dependency of python2.7
I: Adding libutil.so.1 dependency of python2.7
I: Adding libssl.so.1.0.0 dependency of python2.7
I: Adding libcrypto.so.1.0.0 dependency of python2.7
I: Adding libz.so.1 dependency of python2.7
I: Skipping libm.so.6 dependency of python2.7
I: Skipping libc.so.6 dependency of python2.7
I: Analyzing /lib/i386-linux-gnu/libutil.so.1
I: Skipping libc.so.6 dependency of libutil.so.1
I: Analyzing /lib/i386-linux-gnu/libssl.so.1.0.0
I: Skipping libc.so.6 dependency of libssl.so.1.0.0
I: Skipping libdl.so.2 dependency of libssl.so.1.0.0
I: Analyzing /lib/i386-linux-gnu/libcrypto.so.1.0.0
I: Skipping libdl.so.2 dependency of libcrypto.so.1.0.0
I: Skipping libc.so.6 dependency of libcrypto.so.1.0.0
I: Analyzing /lib/i386-linux-gnu/libz.so.1
I: Skipping libc.so.6 dependency of libz.so.1
I: Analyzing /usr/lib/python2.7/lib-dynload/datetime.so
I: Skipping libm.so.6 dependency of datetime.so
I: Skipping libpthread.so.0 dependency of datetime.so
I: Skipping libc.so.6 dependency of datetime.so
I: Analyzing /usr/lib/python2.7/lib-dynload/_codecs_tw.so
I: Skipping libpthread.so.0 dependency of _codecs_tw.so
I: Skipping libc.so.6 dependency of _codecs_tw.so
I: Analyzing /usr/lib/python2.7/lib-dynload/_heapq.so
I: Skipping libpthread.so.0 dependency of _heapq.so
I: Skipping libc.so.6 dependency of _heapq.so
I: Analyzing /usr/lib/python2.7/lib-dynload/_codecs_iso2022.so
I: Skipping libpthread.so.0 dependency of _codecs_iso2022.so
I: Skipping libc.so.6 dependency of _codecs_iso2022.so
I: Analyzing /usr/lib/python2.7/lib-dynload/_codecs_hk.so
I: Skipping libpthread.so.0 dependency of _codecs_hk.so
I: Skipping libc.so.6 dependency of _codecs_hk.so
I: Analyzing /usr/lib/python2.7/lib-dynload/bz2.so
I: Adding libbz2.so.1.0 dependency of bz2.so
I: Skipping libpthread.so.0 dependency of bz2.so
I: Skipping libc.so.6 dependency of bz2.so
I: Analyzing /usr/lib/python2.7/lib-dynload/termios.so
I: Skipping libpthread.so.0 dependency of termios.so
I: Skipping libc.so.6 dependency of termios.so
I: Analyzing /usr/lib/python2.7/lib-dynload/_codecs_kr.so
I: Skipping libpthread.so.0 dependency of _codecs_kr.so
I: Skipping libc.so.6 dependency of _codecs_kr.so
I: Analyzing /usr/lib/python2.7/lib-dynload/pyexpat.so
I: Adding libexpat.so.1 dependency of pyexpat.so
I: Skipping libpthread.so.0 dependency of pyexpat.so
I: Skipping libc.so.6 dependency of pyexpat.so
I: Analyzing /usr/lib/python2.7/lib-dynload/_multibytecodec.so
I: Skipping libpthread.so.0 dependency of _multibytecodec.so
I: Skipping libc.so.6 dependency of _multibytecodec.so
I: Analyzing /usr/lib/python2.7/lib-dynload/_codecs_jp.so
I: Skipping libpthread.so.0 dependency of _codecs_jp.so
I: Skipping libc.so.6 dependency of _codecs_jp.so
I: Analyzing /usr/lib/python2.7/lib-dynload/_codecs_cn.so
I: Skipping libpthread.so.0 dependency of _codecs_cn.so
I: Skipping libc.so.6 dependency of _codecs_cn.so
I: Analyzing /usr/lib/python2.7/dist-packages/_dbus_bindings.so
I: Adding libdbus-1.so.3 dependency of _dbus_bindings.so
I: Skipping libpthread.so.0 dependency of _dbus_bindings.so
I: Skipping libc.so.6 dependency of _dbus_bindings.so
I: Skipping librt.so.1 dependency of _dbus_bindings.so
I: Analyzing /usr/lib/python2.7/lib-dynload/readline.so
I: Adding libreadline.so.6 dependency of readline.so
I: Skipping libpthread.so.0 dependency of readline.so
I: Skipping libc.so.6 dependency of readline.so
I: Adding libtinfo.so.5 dependency of readline.so
I: Analyzing /lib/libbz2.so.1.0
I: Skipping libc.so.6 dependency of libbz2.so.1.0
I: Analyzing /lib/i386-linux-gnu/libexpat.so.1
I: Skipping libc.so.6 dependency of libexpat.so.1
I: Analyzing /lib/i386-linux-gnu/libdbus-1.so.3
I: Skipping libpthread.so.0 dependency of libdbus-1.so.3
I: Skipping librt.so.1 dependency of libdbus-1.so.3
I: Skipping libc.so.6 dependency of libdbus-1.so.3
I: Analyzing /lib/libreadline.so.6
I: Skipping libc.so.6 dependency of libreadline.so.6
I: Analyzing /lib/libtinfo.so.5
I: Skipping libc.so.6 dependency of libtinfo.so.5
./timelimiter/build/pyi.linux2/timelimiter/outAnalysis0.toc no change!
checking PYZ
checking PKG
checking EXE
building because outEXE2.toc is bad
building EXE from outEXE2.toc
Appending archive to EXE ./timelimiter/build/pyi.linux2/timelimiter/timelimiter
checking COLLECT
WARNING: The output directory "./timelimiter/dist/timelimiter" and ALL ITS CONTENTS will be REMOVED! Continue? (y/n)y
I: Removing ./timelimiter/dist/timelimiter
building outCOLLECT4.toc because ./timelimiter/dist/timelimiter/timelimiter is missing
building COLLECT outCOLLECT4.toc
Was ich komisch finde nach den Optionen --onefile --onedir ist es tzotzdem nomarl!
Aber das Warninglogfile ist sehr Auffällig:
Code: Alles auswählen
W: no module named org (delayed import by xml.sax)
W: no module named _subprocess (conditional import by subprocess)
W: no module named _dummy_threading (top-level import by dummy_threading)
W: no module named _sha (delayed, conditional import by hashlib)
W: no module named org (top-level import by pickle)
W: no module named _sha512 (delayed, conditional import by hashlib)
W: no module named dbus.Bus (top-level import by dbus.dbus_bindings)
W: no module named msvcrt (conditional import by getpass)
W: no module named java (conditional import by xml.sax._exceptions)
W: no module named _sha256 (delayed, conditional import by hashlib)
W: no module named AES (delayed, conditional import by archive)
W: no module named _scproxy (conditional import by urllib)
W: no module named EasyDialogs (conditional import by getpass)
W: no module named org (top-level import by copy)
W: no module named _md5 (delayed, conditional import by hashlib)
W: no module named msvcrt (conditional import by subprocess)
W: no module named msvcrt (delayed import by getpass)
W: no module named xmlparse (top-level import by pyexpat)
W: no module named _xmlplus (top-level import by xml)
W: no module named _emx_link (conditional import by os)
W: no module named xmltok (top-level import by pyexpat)
W: no module named rourl2path (conditional import by urllib)
W: no module named _winreg (top-level import by mimetypes)
W: no module named SOCKS (top-level import by ftplib)
W: no module named _winreg (delayed import by urllib)
W: no module named nt (top-level import by ntpath)
W: __all__ is built strangely at line 0 - dummy_threading (/usr/lib/python2.7/dummy_threading.pyc)
W: delayed exec statement detected at line 0 - bdb (/usr/lib/python2.7/bdb.pyc)
W: delayed eval hack detected at line 0 - bdb (/usr/lib/python2.7/bdb.pyc)
W: delayed eval hack detected at line 0 - bdb (/usr/lib/python2.7/bdb.pyc)
W: delayed __import__ hack detected at line 0 - optparse (/usr/lib/python2.7/optparse.pyc)
W: delayed conditional __import__ hack detected at line 0 - doctest (/usr/lib/python2.7/doctest.pyc)
W: delayed exec statement detected at line 0 - doctest (/usr/lib/python2.7/doctest.pyc)
W: delayed conditional __import__ hack detected at line 0 - doctest (/usr/lib/python2.7/doctest.pyc)
W: __all__ is built strangely at line 0 - dbus.exceptions (/usr/lib/python2.7/dist-packages/dbus/exceptions.pyc)
W: __all__ is built strangely at line 0 - tokenize (/usr/lib/python2.7/tokenize.pyc)
W: __all__ is built strangely at line 0 - tokenize (/usr/lib/python2.7/tokenize.pyc)
W: delayed __import__ hack detected at line 0 - pickle (/usr/lib/python2.7/pickle.pyc)
W: delayed __import__ hack detected at line 0 - pickle (/usr/lib/python2.7/pickle.pyc)
W: __all__ is built strangely at line 0 - dbus (/usr/lib/python2.7/dist-packages/dbus/__init__.pyc)
W: delayed __import__ hack detected at line 0 - encodings (/usr/lib/python2.7/encodings/__init__.pyc)
W: __all__ is built strangely at line 0 - dis (/usr/lib/python2.7/dis.pyc)
W: __all__ is built strangely at line 0 - hashlib (/usr/lib/python2.7/hashlib.pyc)
W: delayed conditional eval hack detected at line 0 - warnings (/usr/lib/python2.7/warnings.pyc)
W: delayed conditional __import__ hack detected at line 0 - warnings (/usr/lib/python2.7/warnings.pyc)
W: __all__ is built strangely at line 0 - dbus.connection (/usr/lib/python2.7/dist-packages/dbus/connection.pyc)
W: delayed __import__ hack detected at line 0 - email (/usr/lib/python2.7/email/__init__.pyc)
W: delayed exec statement detected at line 0 - pdb (/usr/lib/python2.7/pdb.pyc)
W: delayed conditional eval hack detected at line 0 - pdb (/usr/lib/python2.7/pdb.pyc)
W: delayed eval hack detected at line 0 - pdb (/usr/lib/python2.7/pdb.pyc)
W: delayed conditional eval hack detected at line 0 - pdb (/usr/lib/python2.7/pdb.pyc)
W: delayed eval hack detected at line 0 - pdb (/usr/lib/python2.7/pdb.pyc)
W: delayed conditional exec statement detected at line 0 - iu (/usr/lib/pymodules/python2.7/pyinstaller-1.5.1/iu.pyc)
W: delayed conditional exec statement detected at line 0 - iu (/usr/lib/pymodules/python2.7/pyinstaller-1.5.1/iu.pyc)
W: __all__ is built strangely at line 0 - dbus.lowlevel (/usr/lib/python2.7/dist-packages/dbus/lowlevel.pyc)
W: __all__ is built strangely at line 0 - collections (/usr/lib/python2.7/collections.pyc)
W: delayed exec statement detected at line 0 - collections (/usr/lib/python2.7/collections.pyc)
W: delayed conditional __import__ hack detected at line 0 - unittest.main (/usr/lib/python2.7/unittest/main.pyc)
W: delayed conditional __import__ hack detected at line 0 - unittest.loader (/usr/lib/python2.7/unittest/loader.pyc)
W: delayed conditional __import__ hack detected at line 0 - unittest.loader (/usr/lib/python2.7/unittest/loader.pyc)
W: delayed __import__ hack detected at line 0 - unittest.loader (/usr/lib/python2.7/unittest/loader.pyc)
W: __all__ is built strangely at line 0 - __future__ (/usr/lib/python2.7/__future__.pyc)
W: __all__ is built strangely at line 0 - dbus._dbus (/usr/lib/python2.7/dist-packages/dbus/_dbus.pyc)
W: delayed __import__ hack detected at line 0 - xml.sax (/usr/lib/python2.7/xml/sax/__init__.pyc)
W: delayed eval hack detected at line 0 - gettext (/usr/lib/python2.7/gettext.pyc)
W: __all__ is built strangely at line 0 - dbus.types (/usr/lib/python2.7/dist-packages/dbus/types.pyc)
W: __all__ is built strangely at line 0 - dbus.bus (/usr/lib/python2.7/dist-packages/dbus/bus.pyc)
Komisch das Module drinstehen die ich garnicht importiere wie xml!
Edit:
@jerch
Ich habe das mal getestet:
was ist das überhaupt?
und es steht dummerweise auf False
ich verwende folgende Imports:
Code: Alles auswählen
import os, sys, subprocess
import time
import getpass
import dbus
Ich hoffe ihr könnt mir weiterhelfen!