understand error does code

Exercise: Errors

Go的接口+Error使用练习,正好里面还引入了一个小知识点,不要在Error()实现里面用Sprint一个实现了Error()的类型,因为Sprint里面会调用类型的Error(),无限循环。主要代码如下: 1 type ErrNegativeSqrt float64 2 3 func (e Er ......
Exercise Errors

python fitz模块报错RuntimeError: Directory ‘static/’ does not exist 解决方案

报错 fitz模块报错RuntimeError: Directory ‘static/’ does not exist 原因 使用Python处理PDF文档时,需要使用fitz模块。由于Python 3.8以上版本与fitz有兼容问题,会出现以下错误信息:RuntimeError: Director ......

JAVA执行Linux命令报错Cannot run program error=2 , No such file or directory

JAVA执行Linux命令报错Cannot run program error=2 , No such file or directory 酒香不怕巷深 IP属地: 河北 2019.04.22 14:00:00字数 411阅读 6,648 JAVA使用ProcessBuilder运行Linux命令报 ......
directory 命令 program Cannot Linux

常用VS code插件、配置

插件:Chinese (Simplified) (简体中文) Code Spell Checker DotENV Doxygen Documentation Generator EditorConfig for VS Code ESLint Git History git-commit-lint-v ......
插件 常用 code

如何导出 Visual Studio Code 的扩展应用,并离线安装?

如何导出 Visual Studio Code 的扩展应用,并离线安装? warrior210 已于 2022-08-08 10:37:51 修改 2262 收藏 5文章标签: vscode ide 编辑器版权1.离线情形Visual Studio Code 的扩展应用安装位置在文件夹 .vscod ......
Visual Studio Code

mongodb 连接后报错 error: MongoNetworkError: connect ECONNREFUSED 127.0.0.1:27017

error: MongoNetworkError: connect ECONNREFUSED 127.0.0.1:27017这个错误通常表示 MongoDB 服务器没有启动或者无法连接到 MongoDB 服务器。请确保你已经启动了 MongoDB 服务器,并且检查你的连接字符串是否正确。你可以尝试使 ......

解决npm ERR! code ERESOLVE -npm ERR! ERESOLVE could not resolve

当使用一份vue源码开发项目时,npm install 报错了 npm ERR! code ERESOLVEnpm ERR! ERESOLVE could not resolvenpm ERR!npm ERR! While resolving: vue-admin-template@4.4.0npm ......
ERESOLVE npm ERR resolve could

CODE FESTIVAL 2017 Final J Tree MST

[洛谷传送门](https://www.luogu.com.cn/problem/AT_cf17_final_j "洛谷传送门") [AtCoder 传送门](https://atcoder.jp/contests/cf17-final/tasks/cf17_final_j "AtCoder 传送门 ......
FESTIVAL Final CODE 2017 Tree

官宣 | CODING 荣获可信云软件研发效能度量平台先进级最高评估成果

[点击链接了解详情](https://coding.net/?utm_source=channel) ![img](https://mmbiz.qpic.cn/sz_mmbiz_gif/jxHgxicVs5Y2N4DyQJT8Y6J3gx111okphVZ9XADdozcNXgQZtDib4dKKU ......
效能 可信 成果 先进 CODING

pip安装error:There was a problem confirming the ssl certificate

``` Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=44 ......
certificate confirming problem error There

MAC设置使用命令行通过vs code打开目录

未设置之前,我们需要先打开vs code, 然后再command + o打开对应目录或文件, 设置之后,就可以使用命令行直接打开目录或文件 设置方式: 打开vs code,shift + command + p打开命令面板 输入shell,选择“在PATH中安装code命令” 确认即可 然后就可以通 ......
命令 目录 code MAC

gitlab 报错error: 20667 bytes of body are still expectedB fatal: early EOF fatal: fetch-pack: invalid index-pack output

报错如下: C:\Users\meiktv\StudioProjects\meiktv_android_vod_3>git clone https://gitlab.meiktv.com/client/meiktv_android_vod.git Cloning into 'meiktv_andro ......
fatal pack fetch-pack index-pack expectedB

工具 – VS Code Extensions

前言 分享我用着的 Extensions。 Angular Language Service 不用介绍,用 Angular 的必装。 Better Comments 没什么鸟用,只是让注释有多点颜色 more colorful 美美而已。 C# 用 C# 的必装。 Code Spell Checke ......
Extensions 工具 Code VS

【Ue4】Ue4打包安卓报错 error: cannot find symbol. 以及打包日志乱码

本地环境: ue4.26.2 androidStudio4.0 ndk21.4.7075529 jdk1.8.0_77 报错日志: 或者 日志乱码的话,把电脑首选语言改成英语就行了,简单粗暴;重点讲一下安卓打包报错的问题。 解决过程: 重启电脑 重装epic和ue4引擎 重装ndk、buildToo ......
乱码 Ue4 cannot symbol error

Rust 在Window上交叉编译Android库问题 error: linking with

报错: ``` error: linking with `D:/NDK/android-ndk-r25c/toolchains/llvm/prebuilt/windows-x86_64/bin/aarch64-linux-android30-clang.cmd` failed: exit code: ......
Android linking Window 问题 error

vs编译 error C2001: 常量中有换行符(XTHS实测有效)

出现该错误的其中一种可能: 编码问题,其中一个解决办法是:找到这个文件位置,选择用Notepad++方式打开,选择菜单项中的"编码" 》“使用UTF-8-BOM编码”,然后保存,再回到VS将会收到重新加载文件的提示。 转自:vs编译 error C2001: 常量中有换行符_简单前行的博客-CSDN ......
换行符 常量 error C2001 2001

node-sass 安装失败 Command failed 报错 node_modules\node-sass: Command failed. Exit code: 1

通过yarn install安装依赖包node-sass时总是报错, "../node_modules\node-sass": Command failed. Exit code: 1 具体的错误原因为 当前使用的node版本与依赖的node-sass版本不匹配 具体对应关系如下: NodeJS S ......
node-sass node Command failed sass

关于调用Web API时出现的错误“The underlying connection was closed: An unexpected error occurred on a send”

客户需求,要求调用他们的API来添加,查找,删除数据。 前些时候写了一个测试程序,调用API是OK的,但是今天突然就出现了"The underlying connection was closed: An unexpected error occurred on a send."的错误。当时的第一反 ......

bcftools: error while loading shared libraries: libcrypto.so.1.0.0: cannot open shared object file: No such file or directory

001、使用conda安装bcftools, 调用报错如下: [root@PC1 ~]# conda install bcftools -c bioconda ## conda安装 [root@PC1 ~]# bcftools ## 调用测试 002、解决方法1 [root@PC1 ~]# cond ......
shared file directory libraries libcrypto

error while loading shared libraries: libxml2.so.2: cannot open shared object file 解决方法

参考: https://blog.csdn.net/qq_39779233/article/details/128215517 error while loading shared libraries: libxml2.so.2: cannot open shared object file 解决方 ......
shared libraries loading libxml2 方法

centos7中 configure: error: zlib development files not found

01、系统 [liujiaxin01@PC1 ~]$ cat /etc/redhat-release ## centos7.6发行版 CentOS Linux release 7.6.1810 (Core) 002、问题 [liujiaxin01@PC1 bcftools-1.18]$ ./conf ......
development configure centos7 centos error

idea - 在setting 关闭 git Analyze code后 push 时自动开启 - 解决

不要在setting里修改, 需要在 这个齿轮中修改才生效 就这么奇怪 ......
Analyze setting idea code push

Python 3 List Type errors All In One

Python 3 List Type errors All In One NameError: name 'List' is not defined ......
Python errors List Type All

docker in docker error

docker: error while loading shared libraries: libltdl.so.7: cannot open shared object file: No such file or directory 这个问题镜像缺少libltdl7库 ubuntu: apt-ge ......
docker error in

Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class]: Invocation of init method failed;

报错Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConf... ......

VS_CODE使用技巧

#1. 解决MarkDown图片插入麻烦问题 默认情况下,我们截图到粘贴板后直接ctrl+v到VS_CODE的MarkDown文档是无法正常识别到截图的 解决方法也很简单,安装VS_CODE自带的Paste Image插件,安装后通过快捷键Ctrl+Alt+V粘贴截图 ......
使用技巧 VS_CODE 技巧 CODE VS

npm下载依赖报错:npm does not support Node.js vxx.xx.x

因为本地运行不同的项目需要的node.js版本不一样,所以经常需要用nvm来切换nodejs版本,有时候下载依赖就会出现问题。 想下载依赖 运行npm i 后报错,提示node和npm 版本不对应: npm does not support Node.js v14.15.1 ... 解决思路: 1. ......
npm support does Node not

Angular:error TS2717: Subsequent property declarations must have the same type. Property 'contentRect' mu st be of type 'DOMRectReadOnly', but here has type 'DOMRectReadOnly'.

# 解决方案 在`tsconfig.json`的`compilerOptions`选项中添加如下内容`"skipLibCheck": true`。 如下图所示 ![image](https://img2023.cnblogs.com/blog/1795938/202307/1795938-20230 ......

vivado生成Bitstream报错[Vivado 12-1345] Error(s) found during DRC. Bitgen not run(Vivado 2017.4)。

写了一个很简单的程序,2-4译码器。 ```verilog module decoder2to4( input in1, in0, output reg [3:0]out ); always @ (*) begin if ({in1, in0} == 2'b00) out = 4'b1111; el ......
Vivado Bitstream vivado Bitgen 2017.4

C++ error学习

转自:https://blog.csdn.net/NiuYoohoo/article/details/84930404 1、介绍 errno 是用于错误指示的预处理器宏,数个标准库函数通过写入正整数到 errno 指示错误。 程序启动时 errno 的值为 ​0​ ,而且尽管不管在错误发生与否时,允 ......
error