Skip to content

Instantly share code, notes, and snippets.

View mkschulze's full-sized avatar
🦎

M. Schulze mkschulze

🦎
View GitHub Profile
define
finance sub relation,
relates allocates,
relates includes;
element sub relation,
relates holdselement,
relates iselementof;
class Channel(six.with_metaclass(abc.ABCMeta)):
"""Affords RPC invocation via generic methods on client-side.
Channel objects implement the Context Manager type, although they need not
support being entered and exited multiple times.
"""
@abc.abstractmethod
def subscribe(self, callback, try_to_connect=False):
"""Subscribe to this Channel's connectivity state machine.
A Channel may be in any of the states described by ChannelConnectivity.
@mkschulze
mkschulze / gist:e40b209f549a3f923a146cf2a7b473d3
Created November 29, 2020 19:59
Building PyCall : permission denied (EACCES)", -13)
Building PyCall → `~/.julia/scratchspaces/44cfe95a-1eb2-52ea-b672-e2afdf69b78f/b6dff5fa725eff4f775f472acd86756d6e31fb02/build.log`
┌ Info: No system-wide Python was found; got the following error:
│ Base.IOError("could not spawn setenv(`/Users/runner/hostedtoolcache/Python/3.7.9/x64 -c \"import distutils.sysconfig; print(distutils.sysconfig.get_config_var('VERSION'))\"`,[\"PATH=/Users/runner/hostedtoolcache/julia/nightly/x64/bin:/Users/runner/hostedtoolcache/Python/3.7.9/x64/bin:/Users/runner/hostedtoolcache/Python/3.7.9/x64:/usr/local/opt/pipx_bin:/Users/runner/.cargo/bin:/usr/local/lib/ruby/gems/2.7.0/bin:/usr/local/opt/ruby/bin:/usr/local/opt/curl/bin:/usr/local/bin:/usr/local/sbin:/Users/runner/bin:/Users/runner/.yarn/bin:/usr/local/go/bin:/Users/runner/Library/Android/sdk/tools:/Users/runner/Library/Android/sdk/platform-tools:/Users/runner/Library/Android/sdk/ndk-bundle:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/usr/bin:/bin:/usr/sbin:/sbin:/Users/runner/.dotnet/tools:/Users/runner/.gh
Traceback (most recent call last):
File "/Users/irre/dev/merge/.venv/lib/python3.7/site-packages/bitlyshortener/shortener.py", line 137, in _long_url_to_int_id
response.raise_for_status()
File "/Users/irre/dev/merge/.venv/lib/python3.7/site-packages/requests/models.py", line 940, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://api-ssl.bitly.com/v4/shorten
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
Traceback (most recent call last):
File "/Users/irre/dev/merge/.venv/lib/python3.7/site-packages/flask/app.py", line 2309, in __call__
return self.wsgi_app(environ, start_response)
File "/Users/irre/dev/merge/.venv/lib/python3.7/site-packages/flask/app.py", line 2295, in wsgi_app
response = self.handle_exception(e)
File "/Users/irre/dev/merge/.venv/lib/python3.7/site-packages/flask/app.py", line 1741, in handle_exception
reraise(exc_type, exc_value, tb)
File "/Users/irre/dev/merge/.venv/lib/python3.7/site-packages/flask/_compat.py", line 35, in reraise
raise value
File "/Users/irre/dev/merge/.venv/lib/python3.7/site-packages/flask/app.py", line 2292, in wsgi_app
* Detected change in '/Users/irre/dev/merge/webapp/account/views.py', reloading
* Restarting with stat
* Debugger is active!
* Debugger PIN: 295-664-690
27613 123145354985472
127.0.0.1 - - [05/May/2019 23:25:25] "GET /admin/user/ HTTP/1.1" 200 -
127.0.0.1 - - [05/May/2019 23:25:25] "GET /dashboard HTTP/1.1" 200 -
127.0.0.1 - - [05/May/2019 23:25:25] "GET /admin/static/vendor/select2/select2.css?v=3.5.2 HTTP/1.1" 304 -
127.0.0.1 - - [05/May/2019 23:25:25] "GET /admin/static/bootstrap/bootstrap2/swatch/default/bootstrap.min.css?v=2.3.2 HTTP/1.1" 304 -
127.0.0.1 - - [05/May/2019 23:25:25] "GET /admin/static/bootstrap/bootstrap2/css/bootstrap-responsive.css?v=2.3.2 HTTP/1.1" 304 -
* Detected change in '/Users/irre/dev/merge/webapp/account/views.py', reloading
* Restarting with stat
* Debugger is active!
* Debugger PIN: 295-664-690
27386 123145393573888
127.0.0.1 - - [05/May/2019 23:09:54] "GET /account HTTP/1.1" 200 -
127.0.0.1 - - [05/May/2019 23:09:55] "GET /static/css/bootstrap.min.css HTTP/1.1" 304 -
127.0.0.1 - - [05/May/2019 23:09:55] "GET /static/js/bootstrap.min.js HTTP/1.1" 304 -
127.0.0.1 - - [05/May/2019 23:09:55] "GET /admin/user/ HTTP/1.1" 200 -
127.0.0.1 - - [05/May/2019 23:09:55] "GET /dashboard HTTP/1.1" 200 -
Traceback (most recent call last):
File "/Users/irre/dev/merge/.venv/lib/python3.7/site-packages/bitlyshortener/shortener.py", line 138, in _long_url_to_int_id
response.raise_for_status()
File "/Users/irre/dev/merge/.venv/lib/python3.7/site-packages/requests/models.py", line 940, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://api-ssl.bitly.com/v4/shorten
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
* Detected change in '/Users/irre/dev/merge/webapp/account/views.py', reloading
* Restarting with stat
* Debugger is active!
* Debugger PIN: 295-664-690
27003 123145570037760
127.0.0.1 - - [05/May/2019 22:40:48] "GET /account HTTP/1.1" 200 -
127.0.0.1 - - [05/May/2019 22:40:48] "GET /static/css/bootstrap.min.css HTTP/1.1" 304 -
127.0.0.1 - - [05/May/2019 22:40:48] "GET /static/js/bootstrap.min.js HTTP/1.1" 304 -
127.0.0.1 - - [05/May/2019 22:40:48] "GET /admin/user/ HTTP/1.1" 200 -
127.0.0.1 - - [05/May/2019 22:40:48] "GET /dashboard HTTP/1.1" 200 -
Traceback (most recent call last):
File "/Users/me/dev/merge/.venv/lib/python3.7/site-packages/flask/app.py", line 2309, in __call__
return self.wsgi_app(environ, start_response)
File "/Users/me/dev/merge/.venv/lib/python3.7/site-packages/flask/app.py", line 2295, in wsgi_app
response = self.handle_exception(e)
File "/Users/me/dev/merge/.venv/lib/python3.7/site-packages/flask/app.py", line 1741, in handle_exception
reraise(exc_type, exc_value, tb)
File "/Users/me/dev/merge/.venv/lib/python3.7/site-packages/flask/_compat.py", line 35, in reraise
raise value
File "/Users/me/dev/merge/.venv/lib/python3.7/site-packages/flask/app.py", line 2292, in wsgi_app