Common Errors/en: Unterschied zwischen den Versionen
Cg (Diskussion | Beiträge) |
Cg (Diskussion | Beiträge) |
||
Zeile 2: | Zeile 2: | ||
and provides advice on how to fixit. |
and provides advice on how to fixit. |
||
It is incomplete and does not cover all possible errors. |
It is incomplete and does not cover all possible errors. |
||
=== Project Load/Save Errors === |
|||
===== You are about to save the suite under another name... ===== |
|||
This warning and confirmation dialog is shown when you save a suite under another name; |
|||
it tries to prevent a common error situation, in which two test suites or import libraries |
|||
have the same functionID (unique identifier) and are therefore considered to be different versions of the same suite, |
|||
although they should really be treated as two different suites. |
|||
Be reminded, that expecco associates a so called "function identifier" with every suite or library, and uses this to check for newer versions when (re-) importing. This allows for expecco to find matching elements and automatically find and replace newer versions during the reimport operation (independent, especially of an action's name, number of pins, types etc.). |
|||
However, if you actually intent to create a new suite or library, but want to use the current one to start with (i.e. as template), the above interpretation should be prevented and the suite should be given a new functionID first. |
|||
=== Editor Errors === |
=== Editor Errors === |
Version vom 7. August 2017, 08:07 Uhr
The following list tries to summarize the most common error situations and provides advice on how to fixit. It is incomplete and does not cover all possible errors.
Inhaltsverzeichnis
Project Load/Save Errors[Bearbeiten]
You are about to save the suite under another name...[Bearbeiten]
This warning and confirmation dialog is shown when you save a suite under another name; it tries to prevent a common error situation, in which two test suites or import libraries have the same functionID (unique identifier) and are therefore considered to be different versions of the same suite, although they should really be treated as two different suites.
Be reminded, that expecco associates a so called "function identifier" with every suite or library, and uses this to check for newer versions when (re-) importing. This allows for expecco to find matching elements and automatically find and replace newer versions during the reimport operation (independent, especially of an action's name, number of pins, types etc.).
However, if you actually intent to create a new suite or library, but want to use the current one to start with (i.e. as template), the above interpretation should be prevented and the suite should be given a new functionID first.
Editor Errors[Bearbeiten]
Execution Errors[Bearbeiten]
Cannot find or load dll/module: "..."[Bearbeiten]
Happens when a DLL-action block could not load its underlying dll.
Go to the "Extras" - "Settings" - "Project Management" - "DLL Mappings" dialog and make sure that the folder in which your dll is located is listed in the DLL-Path list. If not, enter it, click on the "Add" button and save your settings.
Notice that the DLL-path setting is NOT stored inside the test suite, but instead a per-user/per machine setting which is stored in your ".expeccoSettings" file.
If the error is persistent, ensure that:
- the dll is readable (i.e. check the access rights)
- the dll is for the same OS+CPU architecture (especially check for 32bit vs. 64bit compatibility; also be reminded that windows dlls are not compatible with linux and vice versa).
- any other dlls required by the dll (i.e. second level dependencies) are also found along you path (windows) or LD_LIBRARY_PATH (unix/linux). Check this using an appropriate command line tool (ldd or similar tools)
[Bearbeiten]
A function (as specified in a DLL call action) was not found in the DLL (although a DLL by that name was found and has been loaded). Check for a mistyped function name in your DLL-call action, correct export definitions (windows ".def" files), up-to-date library (recompile/relink) and wrong path settings (loading the wrong dll).