用itext生成PDF报错,加上try catch捕获到异常是 BaseFont bFont = BaseFont.createFont("STSong-Light1", "UniGB-UCS2-H", BaseFont.NOT_EMBEDDED); 这行代码抛出的,上网查了之后发现时itext和itextasian jar包的版本不匹配致所致, itext从5.x版本开始,改名为itextpdf, itextasian 5.2.0以下版本包名未更新, 换了5.2.…
本来想要通过conda create -n drf-admin python==3.8 来创建一个虚拟环境,结果一直报错. An unexpected error has occurred. Conda has prepared the above report. 如果有重装过anconda,在根目录下,会有一个名叫.condarc的文件自动生成. 当使用conda install和conda create命令会出现下面的问题:Collecting package metadata (curre…
这个报错网上搜索了一下,大部分是由于MySQL意外关闭或强制重启造成的binlog文件事务点读取异常造成的主从同步报错 Last_IO_Error: Got fatal error 1236 from master when reading data from binary log: 'binlog truncated in the middle of event; consider out of disk space on master; the last event was read fro…
遇到的问题是: 启用Appium-desktop的Inspector一直报错:An unknown server-side error occurred while processing the command. Original error: You must include a platformName capability 分析问题: 我之前安装的appium版本是1.4.6,并没有卸载,直接安装的Appium-desktop1.8.1,分析与这个相关 解决方案: 卸载appium,重新安…
vue解决启动报错cjs loader.js Error: Cannot find module '../config'问题 今天下载了一个开源项目一直运行不了,折腾了半天才找到问题所在,config目录下缺少了index.js文件导致的 liurongliurong/vue: vue框架编写的数字碳交易所https://github.com/liurongliurong/vue 18 verbose node v10.1.019 verbose npm v6.5.020 error code…
报错:LINK : fatal error LNK1123: 转换到 COFF 期间失败: 文件无效或损坏 1> 这段时间忙于看文献,没用过VS了. 今天用着用着就报错了: LINK : fatal error LNK1123: 转换到 COFF 期间失败: 文件无效或损坏 1> 问度娘,大神给出了解决方法: VS2010在经历一些更新后,建立Win32 Console Project时会出“error LNK1123” 错误,解决方案为: 将 项目|项目属性|配置属性|清单工具|输入和输出|…
如题vs下引用librtmp的时候报错:rtmp.obj : error LNK2001: 无法解析的外部符号 __imp__timeGetTime@0 在link 里加入 winmm.lib 就可以了编译过去了…
rails执行sidekiq任务的时候报错“can't connect to local mysql server through socket '/var/run/mysqld/mysqld.sock'”, 很好理解,就是找不到这个文件,而我机器上面文件在/tmp/mysql.sock这里, 所以解决很简单,在指定位置创建一个或创建一个链接呗: ln -s /tmp/mysql.sock /var/run/mysqld/mysql.sock 完美解决,偶也^_^…
在cdh集群中,删除之前的hive服务,然后将hive添加到其他节点,然后再通过hive客户端连接hive报错: Caused by: ERROR XJ041: Failed to create database '/var/lib/hive/metastore/metastore_db', see the next exception for details. at org.apache.derby.iapi.error.StandardException.newException(Unkno…
在给mysql数据库备份时,报错: mysqldump: Got error: 145: Table '.\shengdaxcom\pre_forum_thread' is marked as crashed and should be repaired when using LOCK TABLES 如上错误的解决方法如下:1.进入数据库对该表进行检测: mysql> check tables pre_forum_thread;+------------------------------+--…