Category Archives: Error

[QT Plug-in VS Error] The system cannot find the path specified. 1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(170,5): error MSB6006: “cmd.exe” Exited with code 3

Because there are multiple versions installed, because there is not enough space, uninstall and install a new version. I haven’t touched it for a long time, and I got stuck again.

(qtproject). Vcxproj.user configuration is the previous path. It is OK to replace the path of the corresponding QT dir. The result is that it will not compile all the time

In addition, I installed vsaddin 2.4.1, but it was automatically updated to the latest. As a result, the plug-in is always initializing. Check out automatic update, and the stability can be used first

Otherwise, it will be updated to the latest… If it is still updated automatically, disconnect the network, uninstall the new version, install the usable version, and then disconnect the network. I can’t use the computer. I haven’t studied the specific reasons in depth

Vsaddin download address:

https://download.qt.io/development_releases/vsaddin/

https://stackoverflow.com/questions/15782322/error-msb6006-cmd-exe-exited-with-code-1-running-qt-application

 

Selenium Error: Message: unknown error: cannot find Chrome binary

The reason is that selenium cannot find the browser (note that this is the path of the browser, not the path of webdriver), so you need to specify the path of the browser as follows:

from selenium import webdriver

url = ‘ https://www.baidu.com ‘
options = webdriver.ChromeOptions()

#Here is the key
options.binary_location = “D:\Google\Chrome\Application\chrome.exe”

driver = webdriver.Chrome(executable_path=”D:\chromedriver_win\chromedriver.exe”, options=options)
driver.get(url)

[Solved] Tomcat Start Error: java.util.zip.ZipException: error in opening zip file

When the project runs and deploys tomcat, it reports java.util.zip.zipexception: error in opening zip file. In fact, Tomcat describes the location of the error file. After opening, it is found that there is another project under Tomcat’s webapps. Some jars in lib under the class file in the project are found to be damaged. Just delete them.

[Solved] Uniapp Axios appears in wechat applet index.js? [SM]: 33 errortyerror: l is not a function error

The Axios request interface is used in the uniapp, and the mock interface is used to obtain data

Error in running wechat applet: index.js?[sm]:33 errortypeerror: l is not a function

Original writing method (not effective in wechat applet)

import axios from 'axios';
let _url = ' https://mobile-ms.uat.homecreditcfc.cn/mock/xxxxxxx/demo';
             axios.get(_url + '/demoInformation').then((res) => {
                 console.log(res);
                 console.log(res.data);
                 console.log(res.data.data.demoData);
              this.invoicesData = res.data.data.demoData;
             }).catch(function (error) {
                     // Handling error situations
                     console.log(error);
                 });

Solution: use the native request Uni. Request()

// Default Method
uni.request({
    url: 'https://www.example.com/request',
    success: (res) => {
        console.log(res.data);
    },
    fail:(err) => {
        console.error(err)
    }
});

[Solved] Stderr: ‘Failure [INSTALL_PARSE_FAILED_UNEXPECTED_EXCEPTION: Failed to parse…

Message: An unknown server-side error occurred while processing the command. Original error: Error executing adbExec. Original error: ‘Command ‘C:\\****\\android-sdk\\platform-tools\\adb.exe -P 5037 -s 434c028e0e3a95e2 shell pm install -r /data/local/tmp/appium_cache/0b9a8fad10dc58e269d15064dc4eef996a4f812c.apk’ exited with code 1′; Stderr: ‘Failure [INSTALL_PARSE_FAILED_UNEXPECTED_EXCEPTION: Failed to parse /data/app/vmdl1211932744.tmp/base.apk: AndroidManifest.xml]’; Code: ‘1’

===================
Error Log: The wrong version of adb was used, and the appium cache was generated on the device, causing the driver to fail to start.
Solution: Delete the appium cache on the device

How to Solve Anaconda Error (Three Errors to Solve)

1. ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:600)
Solution:
Turn off ssl verification and execute the following command
conda config –set ssl_verify false

 

2. After installing miniconda3 on ARM-Linux system, conda create -n clock python=3.5.2 can’t find python
Fetching package metadata:…
Error: No packages found in current Linux-armv7l channels matching: python 3.5.2*
You can search for this package on anaconda.org with
anaconda search -t conda python 3.5.2*
You may need to install the anaconda-client command-line client with
conda install anaconda-client

Solution:
Increase the source of the Raspberry Pi
conda config –add channels rpi
conda create –name py36 python=3.6

3. Incorrect installation of nb_conda_kernels with conda in python virtual environment
conda install nb_conda_kernels
ImportError: cannot import name ‘secure_write’

Solution:
pip install –upgrade jupyter_client

[Solved] SSH connection server error: warning: remote host identification has changed!

Error in SSH link to remote server:

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the ECDSA key sent by the remote host is

Reason: an authentication credential will be generated during the first SSH link and stored in the known in the client_ Hosts, if the server address is reset or reinstalled, this problem will occur. Barabara…

Solution:

1.
ssh-keygen -R [server address]

2.
Re-ssh connection

[Solved] VS Error: No project was found. Change the current working directory or use the –project option.

This usually occurs during database migration.

The above error indicates that the class library or project you specified cannot be found. You can use — project to specifically declare the project path (where to find the csproj file)

example:

dotnet ef migrations add AddTable_Products  --project src\Adu.Store.EntityFrameworkCore

The following meaning shows that the path of csproj file is in SRC\adu.store.entityframeworkcore folder

[Solved] lombok Error: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin

The company needs to upgrade the original spring cloud project from jdk8 to jdk11 for new projects recently, but errors are always reported when packaging with Maven:

Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project cloud-api-commons: Fatal error compiling: java.lang.ExceptionInInitializerError: com.sun.tools.javac.code.TypeTag
s 

I checked the information on the Internet and basically said

(1) Because the version does not correspond, change the version

(2) Add a dependency

        <dependency>
            <groupId>javax.annotation</groupId>
            <artifactId>javax.annotation-api</artifactId>
            <version>1.3.2</version>
            <scope>provided</scope>
        </dependency>

(3) Eclipse, because the JDK is configured as JRE

None of the above methods can solve my problem, so I executed MVN install
with the command

See the alarm information of Lombok

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by lombok.javac.apt.LombokProcessor to field com.sun.tools.javac.processing.JavacProcessingEnvironment.discoveredProcs
WARNING: Please consider reporting this to the maintainers of lombok.javac.apt.LombokProcessor
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

With a try mentality, comment out the lombom code in the code (the dependency is still there), repackage and solve the problem.

Summary: I don’t quite understand the principle, but there are risks in using Lombok upgrade. Use it with caution.