ICode9

精准搜索请尝试: 精确搜索
  • 使用gradle生成jar报错:Execution failed for task ':allure-generator:npmInstall',如何解决?2022-08-18 15:32:48

    1.错误信息 gyp ERR! stack Error: Can't find Python executable "python2.7", you can set the PYTHON env variable. 2.解决办法 在window系统中配置环境变量 变量名:SASS_BINARY_SITE 变量值:https://npm.taobao.org/mirrors/node-sass/              参考链接:https

  • Python报错:ModuleNotFoundError: No module named 'xxx'2022-08-18 14:31:46

    原文链接 Python运行时报错: ModuleNotFoundError: No module named 'xxx' 解决办法 在需要导入的包中新建 __init__.py 空文件: 将xxx添加到您的PYTHONPATH中: export PYTHONPATH=/path/to/xxx:$PYTHONPATH 例如: export PYTHONPATH=/home/snowstorm/pysot     学习更多编程知

  • mysql 报错 ERROR 1205 (HY000): Lock wait timeout exceeded; try restarting tran2022-08-18 13:04:29

    产生这个问题的原因是因为在mysql中产生了事务A,执行了修改的语句,比如: update t1 set aget=18 where id=1;此时事务并未进行提交,事务B开始运行,也同样需要修改id为1的用户的年龄: update t1 set aget=20 where id=1; 那么此时事务B会等待事务A结束释放写锁才能执行成功,否则则会等待

  • sqli-labs第5关updatexml报错注入2022-08-18 13:02:22

       这里选用的是第五关进行演示,首先根据页面提示输入?id=1页面返回的都是正常,输入?id=1'时,页面报错了,                 接着判断字段数,这里选择用?id=1 order by 1--+是不行的    这里选择用updatexml报错注入进行演示:注入之前,首先得明白updatexml函数的利用方式以

  • conda安装报错:PermissionError [Errno 13] Permission denied2022-08-18 12:04:10

    原文链接 Anaconda创建环境,激活环境 conda create,keras安装失败: PermissionError [Errno 13] Permission denied Anaconda创建虚拟环境: conda create -n my_root Linux激活环境: source activate my_root Windows下激活环境: activate my_root 安装keras: conda install keras

  • pip安装报错:UnicodeDecodeError 'utf-8' codec can't decode byte 0xc3 in position 42022-08-18 11:31:54

    原文链接 使用pip命令安装模块时,若出现报错: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc3 in position 4: invalid continuation byte 因为windows下命令行的代码页为GBK,但是程序编码是UTF-8。 解决办法 找到python安装目录下\Lib\site-packages\pip\compat的__in

  • django插入数据库报错 1366, "Incorrect string value: '\\xF0\\x9F\\x9A\\xA82022-08-18 10:03:28

     报错: 1366, "Incorrect string value: '\\xF0\\x9F\\x9A\\xA8   是因为mysql不能识别4个字节的utf8编码的字符,抛出了异常,这应该也是问题的根源。☺、��、类似于这种4个字节,将对应字符类型换成将对应的数据类型改为utf8mb4类型,同时连接类型也要改成utf8mb4_general_ci.   解决办

  • docker login harbor两种报错2022-08-18 10:02:39

    下面例如我的镜像仓库地址为:www.123.com   一。  x509: certificate is not valid for any names, but wanted to match  www.123.com" 网上的几种方式   1.时间同步 2.修改daemon.json 3.增加信任(限于http) 几种方式都没问题的情况下  看下你的harbor地址解析的

  • 安卓FindById和ImageButton报错(已解决)2022-08-18 09:30:49

    今天笔者在运行项目的时候,从来没有发现findbyid也会报错,具体报错页面如下图所示      log上的意思很明显,大致意思没说没有findbyid这个包。findbyid这个只能在Activity中用,而我当前这个类并没有继承AppCompatActivity,而是继承Fragment   findbyid通通标红       通过查找

  • 关于pthon中-字符串处理时-TypeError: string indices must be integers-的原因分析及处理2022-08-17 23:33:11

    今天笔者将一串如下样式的json格式的字符串,如下赋值给一个变量时 { "Images": [ { "Architecture": "x86_64", "CreationDate": "2022-08-16T10:51:34.000Z", "ImageId": "ami-035c4

  • Vue项目 invalid host header 问题 配置 disableHostCheck:true报错2022-08-17 22:04:37

    项目场景: 解决 Vue 项目 invalid host header 问题disableHostCheck:true报错 问题描述 使用内网穿透时出现 invalid host header 找了好多都是让 配置vue.config.js 系统报错 // vue3 vue.config.js module.exports = { // 跳过检查host devServer: { disableHostCheck: true } }

  • Qt 解决报错 This application failed to start because it could not find or load the Qt platform plugin2022-08-17 17:00:32

    解决 Qt5 报错 This application failed to start because it could not find or load the Qt platform pluginQT为了简化生成发布版本,特别提供了工具 "windeplayqt.exe",这个工具在 "...\Qt\msvc2017_64\bin"的目录下,通过该命令,可以解决上述错误。 打开控制台窗口 设置搜索路径以

  • 报错:FUNCTION .to_char does not exist(to_char与date_format)2022-08-17 11:01:01

    错误代码: <if test="startDate!=null and startDate!=''"> AND to_char(o.order_time, 'yyyy-mm-dd') <![CDATA[>=]]> #{startDate}</if><if test="endDate!=null and endDate!=''"> AND t

  • React报错之Type '() => JSX.Element[]' is not assignable to type FunctionComponent2022-08-16 23:03:48

    正文从这开始~ 总览 当我们尝试从函数组件中返回元素组成的数组时,会产生"Type '() => JSX.Element[]' is not assignable to type FunctionComponent"错误。为了解决该错误,可以将元素数组包裹在React片段中。 这里有个示例用来展示错误是如何发生的。 // App.tsx import React fr

  • SpringMvc _ 02注解开发2022-08-16 16:33:05

    1、配置Web.xml   打包的时候加上lib + 依赖,防报错         2、注册DispatcherServlet,设置启动级别为1,映射路径为/【不要用/*,会报错404找不到】        3、配置springmvc-servlet.xml          4、创建controller          使用SpringMvc必须配置的三大件

  • MobaXterm链接linux虚拟机报错Network error: Connection refused2022-08-16 16:30:21

    原文链接 使用虚拟机安装 Ubuntu,然后在 Windows 下使用 MobaXterm 链接。 若出现如下报错: Network error: Connection refused 需要安装 openssh: sudo apt install openssh-server 然后重启 ssh 服务: sudo /etc/init.d/ssh restart     学习更多编程知识,请关注我的公众号:

  • C# WPF 访问剪切板报错2022-08-16 15:01:42

    如果剪贴板操作失败(例如 HRESULT 0x800401D0 (CLIPBRD_E_CANT_OPEN) 错误),则会引发相应的 ExternalException (,这是一种 ExternalException) 。 由于 Win32 OpenClipboard API 全局运行,因此编写良好的应用程序应在完成剪贴板操作后立即调用相应的 CloseClipboard API。 否

  • IDEA报错之 元素类型为 "choose" 的内容必须匹配 "(when*,otherwise?)"。2022-08-16 15:01:22

    IDEA报出的错误提示如下: Cause: org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: org.apache.ibatis.builder.BuilderException: Error creating document instance. Cause: org.xml.sax.SAXParseException; lineNumber: 91; column

  • plink:Error: Line X of .ped file has fewer tokens than expected.2022-08-16 14:35:29

    运行命令plink --file test1 --het --out test_het出现的报错:"Error: Line 135 of .ped file has fewer tokens than expected." 出现这种报错有两种原因: 1、map文件的SNP数量与ped的数量对应不上; 2、缺失值少了一个0,如下图所示: 这种情况解决办法就是把另外一个0补充上,变成00:

  • pip安装报错:No such file or directory 'conda-forge' 没有那个文件或目录 'conda-forge'2022-08-16 14:30:53

    原文链接 使用pip安装出现报错: No such file or directory 'conda-forge' 没有那个文件或目录 'conda-forge' 可以从conda-forge清单中安装的指定Python扩展: pip install fire -c conda-forge 如果出现以下问题: ERROR: Could not open requirements file: [Errno 2] No such

  • Java基础知识2022-08-16 14:05:03

    Java基础知识 一、注释 单行注释 格式://......  //HelloWorld! 多行注释 格式:/* ...... */  /* 我是很多行 很多行 很多行 的注释 我叫多行注释 */ 文档注释:用于生产API文档,配合JavaDoc。 格式:/** * */  /** * @Description HelloWorld * @Author YJ学Java  

  • Vue中经常出现 报错:Component name “xxxx“ should always be multi-word.2022-08-16 10:00:32

    报错:Component name “xxxx” should always be multi-word.意思是说组件名"xxxx"应该总是多个单词,其实就是eslint报出我的组件名称命名不规范,应该采用驼峰命名法。 解决方法就是在vue.config.js文件中写入lintOnSave:false,修改完毕后重启项目即可  

  • autodl-训练HGNN2022-08-16 08:01:11

    报错情况:  一开始以为是yaml版本不对,后来从代码处入手:参考:(92条消息) [报错]yaml.constructor.ConstructorError: could not determine a constructor for the tag ‘tag:yaml.org,2_Zhang庆欢的博客-CSDN博客    接着报错:此处应该为文件路径问题  

  • 创建第一个 Cypress 应用后使用命令行 npx Cypress open 报错的原因分析2022-08-15 23:32:56

    大多数测试工具(如 Selenium)通过在浏览器外部运行并通过网络执行远程命令来运行。Cypress 正好相反。 Cypress 在与 Web 应用程序相同的运行循环(run loop)中执行。 Cypress 背后是一个 Node 服务器进程。 Cypress 和 Node 进程彼此不断通信、同步和执行任务。访问这两个部分(也就是

  • mysql使用support-files下的mysql.server启动报错“Starting MySQL ERROR! Couldn't find MySQL server (/usr/l2022-08-15 23:30:31

    报错版本:mysql-5.7.35 1、报错完整提示信息; [root@localhost support-files]# ./mysql.server start ./mysql.server: line 239: my_print_defaults: command not found ./mysql.server: line 259: cd: /usr/local/mysql: No such file or directory Starting MySQL ERROR! Coul

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有