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: Errors from include files when running from command line
Topic Summary:
Created On: 16-May-2007 15:09
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-May-2007 15:09
User is offline View Users Profile Print this message


Scott Boisvert

Posts: 348
Joined: 14-Apr-2006

OK, I have a batch file that I'm trying to run.  The file executes the DXL script just fine.  However, when the script opens up a module I get a number of errors as seen below.  The formal2.dxl script is a copy of the formal.dxl script that is provided with DOORS to create the menus in each module.  I've updated the file and point DOORS to the formal2.dxl instead (retaining the original if I need it later).  Everything works fine and has been for months when logged into DOORS through the client. The script works fine when run through the client, but when I call it from a batch file, I get the following errors when it opens a module, any ideas????:

-E- DXL: <config/colmenu.inc:16> incorrect arguments for function (createItem)
Included from:
        <U:\Smartdeck\Config Management\DOORS\DXL\Module Menu Scripts\DOORS 8.1
Menus\formal2.dxl:14>
        <config/formal:1>
        <Line:1>
-E- DXL: <config/colmenu.inc:16> undeclared variable (alwaysOn)
Included from:
        <U:\Smartdeck\Config Management\DOORS\DXL\Module Menu Scripts\DOORS 8.1
Menus\formal2.dxl:14>
        <config/formal:1>
        <Line:1>
-E- DXL: <config/colmenu.inc:20> incorrect arguments for function (createItem)
Included from:
        <U:\Smartdeck\Config Management\DOORS\DXL\Module Menu Scripts\DOORS 8.1
Menus\formal2.dxl:14>
        <config/formal:1>
        <Line:1>
-E- DXL: <config/colmenu.inc:20> undeclared variable (columnSelected)
Included from:
        <U:\Smartdeck\Config Management\DOORS\DXL\Module Menu Scripts\DOORS 8.1
Menus\formal2.dxl:14>
        <config/formal:1>
        <Line:1>
-E- DXL: <config/colmenu.inc:26> incorrect arguments for function (createItem)
Included from:
        <U:\Smartdeck\Config Management\DOORS\DXL\Module Menu Scripts\DOORS 8.1
Menus\formal2.dxl:14>
        <config/formal:1>
        <Line:1>
-E- DXL: <config/colmenu.inc:26> undeclared variable (alwaysOn)
Included from:
        <U:\Smartdeck\Config Management\DOORS\DXL\Module Menu Scripts\DOORS 8.1
Menus\formal2.dxl:14>
        <config/formal:1>
        <Line:1>
-E- DXL: <config/colmenu.inc:29> incorrect arguments for function (createItem)
Included from:
        <U:\Smartdeck\Config Management\DOORS\DXL\Module Menu Scripts\DOORS 8.1
Menus\formal2.dxl:14>
        <config/formal:1>
        <Line:1>
-E- DXL: <config/colmenu.inc:29> undeclared variable (columnSelected)
Included from:
        <U:\Smartdeck\Config Management\DOORS\DXL\Module Menu Scripts\DOORS 8.1
Menus\formal2.dxl:14>
        <config/formal:1>
        <Line:1>
-E- DXL: <U:\Smartdeck\Config Management\DOORS\DXL\Module Menu Scripts\DOORS 8.1
 Menus\formal2.dxl:33> incorrect arguments for function (createItem)
Included from:
        <config/formal:1>
        <Line:1>
-E- DXL: <U:\Smartdeck\Config Management\DOORS\DXL\Module Menu Scripts\DOORS 8.1
 Menus\formal2.dxl:33> undeclared variable (lockSection)
Included from:
        <config/formal:1>
        <Line:1>
  too many messages -- suspending error reporting-I- DXL: all done with 348 erro
rs and 0 warnings
DXL contains 348 errors-E- DXL: <config/formalheading:15> incorrect arguments fo
r function (createItem)
Included from:
        <Line:1>
-E- DXL: <config/formalheading:15> undeclared variable (alwaysOn)
Included from:
        <Line:1>
-E- DXL: <config/formalheading:18> incorrect arguments for function (createItem)

Included from:
        <Line:1>
-E- DXL: <config/formalheading:18> undeclared variable (columnSelected)
Included from:
        <Line:1>
-E- DXL: <config/formalheading:37> incorrect arguments for function (createMenu)

Included from:
        <Line:1>
-E- DXL: <config/formalheading:37> undeclared variable (canSortMap)
Included from:
        <Line:1>
-E- DXL: <config/formalheading:39> incorrect arguments for function (createItem)

Included from:
        <Line:1>
-E- DXL: <config/formalheading:39> undeclared variable (canSortAscending)
Included from:
        <Line:1>
-E- DXL: <config/formalheading:39> undeclared variable (canSortAscendingMap)
Included from:
        <Line:1>
-E- DXL: <config/formalheading:42> incorrect arguments for function (createItem)

Included from:
        <Line:1>
  too many messages -- suspending error reporting-I- DXL: all done with 13 error
s and 0 warnings
DXL contains 13 errors-E- DXL: <config/colmenu.inc:16> incorrect arguments for f
unction (createItem)
Included from:
        <U:\Smartdeck\Config Management\DOORS\DXL\Module Menu Scripts\DOORS 8.1
Menus\formal2.dxl:14>
        <config/formal:1>
        <Line:1>
-E- DXL: <config/colmenu.inc:16> undeclared variable (alwaysOn)
Included from:
        <U:\Smartdeck\Config Management\DOORS\DXL\Module Menu Scripts\DOORS 8.1
Menus\formal2.dxl:14>
        <config/formal:1>
        <Line:1>
-E- DXL: <config/colmenu.inc:20> incorrect arguments for function (createItem)
Included from:
        <U:\Smartdeck\Config Management\DOORS\DXL\Module Menu Scripts\DOORS 8.1
Menus\formal2.dxl:14>
        <config/formal:1>
        <Line:1>
-E- DXL: <config/colmenu.inc:20> undeclared variable (columnSelected)
Included from:
        <U:\Smartdeck\Config Management\DOORS\DXL\Module Menu Scripts\DOORS 8.1
Menus\formal2.dxl:14>
        <config/formal:1>
        <Line:1>
-E- DXL: <config/colmenu.inc:26> incorrect arguments for function (createItem)
Included from:
        <U:\Smartdeck\Config Management\DOORS\DXL\Module Menu Scripts\DOORS 8.1
Menus\formal2.dxl:14>
        <config/formal:1>
        <Line:1>
-E- DXL: <config/colmenu.inc:26> undeclared variable (alwaysOn)
Included from:
        <U:\Smartdeck\Config Management\DOORS\DXL\Module Menu Scripts\DOORS 8.1
Menus\formal2.dxl:14>
        <config/formal:1>
        <Line:1>
-E- DXL: <config/colmenu.inc:29> incorrect arguments for function (createItem)
Included from:
        <U:\Smartdeck\Config Management\DOORS\DXL\Module Menu Scripts\DOORS 8.1
Menus\formal2.dxl:14>
        <config/formal:1>
        <Line:1>
-E- DXL: <config/colmenu.inc:29> undeclared variable (columnSelected)
Included from:
        <U:\Smartdeck\Config Management\DOORS\DXL\Module Menu Scripts\DOORS 8.1
Menus\formal2.dxl:14>
        <config/formal:1>
        <Line:1>
-E- DXL: <U:\Smartdeck\Config Management\DOORS\DXL\Module Menu Scripts\DOORS 8.1
 Menus\formal2.dxl:33> incorrect arguments for function (createItem)
Included from:
        <config/formal:1>
        <Line:1>
-E- DXL: <U:\Smartdeck\Config Management\DOORS\DXL\Module Menu Scripts\DOORS 8.1
 Menus\formal2.dxl:33> undeclared variable (lockSection)
Included from:
        <config/formal:1>
        <Line:1>
  too many messages -- suspending error reporting-I- DXL: all done with 348 erro
rs and 0 warnings
DXL contains 348 errors-E- DXL: <config/formalheading:15> incorrect arguments fo
r function (createItem)
Included from:
        <Line:1>
-E- DXL: <config/formalheading:15> undeclared variable (alwaysOn)
Included from:
        <Line:1>
-E- DXL: <config/formalheading:18> incorrect arguments for function (createItem)

Included from:
        <Line:1>
-E- DXL: <config/formalheading:18> undeclared variable (columnSelected)
Included from:
        <Line:1>
-E- DXL: <config/formalheading:37> incorrect arguments for function (createMenu)

Included from:
        <Line:1>
-E- DXL: <config/formalheading:37> undeclared variable (canSortMap)
Included from:
        <Line:1>
-E- DXL: <config/formalheading:39> incorrect arguments for function (createItem)

Included from:
        <Line:1>
-E- DXL: <config/formalheading:39> undeclared variable (canSortAscending)
Included from:
        <Line:1>
-E- DXL: <config/formalheading:39> undeclared variable (canSortAscendingMap)
Included from:
        <Line:1>
-E- DXL: <config/formalheading:42> incorrect arguments for function (createItem)

Included from:
        <Line:1>
  too many messages -- suspending error reporting-I- DXL: all done with 13 error
s and 0 warnings
DXL contains 13 errors



-------------------------
Scott Boisvert
Engineering Tools Administrator
L-3 Communications - Avionics Systems
scott.boisvert@l-3com.com
Report this to a Moderator Report this to a Moderator
 16-May-2007 15:49
User is offline View Users Profile Print this message


Iftakher Uddin

Posts: 56
Joined: 16-Sep-2004

I think you have "include" statement problem in your modified formal2.dxl script (you cant recognize this if you do not run the script from Batch mode).

Regards,
Rony Iftakher Uddin

Edited: 16-May-2007 at 15:50 by Iftakher Uddin
Report this to a Moderator Report this to a Moderator
 16-May-2007 16:03
User is offline View Users Profile Print this message


Tony Goodman

Posts: 1098
Joined: 12-Sep-2002

You can't call menu creation functions in batch mode - doesn't make sense.
The errors are caused because the callback routines are not loaded in batch mode.

-------------------------
Tony Goodman
http://www.smartdxl.com
Report this to a Moderator Report this to a Moderator
 21-May-2007 20:46
User is offline View Users Profile Print this message


Scott Boisvert

Posts: 348
Joined: 14-Apr-2006

Thanks Tony...Dawned on me after a few minutes...I just changed the my open module statement to open the module "invisible".



-------------------------
Scott Boisvert
Engineering Tools Administrator
L-3 Communications - Avionics Systems
scott.boisvert@l-3com.com
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 2 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 2 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.