Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic DOORS (steve huntington)
Decrease font size
Increase font size
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
Search Topic Search Topic
Topic Tools Topic Tools
Quick Reply Quick Reply
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 16-Jan-2006 09:00
User is offline View Users Profile Print this message


Bob Greaves

Posts: 16
Joined: 15-Aug-2005

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).
It's at times like this that I wish dxl had some debugging tools.

Can a dxl expert out there give me a hint as to why it's failing?

Many thanks!

Bob

Report this to a Moderator Report this to a Moderator
 16-Jan-2006 11:22
User is offline View Users Profile Print this message


Bob Greaves

Posts: 16
Joined: 15-Aug-2005

my mistake, the dxl offending routine is histexpl.dxl
Report this to a Moderator Report this to a Moderator
 16-Jan-2006 14:06
User is offline View Users Profile Print this message


Tony Goodman

Posts: 1098
Joined: 12-Sep-2002

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
Report this to a Moderator Report this to a Moderator
 16-Jan-2006 14:22
User is offline View Users Profile Print this message


Bob Greaves

Posts: 16
Joined: 15-Aug-2005

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.







Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 1 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 16:36.
There are currently 0 guests browsing this forum, which makes a total of 1 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.