Category Archives: Windows

Golan project Error: CreateProcess error = 216. This version of% 1 is incompatible with the version of windows you are running. Check your computer’s system information, and then contact the software publisher.

Error display

according to Mr.Li Wenzhou's teaching video, he was knocking on the project. After knocking, he clicked run and reported such an error. It showed that the Windows version was incompatible, and he was immediately confused

Solution:

the reason for the error is the package name of the main file package. Just modify it to main

[Solved] Win10 Install cmake Error: “Installation directory must be on a local drive”

Solution:

1. start the console with administrator privileges, or PowerShell

2. CD to installation package path

3.

msiexec /i "cmake-3.22.0-windows-x86_64.msi" WIXUI_DONTVALIDATEPATH="1"

PS: that’s it. What the hell is permission management

Reference: https://superuser.com/questions/1069513/installation-directory-must-be-on-a-local-drive-msi-install-error

Windows service install and startup error 1053: the service did not respond to the startup or control request in time (example code)

brief introduction    This article mainly introduces the windows service installation startup error 1053: the service does not respond to the startup or control request in time (sample code) and relevant experience and skills. The article has about 1200 words, 802 views and 9 likes. It is worth recommending!

1 <startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup>
2 
3 </configuration>

A c# language windows service is developed with. Net. In the local and test environment, the installation and startup are normal. An error is reported in the new online environment, unable to start – Report – error 1053: the service does not respond to the startup or control request in time.

Later found online. Net framework   v4.0.30128

The local is. Net framework   Microsoft.NET\Framework\v4.0.30319

Add such code in app.config

<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup>

When it starts, it’s no problem.

On windows2016, version = v4.7.2 can’t, I don’t know why? Just change it to the one above.

[Failed to Delete Printer] -Failed to remove driver ZDesigner ZT210-300dpi ZPL. Failed to remove package zdesigner.inf. Driver package is in use.

Today, I encountered a problem when deleting the Zebra printer driver in the printer driver of the management tool.

“Failed to remove driver ZDesigner ZT210-300dpi ZPL. Failed to remove package zdesigner.inf. Driver package is in use.”

Restart, delete the printer, restart the printer service… After trying various methods, it still failed.

Finally, the problem was solved by changing the registry.

1. Stop the printer service

2. Enter the registry

Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Environments\Windows x64\Print Processors

3. Rename all subfolders under the print processors file to + .Old (winprint.Old) after the folder name,

4. Go back to [print management] in [administrative tools] and delete the printer driver

5. Change the file name in the registry back

6. Restart the printer service

[Solved] Mac docker Build Image apt-get update Error: GPG Signature Error

I am using Python 37 as the basic image to create the project image, but there is a GPG signature error when executing apt get update during the construction process

The local operating system is Mac OS, and the docker environment is desktop for docker:

Docker version 20.10.7, build f0df350

Error details:

Err:1 http://ports.ubuntu.com/ubuntu-ports focal InRelease
  At least one invalid signature was encountered.
Get:4 http://ports.ubuntu.com/ubuntu-ports focal-security InRelease [107 kB]
Err:2 http://ports.ubuntu.com/ubuntu-ports focal-updates InRelease
  At least one invalid signature was encountered.
Err:3 http://ports.ubuntu.com/ubuntu-ports focal-backports InRelease
  At least one invalid signature was encountered.
Err:4 http://ports.ubuntu.com/ubuntu-ports focal-security InRelease
  At least one invalid signature was encountered.
Reading package lists... Done
W: GPG error: http://ports.ubuntu.com/ubuntu-ports focal InRelease: At least one invalid signature was encountered.
E: The repository 'http://ports.ubuntu.com/ubuntu-ports focal InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://ports.ubuntu.com/ubuntu-ports focal-updates InRelease: At least one invalid signature was encountered.
E: The repository 'http://ports.ubuntu.com/ubuntu-ports focal-updates InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.

Solution:

docker image prune -a

Some images will be cleaned up and then built. There will be no errors

[Solved] OBS Studio Use VLC video to play video error: Unhandled exception: c00000005

Use OBS Studio and VLC media player to push the video playlist. However, during use, it is found that when using VLC video source to play a video, an error will be reported when one video is played and the next video is switched. Check the crash report and find the following information:

Unhandled exception: c0000005
Date/Time: 2021-11-23, 14:35:56
Fault address: 7FFC6151E9C8 (c:\program files\videolan\vlc\libvlccore.dll)
libobs version: 27.1.3 (64-bit)
Windows version: 10.0 build 22000 (release: 2009; revision: 318; 64-bit)
CPU: Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz

The OBS version is 27.1.3 windows 64 bit, and the VLC version is 3.10.16 windows 64-bit.


Solution:

The reason for the error is that VLC 3.x is currently not compatible with OBS Studio. Download VLC 2.2.8 to solve this problem.

[Solved] Could not transfer artifact XXX, transfer failed for XXX

After changing the MAC black apple system, the computer has been troubled by the problem that the package can’t be downloaded. It’s a headache. Today, I finally took the time to solve it and recorded the solution process

1. Check the configuration of Maven package and warehouse and confirm that there is no problem

2. It is useless to delete the file ending with. Lastupdated under the related dependent package folder in the warehouse

3. Adding virtual machine related parameters in idea Maven-Importing to solve the certificate problem is useless
-Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true

4. Add virtual machine related parameters in idea Maven-Runner, and the problem is solved!
-Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true -Dmaven.wagon.http.ssl.ignore.validity.dates=true -DarchetypeCatalog=internal

END.