Category Archives: How to Fix

Error evaluating expression

https://blog.csdn.net/xiuxiuzhuanshu/article/details/78296183

Error information:

Error evaluating expression : 

Source text: deposit receipt

……

Caused by: groovy.lang.MissingPropertyException : no such property: Gold receipt for class: Report_ test_ 1508483943865_ 782998

……

solve:

Using component problems

Originally, it should be a static text, the text is: deposit receipt
uses a text field, and when printing, there is no get method for the “deposit receipt” field in the bean

Error: JMeter monitors Linux system performance java.net.ConnectException : Connection timed out: connect

Question:

JMeter monitors Linux system performance and reports an error:

ERROR: java.net.ConnectException : Connection timed out: connect

reason:

Before the Linux system firewall opened

terms of settlement:

Enter the/usr/bin directory and execute the command/bin/systemctl stop iptables.service Turn off firewall

Problem solving

Note: this method is only for the above problems, other reasons please find other methods, thank you.

 

Error: EBUSY: resource busy or locked

Error: EBUSY: resource busy or locked, LSTAT ‘C:\ swapfile.sys ’。
Here are some effective methods I summarized:

Method 1: delete node_ Module, and then install (NPMI);
method 2: delete node_ Modules, run NPM cache clean or NPM cache clean — force command, and then install;
method 3: upgrade the node version and delete the node_ Modules, and then install it.

Redis cluster error: (error) moved solution

When using redis cli to connect the redis cluster for data operation, an error is reported

./redis-cli -h 192.24.54.1 -p 6379 -a '123456'
192.24.54.1:6379> get name
(error) MOVED 5798 192.24.54.2:6379

resolvent:

This situation is generally caused by not setting the cluster mode when starting redis cli .

When starting, use the - C parameter to start the cluster mode. The command is as follows:

./redis-cli -h 192.24.54.1 -p 6379 -a '123456' -c
192.24.54.1:6379> get name
-> Redirected to slot [5798] located at 192.24.54.2:6379
"yayun"

IAR compilation error [lp011]: Section placement failed

IAR compilation error [lp011]: Section placement failed
unable to allocate space for sections/blocks with a total estimated minimum size of 0x215e bytes (max align 0x1) in & lt; [0x008000-0x009fff] & gt; (total uncommitted space 0x1f80)

IAR compilation error [lp011]: Section placement failed

The error report is as follows:

the solutions are as follows:

Select project – & gt; options – & gt; C/C + + compiler – & gt; optimizations, change the level from low to high, click OK and compile again.

The error disappears:

Solve MySQL error 2002 (HY000)

Error 2002 (HY000): can’t connect to local MySQL server through socket ‘/ var/run/mysqld/ mysqld.sock ’ (2)

When starting mysql, it appears:

because I haven’t used MySQL under Ubuntu for a long time, I thought my password was wrong, and I repeatedly lost it several times. I found that it’s still like this. I also checked the related blogs on the Internet and found that it can’t work. Generally, this kind of error appears on the Internet, which is a bit similar to

In fact, it’s not the same. Pay attention to distinguish the following folders, so go to the configuration file of Mysql to see where the socket folder is, and the configuration file of MySQL is in
/etc/MySQL/ my.cnf In this, cat has a look:

found this sentence remember to edit So when you install mysql, the MySQL Server package is not installed (I don’t know how to get in before, ha ha), so you can install this package

you can also check whether there is this package first

so after installing mysql-server-5.7, you can enter the root password.
A289885427
now my.cnf There is no previous sentence

After matlab2017b is activated, open the error reporting license manager error – 8

When installing, I read the tutorial and said that after activation, I need to crack the dynamic library file under the “crack” folder“ libmwservices.dll ”Replace it with “r2015b/bin/win64” under the installation directory of MATLAB 2015b\ libmwservices.dll ”

But I don’t have it in my crack file libmwservices.dll File… It’s strange that I downloaded the crack file again, but it’s still the same… Maybe it’s a version problem
or not

Finally, a practical method is found in another blog https://blog.csdn.net/m0_ 37638031/article/details/78982498

This blog contains not only the installation package of MATLAB, but also detailed and practical tutorials, especially the last step after activation

The specific steps are as follows:

After activation, copy the netapi32.dll file under the crack file (path as follows: MATLAB r2017b win64 crack/r2017b/bin/win64/netapi32.dll) directly to the installed matlab file (path as follows: C:// program files/Matlab/r2017b/bin/win64).

And then it’s working.

Swift error: abort trap: 6

report errors:

Error: abort trap: 6 when using the third party framework of Gaode map in swift project

resolvent:

In project settings, select build settings – & gt; swift compiler – code generation – & gt; optimization level

Set the optimization level to optimize for size [- osize]

Solution to error: no devices found in ADB command

1: Preface

Recently, the domain name was upgraded. Because the test server is an intranet, the built test domain name cannot be resolved. The hosts file of the mobile phone needs to be modified. An error occurred when using the ADB command to obtain the root permission. Take this as a record.

Equipment: Xiaomi 4C

MIUI is: miui10 development version

The BL lock has been unlocked and the root permission has been obtained, but it is found that the hosts file can not be modified, and the system file lock needs to be unlocked. Therefore, the ADB command is used to unlock the system file lock. It is found that the device cannot be found due to the error. Two solutions are found, which can be tried by the blogger himself. The second solution is used by the blogger.

2: Solutions

The first one is the first one

1. First check who is occupying the port of 5037?Netstat – AON | findstr 5037

2. Kill the process that occupies the port.

3. If you start over, it will work well. However, bloggers are an exception, and still haven’t found the device list…

ADB devices — View devices

Second:

ADB reboot EDL or ADB reboot is OK. After the device is rebooted, it will work again.

3: Conclusion

If you also have this problem, you can try this method. I hope it can help you. If you are also a Xiaomi device and want to unlock or get the highest root permission, you can send a private message to me. I want a tutorial or tool.

I wish you success in your work!

Error: invalid permission for adding an object to repository database

➜  atd git:(b4.232) ✗ git pull
remote: Counting objects: 78, done.
remote: Compressing objects: 100% (77/77), done.
remote: Total 78 (delta 60), reused 0 (delta 0)
error: insufficient permission for adding an object to repository database .git/objects
fatal: failed to write object
fatal: unpack-objects failed

Git error

insufficient permission for adding an object to repository database 

Because the. Git directory of the project has the permission of root,

The solution is to switch to the root super administrator and modify the user of the file as the current computer user

chown -R xxxx: .git

 

An error keyerror255 was reported when pymysql connect to MySQL

Contents of articles

Solutions for error reporting

abstract

Pymysql connect to MySQL reported an error of keyerror255. Recently, I was trapped for more than two months by a difficult problem. If you search this title, you can see that the search engine has provided n ^ 2 articles on solutions. Why do you still trap me for so long?Don’t I know Baidu?NO NO NO!! The biggest problem is that my executive computer and data storage computer are not the same computer!!

Error information

  File "D:\Programfiles\Anaconda3\lib\site-packages\pymysql\connections.py", line 1269, in _get_server_information
    self.server_charset = charset_by_id(lang).name
  File "D:\Programfiles\Anaconda3\lib\site-packages\pymysql\charset.py", line 38, in by_id
    return self._by_id[id]
KeyError: 255

The main reason is that MySQL 8.0 updates many character sets, but these character sets are longer than 255 , so the old version of pymysql does not support characters longer than 255

Online can find a lot of articles to solve this problem, consistent solution, update pymysql

pip install --upgrade pymysql

The following casually put a, interested can see, don't look also doesn't matter, full text summary on a sentence update pymysql, directly execute the above update code, if solve, OK! All is well, you can quit, but you can't solve it. The link article is not meaningful. Let's continue to read my text

Django appears after changing the default database SQLite3 to pymsql Keyerror:255 How to upgrade pymysql

Solution

As mentioned before, my executive computer and data storage computer are not the same computer!!
My own computer is mysql5.7, and the data storage computer version is 8.1
because at the beginning, the company's network security was upgraded to a secondary level, and then the company's intranet VPN was updated once (big exchange, the interface is different),
so at the beginning, I thought it was caused by the network security policy,
after all, all the online updates are pymysql, I'm already up-to-date and can't update any more

In fact, the solution is in a word, too lazy to beat around the bush so many words

uninstall and reload MySQL

yes! You're right! Is the MySQL database to unload, and then re install a version of 8.0 and above

So the main reason is that at the beginning MySQL 8.0 has updated many character sets, but the length of these character sets exceeds 255


Write in the last canvassing session
recently participated in the CSDN official organization of "geek +" original blogger competition
after many screening, finally on the top 50
original is not easy, help cast a free vote
support: Click to vote
thank you!!!