This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo docker run -ti --rm -v $PWD/buildbot:/buildbot python:2.7 /bin/bash | |
root@7d76ec1e95ad:/# pip install -e /buildbot/master/[docs] | |
Obtaining file:///buildbot/master | |
Collecting Twisted>=14.0.1 (from buildbot===0.9.0b8-67-g9f3e79a) | |
Downloading Twisted-16.1.1.tar.bz2 (2.9MB) | |
100% |████████████████████████████████| 2.9MB 367kB/s | |
Collecting Jinja2>=2.1 (from buildbot===0.9.0b8-67-g9f3e79a) | |
Downloading Jinja2-2.8-py2.py3-none-any.whl (263kB) | |
100% |████████████████████████████████| 266kB 2.4MB/s | |
Collecting zope.interface>=4.1.1 (from buildbot===0.9.0b8-67-g9f3e79a) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
time="2016-02-09T21:51:11.585544668+03:00" level=debug msg="docker group found. gid: 999" | |
time="2016-02-09T21:51:11.585602876+03:00" level=debug msg="Server created for HTTP on unix (/var/run/docker.sock)" | |
time="2016-02-09T21:51:11.585713633+03:00" level=debug msg="Using default logging driver json-file" | |
time="2016-02-09T21:51:11.585736796+03:00" level=debug msg="[graphdriver] trying provided driver \"overlay\"" | |
time="2016-02-09T21:51:11.588455120+03:00" level=debug msg="Using graph driver overlay" | |
time="2016-02-09T21:51:11.676007058+03:00" level=debug msg="could not get checksum for \"061ea850f8e9bb47a04edf49c745c94a21dbb1a8bbced6bcd857c5fc699bc9a7\" with tar-split: \"open /var/lib/docker/graph/061ea850f8e9bb47a04edf49c745c94a21dbb1a8bbced6bcd857c5fc699bc9a7/tar-data.json.gz: no such file or directory\"" | |
time="2016-02-09T21:51:11.676032346+03:00" level=debug msg="could not get checksum for \"0e57c609ffa9cf52d8e508554c2ca1e9af5a5dea226615ff58c421abfd4622d0\" with tar-split: \"stat /var/lib/docker/overla |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
time="2016-02-09T16:15:21.565920451+03:00" level=debug msg="docker group found. gid: 999" | |
time="2016-02-09T16:15:21.565995328+03:00" level=debug msg="Server created for HTTP on unix (/var/run/docker.sock)" | |
time="2016-02-09T16:15:21.566129065+03:00" level=debug msg="Using default logging driver json-file" | |
time="2016-02-09T16:15:21.566163400+03:00" level=debug msg="[graphdriver] trying provided driver \"overlay\"" | |
time="2016-02-09T16:15:21.568068833+03:00" level=debug msg="Using graph driver overlay" | |
time="2016-02-09T16:15:21.673983839+03:00" level=debug msg="could not get checksum for \"11421c362701030998085de69fbef501e4c16f91c2f008d820124808a4ddfe48\" with tar-split: \"open /var/lib/docker/graph/11421c362701030998085de69fbef501e4c16f91c2f008d820124808a4ddfe48/tar-data.json.gz: no such file or directory\"" | |
time="2016-02-09T16:15:21.674026604+03:00" level=error msg="could not calculate checksum for \"11421c362701030998085de69fbef501e4c16f91c2f008d820124808a4ddfe48\", \"stat /var/lib/docker/overlay/11421c3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- python -*- | |
# ex: set syntax=python: | |
from buildbot.plugins import * | |
# This is a sample buildmaster config file. It must be installed as | |
# 'master.cfg' in your buildmaster's base directory. | |
# This is the dictionary that the buildmaster pays attention to. We also use | |
# a shorter alias to save typing. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
If class is named as Qt class, sometimes PyQt machinery | |
leads to uncaught Python exception inside sipQWidget::qt_metacast, | |
which leads to failed Python assertion if Python is build in debug | |
mode. | |
$ ./python class_name_collision.py | |
python: ../Objects/abstract.c:2050: PyObject_Call: Assertion `(result != ((void *)0) && !PyErr_Occurred()) || (result == ((void *)0) && PyErr_Occurred())' failed. | |
Aborted (core dumped) | |
$ gdb --args ./python class_name_collision.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
$ python3 --version | |
Python 3.4.3 | |
$ python3 asyncio_debug_attr_access.py | |
f result | |
$ PYTHONASYNCIODEBUG=X python3 asyncio_debug_attr_access.py | |
Traceback (most recent call last): | |
File "asyncio_debug_attr_access.py", line 21, in <module> | |
print(loop.run_until_complete(coro_func())) | |
File "/usr/lib/python3.4/asyncio/coroutines.py", line 154, in wrapper |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import asyncio | |
import contextlib | |
@asyncio.coroutine | |
def return_coroutine_object(): | |
@asyncio.coroutine | |
def g(): | |
yield from asyncio.sleep(0.01) | |
return "return_coroutine_object" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
from PyQt5 import uic | |
from PyQt5.QtWidgets import QWidget, QApplication | |
# Problem: the ui loader/parser is not reentrant. If another UI load is requested | |
# during loading of UI file, final layout may be corrupted. | |
# | |
# In this example "main.ui" file requests promoted widget from "widget.py", and | |
# on module level of "widget.py" UI file "widget.ui" is being loaded. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import QtQuick 2.0 | |
Item { | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import QtQuick 2.0 | |
Item { | |
} |