This repository was archived by the owner on Jul 10, 2024. It is now read-only.
Description ➜ samsungctl git:(master) ✗ export PYTHONVERBOSE=1
➜ samsungctl git:(master) ✗ samsungctl --host 10.10.10.10 --interactive
import _frozen_importlib # frozen
import _imp # builtin
import ' _thread' # <class '_frozen_importlib.BuiltinImporter'>
import ' _warnings' # <class '_frozen_importlib.BuiltinImporter'>
import ' _weakref' # <class '_frozen_importlib.BuiltinImporter'>
import ' _io' # <class '_frozen_importlib.BuiltinImporter'>
import ' marshal' # <class '_frozen_importlib.BuiltinImporter'>
import ' posix' # <class '_frozen_importlib.BuiltinImporter'>
import ' _frozen_importlib_external' # <class '_frozen_importlib.FrozenImporter'>
# installing zipimport hook
import ' time' # <class '_frozen_importlib.BuiltinImporter'>
import ' zipimport' # <class '_frozen_importlib.FrozenImporter'>
# installed zipimport hook
# /usr/local/Cellar/python@3.12/3.12.2_1/Frameworks/Python.framework/Versions/3.12/lib/python3.12/encodings/__pycache__/__init__.cpython-312.pyc matches /usr/local/Cellar/python@3.12/3.12.2_1/Frameworks/Python.framework/Versions/3.12/lib/python3.12/encodings/__init__.py
# code object from '/usr/local/Cellar/python@3.12/3.12.2_1/Frameworks/Python.framework/Versions/3.12/lib/python3.12/encodings/__pycache__/__init__.cpython-312.pyc'
import ' _codecs' # <class '_frozen_importlib.BuiltinImporter'>
import ' codecs' # <class '_frozen_importlib.FrozenImporter'>
# /usr/local/Cellar/python@3.12/3.12.2_1/Frameworks/Python.framework/Versions/3.12/lib/python3.12/encodings/__pycache__/aliases.cpython-312.pyc matches /usr/local/Cellar/python@3.12/3.12.2_1/Frameworks/Python.framework/Versions/3.12/lib/python3.12/encodings/aliases.py
# code object from '/usr/local/Cellar/python@3.12/3.12.2_1/Frameworks/Python.framework/Versions/3.12/lib/python3.12/encodings/__pycache__/aliases.cpython-312.pyc'
import ' encodings.aliases' # <_frozen_importlib_external.SourceFileLoader object at 0x1086e1040>
import ' encodings' # <_frozen_importlib_external.SourceFileLoader object at 0x1086e0560>
# /usr/local/Cellar/python@3.12/3.12.2_1/Frameworks/Python.framework/Versions/3.12/lib/python3.12/encodings/__pycache__/utf_8.cpython-312.pyc matches /usr/local/Cellar/python@3.12/3.12.2_1/Frameworks/Python.framework/Versions/3.12/lib/python3.12/encodings/utf_8.py
# code object from '/usr/local/Cellar/python@3.12/3.12.2_1/Frameworks/Python.framework/Versions/3.12/lib/python3.12/encodings/__pycache__/utf_8.cpython-312.pyc'
import ' encodings.utf_8' # <_frozen_importlib_external.SourceFileLoader object at 0x1086e35c0>
import ' _signal' # <class '_frozen_importlib.BuiltinImporter'>
import ' _abc' # <class '_frozen_importlib.BuiltinImporter'>
import ' abc' # <class '_frozen_importlib.FrozenImporter'>
import ' io' # <class '_frozen_importlib.FrozenImporter'>
import ' _stat' # <class '_frozen_importlib.BuiltinImporter'>
import ' stat' # <class '_frozen_importlib.FrozenImporter'>
import ' _collections_abc' # <class '_frozen_importlib.FrozenImporter'>
import ' genericpath' # <class '_frozen_importlib.FrozenImporter'>
import ' posixpath' # <class '_frozen_importlib.FrozenImporter'>
import ' os' # <class '_frozen_importlib.FrozenImporter'>
import ' _sitebuiltins' # <class '_frozen_importlib.FrozenImporter'>
Processing user site-packages
Processing global site-packages
Adding directory: ' /usr/local/Cellar/python@3.12/3.12.2_1/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages'
Processing .pth file: ' /usr/local/Cellar/python@3.12/3.12.2_1/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/distutils-precedence.pth'
# /usr/local/Cellar/python@3.12/3.12.2_1/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/_distutils_hack/__pycache__/__init__.cpython-312.pyc matches /usr/local/Cellar/python@3.12/3.12.2_1/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/_distutils_hack/__init__.py
# code object from '/usr/local/Cellar/python@3.12/3.12.2_1/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/_distutils_hack/__pycache__/__init__.cpython-312.pyc'
import ' _distutils_hack' # <_frozen_importlib_external.SourceFileLoader object at 0x108706330>
Processing .pth file: ' /usr/local/Cellar/python@3.12/3.12.2_1/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/easy-install.pth'
# /usr/local/Cellar/python@3.12/3.12.2_1/Frameworks/Python.framework/Versions/3.12/lib/python3.12/__pycache__/sitecustomize.cpython-312.pyc matches /usr/local/Cellar/python@3.12/3.12.2_1/Frameworks/Python.framework/Versions/3.12/lib/python3.12/sitecustomize.py
# code object from '/usr/local/Cellar/python@3.12/3.12.2_1/Frameworks/Python.framework/Versions/3.12/lib/python3.12/__pycache__/sitecustomize.cpython-312.pyc'
# /usr/local/Cellar/python@3.12/3.12.2_1/Frameworks/Python.framework/Versions/3.12/lib/python3.12/re/__pycache__/__init__.cpython-312.pyc matches /usr/local/Cellar/python@3.12/3.12.2_1/Frameworks/Python.framework/Versions/3.12/lib/python3.12/re/__init__.py
Traceback (most recent call last):
File " <frozen site>" , line 556, in execsitecustomize
File " <frozen importlib._bootstrap>" , line 1360, in _find_and_load
File " <frozen importlib._bootstrap>" , line 1331, in _find_and_load_unlocked
File " <frozen importlib._bootstrap>" , line 935, in _load_unlocked
File " <frozen importlib._bootstrap_external>" , line 995, in exec_module
File " <frozen importlib._bootstrap>" , line 488, in _call_with_frames_removed
File " /usr/local/Cellar/python@3.12/3.12.2_1/Frameworks/Python.framework/Versions/3.12/lib/python3.12/sitecustomize.py" , line 4, in < module>
import re
File " <frozen importlib._bootstrap>" , line 1360, in _find_and_load
File " <frozen importlib._bootstrap>" , line 1331, in _find_and_load_unlocked
File " <frozen importlib._bootstrap>" , line 935, in _load_unlocked
File " <frozen importlib._bootstrap_external>" , line 991, in exec_module
File " <frozen importlib._bootstrap_external>" , line 1124, in get_code
File " <frozen importlib._bootstrap_external>" , line 753, in _compile_bytecode
ValueError: bad marshal data (unknown type code)
# destroy re
# destroy sitecustomize
# zipimport: found 21 names in '/usr/local/Cellar/python@3.12/3.12.2_1/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/samsungctl-0.7.1+1-py3.12.egg'
import ' site' # <class '_frozen_importlib.FrozenImporter'>
Python 3.12.2 (main, Feb 6 2024, 20:19:44) [Clang 15.0.0 (clang-1500.1.0.2.5)] on darwin
Type " help" , " copyright" , " credits" or " license" for more information.
# /usr/local/Cellar/python@3.12/3.12.2_1/Frameworks/Python.framework/Versions/3.12/lib/python3.12/re/__pycache__/__init__.cpython-312.pyc matches /usr/local/Cellar/python@3.12/3.12.2_1/Frameworks/Python.framework/Versions/3.12/lib/python3.12/re/__init__.py
Traceback (most recent call last):
File " /usr/local/bin/samsungctl" , line 3, in < module>
import re
File " <frozen importlib._bootstrap>" , line 1360, in _find_and_load
File " <frozen importlib._bootstrap>" , line 1331, in _find_and_load_unlocked
File " <frozen importlib._bootstrap>" , line 935, in _load_unlocked
File " <frozen importlib._bootstrap_external>" , line 991, in exec_module
File " <frozen importlib._bootstrap_external>" , line 1124, in get_code
File " <frozen importlib._bootstrap_external>" , line 753, in _compile_bytecode
ValueError: bad marshal data (unknown type code)
# clear sys.path_importer_cache
# clear sys.path_hooks
# clear builtins._
# clear sys.path
# clear sys.argv
# clear sys.ps1
# clear sys.ps2
# clear sys.last_exc
# clear sys.last_type
# clear sys.last_value
# clear sys.last_traceback
# destroy re
# clear sys.__interactivehook__
# clear sys.meta_path
# restore sys.stdin
# restore sys.stdout
# restore sys.stderr
# cleanup[2] removing sys
# cleanup[2] removing builtins
# cleanup[2] removing _frozen_importlib
# cleanup[2] removing _imp
# cleanup[2] removing _thread
# cleanup[2] removing _warnings
# cleanup[2] removing _weakref
# cleanup[2] removing _io
# cleanup[2] removing marshal
# cleanup[2] removing posix
# cleanup[2] removing _frozen_importlib_external
# cleanup[2] removing time
# cleanup[2] removing zipimport
# destroy zipimport
# cleanup[2] removing _codecs
# cleanup[2] removing codecs
# cleanup[2] removing encodings.aliases
# cleanup[2] removing encodings
# destroy encodings
# cleanup[2] removing encodings.utf_8
# cleanup[2] removing _signal
# cleanup[2] removing _abc
# cleanup[2] removing abc
# cleanup[2] removing io
# cleanup[2] removing __main__
# destroy __main__
# cleanup[2] removing _stat
# cleanup[2] removing stat
# cleanup[2] removing _collections_abc
# destroy _collections_abc
# cleanup[2] removing genericpath
# cleanup[2] removing posixpath
# cleanup[2] removing os.path
# cleanup[2] removing os
# cleanup[2] removing _sitebuiltins
# cleanup[2] removing _distutils_hack
# destroy _distutils_hack
# cleanup[2] removing site
# destroy site
# destroy time
# destroy _signal
# destroy _abc
# destroy _sitebuiltins
# destroy io
# destroy abc
# destroy posixpath
# destroy _stat
# destroy genericpath
# destroy stat
# destroy os
# cleanup[3] wiping encodings.utf_8
# cleanup[3] wiping encodings.aliases
# cleanup[3] wiping codecs
# cleanup[3] wiping _codecs
# cleanup[3] wiping _frozen_importlib_external
# cleanup[3] wiping posix
# cleanup[3] wiping marshal
# destroy marshal
# cleanup[3] wiping _io
# cleanup[3] wiping _weakref
# cleanup[3] wiping _warnings
# cleanup[3] wiping _thread
# cleanup[3] wiping _imp
# cleanup[3] wiping _frozen_importlib
# destroy _warnings
# destroy _weakref
# destroy _frozen_importlib_external
# destroy _imp
# cleanup[3] wiping sys
# cleanup[3] wiping builtins
# destroy sys.monitoring
# destroy _thread
# destroy _io
# destroy posix
# clear sys.meta_path
# clear sys.modules
# destroy _frozen_importlib
# destroy codecs
# destroy sys
# destroy encodings.aliases
# destroy encodings.utf_8
# destroy _codecs
# destroy builtins
# clear sys.audit hooks Reactions are currently unavailable