I hereby claim:
- I am adiroiban on github.
- I am adiroiban (https://keybase.io/adiroiban) on keybase.
- I have a public key whose fingerprint is B8E7 4048 044E F459 4A15 60B8 F2AD A018 852B 2B03
To claim this, I am signing this object:
| #!/usr/bin/env python | |
| # Copyright (c) Twisted Matrix Laboratories. | |
| # See LICENSE for details. | |
| from twisted.cred import portal, checkers | |
| from twisted.conch import error, avatar | |
| from twisted.conch.checkers import SSHPublicKeyDatabase | |
| from twisted.conch.ssh import factory, userauth, connection, keys, session | |
| from twisted.internet import reactor, protocol, defer |
| # | |
| # Create buildbot configuration based on a plain dict. | |
| # | |
| from buildbot.buildslave import BuildSlave | |
| from buildbot.config import BuilderConfig | |
| from buildbot.changes.gitpoller import GitPoller | |
| from buildbot.changes.filter import ChangeFilter | |
| from buildbot.interfaces import IEmailLookup | |
| from buildbot.process.factory import BuildFactory | |
| from buildbot.process.properties import Property, Interpolate |
| diff --git a/python-modules/chevah-python-test/test_python_binary_dist.py b/python-modules/chevah-python-test/test_python_binary_dist.py | |
| index 58c2fe5..8de6e31 100644 | |
| --- a/python-modules/chevah-python-test/test_python_binary_dist.py | |
| +++ b/python-modules/chevah-python-test/test_python_binary_dist.py | |
| @@ -72,6 +72,14 @@ except: | |
| print '"ctypes.utils - find_library" missing.' | |
| exit_code = 1 | |
| +try: | |
| + import gmpy |
| echo 'deb http://download.virtualbox.org/virtualbox/debian trusty contrib' | \ | |
| sudo tee /etc/apt/sources.list.d/virtualbox.list | |
| wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add - | |
| sudo apt-get update | |
| sudo apt-get remove --purge rhythmbox-data rhythmbox | |
| sudo apt-get install \ | |
| chromium-browser network-manager-openvpn-gnome\ | |
| htop vim-nox synaptic mc unrar\ | |
| pidgin indicator-cpufreq \ |
| $ ./build-ubuntu1404-x64/bin/python test.py | |
| Unhandled error in Deferred: | |
| Unhandled Error | |
| Traceback (most recent call last): | |
| File "/home/adi/chevah/server/build-ubuntu1404-x64/lib/python2.7/site-packages/twisted/internet/defer.py", line 551, in _runCallbacks | |
| current.result = callback(current.result, *args, **kw) | |
| File "/home/adi/chevah/server/build-ubuntu1404-x64/lib/python2.7/site-packages/twisted/internet/base.py", line 250, in _checkTimeout | |
| userDeferred.callback(result) | |
| File "/home/adi/chevah/server/build-ubuntu1404-x64/lib/python2.7/site-packages/twisted/internet/defer.py", line 368, in callback | |
| self._startRunCallbacks(result) |
| from __future__ import print_function | |
| import json | |
| from StringIO import StringIO | |
| from twisted.internet import defer, protocol, reactor, task | |
| from twisted.web import server, static | |
| from twisted.web.client import ( | |
| Agent, | |
| FileBodyProducer, | |
| HTTPConnectionPool, |
| """ | |
| Client which makes a simple POST request. | |
| """ | |
| import urllib | |
| import urllib2 | |
| params = urllib.urlencode( | |
| {'action': 'delete-members', 'selected-members': 'README.rst'}) | |
| req = urllib2.Request( | |
| 'http://127.0.0.1:8080/', |
| class IChevahRequest(IRequest): | |
| """ | |
| Extended request used in Chevah project. | |
| """ | |
| maximumBodyLength = Attribute( | |
| """ | |
| Set the maximum accepted body length. | |
| Clients sending more data are disconnected. |
| from zope.interface import implements | |
| from twisted.cred.portal import IRealm, Portal | |
| from twisted.cred.checkers import InMemoryUsernamePasswordDatabaseDontUse | |
| from twisted.web.static import File | |
| from twisted.web.resource import IResource | |
| from twisted.web.guard import HTTPAuthSessionWrapper, DigestCredentialFactory | |
| from twisted.web.server import Site | |
| from twisted.internet import reactor |
I hereby claim:
To claim this, I am signing this object: