ICode9

精准搜索请尝试: 精确搜索
  • 关于seata no available service 'null' found, please make sure registry config correct的一个大坑2022-07-21 22:07:49

    今天在使用seata时,启动一直报错  no available service 'null' found, please make sure registry config correct 在检查了nacos的配置中心和服务中心后没有异常,可是一直找不到服务    这是client的配置 最后研究了半天时间后,终于明白,要在client端配置 seata.tx-service-grou

  • centos设备性能优化2022-07-02 23:05:39

    修改dns vi /etc/resolv.conf nameserver 114.114.114.114 修改防火墙 设置出网ip(自己更改网卡名和IP地址) iptables -t nat -A POSTROUTING -o enp1s0 -j SNAT --to-source 0.0.0.0 安装基本工具 [root@localhost ~]# tar xvf optimization_init.tar.gz [root@localhost ~]# cd op

  • centos设备性能优化2022-07-02 23:05:39

    修改dns vi /etc/resolv.conf nameserver 114.114.114.114 修改防火墙 设置出网ip(自己更改网卡名和IP地址) iptables -t nat -A POSTROUTING -o enp1s0 -j SNAT --to-source 0.0.0.0 安装基本工具 [root@localhost ~]# tar xvf optimization_init.tar.gz [root@localhost ~]# cd op

  • redis.clients.jedis.exceptions.JedisDataException: ERR AUTH <password> called without any pass2022-06-18 22:03:55

    描述:java使用jedis连接服务器上的redis,遇到的报错。 问题: redis.clients.jedis.exceptions.JedisDataException: ERR AUTH <password> called without any password configured for the default user. Are you sure your configuration is correct? 翻译:没有为默认用户配置任何密

  • 【Qt】QObject::connect: Cannot queue arguments of type 'QVector<int>' Make sure '2022-05-28 15:05:18

    如下截图所示,增加三行代码即可: #include<QMetaType> Q_DECLARE_METATYPE(QVector<int>); qRegisterMetaType<QVector<int>>("QVector<int>&");    

  • pycharm安装第三方库:Try to run this command from the system terminal. Make sure that you use the,亲测已解2022-04-20 10:02:00

    之前在做实验的时候用pycharm安装第三方工具包的时候出现了如下问题Try to run this command from the system terminal。   虽然在pycharm当中会出现这个问题,但是当我使用cmd命令行执行pip install的时候没有发生错误,但是如果每次要安装的时候都去手动执行install命令则太过于

  • pngquant failed to build, make sure that libpng-dev is installed 问题2022-01-05 18:38:56

    在尝试完命令 npm install -g windows-build-tools@4.0.0 或者加host文件为 140.82.112.3 github.com 140.82.114.4 gist.github.com 185.199.108.153 assets-cdn.github.com 199.232.68.133 raw.githubusercontent.com 199.232.68.133 gist.githubusercontent.com 199.232.

  • Error: pngquant failed to build, make sure that libpng-dev is installed2022-01-04 20:36:44

    遇到了一个很难搞的报错 新同事遇到的,最开始的体现是这样的 看到这个报错是很懵的,进入到对应的依赖目录下,发现pngquant.exe不存在 认为是依赖装得有问题,各种卸载重装,重新配置淘宝镜像,遇到新报错 Error: pngquant failed to build, make sure that libpng-dev is installed

  • OpenCV-Python系列之图像分割与Watershed算法2021-12-08 09:35:40

    本次我们来看图像分割,同样也是OpenCV中较为重要的一个部分。图像分割是按照一定的原则,将一幅图像分为若干个互不相交的小局域的过程,它是图像处理中最为基础的研究领域之一。目前有很多图像分割方法,其中分水岭算法是一种基于区域的图像分割算法,分水岭算法因实现方便,已经在医疗图像,

  • <dvi> - did you register the component correctly? For recursive components, make sure to provi2021-11-12 15:33:26

       意思是组件名字不对  标签写错了不能识别 会自动认为是标签引入错误

  • 【解题报告】洛谷P4653 [CEOI2017]Sure Bet2021-10-12 17:31:17

    【解题报告】洛谷P4653 [CEOI2017]Sure Bet 题目链接 https://www.luogu.com.cn/problem/P4653 思路 我们首先观察样例,发现,我们选的都是各组权值比较大的灯泡 所以,我们有一个思想,就是贪心,我们将两个序列从大到小排序 然后,我们对于每个序列设置一个指针,表示某个序列选到哪里了 然后

  • 深度学习 图像分割 分水岭算法2021-10-06 18:00:57

    代码 ## opencv python 基于分水岭算法的图像分割 # 这种方法可能会导致由于噪声或图像中任何其他不正常的情况而导致的结果过于分散 import cv2 import numpy as np from matplotlib import pyplot as plt #读取图片 img = cv2.imread('20210212_78947.jpg') # 灰度图片 gray =

  • Vue报错——did you register the component correctly? For recursive components, make sure to provide the2021-09-22 20:31:33

    今天项目中遇到一个大坑,项目报错did you register the component correctly? For recursive components, make sure to provide the the "name" options,报错很容易理解,就是组件注册的方式不对,没有注册成功,仔细看了自己组件的注册,发现并没有什么问题在网上找了很久,一无所获,偶然

  • RuntimeError: Default process group has not been initialized, please make sure to call init_process_2021-09-22 10:00:21

    在使用mmSegmentation框架时遇到的问题: File "C:\software\Anaconda3\envs\python36\lib\site-packages\torch\distributed\distributed_c10d.py", line 347, in _get_default_group raise RuntimeError("Default process group has not been initialized,

  • could not connect to server are you sure it‘s running?2021-09-08 13:30:25

    原因是选择了Custom Server  选择Automatic Server 即可 打开了  

  • Mybatis-plus自动填充字段的值(如createTime,UpdateTime)2021-07-12 01:02:02

    基于Mybatis-plus自动填充字段的值(如createTime,UpdateTime) 首先有数据库表 java类,在数据字段上加上注解,让mp自动赋值 但如何让file填充生效呢? 使用配置类 // 自动 @Configuration public class MyMetaObjectHandler implements MetaObjectHandler { @Override public vo

  • [SSH] SSH Troubleshooting2021-07-11 21:03:34

    1) There's a connection timeout This is a security group issue. Any timeout (not just for SSH) is related to security groups or a firewall. Ensure your security group looks like this and correctly assigned to your EC2 instance. 2) There's sti

  • Git Please make sure you have the correct access rights and the repository exists.2021-06-11 12:58:23

    Git clone时出现Please make sure you have the correct access rights and the repository exists. 重复了好几次生成公钥私钥,但是最后都没有作用 最后在这篇文章里发现了一个之前没有做过的操作 删除.ssh文件夹(直接搜索该文件夹)下的known_hosts(手动删除即可,不需要git)

  • 用openCV实现形态学操作2021-06-07 13:01:55

    尊师: © Fu Xianjun. All Rights Reserved. 老样子先进行把图片放入文件夹如何用openCV打开 形态学操作(移除噪声) 先使用开运算去除图像中的细小白色噪点,然后通过腐蚀运算移除边界像素,得到的图像中的白色区 域肯定是真实前景,即靠近硬币中心的区域;膨胀运算使得一部分背景成为

  • jquery添加删除html标签属性2021-06-03 14:01:41

    区别jquery对象跟dom对象,首先做好好的编程习惯:一般jquery对象前面加"$":var $sure = $("#sure");dom对象直接编写:var sure = document.getElementById("sure").value。jquery给html标签添加属性:$sub.attr("disabled","disabled");jquery给html标签移除属性:$sub.remo

  • c# Visual Studio|There is no editor available for ***,make sure the application for the file type(.v2021-04-17 09:36:10

    这个问题出现在在使用VS编码当中,电脑意外关机,导致的文件的缺失或者损坏。   使用反编译软件(如:ILSpy)对编译后的 .EXE文件进行反编译,在翻遍的结果中将相关代码拷贝至目标路径下,替换所需文件。    按照目标文件的格式,选择性粘贴(例如winform 中*.cs 和 *.Design.cs文件,存储各自所

  • Hint: make sure your test modules/packages have valid Python names. Pytest报错2021-02-05 17:34:47

    _____________________________________________________________________________________ ERROR collecting test_panda_1.py ______________________________________________________________________________________ImportError while importing test module 'D:\

  • JRebel-JVMTI [FATAL] Please make sure that ‘C:\Users\\AppData\Roaming\JetBrains\IntelliJIdea202021-02-03 17:32:45

    JRebel使用常见错误 jrebel.jar不兼容 JRebel-JVMTI [ERROR] You’re using an incompatible ‘jrebel.jar’ with the JRebel Agent. JRebel-JVMTI [FATAL] Please make sure that’C:\Users\XXX\AppData\Roaming\JetBrains\IntelliJIdea2020.2\plugins\jr-ide-idea\l

  • One Sure-Fire Way to Improve Your Coding2021-01-17 21:29:32

    The most obvious way to improve your coding is to write more code. Everybody knows that. However, another activity which I guarantee will improve your coding is the complete opposite of writing. I will state this as plainly as I possibly can: If you want

  • Please make sure you have the correct access rights and the repository exists.(git 出错)2020-09-16 20:00:21

    ssh 需要重置 1、重置用户名和邮箱 git config --global user.name “yourname” git config --global user.email“your@email.com" 注:yourname是你要设置的名字,your@email是你要设置的邮箱。 2、删除.ssh文件夹下的known_hosts 3、git输入命令 $ ssh-keygen -t rsa -C "your@ema

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

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

ICode9版权所有