Foreword: Now the graphics drawn by Echarts, line charts, bar charts, pie charts, encapsulate a common component~ I am very annoying. After writing the code, I have to solve the problem of error reporting, but all problems have a solution, so be patient~~~ Just fix the error, I found the reason for the error 【Wrong […]
[Solved] Solve fatal: unable to connect to github.com
Solve fatal: unable to connect to github.com and subsequent problems Command: git clone git://github.com/xxxx Error message: fatal: unable to connect to github.com: github.com[0: your IP]: errno=Operation timed out reason: Need to use https to read data Workaround: Enter the command git config –global url.”https://github.com”.insteadOf git://github.com If an error occurs in git clone again: fatal: unable […]
[Solved] zkCli localhost/127.0.0.1:2181. Will not attempt to authenticate using SASL (unknown error)
When I was bored to build a zookeeper cluster, I chose 3 servers, See the configuration file for details, # The number of milliseconds of each tick tickTime=2000 # The number of ticks that the initial # synchronization phase can take initLimit=10 # The number of ticks that can pass between # sending a request […]
[Solved] Java upload parsing excel under linux reports error java.io.FileNotFoundException:xxx.xls(No such file or directory)
Original link: https://www.longkui.site/error/linuxjavaexceljava-io/4523/ 0. Background A simple method of uploading and parsing excel files, it can be imported and parsed normally on windows, but when uploading excel on linux, an error of “No such file or directory” will be reported. At first I thought it was a problem with the permissions of the linux server, […]
[Solved] Error exporting execl pdf
1. Solve the Chinese garbled characters in response.setHeade() solve URLEncoder.encode(file_name, “UTF-8”)) response.setHeader(“content-disposition”, “attachment;filename=” + URLEncoder.encode(file_name,”UTF-8″)); Plus code: URLEncoder.encode(file_name, “UTF-8”)) decoding: URLDecoder.decode(file_name, “UTF-8”); 2.itextpdf output stream Java uses itext to generate pdf documents and output them directly to the HttpResponse stream for users to download. The difference from generating pdf files to files lies in the […]
[Solved] Using setup syntax sugar, eslint checks and reports errors
Vue uses setup syntactic sugar and then, eslint checks that you have not used it, defined it, etc. 1: First check your version of slint-plugin-vue 2: If your version is below 8.0 in the .eslintrc.js file: globals: {<!– –> defineProps: “readonly”, defineEmits: “readonly”, defineExpose: “readonly”, withDefaults: “readonly”, }, 3: If on 8.0 just in the […]
[Solved] Ubuntu 20.04 ROS reports Invoking “cmake” failed when using catkin_make
Questions After the normal installation of ROS noteic, create a workspace and use catkin_make to report an error as shown in the figure: Analyze the problem Analysis of the error message, the package cannot be found: Python3 version of empy, install empy according to the prompt Fix the problem pip install empy new problem This […]
[Solved] Resolve OpenSSL added to return LNK2019 error when compiling in Visual Studio 2019
Article table of contents summary problem and solution Error LNK2019 Error LNK1104 Warning C4996 refer to Summary Encountered that OpenSSL was added to compile in Visual Studio 2019 and returned LNK2019 error, added the missing library file and solved the problem. Problems and Solutions Error LNK2019 Errors like the following are returned: Severity Code Description […]
[Solved] Pit encountered when integrating iFlytek speech synthesis Android SDK 20021 com.iflytek.cloud.a.c.c occur Error = Local engine error.(Error code: 20021)
loadLibrary msc error:java.lang.UnsatisfiedLinkError: dlopen failed: library “libmsc.so” not found It took a long time to solve this pit (probably because it was too bad), so I will record it here. **Background:** In order to realize the small function of robot voice broadcast, iFLYTEK’s speech synthesis Android SDK is integrated. **Problem:** After integrating according to the […]