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: WEXP - Inserted views
Topic Summary:
Created On: 3-Mar-2005 08:10
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.
Answer This question was answered by Andreas Kraus, on Thursday, March 3, 2005 12:36 PM

Answer:
OK, Jeremy has checked it and it was really a bug...

I've attached the updated file you have to insert in "doors/lib/dxl/addins/wexp/include".
 3-Mar-2005 08:10
User is offline View Users Profile Print this message


Andreas Kraus

Posts: 8
Joined: 27-Jan-2005

Currently I'm trying to use the WEXP function where a complete view of another module is inserted in place of an object as described in the users guide (V 11.4, 5.3.2.3.2). But it doesn't work...

I'm using to modules:
/Root/MyModule1       -   containing a view called "MyView1"
/Root/MyFolder/MyModule2

The export runs from MyModule2 with the following settings (view called "Export View"):

ID          Main Column           WEXP View Name           WEXP Module View          WEXP Export Style
3            someText                MyView1                        MyModule1                      Table

But the WEXP-script doesn't find the view "MyView1" in "MyModule1" in the parent folder. Also trying to give the absolute path in the "WEXP Module View" ("/Root/MyModule1") doesn't work.

WEXP seems to search only in the current module and finds of course no view called "MyView1".

Any ideas? Or do I basically misunderstand the use of inserted views?

Thanks for help...
Thomas Flauger
(thomas.flauger@eads.com)
Report this to a Moderator Report this to a Moderator
 3-Mar-2005 10:19
User is offline View Users Profile Print this message


Antonio Norkus

Posts: 109
Joined: 28-Jun-2003

WEXP Module View = "Module1"

it will work as long as you use the absolute path from the nearest ancestor project. Select Module1 in the DOORS explorer, goto Toos->Edit DXL... and run the following line of DXL:

print fullName(getSelectedItem)

Use the string printed in "WEXP Module View" and it should work.
Report this to a Moderator Report this to a Moderator
 3-Mar-2005 10:46
User is offline View Users Profile Print this message


Andreas Kraus

Posts: 8
Joined: 27-Jan-2005

Thanks Antonio, already tried that. Now the "WEXP Module View" attribute looks like: "/Root/MyModule1" where /Root is a Project folder. But the error message remains: "View 'MyView1' named in attribute 'WEXP View Name' in object '3' does not exist in module'/Root/FOLDER/MyModule2'. Continue exporting?"
Report this to a Moderator Report this to a Moderator
 3-Mar-2005 10:54
User is offline View Users Profile Print this message


Antonio Norkus

Posts: 109
Joined: 28-Jun-2003

I tried your scenario using WEXP v11.0 and it works OK. It may be that there is a bug in v11.4.

I'd advise you to contact Jeremy Dick for advice.
Report this to a Moderator Report this to a Moderator
 3-Mar-2005 11:04
User is offline View Users Profile Print this message


Andreas Kraus

Posts: 8
Joined: 27-Jan-2005

I'm already in contact with Jeremy, but no solution yet. Can you send me your WEXP v11.0 that I can check if that's the problem? Thank Thomas mail: thomas.flauger@eads.com
Report this to a Moderator Report this to a Moderator
 3-Mar-2005 12:35
User is offline View Users Profile Print this message


Andreas Kraus

Posts: 8
Joined: 27-Jan-2005

Answer Answer
OK, Jeremy has checked it and it was really a bug...

I've attached the updated file you have to insert in "doors/lib/dxl/addins/wexp/include".


wexp.inc
wexp.inc  (182 KB)

Report this to a Moderator Report this to a Moderator
 14-Mar-2006 15:51
User is offline View Users Profile Print this message


Rand Methfessel

Posts: 11
Joined: 12-Jan-2006

Could you send me this file too you still have it? I have run into the same problem. The link for the "wexp.inc" attachment leads to a "page not found".
Report this to a Moderator Report this to a Moderator
 1-Nov-2007 11:30
User is offline View Users Profile Print this message


Sjors de Leeuw

Posts: 23
Joined: 18-Apr-2007

Hi

I had the same problem as described in this topic. I downloaded the modified wexp.inc, and tried WEXP.
Unfortunately, when running WEXP I get DXL errors related to an undeclared variable in wexp.inc, named addAttrToBuffer.

Part of DXL Output:

-E- DXL: <../addins/wexp/include/wexp.inc:865> incorrectly concatenated tokens
Included from:
<../addins/wexp/include/wexpload.inc:55>

-E- DXL: <../addins/wexp/include/wexp.inc:865> undeclared variable (addAttrToBuffer)
Included from:
<../addins/wexp/include/wexpload.inc:55>


<...>

Is there a solution for this?

Thanks and advance,
Sjors


Edited: 1-Nov-2007 at 11:43 by Sjors de Leeuw
Report this to a Moderator Report this to a Moderator
 1-Nov-2007 11:30
User is offline View Users Profile Print this message


Sjors de Leeuw

Posts: 23
Joined: 18-Apr-2007

Hi

I had the same problem as described in this topic. I downloaded the modified wexp.inc, and tried WEXP.
Unfortunately, when running WEXP I get DXL errors related to an undeclared variable in wexp.inc, named addAttrToBuffer.

Part of DXL Output:

-E- DXL: <../addins/wexp/include/wexp.inc:865> incorrectly concatenated tokens
Included from:
<../addins/wexp/include/wexpload.inc:55>

-E- DXL: <../addins/wexp/include/wexp.inc:865> undeclared variable (addAttrToBuffer)
Included from:
<../addins/wexp/include/wexpload.inc:55>


<...>

Is there a solution for this?

Thanks and advance,
Sjors


Edited: 1-Nov-2007 at 11:44 by Sjors de Leeuw
Report this to a Moderator Report this to a Moderator
 1-Nov-2007 13:30
User is offline View Users Profile Print this message


Rand Methfessel

Posts: 11
Joined: 12-Jan-2006

This version of WEXP seems to fix the problem for us. We got if from out Telelogic rep.




Report this to a Moderator Report this to a Moderator
 1-Nov-2007 13:53
User is offline View Users Profile Print this message


Sjors de Leeuw

Posts: 23
Joined: 18-Apr-2007

Rand, thank you very very much (also for this swift response). This version of WEXP is working as it should be working!
Report this to a Moderator Report this to a Moderator
 2-Nov-2007 09:40
User is offline View Users Profile Print this message


Sjors de Leeuw

Posts: 23
Joined: 18-Apr-2007

One last question:

in this version, really all include files are encrypted and makes modifications impossible.
There's a bug in a regular expression in wexpinit.inc (see also this thread), whcih I cannot fix now because of the encryption.

Do you have a decrypted version of wexpinit.inc, maybe?

Edited: 2-Nov-2007 at 09:42 by Sjors de Leeuw
Report this to a Moderator Report this to a Moderator
 5-Nov-2007 13:40
User is offline View Users Profile Print this message


Forum Administrator

Posts: 100
Joined: 20-Sep-2004

Sorry Rand, I managed to delete your message and it was unavailable to recover. The original message is below

- though this has resolved the duplicate posting issue
-----------------------------------------
From: Rand Methfessel
Posts: 5
Joined Forum: 12-Jan-2006

Unfortunately no, and we have tried unsuccessfully to get an uncrypted version for some time. We'd like to modify the code to allow us to run WEXP in batch mode without having to fill in any of the dialogs. You wouldn't happen to know how to do that, woudl you? We've also seen that other problem, and the only workaround I've found is to exit DOORS and re-login.

-------------------------
Forum Administrator
Telelogic Product Support

Edited: 5-Nov-2007 at 13:55 by Forum Administrator
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 0 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 0 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.