![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: Error in histsumry.dxl (a kitchen routine) Topic Summary: Created On: 16-Jan-2006 09:00 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
Hi all, I came accross the kitchen suite of routines and I think my users could benefit from it's installation, however I've come accross the following error when running histsumry.dxl (History Summary). Can a dxl expert out there give me a hint as to why it's failing? Many thanks! Bob |
|
![]() |
|
![]() |
|
my mistake, the dxl offending routine is histexpl.dxl
|
|
![]() |
|
![]() |
|
The problem is with the call to foundOpen(), defined in kitchen/utensils/modules.inc.
If the first parameter is not a valid module name, you get a DXL error. protect the call to foundOpen as follows: if (exists(module mName)) { if (foundOpen(mName, m)) { // do something } } else { print("not a valid module: " mName) } ------------------------- Tony Goodman http://www.smartdxl.com |
|
![]() |
|
![]() |
|
Thanks Tony,
I did have a go at tracing the code and it seems that the error is caused by the app trying to pass the name of a folder that exists inside the project. |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
Error in histsumry.dxl (a kitchen routine)
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.