![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
错误集锦
我为可酱学编程
这个作者很懒,什么都没留下…
展开
-
[错误集锦]qmk_toolbox之flash错误No device present
错误描述>>> dfu-programmer.exe atmega32u4 erase --forcedfu-programmer: no device present.>>> dfu-programmer.exe atmega32u4 flash "C:\Users\Michael\eclipse-workspace\qmk_firmware\planc...原创 2020-03-07 00:24:29 · 2708 阅读 · 2 评论 -
[错误集锦]解决hexoTypeError[ERR_INVALID_URL]
hexo g报错????主要是因为某些插件升级后有bug,需要退版本删除node_modules把稳定版本的package.json和package-lock.json复制到当前文件夹并覆盖npm install原创 2020-01-09 00:48:51 · 4486 阅读 · 4 评论 -
[错误集锦]wsl用/mnt/无法访问windows下地址目录
之前wsl+ubuntu一直用/mnt/c进入windows目录。现在换成wt+zsh,结果/mnt/c/usr直接到ubuntu目录了解决方法直接进c即可:cd /c/Windows/system32原创 2019-12-30 01:00:07 · 3718 阅读 · 0 评论 -
hexo-abbrlink导致图片不能显示
在安装了hexo-abbrlink后博客图片无法正常显示(用的是hexo-asset-image)之前_config.yml中配置如下permalink: archives/:abbrlink.html在hexo g后时观察到,文章中的连接被重定向的位置,与图片在public中的文件位置不相符解决:根据参考重写_config.ymlpermalink: posts/:abbrlink...原创 2019-11-07 08:25:48 · 889 阅读 · 3 评论 -
[错误集锦]wsl打开vscode无法保存新建的文件(NoPermissions)
按着教程走,用户身份(非超级用户) code . 打开vscode,创建的py文件无法保存,报错NoPermission。(和没sudo一样眼熟啊…)本质还是权限问题解决方法在wsl的shell里:(相当于到了win系统的用户存储区)cd /mnt/c再touch 文件就ok了参考链接1参考链接2...原创 2019-09-30 13:01:25 · 5362 阅读 · 1 评论 -
[错误集锦] Virtualbox打开VM出现黑屏未响应
Virtualbox 打开vm,不一会儿i就死机,点击关闭就直接未响应检查:用 Virtualbox 6.0.12 ,增强功能包版本也是 6.0.12看了log,没有相关的error (有一个无法截屏得error)ERROR [COM]: aRC=VBOX_E_VM_ERROR (0x80bb0003) aIID={ab4164db-c13e-4dab-842d-61ee3f0c1...原创 2019-09-30 12:00:45 · 2366 阅读 · 0 评论 -
[错误集锦]wsl ubuntu18.04安装python3-pip出现broken package问题
尝试在ubuntu中使用命令sudo apt-get install python3-pip然而报错E: Unable to correct problems, you have held broken packages.尔后根据常规处理方法无果解决方法:更换源。之前使用阿里云,更换为清华源并sudo apt-get update之后解决问题...原创 2019-09-23 22:14:53 · 700 阅读 · 0 评论 -
[错误记录] ptvsd_launcher.py no such file..
之前用vscode得python用得好好的,突然今天报错,说找不到ptvsd_launcher.py…解决方法:参考StackOverflow上的这个帖子大概就是版本回退就好啦~原创 2019-09-17 16:12:19 · 551 阅读 · 0 评论 -
c++错误:fstream open无法打开文件
写c++的时候遇到个问题fstream fin("bmp.txt",ios::binary); if (!fin.is_open()) { cout << "不能打开文件" << endl; exit(EXIT_FAILURE); }一直显示不能打开文件解决方案fstream fin("bmp.txt",ios::in|ios::binary);...原创 2019-06-12 22:29:44 · 5856 阅读 · 3 评论 -
解决中文Powershell 输出乱码
输入$OutputEncoding = New-Object -typename System.Text.UTF8Encoding然而只改这个解决不了问题。。输入的文档转为utf8这才是核心cat .\train_data.txt -encoding UTF8|where {$_ -notmatch "(null)|(404\s)"} |Out-File result.txt...原创 2019-05-11 22:08:04 · 9529 阅读 · 1 评论 -
Mysql错误 unknown variable 'secure_file_priv'
之前导入txt失败,报错:ERROR 1290 (HY000): The MySQL server is running with the --secure-file-priv option so it cannot execute this statement查了网上教程后 在my.ini加入secure_file_priv="",但之后报错:unknown variable '...原创 2019-05-11 12:29:37 · 4464 阅读 · 1 评论 -
解决powershellh关闭重开后colortool失效
按照↓这个教程下载colortool换肤https://zhuanlan.zhihu.com/p/56808199但用colortool换了颜色后,重新打开还是蓝屏…解决方法https://devblogs.microsoft.com/commandline/introducing-the-windows-console-colortool/按这个操作:需要把主题和colorto...原创 2019-05-15 10:13:18 · 1862 阅读 · 1 评论 -
vscode错误:launch:program' 'enter program name ,for example ...' does not exits
错误原因我是在vscode中同时写html和python,想运行py文件时,误在html文本界面调试.vscode是没有launch.json的,但因为之前有配置过c++的,所以运行html的时候给生成了一个launch.json解决方法删掉launch.json 在py文本界面调试即可...原创 2019-05-06 20:45:49 · 10721 阅读 · 1 评论 -
mysql错误 Unknown command '\'
目录斜杠问题比如 C:\Users…报错Unknown command ‘\U’原创 2019-04-18 19:00:35 · 4141 阅读 · 0 评论 -
Access denied for user 'root'@'localhost' (using password: YES)
之前在安装mysql的时候出现这个问题Access denied for user 'root'@'localhost' (using password: YES)参照网上的说法在my.ini加上skip-grant-tables但之后出现了新的问题Can't connect to MySQL server on localhost后来看了一下,发现是basedir的地址路径的斜...原创 2019-03-26 16:39:17 · 148 阅读 · 0 评论