Tag Archives: ProgrammerAH

VirtualBox Error WinVerifyTrust failed on stub executable

               

VirtualBox error after Windows 8.1 update:

WinVerifyTrust failed on stub executable: WinVerifyTrust failed with hrc=Unknown Status 0x8009200D on ‘\Device\HarddiskVolumeX\Program Files\Oracle\VirtualBox\VirtualBox.exe’ (rc=-22919) Please try reinstalling VirtualBox

solution 1: uninstall update KB3081320

solution 2: install a new version of VirtualBox

share my teacher’s ai tutorial again. Zero basis! Easy to understand! Funny humor! And dirty jokes! I hope you will join us in the team of artificial intelligence! https://blog.csdn.net/jiangjunshow

cpickle.picklingerror can’t pickle type ‘module’ attribute lookup __builtin__.module failed

recently noticed this error while using the process pool! The following is a simplified version of the call itself. Regardless of the syntax error, the second parameter of the map function contains an iterator containing an instance of the class that contains the session

of tensorflow initialized by a model parameter

def func(net):
return net.predict()
 
class Detecter(object):
def __init__(self, file):
with tf.Graph().as_default():
self.sess = tf.Session()
tf.train.Saver(self.sess,file)
def predict(self):
self.sess.run()
 
detecter = [Detecter('./model.ckpt')]*4
for batch in range(0,4,4):
bb = multiprocessing.pool.map(func, izip(detecter[:4]))

solution: change the original “from multiprocessing import Pool” to “from multiprocessing. Pool import ThreadPool as Pool”

A child container failed during start

error starting Tomcat, complete information is as follows:

严重: A child container failed during start
java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/WIcket-Learn]]
	at java.util.concurrent.FutureTask.report(FutureTask.java:122)
	at java.util.concurrent.FutureTask.get(FutureTask.java:188)
	at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:916)
	at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:871)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398)
	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/WIcket-Learn]]
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:153)
	... 6 more
Caused by: java.lang.IllegalArgumentException: Filter mapping specifies an unknown filter name DempApplication
	at org.apache.catalina.core.StandardContext.validateFilterMap(StandardContext.java:2944)
	at org.apache.catalina.core.StandardContext.addFilterMap(StandardContext.java:2909)
	at org.apache.catalina.startup.ContextConfig.configureContext(ContextConfig.java:1275)
	at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1184)
	at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:779)
	at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:306)
	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:95)
	at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5150)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
	... 6 more

五月 03, 2017 4:06:10 下午 org.apache.catalina.core.ContainerBase startInternal
严重: A child container failed during start
java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost]]
	at java.util.concurrent.FutureTask.report(FutureTask.java:122)
	at java.util.concurrent.FutureTask.get(FutureTask.java:188)
	at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:916)
	at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
	at org.apache.catalina.core.StandardService.startInternal(StandardService.java:441)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
	at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:787)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:629)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:351)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:485)
Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost]]
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:153)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398)
	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.catalina.LifecycleException: A child container failed during start
	at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:924)
	at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:871)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
	... 6 more

五月 03, 2017 4:06:10 下午 org.apache.catalina.startup.Catalina start
严重: The required Server component failed to start so Tomcat is unable to start.
org.apache.catalina.LifecycleException: Failed to start component [StandardServer[8005]]
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:153)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:629)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:351)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:485)
Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardService[Catalina]]
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:153)
	at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:787)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
	... 7 more
Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina]]
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:153)
	at org.apache.catalina.core.StandardService.startInternal(StandardService.java:441)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
	... 9 more
Caused by: org.apache.catalina.LifecycleException: A child container failed during start
	at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:924)
	at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
	... 11 more

五月 03, 2017 4:06:10 下午 org.apache.coyote.AbstractProtocol pause
信息: Pausing ProtocolHandler ["http-nio-8080"]
五月 03, 2017 4:06:10 下午 org.apache.coyote.AbstractProtocol pause
信息: Pausing ProtocolHandler ["ajp-nio-8009"]
五月 03, 2017 4:06:10 下午 org.apache.catalina.core.StandardService stopInternal
信息: Stopping service Catalina
五月 03, 2017 4:06:10 下午 org.apache.coyote.AbstractProtocol destroy
信息: Destroying ProtocolHandler ["http-nio-8080"]
五月 03, 2017 4:06:10 下午 org.apache.coyote.AbstractProtocol destroy
严重: Failed to destroy end point associated with ProtocolHandler ["http-nio-8080"]
java.lang.NullPointerException
	at org.apache.tomcat.util.net.NioEndpoint.releaseCaches(NioEndpoint.java:305)
	at org.apache.tomcat.util.net.NioEndpoint.unbind(NioEndpoint.java:481)
	at org.apache.tomcat.util.net.AbstractEndpoint.destroy(AbstractEndpoint.java:831)
	at org.apache.coyote.AbstractProtocol.destroy(AbstractProtocol.java:533)
	at org.apache.catalina.connector.Connector.destroyInternal(Connector.java:1023)
	at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:297)
	at org.apache.catalina.core.StandardService.destroyInternal(StandardService.java:589)
	at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:297)
	at org.apache.catalina.core.StandardServer.destroyInternal(StandardServer.java:877)
	at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:297)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:633)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:351)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:485)

五月 03, 2017 4:06:10 下午 org.apache.coyote.AbstractProtocol destroy
信息: Destroying ProtocolHandler ["ajp-nio-8009"]
五月 03, 2017 4:06:10 下午 org.apache.coyote.AbstractProtocol destroy
严重: Failed to destroy end point associated with ProtocolHandler ["ajp-nio-8009"]
java.lang.NullPointerException
	at org.apache.tomcat.util.net.NioEndpoint.releaseCaches(NioEndpoint.java:305)
	at org.apache.tomcat.util.net.NioEndpoint.unbind(NioEndpoint.java:481)
	at org.apache.tomcat.util.net.AbstractEndpoint.destroy(AbstractEndpoint.java:831)
	at org.apache.coyote.AbstractProtocol.destroy(AbstractProtocol.java:533)
	at org.apache.catalina.connector.Connector.destroyInternal(Connector.java:1023)
	at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:297)
	at org.apache.catalina.core.StandardService.destroyInternal(StandardService.java:589)
	at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:297)
	at org.apache.catalina.core.StandardServer.destroyInternal(StandardServer.java:877)
	at org.apache.catalina.util.LifecycleBase.destroy(LifecycleBase.java:297)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:633)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:351)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:485)

Finally, I checked that the filter mapping name was misspelled

<filter>
  	<filter-name>DemoApplication</filter-name>
  	<filter-class>org.apache.wicket.protocol.http.WicketFilter</filter-class>
  		<init-param>
				<param-name>applicationClassName</param-name>
				<param-value>org.wicket.demo.BookmarkablePageLink.HelloWorldApplication</param-value>  			
  		</init-param>
  </filter>
  
  <filter-mapping>
  	<filter-name>DempApplication</filter-name>
  	<url-pattern>/*</url-pattern>
  </filter-mapping>


Error reported by ISE simulator: ERROR:Simulator : 861 – failed to link the design solution

ISE built-in Simulator ERROR: ERROR:Simulator:861 — Failed to link the design solution

10 64 – bit Win the measured effective
reproduced from: https://blog.csdn.net/sd10086/article/details/53046401
I use the Windows 10 64-bit professional version, and the computer is equipped with ISE14.7 version. When I use the ISE’s built-in Simulator ISIM to simulate, the Simulator always reports ERROR:Simulator:861 — Failed to link the design.
checked the Verilog code for many times and confirmed that there was no error, but the simulation was still the same problem, so I searched with Google and found that this problem would occur in any system with Windows 8 version or above, but I still did not know how to solve it. Finally, I found a solution in a foreign forum on electronic engineering. Although I did not know the principle of solving the problem, I gave it a try and it worked.
to prevent the problem from recurring in the future, the solution is specifically documented.

solution:
find the X disk
“X\Xilinx\14.x\ISE_DS\ISE\gnu\MinGW\5.0.0\nt\libexec\ GCC \mingw32\3.4.2\collect2.exe” and delete it, rerun the emulator, the problem is solved!

linux docker Error Failed to get D-Bus connection: Operation not permitted

creates the container with the centos7 image, inside which the systemctl startup service reports an error. For this error, we will analyze next!

# docker run -itd --name centos7 centos:7
# docker attach centos7
# yum install vsftpd
# systemctl start vsftpd
Failed to get D-Bus connection: Operation not permitted

cannot start the service, what happens?

can’t the container run the service!!

a:

Docker’s design concept is not to run background services in the container. The container itself is an independent main process on the host, which can also be indirectly understood as the application process running services in the container. The life cycle of a container revolves around the main process, so the correct way to use the container is to run the services inside in the foreground.

speaking of systemd, this suite has become the default service management for major Linux distributions (such as CentOS7, Ubuntu14+), replacing the traditional systemv-style service management. Systemd maintains the system server program, which requires privileges to access the Linux kernel. And the container is not a complete operating system, only a file system, and default boot is only ordinary users such permissions to access the Linux kernel, that is, no privileges, so naturally not use!

therefore, follow the container design principles and run a foreground service in a container!

, that’s how I want to run it, can’t I solve it?

answer: yes, run the container in privileged mode.

create container:

# docker run -d --name centos7 --privileged=true centos:7 /usr/sbin/init

into the container:

# docker exec -it centos7 /bin/bash

so you can start the service using systemctl.

Error running Eclipse: failed to load the JNI shared library

[resolved] error running Eclipse: Failed to load the JNI Shared library

January 23, 2013 1:57 PM
crifan
has 113,516 onlookers
4 comments

[question]

running Android ADT, that is, Eclipse error:

Failed to load the JNI shared library

C:\Program Files (x86)\Java\jre6\bin\client\jvm.dll

where the background is:

1. It has been able to run normally before, that is, it has installed JRE6 normally.

2. JRE6 was later deleted.

3. Just went to reinstall JRE6, the result is still the same error.

4. And has been determined:

C:\Program Files (x86)\Java\jre6\bin\client\jvm.dll

exists.

[solution]

1. Now try to figure out why it still doesn’t work.

do you need to restart the computer??

2. Take a casual look at the current eclipse configuration:

D:\tmp\tmp_dev_root\android\adt-bundle-windows\eclipse\eclipse.ini

is:

The

– Dosgi. RequiredJavaVersion = 1.6

is clearly a requirement that Java be version 1.6.

. Reference:

http://aquilo.diandian.com/post/2012-05-27/21832516

doesn’t feel very helpful.

4.

http://dongdong1314.blog.51cto.com/389953/490211

and make sure that the JDK installed earlier is

jdk-6-windows-amd64.exe

is indeed 64-bit. It still doesn’t work.

5. Reinstall

jdk-6-windows-amd64.exe

let’s try that.

. 6. There’s definitely a problem with that.

because it says

C:\Program Files (x86)\

means eclipse wants 32-bit Java.

so, again, it looks like we need to find, is it somewhere, the environment variable, or is it this path that’s left in the registry, to delete it and update it to the latest

C:\Program Files\

Java path is ok.

7. Sure enough, in the PATH environment variable, you see that there are two java-related paths:

  • C:\Program Files (x86)\Java\jre6\bin: was added before, estimated to be installed after the jre
  • C:\Program Files\Java\jdk1.6.0\bin: is just installed after the JDK, oneself manually added

, so that’s easy.

to delete the old path:

C:\Program Files (x86)\Java\jre6\bin

turns out to be the same problem.

8. Finally, it turns out that the environment variable is

JAVA_HOME=C:\Program Files (x86)\Java\jre6

so, you never find the corresponding value, now change it to:

JAVA_HOME = C: \ Program Files \ Java \ jdk1.6.0

and, in PATH, we already have:

%JAVA_HOME%\bin

, that should do it.

to try, and sure enough, you can normally run Eclipse, here ADT:

when running something java-based, here is Eclipse (ADT for developing Android), if it appears:

Failed to load the JNI shared library

C:\Program Files (x86)\Java\jre6\bin\client\jvm.dll

If it’s

or something like that, it’s easy,

to:

  • to see, the corresponding path, whether there is really jvm.dll
    • if not, then obviously, you need to install the corresponding version
      • go to Oracle website to download the corresponding version, JRE or JDK
        Exe

  • to confirm whether the Java environment variables are normal:
    • JAVA_HOME: this should be the installation path for your JRE or JDK
      • example here, 64-bit win7, installed is the 64-bit JDK 6, so after installation, the corresponding path is:
        C:\Program Files\Java\jdk1.6.0
    • 0

    • 1 PATH: PATH should contain the Java bin directory, similar to
      2
      C:\Program Files (x86)\Java\jre6\bin\
      • hint: but since JAVA_HOME is already set, it can be more commonly written as
        %JAVA_HOME%\bin
  • in addition, hint:

    64-bit (Win7) system, the corresponding software installation directory:

    • 32-bit software, default installation to: C:\Program Files (x86)\
    • 64-bit software, default installation to: C:\Program Files\

    Altium designer20 failed to add class member: XXX and unknown pin

    Failed to add class member error solution

    Failed to add class member result Failed to import into PCB file normally when converting files with AD20 today.

    many solutions on the web are to delete the PCB and create a new PCB and re-import it. A little trouble. Here is another way you can not remove the PCB, useful measurement

    there are most of this kind of problem before import once, and then deleted after the second when import to this mistake.

    solution :

    (1) switch to PCB file, menubar – design – classes (classes if not chinese-typed)



    (2)

    (3)

    Synergy Ubuntu 18 + win7 timed out or new client is unresponsive

    how to install these two software, please move to this article:

    https://blog.csdn.net/weixin_41995979/article/details/81990179

    , that’s all I want to talk about, but what I want to talk about is the problem I had.

    first, install synergy in Ubuntu. If you use the sudo apt-get install synergy command, you get 1.8.8. This can be checked by yourself after installation.

    In the synergy interface, download. Deb version is not available in Ubuntu18. Therefore, it is recommended to use only

    in Ubuntu18

    sudo apt-get install synergy.

    Ubuntu 16 can be downloaded. The deb version is self-installed.

    the problem occurred when installing synergy in Ubuntu, which has been bothering me for a long time.

    Ubuntu as the client side, win as the server side, the problem occurred: NOTE: new client is unresponsive

    Ubuntu as the server and win as the client had the following problem: WARNING: failed to connect to server: Timed out

    suggested that you check the setting of sunergy edit -, SSL that check off, should be able to solve.

    Another problem with

    is checking to see if the ports in the Settings are the same.

    https://members.symless.com/forums/topic/4057-warning-failed-to-connect-to-server-timed-out/

    and this is the way I saw it for this problem.

    INSTALL PARSE FAILED INCONSISTENT CERTIFICATES (How to Fix)

    share my teacher great god artificial intelligence tutorial! Zero basis, easy to understand! http://blog.csdn.net/jiangjunshow

    also welcome to reprint this article. Share knowledge, benefit the people, and realize the great rejuvenation of the Chinese nation!

                   

    shows a similar INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES prompt when installing the APK file, along with the following similar prompt:

    Android Launch!
    adb is running norm.
    Performing com. android123.cwj activity launch
    Automatic Target Mode: Using device ‘HT840GZ25974’
    Uploading CWJ. Apk onto device ‘HT840GZ25974’
    Uploading
    Application already exists. Attempting to re – install home…
    re-installation failed due to different application signatures.
    You must perform a full uninstall of the application. WARNING: This will remove the application data! Android123.cwj ‘in a shell.
    Launch canceled!

    this problem mainly due to signature conflict, such as you use the ADB debug permissions signature, but use the standard installation of the same file again after sign the signature will appear such errors, the solution besides only honestly first uninstall the original version to install again from the mobile phone, the ADB install – r parameter can’t solve this problem.

    call my teacher’s artificial intelligence tutorial! http://blog.csdn.net/jiangjunshow