Tag Archives: other

TIP: Unable to initialize gtk, is DISPLAY set properly?

In addition to some common methods provided online, another possible reason for using xming is that xming rejects the forwarding request of the host. Instead, add the host name to the configuration file x0.hosts for xming :

localhost
10.1.241.70

localhost is the default.
x0.hosts and xming.exe are in the same directory.

Solution for Error Code: s1023 when installing DirectX SDK

Today when installing DXSDK_Jun10 (download address: http://download.microsoft.com/download/A/E/7/AE743F1F-632B-4809-87A9-AA1BB3458E31/DXSDK_Jun10.exe), the Error Code shown below mistakes: s1023.

Reason for error:
I also installed Microsoft Visual C++ 2010 Redistributable with the updated version on your computer. I also opened “programs and functions” in the control panel. Sure enough, there was “Microsoft Visual C++ 2010 x86 redistributable-1010.0.40219” and “Microsoft Visual C++ 2010 x64 redistributable-1010.0.40219” installed on the computer. DXSDK_Jun10 also shipped with “Microsoft Visual C++ 2010 x86 redistributable-1010.0.30319” and “Microsoft Visual C++ 2010 x64 redistributable-1010.0.30319”, which versions were lower than the installed versions of the machine, so s1023 error occurred in the installation.

Solutions:
Uninstall higher versions of “Microsoft Visual C++ 2010 x86 redistributable-1010.0.40219” and “Microsoft Visual C++ 2010 x64 redistributable-1010.0.40219”, and then reinstall DXSDK_Jun10.

Q:
Will it be affected to undistribute “Microsoft Visual C++ 2010 x86 redistributable-1010.0.40219” and “Microsoft Visual C++ 2010 x64 redistributable-1010.0.40219”?
A:
After DXSDK_Jun10 is installed, the above two components are still there, but the version is lower, so the impact is not significant.

If you really need “Microsoft Visual C++ 2010 x86 redistributable-1010.0.40219” and “Microsoft Visual C++ 2010 x64 redistributable-1010.0.40219”, you can install it after you finish installing DXSDK_Jun10. Download page address (https://www.microsoft.com/en-us/download/details.aspx?Id = 26999).

Original link; http://blog.csdn.net/ts1030746080/article/details/8681550

tftp open error resolution

Error message:
Can’t bind the TFTP port!
Solutions:
Check to see if port 69 is occupied by netstat -AN
2 If it is not occupied, delete the TFTPD32 folder under HKEY_LOCAL_MACHINE, SOFTWARE in the registry
Restart the tftp32

BO error Error: RWI 00200 FWM 01014

I recently encountered (Error: RWI 00200) and (FWM 01014) when Working with BO reports using Java

The server cannot be found in {0} and cluster {1} with type NULL for the Webiserver service. All such servers may be shut down or disabled by an administrator. (FWM 01014)
Unable to find servers in CMS {0} and cluster {1} with kind {2} and service {3}. All such servers could be down or disabled by the administrator. (FWM 01014)
The error.
It was found that the reason for this error is that the service address is configured as the system IP, and there is no configuration mapping in the hosts file
The service address is: 192.168.2.90:2888
The system address is: ABC01:2898
Hosts file
192.168.2.92 abc01
The system address originally matched with the server address caused the problem
The above BO server is a cluster environment, the above problem must find the system administrator to clarify the service address and system address.
 

twrp failed to mount system

Environment Introduction:
Android 9 twrp3.3.1
Installation error display solution:
Go into data clear is the second button in the first row;
Then select advanced and check all but external storage if you want to keep internal storage
You can then re-enter the new image.
 
My magic fun:
https://www.mokeedev.com/

Failed to install ISKernel Files,make sure you have appropriate privileges on this machine

Failed to install ISKernel Files,make sure you have appropriate privileges on this machine
When installing the software, especially the program in MSI format, this error occurred. I used the Administrator account and said That I did not have the authority, which made me very upset

Because the system patch was updated before the installation, the patch was almost unloaded to try!

Later thought of the computer installed 360 security guards and antivirus, with a try attitude, quit the two software, smooth installation!

360 is really harmful ah, the system access is too big, what plug in a foot, despise…

Cuban DCOM connection to programs Synsopose.exe failed

the solution available online is

1, eLicense folder contains programs that are blocked by security software

solution: https://tieba.baidu.com/p/6595004364
2. DCOM service does not start

solution:

https://helpcenter.steinberg.de/hc/en-us/articles/207332910-Error-message-DCOM-connection-to-program-Synsopos-exe-failed

basically means, in the Windows control panel, search for “management tools”, and then double-click “services”.

find the DCOM server process starter and make sure it is set to automatic, then start the service.

3. Heavy loading of eLicenser

is the

that I solved after reloading

[solution] MAC: stack error: ` gyp ‘failed with exit code:1

[20200730 update]
at the bottom is the previous answer. I found this problem was not so simple, because searching gypfailed with exit code:1 was not specific enough, look at the error reported, in fact, it could be more detailed. Separator before the following is a solution, this solution can only solve the file node - gyp/lib/configure. Js: 305:16 fault, if it is the problem on the bottom of the reference solution. If not, take a closer look at your problem, and sometimes you'll find that another problem is the following:

ERROR:root:code for hash md5 was not found.
Traceback (most recent call last):
  File "/usr/local/Cellar/python@2/2.7.15/Frameworks/Python.framework/Versions/2.7/lib/python2.7/hashlib.py", line 147, in <module>
...
ValueError: unsupported hash type md5
ERROR:root:code for hash sha1 was not found.
...
ValueError: unsupported hash type sha224
ERROR:root:code for hash sha256 was not found
...
  File "/usr/local/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/xcodeproj_file.py", line 152, in <module>
    _new_sha1 = hashlib.sha1
AttributeError: 'module' object has no attribute 'sha1'
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onCpExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:345:16)
gyp ERR! stack     at ChildProcess.emit (events.js:189:13)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)
gyp ERR! System Darwin 19.5.0
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/eric/Desktop/admin-web/node_modules/watchpack-chokidar2/node_modules/fsevents
gyp ERR! node -v v10.15.3
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok

look at this problem, mainly is the /usr/local/Cellar/python @ 2/2.7.15/Frameworks/python framework Versions/2.7/lib/python2.7/hashlib. Py this file was wrong, and wrong is md5 and sha1 encryption methods, such as didn't find it. So the file problem, should be caused by our computer environment, the computer is certain that a library in addition to the problem, resulting in the execution of this file and encryption related libraries or methods are suspended. So when searching, you can search MAC ERROR:root:code for hash md5 was not found or something like that, and search on bing.com international version, so that if there are related questions on StackOverflow, you can see them directly. Sure enough, there's a problem here, the same thing that we had, and the main reason is that the openssl on our computer is not working. Maybe it's because we've installed multiple versions of Python, or maybe we've installed some software that comes with OpensSL that conflicts with the computer's own. So that's this guy. So, we need to respecify that.

# 先看看是什么版本,我的是1.0.2o_1
ls /usr/local/Cellar/openssl
# 指定切换到这个版本
brew switch openssl 1.0.2o_1
# 输出以下这样的就成功了
Cleaning /usr/local/Cellar/openssl/1.0.2o_1
Opt link created for /usr/local/Cellar/openssl/1.0.2o_1

1. Problem description

NPM installation error, all kinds of online uninstall and reinstall node-gyp methods have been tried to no use, but can not find the root of the problem:

gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onCpExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:305:16)
gyp ERR! stack     at emitTwo (events.js:106:13)
gyp ERR! stack     at ChildProcess.emit (events.js:191:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System Darwin 16.0.0
gyp ERR! command "/usr/local/Cellar/node/8.1.3/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/project/node_modules/ckmeans
gyp ERR! node -v vxx
gyp ERR! node-gyp -v vxxx
gyp ERR! not ok 

2, cause guess

gyp is a compilation tool, similar to the makefile command, it is mainly used to compile C++, node integrated it, called node-gyp0.

NPM is the source code for , NPM install is pull the source code in native compilation, after this time because inevitably, the source code used in other languages, such as C or C + +, compile time, so you need to other language compiler tools such as node - gyp , but the fact is that these compile tools in different systems is dependent on different system compiler tools, For example, on the MAC, this node-gyp actually relies on the compilation tools provided by xcode, so that's the problem I ran into. It's a xcode tool. Except for the problem, the tool management of xcode is xcode-select, which needs to be reset or installed or reset.

3. Solution

for the specific solution, see an issue of schnerd/d3-scale-cluster:

# 要不要sudo看自己当前用户是不是有sudo权限
$ [sudo] xcode-select --install
xcode-select: error: command line tools are already installed, 
use "Software Update" to install updates

# 提示已经安装的话,就重置
[sudo] xcode-select --reset

problem solved.

error:Failed to connect to 127.0.0.1:27017, reason: errno:111 Connection refused;error:couldn‘t ….

error : MongoDB shell version: 2.6.10
connecting connecting to: test
2020-01-06T19:04:40.945+0800 warning: Failed to connect to 127.0.0.1:27017, reason: Errno :111 Connection union 40
2020-01-06 t19:04:40. 946+0800 Error: Couldn ‘t connect to server 127.0.0.1:27017 (127.0.0.1), the connection attempt failed at the SRC/mongo/shell/mongo. Js: 146
I am under a virtual machine, download the mongo, want to get into mongo library, found an error (above), the Internet a lot, according to their way to try many, but is not go, Later, I found that because I did not enter into the docker image (just started to contact the image)
, I learned from docker image , and learned

by virtue of virtual machine

step 1 , switch to su root, check all images under docker images

step 2 , if no mongo, pull mongo through docker pull mongo official website, if you have pulled direct operation step 3

step 3 0, Start container docker run-dit –name mymongodb-p 27017:27017 mongo



step 4 , open container docker exec-it mymongodb bash, enter mongo
appear the pattern in the blue circle, indicating that you have entered mongo, directly enter the command statement to operate