纠错
VampireWeekend
I want my dreams to rescue me
展开
-
MacOS升级后解决xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools)
今天升级MacOS后出现如下错误:victor@bogon ~/Git/my/community % git add .xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun解决方法:执行如下命令xcode-select --installSourc原创 2021-03-09 12:34:31 · 1817 阅读 · 0 评论 -
Ubuntu下解决calico/node is not ready: Error querying BIRD: BIRD is not ready: BGP not established
今天搭建kubernetes集群,使用calico作为CNI,但是发现pod一直没有初始化:ubuntu@perf-test-0:~/yiwei/performance_test$ kbctl get pod -ANAMESPACE NAME READY STATUS RESTARTS AGEkube-system calico-kube-controllers-676c4cbdf-原创 2020-11-15 23:25:39 · 6205 阅读 · 0 评论 -
Docker Pull设置代理解决Get https://k8s.gcr.io/v2/: net/http: request canceled while waiting for connection
今天搭建k8s集群时,发现一系列k8s.gcr.io的镜像无法pull:-<%>- docker pull k8s.gcr.io/kube-proxyUsing default tag: latestError response from daemon: Get https://k8s.gcr.io/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awai原创 2020-11-09 12:12:32 · 10128 阅读 · 4 评论 -
Python - 解决Bug: No module named pkg_resources
今天通过ansible启动pip的时候遇到如下问题:(Ubuntu 18.04)The full traceback is:Traceback (most recent call last): File "/tmp/ansible_pip_payload_AJvyra/__main__.py", line 254, in <module> from pkg_resources import RequirementImportError: No module named pkg原创 2020-11-09 12:02:58 · 1404 阅读 · 2 评论 -
Django Bug: 错误提示信息有误 TypeError: 'module' object is not iterable / circular import
今天运行django项目时,出现如下bug:╭─victor@bogon ~/Git/my/spotlight ‹node-› ‹› (master*) ╰─$ python manage.py runserverWatching for file changes with StatReloaderPerforming system checks...Using TensorFlo...原创 2020-04-23 21:33:09 · 1913 阅读 · 1 评论 -
Golang - go build编译项目时出现signal: killed (virtualbox + vagrant + ansible + ubuntu16.04)
今天在虚拟机上测试项目,需要make一下代码来更新项目。虚拟机搭建好之后,执行到go build时,出现如下信息:go build k8s.io/api/core/v1: /usr/local/go/pkg/tool/linux_amd64/compile: signal: killedgoogle之后,发现原因可能为虚拟机内存不够。查看虚拟机内存,发现只有1024g。因为是用vagra...原创 2020-04-08 11:32:59 · 4087 阅读 · 1 评论 -
git clone解决错误error: RPC failed; curl 18 transfer closed with outstanding read data remaining fatal:
今天在电脑上git clone 远程仓库,出现如下错误:git clone https://github.com/altercation/solarizedCloning into 'solarized'...remote: Enumerating objects: 2190, done.error: RPC failed; curl 18 transfer closed with out...原创 2019-11-16 19:56:29 · 1446 阅读 · 0 评论