Category Archives: Error

[Solved] Git error: inflate: data stream error (invalid block type) error: corrupt loose object

Error reported when using git push
error: Insert: data stream error (invalid block type)
error: corrupt loose object ‘c8b7f5f344dbfe7d5b7339b977873c21f71478aa’

I tried many methods. Finally, I cleared the local git, fetched it and pushed it again:

rm -rf .git # Delete the local git repository
# Resume local git repository
git init 
git remote add origin Your repository link
git fetch # git pull = git fetch + git merge
git reset --hard origin/master 
git branch --set-upstream-to=origin/master master  

How to Solve [error] malformed \uxxxx encoding Error

Run the project with idea today. When you want to package directly, the result is that the packaging fails and an error is always reported   [ERROR] Malformed \uxxxx encoding.

After checking on the Internet, it has been said that there are paths that use errors when using slashes. It’s good to replace “\” with “/”, but there is no “\” in my configuration file and POM file.

In addition, let’s change the Maven warehouse and download the jar package again, but there are a lot of jars in my project, and some jars need to be imported manually. It must be unrealistic to download again with another Maven.

Until I saw an article later, MacOS – java.lang.illegalargumentexception: malformed \ uxxxx encoding while MVN install – stack overflow

The solution given in the article is to find the path to the library in the./m2/folder and delete it.

But

I still don’t have this folder.

Later, I searched the resolver-status.properties file globally using everthing, and found several. And look at the generation time, it was generated in the process of my packaging failure.

When I opened the file, I found that the error information of each package was recorded, and some of them were garbled.

So I deleted all resolver-status.properties generated during my packaging failure,

Then MVN install again with idea, and the project is packaged successfully.

So unify the following online solutions

1. First, check whether there are path errors in the. Properties,. YML, pom.xml, logback and other configurations of the project

2. Update the Maven repository and download the jar package again

3. Delete the path to the library or resolver-status.properties file

In either case, it is recommended to restart the editor. For idea, directly click the invalidate caches/restart button to clean up the cache and restart the idea

Like the second, it is unnecessary to update Maven warehouse. It is not necessary to download all jars again. You can download some jar packages that have not been downloaded successfully again.

How to judge whether the dependent download failed

Generally, unsuccessful downloading of dependencies will generate a file with the suffix not .Lastupdated. Once this file is generated, the dependencies will always fail to download. No matter how to reload Maven warehouse, the download will fail. It seems that when Maven checks the local library and checks the suffix file, it doesn’t seem to download the current dependency again.

Changing the Maven warehouse address is actually a new empty folder. In this way, the dependency will be downloaded again. Changing the dependent version is actually a new empty folder. Because the dependencies of each version will be placed in a separate folder

In this way, deleting files with the suffix .Lastupdated directly eliminates the need to update the Maven warehouse. In this way, successful downloads do not need to be downloaded again.

Of course, sometimes, we don’t know that the dependencies are not downloaded successfully, and only the .Lastupdated file is generated. Then, we can write a bat script to traverse all dependencies under the Maven warehouse, check whether the file suffix is .Lastupdated, and delete it if necessary. After the deletion is completed, use idea reload to the Maven warehouse again to download the dependencies again.

The script is as follows:

@echo off
::REPOSITORY_PATH replace with your own maven address
set REPOSITORY_PATH=D:\data\maven\maven-3.8.1-repository
echo %REPOSITORY_PATH%
for /f "delims=" %%i in ('dir /b /s "%REPOSITORY_PATH%\*lastUpdated*"') do (
    del /s /q %%i
)
pause

1. Create a new TXT file on the desktop, copy the contents above, and replace your Maven warehouse address.

2. Change the suffix of TXT file to. Bat and save the file

3. Double click to run the bat script.

This will delete all the .Lastupdated files in your Maven warehouse, and then you can download the jar package again

Memory write error at 0x100000. MMU section translation fault [How to Solve]

The following error is reported when debugging the MZ702P board using vitis2020.2 JTAG.
The reason is that the boot mode is not set to JTAG boot.

Downloading Program – F:/FPGA/Project/vitis_workspace/helloWorld/Debug/helloWorld.elf
section, .text: 0x00100000 - 0x00100a1f
section, .init: 0x00100a20 - 0x00100a2b
section, .fini: 0x00100a2c - 0x00100a37
section, .rodata: 0x00100a38 - 0x00100a77
section, .data: 0x00100a78 - 0x00100ee7
section, .eh_frame: 0x00100ee8 - 0x00100eeb
section, .mmu_tbl: 0x00104000 - 0x00107fff
section, .init_array: 0x00108000 - 0x00108003
section, .fini_array: 0x00108004 - 0x00108007
section, .bss: 0x00108008 - 0x0010802f
section, .heap: 0x00108030 - 0x0010a02f
section, .stack: 0x0010a030 - 0x0010d82f
0% 0MB 0.0MB/s ??:??ETA
aborting, 2 pending requests…
aborting, 1 pending requests…
Failed to download F:/FPGA/Project/vitis_workspace/helloWorld/Debug/helloWorld.elf
Memory write error at 0x100000. MMU section translation fault

or report the error below:

21:50:53 INFO : Checking for BSP changes to sync application flags for project ‘helloWorld’…
21:51:32 INFO : Connected to target on host ‘127.0.0.1’ and port ‘3121’.
21:51:32 INFO : Jtag cable ‘Digilent JTAG-HS1 210249856275’ is selected.
21:51:32 INFO : ‘jtag frequency’ command is executed.
21:51:32 INFO : Context for ‘APU’ is selected.
21:51:32 INFO : System reset is completed.
21:51:35 INFO : ‘after 3000’ command is executed.
21:51:35 INFO : Context for ‘APU’ is selected.
21:51:35 INFO : Hardware design and registers information is loaded from ‘F:/FPGA/Project/vitis_workspace/MZ702P/export/MZ702P/hw/MZ702P_wrapper.xsa’.
21:51:35 INFO : ‘configparams force-mem-access 1’ command is executed.
21:51:35 INFO : Context for ‘APU’ is selected.
21:51:35 INFO : Sourcing of ‘F:/FPGA/Project/vitis_workspace/helloWorld/_ide/psinit/ps7_init.tcl’ is done.
21:51:36 ERROR : Memory read error at 0xE0001034. AP transaction timeout
21:51:36 INFO : ----------------XSDB Script----------------
connect -url tcp:127.0.0.1:3121
targets -set -nocase -filter {name =~“APU*”}
rst -system
after 3000
targets -set -nocase -filter {name =~“APU*”}
loadhw -hw F:/FPGA/Project/vitis_workspace/MZ702P/export/MZ702P/hw/MZ702P_wrapper.xsa -mem-ranges [list {0x40000000 0xbfffffff}] -regs
configparams force-mem-access 1
targets -set -nocase -filter {name =~“APU*”}
source F:/FPGA/Project/vitis_workspace/helloWorld/_ide/psinit/ps7_init.tcl
ps7_init
----------------End of Script----------------
21:51:36 ERROR : Memory read error at 0xE0001034. AP transaction timeout

Weboffice Warning: OLE error 800A01A8 [How to Solve]

Solution:

This problem can be solved by reinstalling office
precautions:
1. Install the full version of office
2. After the installation of office is completed, create a new document and open it. If you open the document for the first time, you will be prompted whether to use the recommended settings. Select Yes or no, because in the process of WebOffice calling office, if a pop-up window appears in office, the call will fail.

Transaction check error during docker CE installation [How to Solve]

Installing docker CE under CentOS is
this is because I have installed docker more than once on the machine. Some dependency conflicts are caused by version reasons. You need to find the conflicting dependencies and delete the old dependencies:

# View conflicting dependency packages
yum list installed | grep docker

Delete and reinstall the specified other version:
rpm -e docker-client.x86_64 and rpm -e docker-common.x86_64

[Solved] Git push Warning: error: RPC failed; HTTP 413 curl 22 The requested URL returned error: 413

1. Error Messages:

execute git push http://git.xxx.com/app/guanghe-app.git –all reward

Error Messages:
error: RPC failed; HTTP 413 curl 22 The requested URL returned error: 413
fatal: the remote end hung up unexpectedly
fatal: the remote end hung up unexpectedly
Everything up-to-date

The above problem is caused by the size limitation of HTTP push files. Just submit them in SSH.

2. Upload via SSH

git push ssh://git @10.1.8.121:1122/app/guanghe-app.git –all

Enumerating objects: 15951, done.
Counting objects: 100% (15951/15951), done.
Delta compression using up to 6 threads
Compressing objects: 100% (2863/2863), done.
Writing objects: 100% (15951/15951), 35.04 MiB | 23.89 MiB/s, done.
Total 15951 (delta 12568), reused 15905 (delta 12533)
remote: Resolving deltas: 100% (12568/12568), done.
To ssh://10.1.8.151:1122/app/guanghe-app.git
 * [new branch]      dev -> dev

The warehouse has been uploaded successfully

CUDA_ERROR_SYSTEM_DRIVER_MISMATCH [How to Solve]

nvidia/cuda:11.4.2-cudnn8-devel-ubuntu20.04:CUDA_ ERROR_ SYSTEM_ DRIVER_ MISMATCH

Problem viewing and solving

Question

When running a program calling cudnn library, an error occurs when running. The error is CUDA_ ERROR_ SYSTEM_ DRIVER_ MISMATCH。 This thing is very speechless. I don’t know why. I use docker: NVIDIA/CUDA: 11.4.2-cudnn8-devel-ubuntu 20.04.

see

This problem is related to the version of libcuda. You can check NVIDIA SMI to confirm whether the version of libcuda (i.e. driver version) is inconsistent with the host version:

the problem I encountered is the version inconsistency.

Solution:

Libcuda. So and libcuda. So. 1 should be in/usr/lib/x86_ In the 64 Linux GNU folder, enter this folder and modify the soft connection of libcuda. So. 1:

ln -s libcuda.so.465.19.01 libcuda.so.1 

In this way, the problems can be solved

How to Solve “Error: SignerSign() failed.“ (-2147012889/0x80072ee7) error

Specific error

Done Adding Additional Store
SignTool Error: An unexpected internal error has occurred.
Error information: "Error: SignerSign() failed." (-2147012889/0x80072ee7)

Solution:

Use the correct timestamp URL:

REM Both are wrong
REM SET HTTP_TIMESTAMP=http://timestamp.wosign.com/rfc3161
REM SET HTTP_TIMESTAMP=http://timestamp.geotrust.com/tsal


REM Right
SET HTTP_TIMESTAMP=http://timestamp.digicert.com/scripts/timestamp.dll

Keil compilation Error: Error: L6218E [How to Solve]

KEIL compiles and reports an error

…\OBJ\USART.axf: Error: L6218E: Undefined symbol ADC_Cmd (referred from adc.o).
…\OBJ\USART.axf: Error: L6218E: Undefined symbol ADC_DeInit (referred from adc.o).
…\OBJ\USART.axf: Error: L6218E: Undefined symbol ADC_GetCalibrationStatus (referred from adc.o).
…\OBJ\USART.axf: Error: L6218E: Undefined symbol ADC_GetConversionValue (referred from adc.o).
…\OBJ\USART.axf: Error: L6218E: Undefined symbol ADC_GetFlagStatus (referred from adc.o).
…\OBJ\USART.axf: Error: L6218E: Undefined symbol ADC_GetResetCalibrationStatus (referred from adc.o).
…\OBJ\USART.axf: Error: L6218E: Undefined symbol ADC_Init (referred from adc.o).
…\OBJ\USART.axf: Error: L6218E: Undefined symbol ADC_RegularChannelConfig (referred from adc.o).
…\OBJ\USART.axf: Error: L6218E: Undefined symbol ADC_ResetCalibration (referred from adc.o).
…\OBJ\USART.axf: Error: L6218E: Undefined symbol ADC_SoftwareStartConvCmd (referred from adc.o).
…\OBJ\USART.axf: Error: L6218E: Undefined symbol ADC_StartCalibration (referred from adc.o).


Go to Manage Project Items and add adc.c under FWLib, see the picture below for the exact location, I used the project template of Positive Point Atomic, anyway, find the adc.c file and add it in.



After adding and recompiling, no error will be reported

[Solved] Springcloud config Error: Error occured cloning to base directory.

An error occurred when springcloud config obtained the remote configuration file
error source code: 2021-11-03 19:51:31.421 warn 6608 – [on (3) – 127.0.0.1]. C.s.e.multiplejgitenvironmentrepository: error occurred cloning to base directory

org.eclipse.jgit.api.errors.TransportException: https://github.com/ClowLAY/spring-cloud-config.git: Cannot open git upload pack

error reason: the project cannot be cloned because the remote GitHub warehouse cannot be connected
solution: modify the configuration file application.properties

#previous code
spring.cloud.config.server.git.uri=https://github.com/ClowLAY/spring-cloud-config.git

#Modified Code
[email protected]:ClowLAY/spring-cloud-config.git

Successfully obtained the remote warehouse configuration file

Note: change the proxy mode from HTTPS to git
remember to change the remote warehouse address to your own remote warehouse address