View gist:afe8f276a385c906b9a548e5a8e10c56
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
Collecting zfec>=1.1.0 | |
Downloading zfec-1.5.3.tar.gz (79 kB) | |
ERROR: Command errored out with exit status 1: | |
command: /tmp/venv/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-wheel-csyplfsb/zfec/setup.py'"'"'; __file__='"'"'/tmp/pip-wheel-csyplfsb/zfec/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-58971div | |
cwd: /tmp/pip-wheel-csyplfsb/zfec/ | |
Complete output (7 lines): | |
Traceback (most recent call last): | |
File "<string>", line 1, in <module> | |
File "/tmp/pip-wheel-csyplfsb/zfec/setup.py", line 60, in <module> | |
long_description=open('README.rst', 'rU').read(), |
View gist:6f1b7cfb3fdd256049e3d1da11bccc60
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
diff --git a/pkgs/development/tools/build-managers/meson/default.nix b/pkgs/development/tools/build-managers/meson/default.nix | |
index 35ae59af617..d8ee00fa5af 100644 | |
--- a/pkgs/development/tools/build-managers/meson/default.nix | |
+++ b/pkgs/development/tools/build-managers/meson/default.nix | |
@@ -4,6 +4,8 @@ python3Packages.buildPythonApplication rec { | |
version = "0.46.1"; | |
pname = "meson"; | |
+ junk = builtins.trace ("${stdenv.buildPlatform.config} ${stdenv.hostPlatform.config} ${stdenv.targetPlatform.config}") "junk"; | |
+ |
View gist:d98db679754a32bb3e31145e9fd727db
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
exarkun@baryon:~$ virtualenv /tmp/webdigestthing | |
Using base prefix '/usr' | |
New python executable in /tmp/webdigestthing/bin/python3 | |
Also creating executable in /tmp/webdigestthing/bin/python | |
Installing setuptools, pip, wheel...done. | |
exarkun@baryon:~$ rm -rf /tmp/webdigestthing/ | |
exarkun@baryon:~$ virtualenv --python=python2 /tmp/webdigestthing | |
Running virtualenv with interpreter /usr/bin/python2 | |
New python executable in /tmp/webdigestthing/bin/python2 | |
Also creating executable in /tmp/webdigestthing/bin/python |
View gist:41998ee82c61f31ec499dcd9bb9298c7
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
[-Wdeferred-type-errors] | |
• Couldn't match type ‘GHC.IO.Exception.IOException’ | |
with ‘ServantErr’ | |
arising from a functional dependency between: | |
constraint ‘Control.Monad.Error.Class.MonadError ServantErr IO’ | |
arising from a use of ‘throwError’ | |
instance ‘Control.Monad.Error.Class.MonadError | |
GHC.IO.Exception.IOException IO’ | |
at <no location info> | |
• In the expression: throwError invalidPlanErr |
View master
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
# This configuration file is used to manage the behavior of the Salt Master. | |
# Values that are commented out but have an empty line after the comment are | |
# defaults that do not need to be set in the config. If there is no blank line | |
# after the comment then the value is presented as an example and is not the | |
# default. | |
... | |
# Salt supports a modular fileserver backend system, this system allows | |
# the salt master to link directly to third party systems to gather and | |
# manage the files available to minions. Multiple backends can be | |
# configured and will be searched for the requested file in the order in which |
View gist:1da83249faacc0f58f7a798780665302
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
>> Issue: [B603:subprocess_without_shell_equals_true] subprocess call - check for execution of untrusted input. | |
Severity: Low Confidence: High | |
Location: telepresence/container.py:173 | |
172 docker_command += docker_args | |
173 p = Popen(docker_command) |
View tahoe-lafs-client.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
from __future__ import unicode_literals, print_function | |
from functools import partial | |
from itertools import count | |
from random import randrange | |
from tempfile import mktemp | |
from sys import stdout | |
from twisted.internet.defer import Deferred | |
from twisted.internet.task import deferLater, react |
View gist:8cd106c7e10e478f7ed058dc48dafc7b
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
Traceback (most recent call last): | |
File "/app/env/bin/txflashair-sync", line 6, in <module> | |
from pkg_resources import load_entry_point | |
File "/app/env/lib/python2.7/site-packages/pkg_resources/__init__.py", line 18, in <module> | |
from __future__ import absolute_import | |
ImportError: No module named __future__ |
View gist:e37972e305cb83e10d6ba633e7d82315
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
diff --git a/src/allmydata/test/mutable/test_update.py b/src/allmydata/test/mutable/test_update.py | |
index 5001853..6ffa9c9 100644 | |
--- a/src/allmydata/test/mutable/test_update.py | |
+++ b/src/allmydata/test/mutable/test_update.py | |
@@ -129,6 +129,30 @@ class Update(GridTestMixin, unittest.TestCase, testutil.ShouldFailMixin): | |
self.fail("didn't get expected data") | |
+ def test_publish_after_config_change(self): | |
+ d0 = self.do_upload_mdmf() |
View gist:2ad27ecd63acccdc53511ef2e6137157
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
(leastauthority.com) exarkun@baryon:~/Work/LeastAuthority/leastauthority.com/docker$ python -m TheseusHook -o /tmp/theseus.stats $(type -p tahoe) --help | |
Exception TypeError: 'isinstance() arg 2 must be a class, type, or tuple of classes and types' in <function remove at 0x7f210e8b2668> ignored | |
Exception TypeError: 'isinstance() arg 2 must be a class, type, or tuple of classes and types' in <function _remove at 0x7f210e5be1b8> ignored | |
Exception TypeError: 'isinstance() arg 2 must be a class, type, or tuple of classes and types' in <function _remove at 0x7f2112edfb90> ignored | |
(leastauthority.com) exarkun@baryon:~/Work/LeastAuthority/leastauthority.com/docker$ cat TheseusHook.py | |
import runpy | |
def main(): | |
from sys import argv | |
assert argv[1] == b"-o" |
NewerOlder