Category Archives: How to Fix

Unit error assertion failed on expression

       
       

       
The

error occurs when you write to an editor, such as the log redirection described earlier, and occurs when you double-click.

problem is solved by locating the specific code, and then delaying the execution of this line of code. The delay time is when the editor GUI is updated, there is a corresponding callback in unity, and the code can be executed by putting it in the callback. For example, the log redirection corresponds to the following change:

EditorApplication.delayCall = delegate(){ AssetDatabase.OpenAsset(obj, line); };
  
  • 1

NIOS II – Eclipse – ERROR – ” DownLoad elf failed ” – Verify failed between address ….

error “DownLoad elf failed” ; The error point

is finally located

Verify failed between address 0x1000000 and 0x100A3CF

through QSYS positioning is SDRAM problem, but the program was debugging yesterday, why is there an error?

change the SDRAM connection, recompile without

confirm SDRAM pin definition again, no error, continue running without result.

remove yesterday’s new interface, no result…

no way to open the downloaded file the day before yesterday, open Quartus, direct Programmer, after passing, open Eclipse debug, success

does it need to be reactivated?Or does it have to do with the order in which the software is run?

Verify failed between address … The view has been noted

reproduced in: http://www.cnblogs.com/kongqiweiliang/p/3274226.html

nios Project: ‘m.e. ELF Process failed’ Error Running in the Process of RUN after compilation and completion of the Project cause:

1, nios2 CPU datamaster is not connected to on chinp ram, so the program cannot be downloaded on the system ram.

2. When loading SDRAM module, attention should be paid to the accuracy of its parameters, otherwise the data bus data transmission will also be affected, resulting in this problem.

3, also, in the construction of the project to choose soft core. Sopcinfo file to pay attention to the path, the general nios ii new project default last project. Sopcinfo file, it is very easy to select the file, leading to run failure.

4. There may be a problem between the sdram clock and the CPU clock.

5, PLL problem, reconfigure PLL. Turn off the Nios II IDE and recompile.

Altea

Title: Error Running Nios II Project: ‘Downloading ELF Process failed’

Description:

If the Nios II processor’s CPU. Data_master port is not connected to all program memories (memories to which the. Elf file is the downloaded) the software project fails to run on Nios II hardware.

Failure to connect cpu.data_master to all program memories is a design error that the Nios II SBT does not detect.

Workaround/Fix: Connect CPU. Data_master to all program memories.

2. Another question, does systemID cause the above problem when 0 is the default?

answer: no effect.


3, in Nios II, Verify failed between address 0xxxx and 0xxxx error:

Verifying 000xxxxx (0%) Verify failed between address 0xxxxxx and 0xxxxxx Leaving target processor paused forums and networks to ask this question is also a common problem for new players, let me just summarize it:

a. The first step is to determine what device is wrong based on the two addresses following the address. In general, most of the errors are in memory. The method is to look for the wrong device based on the address in SOPC or the address in system.h.

b. check whether the hardware welding is normal. Most of the time, some problems are caused by hardware welding. This is mainly for the boards welded by ourselves. Once there are any welding problems in the address data bus, the Verify Failed error will appear.
c. check if componet in sopc is normal. If you are adding your own interface logic, this section checks to see if it is normal or not.

d. check the design in Quartus: check whether the pin lock is correct, must correspond one to one, there must be no one error; Address alignment problem: pin
to 8, 16, 32 bits of external memory, corresponding address the lowest level should be 0, 1, 2. That is, if you use a 16-bit external storage for
, then the lowest bit is ADD[1], and ADD[0] is not used, otherwise. The data bus must be a bidirectional IO port, which is easy to ignore
. If it is SDRAM, you need to calculate and set the phase shift of PLL.

e. Nios IDE to check whether the project design is correct.

many of these questions reflect the timing of SDRAM, but what exactly is the problem?It is estimated that every netizen will encounter different situations. I just hope that I can finally find the answer to the complete question

transfer: https://www.cnblogs.com/hclmcu/archive/2010/07/12/1775855.html

hclmcu user proposed such an error experience:

is my own experience, is. BDF file symbol when using “Generat Pins for symbol Ports” to automatically generate Pins, the generated Pins appear to be connected to the symbol, but in fact there is no, just manually connect Ports to Pins, the problem will be solved.

I do not understand the operation, can not give the answer, can only record here

Command line access to passive mode FTP server failed, 425 failed to establish connection

premise: an FTP server has been set up on ali cloud (CentOs8.1 system), and the FTP server has also been set to passive mode

open Windows command window, type FTP, use FTP related instructions to connect to the FTP server, found that the connection can be successful, but when using ‘ls’ or’ dir ‘command times the following error:

200 PORT command successful. Consider using PASV.

425 Failed to establish connection

you can see that there is a saying on the Internet that you can type quote PASV, but if you test it it doesn’t use

, right

see stackoverflow there is a post, said Windows command line FTP. Exe does not support passive mode access FTP, if you must use passive mode access, or use other passive mode FTP client, such as WinSCP FTP client

reference articles: https://stackoverflow.com/questions/19516263/200-port-command-successful-consider-using-pasv-425-failed-to-establish-connec 】 【

Developing in Android java.net.SocketException : socket failed: eacces (permission denied) reported an error

in the android development java.net.SocketException: socket failed: EACCES (Permission denied) error

knowledge point:

1, SocketException network operation error;

2. Solutions; (turned out to be a single user to close our app networking permissions, now new android system can be set for a permission)

today I met a user feedback, is that the problem encountered, click login, but unable to login, but prompt java.net.SocketException: socket failed: EACCES (Permission denied) this information. The first reaction is lack of network access, and then hurriedly check whether to join the network access.

adds

to the androidmanifest

<uses-permission android:name=“android.permission.INTERNET”/>

However, I already wrote it in the program. It’s rare to write an Android app project that doesn’t connect to the Internet, so this should be included in the first place. So, this problem is eliminated. However, I found a lot of information, but did not find a suitable description and solution. It can’t be me.

so here are some of the possible reasons I’m looking for.

but I don’t have the user’s phone, otherwise the log error will be clear. Now you have to ask the user to download the app again. And then it’s OK. This is a real pain in the ass.

There’s a new possible issue: users have disabled your app’s access to the network. Notice that it’s a single block. So give your application access to the Internet based on the system.

For example, the operation of xiaomi mobile phone is: find the “security center” app, enter, and then see the “network assistant”, enter, and then click “network control”, find the corresponding app, check whether the corresponding “data” and “WLAN” options are hooked.

or

Java file network operation, add the following code

StrictMode.setThreadPolicy(new StrictMode.ThreadPolicy.Builder().detectDiskReads().detectDiskWrites().detectNetwork().penaltyLog().build());

reason:

is most likely because the code for the possible network operation was written in the UI thread, which has not been allowed since android 4.0. Because network operations are done in the UI thread, if the network is bad then the whole program is easy to ANR. So android4.0 will have to open a new thread for code that wants to operate on the network.

or

network permissions are written like this:

<uses-permission android:name=“android.permission.INTERNET"/>

instead of writing

<permission  android:name=“android.permission.INTERNET"></permission>

or

important – the uses-permission tag needs to be before the application tag in the manifest file. thats what fixed it for me at least.

outside the wall say: permissions to be in < application> Only when the tag is introduced can it work. (but I write that all the time, no problem) — get rid of

or

after you restart the ide, you can run the code normally again.

total reason:

lack of permissions?

permission error?

network operation in UI thread?

port occupation caused?

android version issues?

development tool problem?Restart and recompile

Svn: a solution to the error of cleanup failed to process the following paths

a TortoiseSVN error occurred today when we were updating the code with TortoiseSVN, and

was prompted with clean up

TortoiseSVN

Cleanup failed to process the following paths:
D:\work\ SVN
failed to run the WC DB work queue associated with ‘D:\work\ system’, work item
60025(file-install
SRC /…/MapController. Java)
can’t open the file “D: \ work \ SVN SVN, pristine, a1 \ a1e5e1ad14bb3725ada717d19301a41e987a2802 SVN – base” :
the system cannot find the specified file.

let’s see how we can solve this problem:

1. In the sqlite download sqlite’s official website (https://www.sqlite.org/download.html) – tools – win32 – x86-3310100. Zip (resource) I will put behind

download open as shown in the figure below:

2. Copy the sqlite3. Exe file to the directory with the same sibling of wc.db under. SVN, as shown in the figure below:

3. Enter CMD in the address bar, press enter

to bring up the command line window, enter sqlite3 wc.db, and then press enter. Then execute delete from work_queue;

4.

if this blog is working for you, click “like” and go.

The action ‘install’ for product ‘MySQL server 5.7.19’ failed

An error occured when installing mysql service today,

The action ‘Install’ for product ‘MySQL Server 5.7.19’ failed.

attempted to uninstall the file, it was useless to reinstall, finally found a solution:

32 Visual C++ Redistributable Packages for Visual Studio 2013!! 32 bit . Even if your computer is 64 bit


installation site: https://www.microsoft.com/zh-cn/download/details.aspx?id=40784

although do not know why, but the problem has been solved, mysql service installed successfully.

MySQL installation: http://jingyan.baidu.com/article/cd4c2979033a17756f6e6047.html

reproduced from http://blog.csdn.net/JINsweet/article/details/78110835?locationNum=5

Genymotion runs the arm program, install failed no matching ABIS failed to extract native libraries res = – 113

Genymotion is not supported by arm library, resulting in an error when running an app that calls so library:, install failed no matching abis failed to extract native libraries res = -113. Online to find the solution for many, finally found that requires a file, pulled apart, and version can’t too low https://pan.baidu.com/s/1jJRueYa (here 5.1.1 versions of the note with their corresponding versions of the virtual machine)

There’s another solution to

:

splits {
    abi {
        enable true
        reset()
        include 'x86', 'armeabi-v7a','x86_64'
        universalApk true
    }
}

but I don’t understand this code, and this is a machine problem, don’t use code to solve, so I use the first method

another way is to use real machine debugging

R:Error : .onLoad failed in loadNamespace() for ‘rJava’, details: call: dyn.load(file, DLLpa

R: unable to load the Shared object object ‘/ usr/lib64/R/library/rJava/libs/rJava. So

problem description:

when installing mailR package on R today, this error occurred

. After searching and finding, I tried to install a wave of rJava, but failed. The following error occurred:
can be found through this prompt message: R wants us to make sure that the JAVA in our environment is installed correctly (JAVA has been installed correctly in my environment)
if in doubt, use the Root account to run R CMD javareconf
then I run the R CMD javareconf

you can see the prompt message at the bottom: done.
after seeing this, I went into the R environment again, reinstalled the mailR package, and finally succeeded.

GitHub desktop upload file error commit failed – exit code 1 received

colleague handover Java project, want to upload to GitHub

USES GitHub DeskTop to clone the warehouse to local

ready to upload file, popup error report Commit failed – exit code 1 received

after I learned that this project may exist on GitHub before, the. Git file in the project needs to be deleted

.git is a hidden file. Windows sets to display the hidden file in view attribute. Mac can see

directly in access

delete it, note here that there is a. Git, do not delete this, to delete the project exists. Git [has been tested]

but after I deleted it, GitHub DeskTop was unable to detect the uploaded project

remove the project repository, reintroduce the project, remove.git, and list all options in your file

these project files uploaded to GitHub, will automatically organize the folder, do not worry, smooth upload.