An error was reported during compilation when running the ReactNative project
Error watching file for changes: EMFILE
Fault cause:
Watchman is no longer available after upgrading. You need to reinstall watchman.
Solution
The first solution is to open the terminal and type the following commands in turn:
1. Uninstall the original installed Watchman:
brew uninstall --force watchman
2. Delete the original installation file: rm – rf/usr/local/var/run/watchman /
3. Reinstall watchman:
brew install watchman
brew install watchman
If the BREW command is prompted to report an error, please reinstall BREW, for specific reference
ReactNative environment configuration
Synergy Protocol error from Server & & Dual-system Shared mouse and keyboard scheme
Synergy profile configuration Sever end: Windows Client end
conclusion
Introduction of Synergy
Synergy is a free cross-platform, cross-system Shared mouse and keyboard software. Although it is generally good for the Server side version to be higher than the Client version, it is generally maintained to be the same version with 32 or 64 bit Ubuntu installation: sudo apt install synergy (general version number is 1.6.2) Windows installation: link: synergy abstract code: asnq thank you for sharing!
configuration
Sever end: remember IP and fill in the Windows client later
Windows client side fill in IP points and Start is OK. is not easy, however, I have encountered a problem, that is, Protocol error from Server…
>
>
Resetting (or lifting) the password should allow successful connections So Here I am in Edit-> Settings: Uncheck Encryption Enable, and finally OK.
conclusion
Synergy works really well, especially when you have two screens, so there’s no delay in moving around and switching between them, just like on a computer with two screens.
Syntax error, insert ‘} ‘to complete ClassBody Syntax error, insert’} ‘to complete ClassBody
I copied the content of other Java, did not check the syntax error, also did not miss}, and then delete the} and input, delete part of the code with re-copy, found that the problem can not be solved, I found a lot of tutorials on the Internet are re-typing
*** tried many times, finally found the syntax error, less}, find every {match in the code, see which one is missing. in class a1, the main method has no corresponding} [picture archived failure outside the chain, the source station might be hotlinking prevention mechanism, proposed to directly upload picture preserved (img – BpYsIwiG – 1573912308800) (* https://img-blog.csdnimg.cn/20191116174957829.png)]
The Object returned error code of “MATLAB error” xlswrite function: 0x800A03EC
(the 2013-07-27 09:43:29)
The reproduced ▼
The
tags: xlswrite it td>
categories: matlab td> tr> tbody> table>
When using xlswrite in matlab to write data into Excel documents, an Error was sometimes reported: Excel returns: Error: Object returns Error code: 0x800A03EC.
Case 1:
There are many reasons for this error: the most common is when the user writes more data to Excel than Excel can accommodate. The working interval for Excel2003 was 65,536 rows and 256 columns. In Excel2010, the working range was increased to 16,384 columns in 1,048,576 rows.
So in the event of this error,
When you try to write an Excel document first, name the document as an extension from 2007 onwards (.xlsx), not as an extension from 03 (.xls). But if the amount of data exceeds the size of Excel2010, you can only split the data into different Excel files.
Resources: Excel2010 specification
Excel specifications and limits
Situation 2:
This error also occurs if the Excel table name has a colon (:) in the sheetname. For example, use the following statement:
xlswrite(‘test.xlsx’,0, ‘Sheet1:Sheet2’, ‘A1’);
Cause of error: an invalid parameter is introduced to the fourth line “range” of Xlswrite. Xlswrite only supports the use of “A1” of Excel within a specified range.
If you do need to store data in different Sheets in Excel, you can take the form of a loop, where num2str can convert numeric types to string types. WBR> example:
For I = 1:3
xlswrite(‘test.xls’,1,[‘Sheet’ num2str(i)],’A1′);
end
Case 3:
The size of a single piece of data that a user can store is beyond what Excel can accept if you try
If you write a string greater than 1024 characters in an Excel cell, an error will occur. You can try that too
Name the document as an extension from 2007 onwards (.xlsx), not as a version 03 extension (.xls).
Situation 4:
This error also occurs if the size of the data field entered into the Excel cell is 0×N.
Situation 5:
This error occurs if the stored data begins with the equals sign “=”. Because the way Excel is typed in is theta =
The A1 * A2. So when you store it, it causes an error.
(PS: Situation 4 and 5 are from the network, not verified personally.)
Virtualbox implemented capacity using the modifyhd command: Resize Medium Operation for this Format is not implemented yet
The 10gb virtual disk you created requires more space and you don’t want to use the additional virtual disk method. through checking the data, we found that the VBoxManage modifyhd command provided by VirtulBox can be solved. The specific usage of this command: VBoxManage modifyhd [– type normal|writethrough| shareable>0 readonly>1 multiattach] [– autoreset on>2 off] [– property] [– compact] [– resize>3 — resizebyte]
pengdeMacBook-Air:windows pengchen$ cd VirtualBox\ VMs/windows/
Modify fixed size virtual hard disks to dynamically allocate storage to hard disks:
pengdeMacBook-Air:windows pengchen$ VBoxManage modifyhd windows-disk1.vmdk -type normal
Modify the size of the virtual hard disk to 50G:
C:\Program Files\Oracle\VirtualBox>VBoxManage modifyhd e:\vbox\Ubuntu12.04\Ubuntu1204-201302-disk1.vmdk --resize 30000
0%...
Progress state: VBOX_E_NOT_SUPPORTED
VBoxManage.exe: error: Resize hard disk operation for this format is not implemented yet!
The original virtual machine is in VMDK format, and this command only supports VDI format. What to do find VBoxManager can be used to convert virtual hard disk storage file format
C:\Program Files\Oracle\VirtualBox>VBoxManage clonehd e:\vbox\Ubuntu12.04\Ubuntu1204-201302-disk1.vmdk e:\vbox\Ubuntu12.04\Ubuntu1204-201310-disk1.vdi --format VDI
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Clone hard disk created in format 'VDI'. UUID: 455b7aa4-d776-4254-8353-d9b5b3fa109b
Finally, VBoxManager is used to set the expansion capacity of the transferred VDI file
I didn’t report that mistake
Note: after opening the virtual machine, the actual disk size has not changed. At this time, you need to use the disk management tool to expand your partition size.
From above: https://blog.csdn.net/weiguang1017/article/details/52252448?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-4& Depth_1 -utm_source=distribute. Pc_relevant. None-task-blog-blogcommendfrombaidu -4 my action pictures
We ran ggplot in R and Error in.call.graphics (C_palette2,.call (C_palette2, NULL)) : invalid graphics State prompt:
Just execute the dev.off() command and reexecute the ggplot command
Recently wrote AAAI article, downloaded its template, but the pain is that it always gives an error, plus the references are always wrong:
As follows:
! pdfTeX error (ext4): \pdfendlink ended up in different nesting level than \pd
fstartlink.
\AtBegShi@Output … ipout \box \AtBeginShipoutBox
\fi \fi
l.119 \begin{equation}
! ==> Fatal error occurred, no output PDF file produced!
Transcript written on “Sample Mining AAAI 2017 — V3.log”.
Recently, I finally found out the reason, because it is better not to use hyperlink symbol macro package in this template, could it be incompatible??
You can see that I originally used the macro package \usepackage{hyperref}…
Now comment it out and see if it’s still an error?
You can see, well, that’s the reason…
Do not use this hyperlinked macro package on AAAI templates… Just..
Msg 229, Level 14, State 5, Procedure SP_send_dbmail, Line 1, EXECUTE Permission denied on Object ‘sp_send_dbmail’, Database ‘MSDB ‘, Schema’ dbO ‘.
This is because the current SQL Server login account (login) does not have permission to send database mail in the MSDB database, so you need to join the MSDB database user and give permission by joining the SP_addrolemEMBER role.
Assume that the SQL Server login account name is “DBA”
use msdb
The go
create user dba for login dba
go
Exec dbo.sp_addrolemember @rolename = ‘DatabaseMailUserRole’,
@ membername = ‘dbas’
go
At this point, if you send the database mail again, you may still have an error:
Msg 14607, Level 16, State 1, Procedure sp_send_dbmail, Line 119
profile name is not valid
Although the database user “DBA” already has permission to send messages in MSDB, this is not enough; he also needs permission to use profile: “dba_profile”.
use msdb
go
Exec sysmail_add_principalprofile_sp@principal_name = ‘DBA’
, @ profile_name = ‘dba_profile’
@ is_default = 1
This allows you to call Database Mail to send messages using your new account.
Question:
Unable to connect to MKS: internal error when opening the window, we managed to log in to the vCenter Server using the VSphere Client to operate the virtual machine on the host. However, when logging in to the ESXi host using the VSphere Client, we were Unable to open the window of the virtual machine.
Problem Solving:
1. Check whether port 902 on the Client host is occupied, and release if occupied.
The port is not occupied
2. Turn on the SSH function of ESXi host and log in to ESXi.
3. Execute service mgmt-vmware restart
Note: Some people may execute this command after the service may appear is not recognized command, some people may not find this MGMT-VMware service, this time can try the following method.
4. Vi/etc/vmwaer/config
Add a
Vmauthd. Server. AlwaysProxy = “TRUE”
Test whether the service is available, do not restart the ESXi host, and then try again.
All the above methods are not good, then reinstall the vCenter Server! Good luck.
I copied a relatively simple code from the Internet, and encountered the following problems when compiling:
Test_getopt.c :9:35: error: stray ‘\342’ in program . C :9:35: error: stray ‘\200’ in program . C :9:35: error: stray ‘\235’ in program test_getopt.c:12:3: error: Stray ‘\342’ in program test_getopt.c:12:3: error: stray ‘\200’ in program test_getopt.c:12:3: error: stray ‘\230’ in program test_getopt.c:12:3: error: stray ‘\230’ in program test_getopt.c:12:3: error: Stray ‘\342’ in program test_getopt.c:12:3: error: stray ‘\200’ in program test_getopt.c:12:3: error: stray ‘\231’ in program test_getopt.c:13:4: error: Stray ‘\342’ in program test_getopt. C :13:4: error: stray ‘\200’ in program
Say, the reason for this problem is that the source code exists in Chinese characters, such as “”,, etc., it can be changed!
SQL Error: 17059, SQLState: 99999
Fail to convert to internal representation
The error is that the Hibernate configuration file cannot be converted into information for the corresponding table in the database.
In general, Hibernate field attributes are wrongly written, String type is written as long, number type is written as String and so on, causing the database content cannot be converted to Java class.