Tag Archives: Experience sharing

[Endnote X9 Error] Unable to search online – prompt windows error 12029

Endnote failed to search online, prompting Windows error 12029. The solution is as follows:

In the IE browser, click the Internet option, select Advanced, and then select TLS1.2 from the drop-down box of Settings.

The official solution is invalid on my computer:

You can download the file using the link below :-

Connection Files

#Update Pubmed File

Proceed to open the downloaded file, and then click File > Save as and proceed to remove the copy and save to override this file.

[Solved] swagger Failed to start bean ‘documentationPluginsBootstrapper‘; nested exception is java.lang.NullP

Null pointer exception when adding swagger dependency to the project

Failed to start bean ‘documentationPluginsBootstrapper’; nested exception is java.lang.NullPointerException

The swagger and UI I use here are both version 2.9.2, but my springboot is version 2.6

Springfox uses path matching based on AntPathMatcher, while spring boot 2.6.x uses PathPatternMatcher. The two solutions are as follows:

1. Modify the version of springboot and use the earlier version to solve this problem;

2. Add in the configuration file

spring.mvc.pathmatch.matching-strategy=ant_path_matcher

​

 

[Solved] Module yaml error: Unexpected key in data: static_context

Problem description

An error occurs when executing the linux command on centos8

[[email protected] ~]# dnf update epel-release
Repository epel is listed more than once in the configuration
Last metadata expiration check: 2:24:16 ago on Mon 25 Apr 2022 07:27:51 AM CST.
Module yaml error: Unexpected key in data: static_context [line 9 col 3]
Module yaml error: Unexpected key in data: static_context [line 9 col 3]
Dependencies resolved.
Nothing to do.
Complete!

Solution:

It can be solved by upgrading libmodulemd (DNF upgrade libmodulemd). The problem can be fixed in libmodulemd-2.13.0-1.fc33.

[Solved] Jenkins build error: esbuild install failed

When building the front-end package of the company’s test environment, an error was suddenly reported and the construction failed. After checking the log, an error was reported and the esbuild installation failed. I have not installed this esbuild on Jenkins server, and the code proposed by the development is no problem.
solution:
first look for the esbuild directory in the front-end package. I found that there are two esbuild directories in my front-end package, and then I went in and found that there are install JS file, NPM – V check your own NPM version. If it is greater than 7, execute
node node_modules/esbuild/install.js
after manual installation, build from Jenkins again, and there will be no error

[Solved] uiautomatorviewer Error: Error obtaining UI hierarchy

1. Problem reappearance: when learning appium framework and using uiautomatorviewer to locate Android App controls, directly selecting [device screenshot] will report an error:

2. Solution:

Create a new bat file with the following contents:

adb shell uiautomator dump /sdcard/screen.uix
adb pull /sdcard/screen.uix D:/uiscreen/screen.uix
adb shell screencap -p /sdcard/screen.png
adb pull /sdcard/screen.png D:/uiscreen/screen.png

In fact, these commands can also be directly input in CMD, but they need to be input every time, which is more troublesome. All commands can be written into bat files and run directly to obtain interface information.

3. Select the path of the picture and uix file in uiautomatorviewer:

My frame is too small. I can’t click the path of the second uix at all. The solution is to press the tab key, locate the button to select the file, and then enter can select it normally.

4. Then you can load the interface and locate the elements normally.

[Solved] Failed to apply plugin appears when Android studio imports a project

There was a problem importing the project from Android studio

Caused by: org. gradle. api. internal. plugins. PluginApplicationException: Failed to apply plugin [id ‘com.android.internal.application’]

Solution

Script in gradle.gradle Add the following statement to properties

android.overridePathCheck=true

(the document sending assistant failed, so I added all the contents of my documents, just ignore them)

# Project-wide Gradle settings.
# IDE (e.g. Android Studio) users:
# Gradle settings configured through the IDE *will override*
# any settings specified in this file.
# For more details on how to configure your build environment visit
# http://www.gradle.org/docs/current/userguide/build_environment.html
# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true
# AndroidX package structure to make it clearer which packages are bundled with the
# Android operating system, and which are packaged with your app"s APK
# https://developer.android.com/topic/libraries/support-library/androidx-rn
android.useAndroidX=true
# Enables namespacing of each library's R class so that its R class includes only the
# resources declared in the library itself and none from the library's dependencies,
# thereby reducing the size of the R class for that library
android.nonTransitiveRClass=true
android.overridePathCheck=true

Then restart

start successfully!

How to Solve Arxiv Upload with PDFLatex Error

The basic process of uploading latex files to arxiv has been clearly explained by other bigwigs, here is the main record of the problems I encountered and the solutions.

Background: I used the ACS achemso template in overleaf coding.

Need to pay attention to.

1. the reference format is bbl instead of bib, bbl is a compiled intermediate file that can be exported directly after overleaf compilation.

2. in the first five lines of .tex add \pdfoutput=1%For ARXIV

Problems encountered.

In overleaf compile completely fine file upload to arxiv after reporting an error: \pdfoutput=1%For ARXIV

 

Solution:

1. may be a coding problem, add \UseRawInputEncoding in the first line of .tex

2. arxiv file transfer when the original file is deleted and replaced by a new file, sometimes the update will not be timely, or the compiled results of the original file, you can go back to the original interface to refresh or simply re-login.

OSS Error: The difference between the request time and the current time is too large

1. Problem
alicloud OSS reports an error when uploading a file: the difference between the request time and the current time is too large

2. Reason
the request was initiated 15 minutes later than the current time of the OSS server. The OSS determines that the request is invalid and returns an error

3. Solution
the system time of OSS adopts GMT time. The system time of the equipment needs to be adjusted to GMT time or its corresponding time zone.