$UDE in IDF and crash | Uniface 9 | Forum

Avatar

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

—  Results per page  —








— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters
For a group of consecutive words like 'end of support' use Match phrase

sp_Feed Topic RSS sp_TopicIcon
$UDE in IDF and crash
12 Apr 2018
1:50 pm
Avatar
istiller
Member
Forum Posts: 233
Member Since:
01 Oct 2012
sp_UserOfflineSmall Offline

Hi freaks

I do some $UDE(“compile”,…)  in a simple form.
After $UDE it seems all okay, but a few statments later, UnifAce will crash. Either on calling an ENTRY or leaving an ENTRY
This happens only, when starting this form direct in the IDF.
Running this form from additional menu works.

Does anyone has/knows a similare behavior?
And on the other hand, what “clean up” happens after additional menu to prevent the crash?
@UnifAce:Maybe you can gives us a hint, what to do after $UDE to clean up the environment Wink

Ingo

12 Apr 2018
2:34 pm
Avatar
istiller
Member
Forum Posts: 233
Member Since:
01 Oct 2012
sp_UserOfflineSmall Offline

BTW:

$procReturnContext should contain a sublist with all “messages” incl. infos, warnings and errors

Message frame after compiling:
“Compile Form: ‘LPER1503’
Form: LPER1503
Phase 2: Model definitions
Phase 3: Prep. structure
Phase 4: Form definitions
Phase 5: Background text
Phase 6: Component variables
Phase 7: Procs compilation
Phase 8: Structure tables
Phase 9: Descriptor
Phase 10: Save form
Compilation done: [info 2, warnings 1, errors 0]”

$procReturnContext
“Context=UDE compile·;InputComponents=1·;OutputComponents=1”

If there are errors, I got DETAILS

Very strange … Confused

Ingo

12 Apr 2018
3:21 pm
Avatar
diseli
Admin
Forum Posts: 927
Member Since:
01 Oct 2012
sp_UserOfflineSmall Offline

istiller said

BTW:

$procReturnContext should contain a sublist with all “messages” incl. infos, warnings and errors

Message frame after compiling:
“Compile Form: ‘LPER1503’
Form: LPER1503
Phase 2: Model definitions
Phase 3: Prep. structure
Phase 4: Form definitions
Phase 5: Background text
Phase 6: Component variables
Phase 7: Procs compilation
Phase 8: Structure tables
Phase 9: Descriptor
Phase 10: Save form
Compilation done: [info 2, warnings 1, errors 0]”

$procReturnContext
“Context=UDE compile·;InputComponents=1·;OutputComponents=1”

If there are errors, I got DETAILS

Very strange … Confused

Ingo  

You need to enable the information and warnings when compiling. By default only the errors are logged. Here’s some info about how to use the compile sub-switches with $ude:

> $ude(“Compile”): using compile sub switches

Hope this helps.

Daniel

16 Apr 2018
8:14 am
Avatar
istiller
Member
Forum Posts: 233
Member Since:
01 Oct 2012
sp_UserOfflineSmall Offline

diseli said

You need to enable the information and warnings when compiling. By default only the errors are logged. Here’s some info about how to use the compile sub-switches with $ude:

> $ude(“Compile”): using compile sub switches

Hope this helps.

Daniel  

Mercy Daniel

16 Apr 2018
8:29 am
Avatar
istiller
Member
Forum Posts: 233
Member Since:
01 Oct 2012
sp_UserOfflineSmall Offline

diseli said

You need to enable the information and warnings when compiling. By default only the errors are logged. Here’s some info about how to use the compile sub-switches with $ude:

> $ude(“Compile”): using compile sub switches

Hope this helps.

Daniel  

 As Mark mentions
 a) the description for setting of messagelevel are wrong:
     Correct is:
       0 gives you all information(Info,warning,error)
       1 only warnings and errros
       2 only errors
 b) warning 1000 “Field xyz not found” will not be in the the DETAILS

BTW: Exactly for “Field not found” I m searching in all components. So $UDE is not the solutionFrown

Ingo

18 Apr 2018
7:16 am
Avatar
istiller
Member
Forum Posts: 233
Member Since:
01 Oct 2012
sp_UserOfflineSmall Offline
Strange UIL in $item("DETAILS",$procreturncontext) Confused
SEVERITY=Warning·!·;ID=1076·!·;MESSAGE=Path to painted entity VER1150A.FAV_DATENBASIS not found.·;
SEVERITY=Warning·!·;ID=1076·!·;MESSAGE=Path to painted entity VER1150A.FAV_DATENBASIS not found.·;
SEVERITY=Warning·!·;ID=1076·!·;MESSAGE=Path to painted entity STATUS_ZEILE.FAV_DATENBASIS not found.·;
SEVERITY=Warning·!·;ID=1076·!·;MESSAGE=Path to painted entity STATUS_ZEILE.FAV_DATENBASIS not found.·;
SEVERITY=Error·!·;ID=1112·!·;MESSAGE=Total Proc compile errors: 1.·;
SEVERITY=Error·!·;ID=1112·!·;MESSAGE=Total Proc compile errors: 1.·;
SEVERITY=Info·!·;ID=1301·!·;MESSAGE=Component variable "STATUS" is not referenced in the component.

Most of the messages are listed double.
And there is no item about the error, but two times the hint, that there are errors

23 Apr 2018
2:49 pm
Avatar
diseli
Admin
Forum Posts: 927
Member Since:
01 Oct 2012
sp_UserOfflineSmall Offline

istiller said

Strange UIL in $item("DETAILS",$procreturncontext) Confused
SEVERITY=Warning·!·;ID=1076·!·;MESSAGE=Path to painted entity VER1150A.FAV_DATENBASIS not found.·;
SEVERITY=Warning·!·;ID=1076·!·;MESSAGE=Path to painted entity VER1150A.FAV_DATENBASIS not found.·;
SEVERITY=Warning·!·;ID=1076·!·;MESSAGE=Path to painted entity STATUS_ZEILE.FAV_DATENBASIS not found.·;
SEVERITY=Warning·!·;ID=1076·!·;MESSAGE=Path to painted entity STATUS_ZEILE.FAV_DATENBASIS not found.·;
SEVERITY=Error·!·;ID=1112·!·;MESSAGE=Total Proc compile errors: 1.·;
SEVERITY=Error·!·;ID=1112·!·;MESSAGE=Total Proc compile errors: 1.·;
SEVERITY=Info·!·;ID=1301·!·;MESSAGE=Component variable "STATUS" is not referenced in the component.

Most of the messages are listed double.

The described problem already was recognized as Issue 31206 ($UDE compile returns double amount of warnings, errors, and infos). This issue is until now unresolved. Sorry.

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 131

Currently Online: Arjen van Vliet
11 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

ulrich-merkel: 1756

Iain Sharp: 644

Theo Neeskens: 353

gianni: 297

rogerw: 249

istiller: 233

lalitpct: 197

Knut: 190

Arjen van Vliet: 175

sochaz: 173

Member Stats:

Guest Posters: 3

Members: 8180

Moderators: 0

Admins: 8

Forum Stats:

Groups: 1

Forums: 62

Topics: 2147

Posts: 9289

Newest Members:

Coironquife, acshvwtrf, Agalasquife, HujloS, Brajindquife, kathrinezy1, Balakquife, StevenZoosy, MiguelBeade, Jamesaccop

Administrators: admin: 23, Adrian Gosbell: 302, diseli: 927, Bob Maier: 3, Nico Peereboom: 74, Michael Rabone: 4, richiet: 406, JanCees: 28