Category Archives: How to Fix

Hololens2 reported an error. Microsoft.windows.system is missing

Assets\Microsoft.MixedReality.WebRTC.Unity\Scripts\Media\LocalVideoSource.cs(234,89): error CS0234: The type or namespace name ‘ProcessorArchitecture’ does not exist in the namespace ‘Microsoft.Windows.System’ (are you missing an assembly reference?)

Click the error reporting line to enter the code:

Method 1: modify the official code pre instruction   UNITY_ Wsa changed to   UNITY_ UWP

Method 2: directly delete the official judgment, and the code judges whether it is hololens1    , Return according to your judgment   True or false

  I use   Method two!

VirtualBox reports an error supr3hardenedwinrespawn what 5 when opening the virtual machine

Phenomenon:

After installing virtuabox for the first time, you can open the software normally and successfully install the Ubuntu virtual machine. However, once you restart the computer (win10 enterprise 1607), open the VirtualBox software again and click start the virtual machine, an error will appear: “VirtualBox sur3hardenedwinrespawn what 5 Verr_ invalid_ name (-104)”

resolvent:

Open registry as administrator: regedit

Find HKEY_ LOCAL_ MACHINE\SYSTEM\CurrentControlSet\services\VBoxDrv

Change the start attribute value from 1 to 3

Create a script file, start_ VBoxDrv .bat

 

Script content:

@echo off

sc start vboxdrv

pause

Run start as Administrator_ Vboxdrv. Bat, and then restart the computer. After starting, run start again as an administrator_ Vboxdrv. Bat, and then you can use the VirtualBox virtual machine normally

Conclusion:

be careful:

Run start every time you restart the system_ Vboxdrv.bat, and then open the virtual machine to solve this problem

reference material:

https://forums.virtualbox.org/viewtopic.php?f=6&amp ; t=82277

Unity Android solves the problem of information flow advertisement closing and error reporting

This error often occurs when unity connects to some native andorid SDKs:

W/system. Err: Android. View. Viewrootimpl $calledfromwrongthreadexception: only the original thread that created a view hierarchy can touch its views.
the solution is to use runonuithread() in the java file written by the Android layer

The reason is that the UI update of Android needs to be in the main UI thread, and some callbacks of the advertising SDK are not in this thread

reference material:

https://www.jianshu.com/p/866743c0356b

https://blog.csdn.net/cf8833/article/details/90297775

HDFS and local file transfer and error reporting

  Exception during HDFS and local file transfer in Maven project:
  org.apache.hadoop.io.nativeio.NativeIO$Windows.createFileWithMode0(Ljava/lang/String; JJJI)Ljava/io/FileDescriptor;
  org.apache.hadoop.util.NativeCrc32.nativeComputeChunkedSumsByteArray(II[BI[BIILjava/lang/String; JZ)V

  Solution: add hadoop.dll and winutils files in the windows/system32 directory of the local C disk (in the bin directory of Hadoop) and
in the system environment variable   Configure Hadoop_ Home path and% Hadoop_ HOME%\bin

After openstack neutron is installed, the Linux bridge starts and the error is resolved

After openstack neutron is installed, the Linux bridge starts and the error is resolved

After the Linux bridge service is started, check the operation log and report errors. For possible solutions, refer to the blog

After the Linux bridge service is started, check the operation log and report an error

    after installing and configuring the neutron computing node component, start the linuxbridge service, which can be started, but check the operation log and find an error. The main error contents are:
Oslo_ Privsep.daemon.failedtodropprivileges: privsep helper command exited non zero (1)

    at this time, check dhcp-agent.log and find the same error. After reading several blogs on Baidu, the positioning problem is the permission problem.

Possible solutions

1. First, close SELinux. It is possible that SELinux has access control over privsep helper programs. Modify/ etc/SELinux/config file:
change SELinux = enforcing to SELinux = disabled
restart the system: reboot
check whether the problem is solved

2. If the above methods cannot be solved, it may also be that neutron privsep needs sudo permission, but the default environment is not configured after installation. Therefore, add sudoer permission
modify the VIM/etc/neutron/neutron.conf file, and modify the following contents:

[privsep]
user = neutron
helper_command = sudo privsep-helper

Modify the VIM/etc/sudoers. D/neutron file, add the following contents, and then force save and exit

neutron ALL = (root) NOPASSWD: ALL

customer service

[1] https://www.cnblogs.com/dyd168/p/14466744.html

Error in legal external terminal in ANSYS electronics desktop

report errors     Illegal external terminal ‘CoilTerminal1’: An external terminal must border the edge of the problem region and coincides with the surface of a 3D object

Solution: the surface of the excitation port you set (that is, where the current flows in and out) should coincide with the vacuum package you set (that is, the surface of the region).

SRS is started normally and there is no screen for streaming. Look at the SRS log and report an error SRS is already running

Error in daily SRS startup, as shown in the following figure: it seems to be an existing startup

then stop various processes and stop the SRS service. The log still gives the same error prompt

check whether various processes or programs exist and reboot has passed. No, it didn’t solve the problem. Finally, the SRS is redeployed again. As shown in the figure:

is back to normal. Heart tired

WordPress website map sitemap.xml error repair

WordPress website map sitemap.xml error repair

Error overview

In building a website using WordPress, use the XML Sitemaps plug-in to create a sitemap.xml site map, but after creation, open sitemap.xml and report the following error

Solution

1. Find the wp-blog-header.php file in the root directory of the website and open it. Modify it as follows

<?php
if ( ! isset( $wp_did_header ) ) {
	$wp_did_header = true;ob_start();
	// Load the WordPress library.
	require_once __DIR__ . '/wp-load.php';
	// Set up the WordPress query.
	wp(); ob_end_clean();
	// Load the theme template.
	require_once ABSPATH . WPINC . '/template-loader.php';
}

2. Refresh sitemap.xml to find that it can be used

Uninstall JDK and run Java – version with error

Uninstall JDK and run Java – version with error

Error: could not open `F:\environment\JDK8\JDK8Install\lib\amd64\jvm.cfg’

Reason: except deleting Java_ Except for the home variable, the JDK cache file of the previous version was not deleted completely,

Solution: delete the Java \ javapath variable and the three exe cache files in this directory

Sqlyog connection error: error number 2058

Sqlyog connection error: error number 2058

MySQL version: 8.0.21sqlyog configuration new connection error, error number 2058

resolvent

Open CMD as an administrator and log in to your MySQL database: MySQL - U root - P execute this statement according to your situation: alter user 'root' @'localhost 'identified with MySQL_ native_ Password by 'password to modify' after running successfully, reconfigure the connection to sqlyog to succeed