Author Archives: Robins

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

Beeline connection hive2 reports an error permission denied

Error message:

Error: Could not open client transport with JDBC Uri: jdbc:hive2://localhost:10000:
Failed to open new session: 
java.lang.RuntimeException: 
org.apache.hadoop.security.AccessControlException: 
Permission denied: user=anonymous, access=EXECUTE   , inode="/tmp":root:supergroup:drwx------

After trying to add an account and password to hive, it is found that the problem is stored in the last sentence. I am anonymous and the read-write permission of/tmp directory is drwx——

The first character: - indicates that this is a file, d indicates that this is a folder, | indicates that this is a connection file
is divided into three characters in a group
the first three: that is, RWX indicates owner permissions
the middle three: --- user permissions in the same group
the last three: --- other user permissions

permission

represents

value

binary

specific role

R

read

4

00000100

the current user can read the file content and browse the directory

W

write write

2

00000010

the current user can add or modify file contents, and the current user can delete or move directories or files in directories

x

execute

1

00000001

the current user can execute files and enter the directory

Aka, my root account is accessing hive2, so I belong to other user permissions, so I was rejected
solution:

Change the access permission of this file/file directory in the HDFS file system and relax it. The syntax of changing permissions is similar to that of Linux
HDFS DFS - Chmod - R 777/tmp log in with the account password of HDFS

Lamdba in the studio part reports an error. Observe lamdba reports an error but can run

Question:

Ordinary lamdba can be used, such as view. Setonclicklistener {}

Some lamdbas are popular but can run, such as livedata. Observe() {}

solve:

It’s not because the Java version is backward. I updated the kotlin plug-in to solve this problem

Studio even pops up a warning pop-up window of “plug-in needs to be updated” in the lower right corner, but I ignore it everyday… Try to update the Java version and still can’t solve it before you notice it

Error in react build packaging test environment

#NPM run build: test or yarn build: Test

        

Dotenv cli needs to be installed before use( https://github.com/entropitor/dotenv-cli )Otherwise, the following error will be reported:

dotenv -e .env.development craco build

'dotenv' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build:test: `dotenv -e .env.development craco build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build:test script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\node\node_cache\_logs\2021-09-01T02_25_42_552Z-debug.log

 

To install global dotenv cli:

Execute command:   yarn global add dotenv-cli           perhaps         npm   install -g   dotenv-cli  

Installation complete:

Execute again as shown in the figure:

Packaging complete  

Xcode12 error in compiling cocos2d [How to Solve]

Using xcode12 to build the cocos2d 3.17 project has the following similar problems:

the linked framework is missing one or more architectures required by this target arm64

The reason: because V8 does not support 32-bit CPU, that is, it does not support armv7. If you do not need to support 32-bit devices, you can directly remove the compilation of armv7

Amend as follows:

 

  Basically, the above four modifications can solve the project running in the debug mode. It has not been tried on the real machine for the time being. It should also directly modify the configuration in the release.

There will be some minor problems after modifying the above:

1.Argument value 10880 is outside the valid range [0, 255]

Amend as follows:

Need to

#define BT_ SHUFFLE(x,y,z,w) ((w)<& lt; 6 | (z)<& lt; 4 | (y)<& lt; 2 | (x))

Change to

#define BT_ SHUFFLE(x, y, z, w) (((w) <& lt; 6 | (z) <& lt; 4 | (y) <& lt; 2 | (x)) & 0xff)

2.The application’s Info.plist does not contain CFBundleShortVersionString.

Modify as follows: add cfbundleshortversion in info.plist

Ubuntu Reportno moulde named tkinter

In the Ubuntu system, an error is reported by using Python Tkinter:
no mount named Tkinter
the following error appears after changing the code file to Tkinter

using sudo apt to install Python TK
in fact, a solution has been prompted in the error report, so you should read the tips carefully