[tbot] Release 0.8.1

Stefano Babic sbabic at denx.de
Tue Mar 10 10:10:19 CET 2020


Hi Harald,

On 10.03.20 10:04, Harald Seiler wrote:
> Hello Stefano,
> 
> On Mon, 2020-03-09 at 20:47 +0100, Stefano Babic wrote:
>> Hi Harald,
>>
>> On 06/03/20 15:56, Harald Seiler wrote:
>>> Hello!
>>>
>>> I'm releasing tbot 0.8.1, to flush all the changes that have accumulated
>>> in the last months.  I have a few big new features waiting to be added
>>> (interactive commands and a good U-Boot test/py integration) but
>>> I wanted a release before merging them.
>>>
>>> Most changes were bug fixes and small features.  A full overview is in
>>> the changelog [1].  Docs are on https://tbot.tools/ and available in PDF
>>> form as well [2].
>>>
>>> Additionally, I added an empty `tbot_contrib` module.  This is meant to
>>> be a home for testcases that don't really belong into tbot core, but are
>>> still useful for a lot of people and thus should be distributed
>>> alongside tbot.  Feel free to send patches for any existing code you
>>> have which you think would fit in!
>>>
>>> Because of this new module, if you have been using the `develop`
>>> installation of tbot, you need to reinstall using
>>>
>>>     pip3 uninstall tbot
>>>     python3 setup.py develop --user
>>>
>>> otherwise, just update as usual, using
>>>
>>>     git pull
>>>     python3 setup.py install --user
>>>
>>> [1]: https://github.com/Rahix/tbot/releases/tag/v0.8.1
>>> [2]: https://github.com/Rahix/tbot/releases/download/v0.8.1/tbot.pdf
>>>
>>
>> Setup looks broken after 0.7.1 - this is the last version I can install
>> without issue on Ubuntu 19.10. After installing 0.8.0 or 0.8.1, I get
>> running tbot:
> 
> I cannot reproduce this error on my system ... I suspect it is caused by
> a change in Python from version 3.6 to 3.7.  Can you check which version
> you are using?
> 

Python 3.7.5 (default, Nov 20 2019, 09:21:52)


> Also, with 0.8.1, if you get an error, it will most likely be a slightly
> different one (the line causing the error here has changed since).  Can
> you send me the full traceback as well, please?

I sent the full trackback: there is nothing more. I do not see any error
during install, anyway trhis is the log:

python3 setup.py install --user
running install
running bdist_egg
running egg_info
writing tbot.egg-info/PKG-INFO
writing dependency_links to tbot.egg-info/dependency_links.txt
writing entry points to tbot.egg-info/entry_points.txt
writing requirements to tbot.egg-info/requires.txt
writing top-level names to tbot.egg-info/top_level.txt
reading manifest file 'tbot.egg-info/SOURCES.txt'
writing manifest file 'tbot.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
copying tbot_contrib/__init__.py -> build/lib/tbot_contrib
copying tbot/log.py -> build/lib/tbot
copying tbot/log_event.py -> build/lib/tbot
copying tbot/__about__.py -> build/lib/tbot
copying tbot/__init__.py -> build/lib/tbot
copying tbot/main.py -> build/lib/tbot
copying tbot/loader.py -> build/lib/tbot
copying tbot/decorators.py -> build/lib/tbot
copying tbot/selectable.py -> build/lib/tbot
copying tbot_contrib/connector/__init__.py ->
build/lib/tbot_contrib/connector
copying tbot_contrib/connector/conserver.py ->
build/lib/tbot_contrib/connector
copying tbot/machine/__init__.py -> build/lib/tbot/machine
copying tbot/machine/machine.py -> build/lib/tbot/machine
copying tbot/machine/shell.py -> build/lib/tbot/machine
copying tbot/tc/kconfig.py -> build/lib/tbot/tc
copying tbot/tc/__init__.py -> build/lib/tbot/tc
copying tbot/tc/git.py -> build/lib/tbot/tc
copying tbot/tc/callable.py -> build/lib/tbot/tc
copying tbot/tc/shell.py -> build/lib/tbot/tc
copying tbot/machine/linux/linux_shell.py -> build/lib/tbot/machine/linux
copying tbot/machine/linux/auth.py -> build/lib/tbot/machine/linux
copying tbot/machine/linux/__init__.py -> build/lib/tbot/machine/linux
copying tbot/machine/linux/special.py -> build/lib/tbot/machine/linux
copying tbot/machine/linux/ash.py -> build/lib/tbot/machine/linux
copying tbot/machine/linux/util.py -> build/lib/tbot/machine/linux
copying tbot/machine/linux/path.py -> build/lib/tbot/machine/linux
copying tbot/machine/linux/build.py -> build/lib/tbot/machine/linux
copying tbot/machine/linux/workdir.py -> build/lib/tbot/machine/linux
copying tbot/machine/linux/lab.py -> build/lib/tbot/machine/linux
copying tbot/machine/linux/bash.py -> build/lib/tbot/machine/linux
copying tbot/machine/board/__init__.py -> build/lib/tbot/machine/board
copying tbot/machine/board/uboot.py -> build/lib/tbot/machine/board
copying tbot/machine/board/linux.py -> build/lib/tbot/machine/board
copying tbot/machine/board/board.py -> build/lib/tbot/machine/board
copying tbot/machine/connector/common.py -> build/lib/tbot/machine/connector
copying tbot/machine/connector/__init__.py ->
build/lib/tbot/machine/connector
copying tbot/machine/connector/paramiko.py ->
build/lib/tbot/machine/connector
copying tbot/machine/connector/connector.py ->
build/lib/tbot/machine/connector
copying tbot/machine/connector/ssh.py -> build/lib/tbot/machine/connector
copying tbot/machine/channel/subprocess.py -> build/lib/tbot/machine/channel
copying tbot/machine/channel/__init__.py -> build/lib/tbot/machine/channel
copying tbot/machine/channel/paramiko.py -> build/lib/tbot/machine/channel
copying tbot/machine/channel/channel.py -> build/lib/tbot/machine/channel
copying tbot/tc/uboot/build.py -> build/lib/tbot/tc/uboot
copying tbot/tc/selftest/__init__.py -> build/lib/tbot/tc/selftest
copying tbot/tc/selftest/board_machine.py -> build/lib/tbot/tc/selftest
copying tbot/tc/selftest/minisshd.py -> build/lib/tbot/tc/selftest
copying tbot/tc/selftest/machine.py -> build/lib/tbot/tc/selftest
copying tbot/tc/selftest/testcase.py -> build/lib/tbot/tc/selftest
copying tbot/tc/selftest/path.py -> build/lib/tbot/tc/selftest
copying tbot/tc/selftest/tc/kconfig.py -> build/lib/tbot/tc/selftest/tc
copying tbot/tc/selftest/tc/__init__.py -> build/lib/tbot/tc/selftest/tc
copying tbot/tc/selftest/tc/uboot.py -> build/lib/tbot/tc/selftest/tc
copying tbot/tc/selftest/tc/git.py -> build/lib/tbot/tc/selftest/tc
copying tbot/tc/selftest/tc/build.py -> build/lib/tbot/tc/selftest/tc
copying tbot/tc/selftest/tc/shell.py -> build/lib/tbot/tc/selftest/tc
creating build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/tbot_contrib
copying build/lib/tbot_contrib/__init__.py ->
build/bdist.linux-x86_64/egg/tbot_contrib
creating build/bdist.linux-x86_64/egg/tbot_contrib/connector
copying build/lib/tbot_contrib/connector/__init__.py ->
build/bdist.linux-x86_64/egg/tbot_contrib/connector
copying build/lib/tbot_contrib/connector/conserver.py ->
build/bdist.linux-x86_64/egg/tbot_contrib/connector
creating build/bdist.linux-x86_64/egg/tbot
creating build/bdist.linux-x86_64/egg/tbot/machine
creating build/bdist.linux-x86_64/egg/tbot/machine/linux
creating build/bdist.linux-x86_64/egg/tbot/machine/linux/lab
copying build/lib/tbot/machine/linux/lab/local.py ->
build/bdist.linux-x86_64/egg/tbot/machine/linux/lab
copying build/lib/tbot/machine/linux/lab/__init__.py ->
build/bdist.linux-x86_64/egg/tbot/machine/linux/lab
copying build/lib/tbot/machine/linux/lab/machine.py ->
build/bdist.linux-x86_64/egg/tbot/machine/linux/lab
copying build/lib/tbot/machine/linux/lab/ssh.py ->
build/bdist.linux-x86_64/egg/tbot/machine/linux/lab
copying build/lib/tbot/machine/linux/linux_shell.py ->
build/bdist.linux-x86_64/egg/tbot/machine/linux
copying build/lib/tbot/machine/linux/auth.py ->
build/bdist.linux-x86_64/egg/tbot/machine/linux
copying build/lib/tbot/machine/linux/__init__.py ->
build/bdist.linux-x86_64/egg/tbot/machine/linux
copying build/lib/tbot/machine/linux/special.py ->
build/bdist.linux-x86_64/egg/tbot/machine/linux
copying build/lib/tbot/machine/linux/machine.py ->
build/bdist.linux-x86_64/egg/tbot/machine/linux
copying build/lib/tbot/machine/linux/ash.py ->
build/bdist.linux-x86_64/egg/tbot/machine/linux
creating build/bdist.linux-x86_64/egg/tbot/machine/linux/build
copying build/lib/tbot/machine/linux/build/__init__.py ->
build/bdist.linux-x86_64/egg/tbot/machine/linux/build
copying build/lib/tbot/machine/linux/build/machine.py ->
build/bdist.linux-x86_64/egg/tbot/machine/linux/build
copying build/lib/tbot/machine/linux/build/toolchain.py ->
build/bdist.linux-x86_64/egg/tbot/machine/linux/build
copying build/lib/tbot/machine/linux/util.py ->
build/bdist.linux-x86_64/egg/tbot/machine/linux
copying build/lib/tbot/machine/linux/path.py ->
build/bdist.linux-x86_64/egg/tbot/machine/linux
copying build/lib/tbot/machine/linux/build.py ->
build/bdist.linux-x86_64/egg/tbot/machine/linux
creating build/bdist.linux-x86_64/egg/tbot/machine/linux/ssh
copying build/lib/tbot/machine/linux/ssh/__init__.py ->
build/bdist.linux-x86_64/egg/tbot/machine/linux/ssh
copying build/lib/tbot/machine/linux/ssh/machine.py ->
build/bdist.linux-x86_64/egg/tbot/machine/linux/ssh
copying build/lib/tbot/machine/linux/workdir.py ->
build/bdist.linux-x86_64/egg/tbot/machine/linux
copying build/lib/tbot/machine/linux/lab.py ->
build/bdist.linux-x86_64/egg/tbot/machine/linux
creating build/bdist.linux-x86_64/egg/tbot/machine/linux/shell
copying build/lib/tbot/machine/linux/shell/__init__.py ->
build/bdist.linux-x86_64/egg/tbot/machine/linux/shell
copying build/lib/tbot/machine/linux/shell/ash.py ->
build/bdist.linux-x86_64/egg/tbot/machine/linux/shell
copying build/lib/tbot/machine/linux/shell/shell.py ->
build/bdist.linux-x86_64/egg/tbot/machine/linux/shell
copying build/lib/tbot/machine/linux/shell/bash.py ->
build/bdist.linux-x86_64/egg/tbot/machine/linux/shell
copying build/lib/tbot/machine/linux/bash.py ->
build/bdist.linux-x86_64/egg/tbot/machine/linux
creating build/bdist.linux-x86_64/egg/tbot/machine/board
copying build/lib/tbot/machine/board/__init__.py ->
build/bdist.linux-x86_64/egg/tbot/machine/board
copying build/lib/tbot/machine/board/uboot.py ->
build/bdist.linux-x86_64/egg/tbot/machine/board
copying build/lib/tbot/machine/board/special.py ->
build/bdist.linux-x86_64/egg/tbot/machine/board
copying build/lib/tbot/machine/board/machine.py ->
build/bdist.linux-x86_64/egg/tbot/machine/board
copying build/lib/tbot/machine/board/linux.py ->
build/bdist.linux-x86_64/egg/tbot/machine/board
copying build/lib/tbot/machine/board/board.py ->
build/bdist.linux-x86_64/egg/tbot/machine/board
copying build/lib/tbot/machine/__init__.py ->
build/bdist.linux-x86_64/egg/tbot/machine
creating build/bdist.linux-x86_64/egg/tbot/machine/connector
copying build/lib/tbot/machine/connector/common.py ->
build/bdist.linux-x86_64/egg/tbot/machine/connector
copying build/lib/tbot/machine/connector/__init__.py ->
build/bdist.linux-x86_64/egg/tbot/machine/connector
copying build/lib/tbot/machine/connector/paramiko.py ->
build/bdist.linux-x86_64/egg/tbot/machine/connector
copying build/lib/tbot/machine/connector/connector.py ->
build/bdist.linux-x86_64/egg/tbot/machine/connector
copying build/lib/tbot/machine/connector/ssh.py ->
build/bdist.linux-x86_64/egg/tbot/machine/connector
copying build/lib/tbot/machine/machine.py ->
build/bdist.linux-x86_64/egg/tbot/machine
copying build/lib/tbot/machine/error.py ->
build/bdist.linux-x86_64/egg/tbot/machine
creating build/bdist.linux-x86_64/egg/tbot/machine/channel
copying build/lib/tbot/machine/channel/subprocess.py ->
build/bdist.linux-x86_64/egg/tbot/machine/channel
copying build/lib/tbot/machine/channel/__init__.py ->
build/bdist.linux-x86_64/egg/tbot/machine/channel
copying build/lib/tbot/machine/channel/paramiko.py ->
build/bdist.linux-x86_64/egg/tbot/machine/channel
copying build/lib/tbot/machine/channel/channel.py ->
build/bdist.linux-x86_64/egg/tbot/machine/channel
copying build/lib/tbot/machine/shell.py ->
build/bdist.linux-x86_64/egg/tbot/machine
copying build/lib/tbot/log.py -> build/bdist.linux-x86_64/egg/tbot
copying build/lib/tbot/log_event.py -> build/bdist.linux-x86_64/egg/tbot
copying build/lib/tbot/__about__.py -> build/bdist.linux-x86_64/egg/tbot
copying build/lib/tbot/__init__.py -> build/bdist.linux-x86_64/egg/tbot
copying build/lib/tbot/main.py -> build/bdist.linux-x86_64/egg/tbot
creating build/bdist.linux-x86_64/egg/tbot/tc
creating build/bdist.linux-x86_64/egg/tbot/tc/uboot
copying build/lib/tbot/tc/uboot/build_info.py ->
build/bdist.linux-x86_64/egg/tbot/tc/uboot
copying build/lib/tbot/tc/uboot/__init__.py ->
build/bdist.linux-x86_64/egg/tbot/tc/uboot
copying build/lib/tbot/tc/uboot/build.py ->
build/bdist.linux-x86_64/egg/tbot/tc/uboot
copying build/lib/tbot/tc/kconfig.py -> build/bdist.linux-x86_64/egg/tbot/tc
copying build/lib/tbot/tc/__init__.py ->
build/bdist.linux-x86_64/egg/tbot/tc
copying build/lib/tbot/tc/git.py -> build/bdist.linux-x86_64/egg/tbot/tc
copying build/lib/tbot/tc/callable.py ->
build/bdist.linux-x86_64/egg/tbot/tc
copying build/lib/tbot/tc/shell.py -> build/bdist.linux-x86_64/egg/tbot/tc
creating build/bdist.linux-x86_64/egg/tbot/tc/selftest
copying build/lib/tbot/tc/selftest/__init__.py ->
build/bdist.linux-x86_64/egg/tbot/tc/selftest
copying build/lib/tbot/tc/selftest/board_machine.py ->
build/bdist.linux-x86_64/egg/tbot/tc/selftest
copying build/lib/tbot/tc/selftest/minisshd.py ->
build/bdist.linux-x86_64/egg/tbot/tc/selftest
creating build/bdist.linux-x86_64/egg/tbot/tc/selftest/tc
copying build/lib/tbot/tc/selftest/tc/kconfig.py ->
build/bdist.linux-x86_64/egg/tbot/tc/selftest/tc
copying build/lib/tbot/tc/selftest/tc/__init__.py ->
build/bdist.linux-x86_64/egg/tbot/tc/selftest/tc
copying build/lib/tbot/tc/selftest/tc/uboot.py ->
build/bdist.linux-x86_64/egg/tbot/tc/selftest/tc
copying build/lib/tbot/tc/selftest/tc/git.py ->
build/bdist.linux-x86_64/egg/tbot/tc/selftest/tc
copying build/lib/tbot/tc/selftest/tc/build.py ->
build/bdist.linux-x86_64/egg/tbot/tc/selftest/tc
copying build/lib/tbot/tc/selftest/tc/shell.py ->
build/bdist.linux-x86_64/egg/tbot/tc/selftest/tc
copying build/lib/tbot/tc/selftest/machine.py ->
build/bdist.linux-x86_64/egg/tbot/tc/selftest
copying build/lib/tbot/tc/selftest/testcase.py ->
build/bdist.linux-x86_64/egg/tbot/tc/selftest
copying build/lib/tbot/tc/selftest/path.py ->
build/bdist.linux-x86_64/egg/tbot/tc/selftest
copying build/lib/tbot/loader.py -> build/bdist.linux-x86_64/egg/tbot
copying build/lib/tbot/decorators.py -> build/bdist.linux-x86_64/egg/tbot
copying build/lib/tbot/selectable.py -> build/bdist.linux-x86_64/egg/tbot
byte-compiling build/bdist.linux-x86_64/egg/tbot_contrib/__init__.py to
__init__.cpython-37.pyc
byte-compiling
build/bdist.linux-x86_64/egg/tbot_contrib/connector/__init__.py to
__init__.cpython-37.pyc
byte-compiling
build/bdist.linux-x86_64/egg/tbot_contrib/connector/conserver.py to
conserver.cpython-37.pyc
byte-compiling
build/bdist.linux-x86_64/egg/tbot/machine/linux/lab/local.py to
local.cpython-37.pyc
byte-compiling
build/bdist.linux-x86_64/egg/tbot/machine/linux/lab/__init__.py to
__init__.cpython-37.pyc
byte-compiling
build/bdist.linux-x86_64/egg/tbot/machine/linux/lab/machine.py to
machine.cpython-37.pyc
byte-compiling
build/bdist.linux-x86_64/egg/tbot/machine/linux/lab/ssh.py to
ssh.cpython-37.pyc
byte-compiling
build/bdist.linux-x86_64/egg/tbot/machine/linux/linux_shell.py to
linux_shell.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/tbot/machine/linux/auth.py
to auth.cpython-37.pyc
byte-compiling
build/bdist.linux-x86_64/egg/tbot/machine/linux/__init__.py to
__init__.cpython-37.pyc
byte-compiling
build/bdist.linux-x86_64/egg/tbot/machine/linux/special.py to
special.cpython-37.pyc
byte-compiling
build/bdist.linux-x86_64/egg/tbot/machine/linux/machine.py to
machine.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/tbot/machine/linux/ash.py to
ash.cpython-37.pyc
byte-compiling
build/bdist.linux-x86_64/egg/tbot/machine/linux/build/__init__.py to
__init__.cpython-37.pyc
byte-compiling
build/bdist.linux-x86_64/egg/tbot/machine/linux/build/machine.py to
machine.cpython-37.pyc
byte-compiling
build/bdist.linux-x86_64/egg/tbot/machine/linux/build/toolchain.py to
toolchain.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/tbot/machine/linux/util.py
to util.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/tbot/machine/linux/path.py
to path.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/tbot/machine/linux/build.py
to build.cpython-37.pyc
byte-compiling
build/bdist.linux-x86_64/egg/tbot/machine/linux/ssh/__init__.py to
__init__.cpython-37.pyc
byte-compiling
build/bdist.linux-x86_64/egg/tbot/machine/linux/ssh/machine.py to
machine.cpython-37.pyc
byte-compiling
build/bdist.linux-x86_64/egg/tbot/machine/linux/workdir.py to
workdir.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/tbot/machine/linux/lab.py to
lab.cpython-37.pyc
byte-compiling
build/bdist.linux-x86_64/egg/tbot/machine/linux/shell/__init__.py to
__init__.cpython-37.pyc
byte-compiling
build/bdist.linux-x86_64/egg/tbot/machine/linux/shell/ash.py to
ash.cpython-37.pyc
byte-compiling
build/bdist.linux-x86_64/egg/tbot/machine/linux/shell/shell.py to
shell.cpython-37.pyc
byte-compiling
build/bdist.linux-x86_64/egg/tbot/machine/linux/shell/bash.py to
bash.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/tbot/machine/linux/bash.py
to bash.cpython-37.pyc
byte-compiling
build/bdist.linux-x86_64/egg/tbot/machine/board/__init__.py to
__init__.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/tbot/machine/board/uboot.py
to uboot.cpython-37.pyc
byte-compiling
build/bdist.linux-x86_64/egg/tbot/machine/board/special.py to
special.cpython-37.pyc
byte-compiling
build/bdist.linux-x86_64/egg/tbot/machine/board/machine.py to
machine.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/tbot/machine/board/linux.py
to linux.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/tbot/machine/board/board.py
to board.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/tbot/machine/__init__.py to
__init__.cpython-37.pyc
byte-compiling
build/bdist.linux-x86_64/egg/tbot/machine/connector/common.py to
common.cpython-37.pyc
byte-compiling
build/bdist.linux-x86_64/egg/tbot/machine/connector/__init__.py to
__init__.cpython-37.pyc
byte-compiling
build/bdist.linux-x86_64/egg/tbot/machine/connector/paramiko.py to
paramiko.cpython-37.pyc
byte-compiling
build/bdist.linux-x86_64/egg/tbot/machine/connector/connector.py to
connector.cpython-37.pyc
byte-compiling
build/bdist.linux-x86_64/egg/tbot/machine/connector/ssh.py to
ssh.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/tbot/machine/machine.py to
machine.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/tbot/machine/error.py to
error.cpython-37.pyc
byte-compiling
build/bdist.linux-x86_64/egg/tbot/machine/channel/subprocess.py to
subprocess.cpython-37.pyc
byte-compiling
build/bdist.linux-x86_64/egg/tbot/machine/channel/__init__.py to
__init__.cpython-37.pyc
byte-compiling
build/bdist.linux-x86_64/egg/tbot/machine/channel/paramiko.py to
paramiko.cpython-37.pyc
byte-compiling
build/bdist.linux-x86_64/egg/tbot/machine/channel/channel.py to
channel.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/tbot/machine/shell.py to
shell.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/tbot/log.py to
log.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/tbot/log_event.py to
log_event.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/tbot/__about__.py to
__about__.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/tbot/__init__.py to
__init__.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/tbot/main.py to
main.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/tbot/tc/uboot/build_info.py
to build_info.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/tbot/tc/uboot/__init__.py to
__init__.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/tbot/tc/uboot/build.py to
build.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/tbot/tc/kconfig.py to
kconfig.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/tbot/tc/__init__.py to
__init__.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/tbot/tc/git.py to
git.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/tbot/tc/callable.py to
callable.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/tbot/tc/shell.py to
shell.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/tbot/tc/selftest/__init__.py
to __init__.cpython-37.pyc
byte-compiling
build/bdist.linux-x86_64/egg/tbot/tc/selftest/board_machine.py to
board_machine.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/tbot/tc/selftest/minisshd.py
to minisshd.cpython-37.pyc
byte-compiling
build/bdist.linux-x86_64/egg/tbot/tc/selftest/tc/kconfig.py to
kconfig.cpython-37.pyc
byte-compiling
build/bdist.linux-x86_64/egg/tbot/tc/selftest/tc/__init__.py to
__init__.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/tbot/tc/selftest/tc/uboot.py
to uboot.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/tbot/tc/selftest/tc/git.py
to git.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/tbot/tc/selftest/tc/build.py
to build.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/tbot/tc/selftest/tc/shell.py
to shell.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/tbot/tc/selftest/machine.py
to machine.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/tbot/tc/selftest/testcase.py
to testcase.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/tbot/tc/selftest/path.py to
path.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/tbot/loader.py to
loader.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/tbot/decorators.py to
decorators.cpython-37.pyc
byte-compiling build/bdist.linux-x86_64/egg/tbot/selectable.py to
selectable.cpython-37.pyc
installing package data to build/bdist.linux-x86_64/egg
running install_data
creating build/bdist.linux-x86_64/egg/man
creating build/bdist.linux-x86_64/egg/man/man1
copying Documentation/tbot.1 -> build/bdist.linux-x86_64/egg/man/man1
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying tbot.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying tbot.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying tbot.egg-info/dependency_links.txt ->
build/bdist.linux-x86_64/egg/EGG-INFO
copying tbot.egg-info/entry_points.txt ->
build/bdist.linux-x86_64/egg/EGG-INFO
copying tbot.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying tbot.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
tbot.__pycache__.loader.cpython-37: module references __file__
creating 'dist/tbot-0.8.1-py3.7.egg' and adding
'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing tbot-0.8.1-py3.7.egg
removing
'/home/stefano/.local/lib/python3.7/site-packages/tbot-0.8.1-py3.7.egg'
(and everything under it)
creating
/home/stefano/.local/lib/python3.7/site-packages/tbot-0.8.1-py3.7.egg
Extracting tbot-0.8.1-py3.7.egg to
/home/stefano/.local/lib/python3.7/site-packages
Removing tbot 0.7.1 from easy-install.pth file
Adding tbot 0.8.1 to easy-install.pth file
Installing tbot script to /home/stefano/.local/bin

Installed
/home/stefano/.local/lib/python3.7/site-packages/tbot-0.8.1-py3.7.egg
Processing dependencies for tbot==0.8.1
Searching for termcolor2==0.0.3
Best match: termcolor2 0.0.3
Processing termcolor2-0.0.3-py3.7.egg
termcolor2 0.0.3 is already the active version in easy-install.pth

Using
/home/stefano/.local/lib/python3.7/site-packages/termcolor2-0.0.3-py3.7.egg
Searching for paramiko==2.6.0
Best match: paramiko 2.6.0
Adding paramiko 2.6.0 to easy-install.pth file

Using /usr/lib/python3/dist-packages
Searching for termcolor==1.1.0
Best match: termcolor 1.1.0
Processing termcolor-1.1.0-py3.7.egg
termcolor 1.1.0 is already the active version in easy-install.pth

Using
/home/stefano/.local/lib/python3.7/site-packages/termcolor-1.1.0-py3.7.egg
Finished processing dependencies for tbot==0.8.1



Everything fine (this was using development branch, but things changed
after 0.7.1). Then I just call tbot:

stefano at paperino:~/Projects/internal/tbot$ tbot
Traceback (most recent call last):
  File "/home/stefano/.local/bin/tbot", line 8, in <module>
    from tbot.main import main
  File
"/home/stefano/.local/lib/python3.7/site-packages/tbot-0.8.1-py3.7.egg/tbot/__init__.py",
line 22, in <module>
    from . import selectable
  File
"/home/stefano/.local/lib/python3.7/site-packages/tbot-0.8.1-py3.7.egg/tbot/selectable.py",
line 18, in <module>
    from tbot.machine import connector, linux, board
  File
"/home/stefano/.local/lib/python3.7/site-packages/tbot-0.8.1-py3.7.egg/tbot/machine/__init__.py",
line 1, in <module>
    from . import board
  File
"/home/stefano/.local/lib/python3.7/site-packages/tbot-0.8.1-py3.7.egg/tbot/machine/board/__init__.py",
line 4, in <module>
    from .uboot import UBootShell, UBootAutobootIntercept
  File
"/home/stefano/.local/lib/python3.7/site-packages/tbot-0.8.1-py3.7.egg/tbot/machine/board/uboot.py",
line 23, in <module>
    from ..linux import special
  File
"/home/stefano/.local/lib/python3.7/site-packages/tbot-0.8.1-py3.7.egg/tbot/machine/linux/__init__.py",
line 34, in <module>
    from . import build
  File
"/home/stefano/.local/lib/python3.7/site-packages/tbot-0.8.1-py3.7.egg/tbot/machine/linux/build/__init__.py",
line 1, in <module>
    from .machine import BuildMachine
  File
"/home/stefano/.local/lib/python3.7/site-packages/tbot-0.8.1-py3.7.egg/tbot/machine/linux/build/machine.py",
line 20, in <module>
    from . import toolchain
  File
"/home/stefano/.local/lib/python3.7/site-packages/tbot-0.8.1-py3.7.egg/tbot/machine/linux/build/toolchain.py",
line 22, in <module>
    class Toolchain(abc.ABC):
  File
"/home/stefano/.local/lib/python3.7/site-packages/tbot-0.8.1-py3.7.egg/tbot/machine/linux/build/toolchain.py",
line 26, in Toolchain
    def enable(self, host: linux.LinuxMachine) -> None:
AttributeError: module 'tbot.machine.linux' has no attribute 'LinuxMachine'

Regards,
Stefano


> 
>> tbot -h
>> Traceback (most recent call last):
>>   File "/home/stefano/.local/bin/tbot", line 8, in <module>
>>     from tbot.main import main
>>   File
>> "/home/stefano/.local/lib/python3.7/site-packages/tbot-0.8.0-py3.7.egg/tbot/__init__.py",
>> line 20, in <module>
>>     from . import selectable
>>   File
>> "/home/stefano/.local/lib/python3.7/site-packages/tbot-0.8.0-py3.7.egg/tbot/selectable.py",
>> line 18, in <module>
>>     from tbot.machine import connector, linux, board
>>   File
>> "/home/stefano/.local/lib/python3.7/site-packages/tbot-0.8.0-py3.7.egg/tbot/machine/__init__.py",
>> line 1, in <module>
>>     from . import board
>>   File
>> "/home/stefano/.local/lib/python3.7/site-packages/tbot-0.8.0-py3.7.egg/tbot/machine/board/__init__.py",
>> line 4, in <module>
>>     from .uboot import UBootShell, UBootAutobootIntercept
>>   File
>> "/home/stefano/.local/lib/python3.7/site-packages/tbot-0.8.0-py3.7.egg/tbot/machine/board/uboot.py",
>> line 24, in <module>
>>     from ..linux import special
>>   File
>> "/home/stefano/.local/lib/python3.7/site-packages/tbot-0.8.0-py3.7.egg/tbot/machine/linux/__init__.py",
>> line 33, in <module>
>>     from . import build
>>   File
>> "/home/stefano/.local/lib/python3.7/site-packages/tbot-0.8.0-py3.7.egg/tbot/machine/linux/build/__init__.py",
>> line 1, in <module>
>>     from .machine import BuildMachine
>>   File
>> "/home/stefano/.local/lib/python3.7/site-packages/tbot-0.8.0-py3.7.egg/tbot/machine/linux/build/machine.py",
>> line 20, in <module>
>>     from . import toolchain
>>   File
>> "/home/stefano/.local/lib/python3.7/site-packages/tbot-0.8.0-py3.7.egg/tbot/machine/linux/build/toolchain.py",
>> line 22, in <module>
>>     class Toolchain(abc.ABC):
>>   File
>> "/home/stefano/.local/lib/python3.7/site-packages/tbot-0.8.0-py3.7.egg/tbot/machine/linux/build/toolchain.py",
>> line 26, in Toolchain
>>     def enable(self, host: linux.LinuxMachine) -> None:
>> AttributeError: module 'tbot.machine.linux' has no attribute 'LinuxMachine'
>>
>> with tbot 0.7.1 no issues
>>
>> Regards,
>> Stefano
>  
> 


-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================


More information about the tbot mailing list