Author Archives: Robins

Possible causes of [errror] ID returned 1 exit status error in dev C + + Programmer

Yesterday, when I was debugging C program, I made this mistake, and my mentality was broken. But fortunately through their own a period of a period of program debugging, finally or to find the error. I will write it down, and I hope that the same small white encountered such mistakes, in time to find.
When the following error occurs:

There may be several reasons:
1. Library function spelling error. Such as: printf, Scanf, etc
2. The function name defined was misspelled during the call
3, when the execution of the function may function body itself
4. I haven’t noticed (maybe I haven’t come across yet) that other people say there are programs running.

That’s all I’ve found so far in writing C programs, and I hope it helps you

The performance of these shells in Windows Vista

(1) Before the Server 2003 in good use of mole (Armadillo), EXE shell, running in the WIN98 environment, exit the program always report an error, but click “OK”, there is no other exception. So we keep putting shells in it.

in VISTA, however, it can only protect EXE files directly. If you want to create or edit a project, yes
! The “general extraction error: locate at ES1(
General Extraction Error location ES1) “. And it doesn’t matter what operating system the client is running in. So that it doesn’t work at all, it has to be done differently.

(2) asprotect_ske_2.3 0514 beta, serial number is required first after installation. The serial number generated with the crack file in its installation package is not recognized. So it can only be said that the installation is successful, the use of failure.

(3) Obsidium has reduced the EXE files I originally “occupy” a few megabytes to only a few hundred kilobytes, which is such a high compression rate that even the most professional compression software has to yield to it, right?You can imagine the consequences of the program running to pop”
stopped working
ends with a “message box.

(4) PELock’s case is similar to Obsidium’s.

(5) finally a success, due to my need to protect “own intellectual property”, I will not tell you. So that’s the end of the shell test.

Launchanywhere windows error loading Java VM: 2 and 216

background
I haven’t come across such a problem for a long time. It’s all about JavaVM. Learn as you go.

LaunchAnywhere Error:
Windows error 2 occured while loading the Java VM

or

LaunchAnywhere Error:
Windows error 216 occured while loading the Java VM

English version of the error message is important, mainly when searching, the likelihood of finding the answer is greatly increased.
To solve
The first case:

LaunchAnywhere Error:
Windows error 2 occured while loading the Java VM

The reason is that after installing the Java JDK or the compact version of RE runtime environment (which is included in the former), you need to manually set the environment variables based on the version. Can’t Oracle check for environment variables at install time and set them if necessary?
Set the method
The second case:

LaunchAnywhere Error:
Windows error 216 occured while loading the Java VM

This error occurred while trying to install a 64-bit program on a 32-bit machine.

NPX webpack cannot find module’html webpack plugin’a bug causes headache

bug bug bug

Once I initialized the puzzling bug of Webpack, And I did a half-day’s work, really a half-day’s work. I didn’t finish it from around 3:00 in the afternoon until I got off work. Finally, I got upset and had a headache, and then I made a big meal of noodles.
To start with the bug,
initializes a webpack project, runs the packaging command, and reports the following error:

encountered such a bug at first. As usual, I simply read the error message. The module html-webpack-plugin was not found. This package is not used in an initial project. Well, baidu asks baidu, and a bunch of them come out, all irrelevant answer. There is no way to check, again, is it the problem of NPM warning above?First check [email protected], baidu check, a lot of said node version problem, to change the node version, bang bang, installed 7+, 8+, 10+, 12+ four versions of Node, it will not work. Also, it takes too long to clean up the Node cache. Okay, let’s give it up.
look at the second warning node-pre-gyp WARN Using needle for node-pre-gyp HTTPS download some said that there is no permission when installing, OK add sudo –> No effect, sudo NPM install Node-pre-gyp-g OK did not alarm, but Webpack packaging still reported the same error before, well do it again, [email protected] sudo NPM install fsevents-g –> Invalid, warning as before, ok, HTML – Webpack-plugin can’t be found. NPM install HTML-Webpack-plugin –save-dev NPM install HTml-Webpack-plugin — G Dunima tries webpack packaging like a goddamn bug.
back and forth again and again, three times I wanted to write some code in the afternoon, but I was bothered by this puzzling bug. I thought it was because I didn’t eat enough and had low blood sugar at noon, so I submitted the code after work at 7 o ‘clock, and went home to replenish blood.
cooked a bowl of noodles to eat, wonder is it the company network reason?Well, I changed the Internet at home. Open webpack Chinese official website, according to the tutorial to re-initialize a project Webpack packaging still reported the same error in the afternoon, ok, new Baidu, go again not good, again think is taobao mirror source problem?Change the NPM source to switch to the official source, install Wabpack wabpack-CLI half installed still appear [email protected] warning, thought to estimate cool, installation speed with Taobao source is not compared, decisively end.

my project directory is not on the Desktop and there is no webpack configuration file in the initialized project. How can this Desktop path appear?
is thought to be broken, so it is estimated that there is a webpack.config.js file on the desktop. When webpack is packaged, it will automatically look for this file until it finds the file on the desktop, and then it will be packaged according to this configuration, and then it will report the error of html-webpack-plugin.
sure enough:

resolutely deleted, repackaged, everything is OK.
is really a bug check that makes me don’t know how to phrase it.
then decided to record here.
think carefully, if you carefully check the error message may not be so many annoying operation,
bug long to fix, I will be up and down to find out.

[Python error] using PIP / easy under Windows_ Fail error in launcher: unable to create process using

Once the Python installation under Windows is complete, several exe files are generated under the Python installation directory scripts, including easy_install and PIP,
We add the above path to the system environment variable after normal conditions
You can use tools such as easy_install, but on 64-bit systems you will get errors like the following:
C:\Python27\Scripts> easy_install sqlalchemy
Fatal error in launcher: Python27\python.exe
“”C:\Python27\Scripts\easy_install. Exe” sqlalchemy
is not consistent with the default python installation path in the tool when using tools such as easy_install, so we need to explicitly call python to install:
Python -m easy_install sqlalchemy
— — — — — — — — — — — — — — — — — — — — —
the author: HymanLiuTS
source: CSDN:
the original https://blog.csdn.net/hyman_c/article/details/52755628
copyright statement: this article original articles for bloggers, reproduced please attach link to blog!

You can’t specify target table ‘car’ for update in from clause

Error Code: 1093 occurs when the following SQL statement is executed:

update car set tag = 1 where id in (select id from car where brand_id=182 and tag=0);

The reason for the error is that the modified table and the queried table are the same table, which is not allowed in MySQL. We can solve this problem by querying again in the middle:

update car set tag = 1 where id in (select id from (select id from car where brand_id=182 and tag=0) As temp);

pip Import Error:cannot import Name main solution

When using PIP for an installation operation, you run into this problem:





was later found to be caused by a change in the function in the library that updated PIP to 10.0.0.

solution:

sudo gedit /usr/bin/pip

Will the original:

from pip import main
if __name__ == '__main__':
    sys.exit(main())

To:

from pip import __main__
if __name__ == '__main__':
    sys.exit(__main__._main())

With respect to OK

Analysis and solution of RSA premaster secret error

Problem description
Java is packaged and runs with Java-XMx1g-java.ext.dirs =lib2 Runner XX.
error: RSA premaster secret error
test has no problem, it can run locally and the result is correct; The server can run, but the results are incorrect. Report the above error.
Problem analysis
Java-cp XX. Jar YY is operational.
java-djava.ext.dirs will not run.
After java-java.ext.dirs loads the Lib, the JAR package under %JAVA_HOME%\ jRE \ Lib \ext will not load.
is queried, involving sunjce_provider.jar.
Solution 1
Find Sunjce, copy it to lib, and run the solution.

echo $JAVA_HOME  
> find $JAVA_HOME -iname "*sunjce*jar"   # find sunjce
/usr/lib/jvm/java-7-openjdk-amd64/jre/lib/ext/sunjce_provider.jar

Just copy this into lib.
Solution 2
You just have to load the JAR package under Ext, otherwise it’s a problem.
for example: java-java.ext.dirs =lib:$JAVA_HOME/jre/lib/ ext-jar build/ myappjar.jar
conclusion

    cp makes use of the current jar package and the lib/ext directory jar package in the jre, -d does not. Copy the past jar

if necessary
Refer to the reference
https://stackoverflow.com/questions/21390157/rsa-premaster-secret-error

Solution to msxml3.dll error ‘80072efd’

msxml3.dll error ‘80072efd’

A connection with the server could not be established
The code below
is incorrect

dim XMLHTTP blnLoadXml

set XMLHTTP = server.createobject (” msxml2.serverhttp “)

XMLHTTP. Open “POST”, dhb133 & amp; “/ index. Asp”, false
.
XMLHTTP setRequestHeader “content-type”, “application/x – WWW – form – urlencoded”

XMLHTTP. Send objDom. XML

this error is because dhb133/index.asp cannot be reached.

should be a firewall problem.

what I encountered was that the machine could not be submitted. Because it was placed in the mobile computer room, it was shielded by the computer room firewall, so I could not access my own IP of the external network.

add 127.0.0.1 dhb133 to host

Reproduced in: https://www.cnblogs.com/dhb133/archive/2008/08/26/1276784.html

Can’t find Python executable “D:\python3\python.exe”, you can set the PYTHON env variable.

An error
When installing APpium with NPM under Win10, the following error is reported:

Can't find Python executable "D:\Anaconda3\python.exe", you can set the PYTHON env variable.

solution
1. Set the Python execution file path. 2, to use python version 2.7.
Methods a
Set the global variable in Windows PYTHON to be the absolute path of PYTHON 2.7, for example:

D:\Anaconda2\python.exe

Set variables:

set PYTHONPATH=%PYTHON%

Method 2

npm config

Solution of header file StdAfx. H “no such file or directory” in Visual Studio

1. Stdafx.h is not a standard C++ header file. Here is the default custom file of VS. Used in system precompilation headers. An error like “stdafx.h” : No such file or directory generally occurs, possibly because the compiler cannot create a precompiled file via stdafx.cpp, so other files cannot refer to the PCH file.
Solution: Select the source file stdafx.cpp, right-click -> Property – & gt; C/C++ -> Precompiled headers. The above problem is usually caused by changing the options for precompiled headers from create to use, which can be resolved by changing the options back to create.