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: try to delete a column!
Topic Summary:
Created On: 20-Dec-2006 12: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.
 20-Dec-2006 12:00
User is offline View Users Profile Print this message


Mussie Woldemicael

Posts: 95
Joined: 12-Sep-2006

hello DXLiens,
i tried to run a DXL Script and got this error!
my scipt is supposed to delete a column in a Module!
I got this error!
attached is the script!

DOORS: **** Translating a structured exception ****

DOORS: Version DOORS 7.1, build number 71102, built on May 3 2004 12:23:00.

DOORS: Whistler Service Pack 2 (Build 2600)

DOORS: DOORS: 22 percent of memory is in use.

DOORS: There are 2096552 total Kbytes of physical memory.

DOORS: There are 1632336 free Kbytes of physical memory.

DOORS: There are 4035008 total Kbytes of paging file.

DOORS: There are 3680784 free Kbytes of paging file.

DOORS: There are 1fff80 total Kbytes of virtual memory.

DOORS: There are 1dd380 free Kbytes of virtual memory.

DOORS: argv[0]: C:\Program Files\Telelogic\DOORS 7.1\bin\doors.exe

DOORS: argv[1]: -o

DOORS: argv[2]: r

DOORS: argv[3]: -O

DOORS: argv[4]: r

DOORS: doors.exe caused an EXCEPTION_ACCESS_VIOLATION in module doors.exe at 001B:0084EE21

DOORS: 001B:0084EE21 (0xFFF71E94 0x00000002 0x0013E554 0x00000001) doors.exe

DOORS: 001B:0055AABB (0x00000004 0x0619D8FC 0x00B15400 0x00000000) doors.exe

DOORS: 001B:00705791 (0x0619DD80 0x00000004 0x0619D820 0x00B15400) doors.exe

DOORS: 001B:00706574 (0x0619D8FC 0x0619D7D0 0x01EB5B40 0x05E810E0) doors.exe

DOORS: 001B:00706460 (0x0619D820 0x00000B2C 0x0619D7D0 0x00B15400) doors.exe

DOORS: 001B:004E2174 (0x0013F86C 0x00000000 0x062E9F18 0x013363E0) doors.exe

DOORS: 001B:0070570B (0x0619D7D0 0x00000000 0x0619E120 0x013363E0) doors.exe

DOORS: 001B:0070BC5E (0x0619D508 0x00000001 0x0304B110 0x004C40A5) doors.exe

DOORS: 001B:0070BB79 (0x013217E0 0x062DF6F0 0x0013F93C 0x00000000) doors.exe

DOORS: 001B:004FC162 (0x030382A0 0x77D4945D 0x0303A390 0x00000111) doors.exe

DOORS: 001B:006301A8 (0x0303A390 0x00000910 0x0002025C 0x0013FA38) doors.exe

DOORS: 001B:0063059C (0x001101F8 0x00000111 0x00000910 0x0002025C) doors.exe

DOORS: 001B:0062BCB1 (0x0062BC9C 0x001101F8 0x00000111 0x00000910) doors.exe

DOORS: 001B:77D48816 (0x00000000 0x0062BC9C 0x001101F8 0x00000111) USER32.dll

DOORS: 001B:77D4B89B (0x00DCF8E0 0x00DD9030 0x00000910 0x0002025C) USER32.dll

DOORS: 001B:77D4B903 (0x001101F8 0x00000111 0x00000910 0x0002025C) USER32.dll

DOORS: 001B:77D7FC7D (0x00E1B030 0x00000000 0x00E1B030 0x04B4B008) USER32.dll

DOORS: 001B:77D764E8 (0x04B4B008 0x00000001 0x00000000 0x0013FC00) USER32.dll

DOORS: 001B:77D577DE (0x00E1B030 0x00000202 0x00000000 0x00130033) USER32.dll

DOORS: 001B:77D6B05A (0x0002025C 0x00000202 0x00000000 0x00130033) USER32.dll

DOORS: 001B:77D48734 (0x77D6B00E 0x0002025C 0x00000202 0x00000000) USER32.dll

DOORS: 001B:77D48816 (0x00000000 0x77D6B00E 0x0002025C 0x00000202) USER32.dll

DOORS: 001B:77D4C63F (0x77D6B00E 0x0002025C 0x00000202 0x00000000) USER32.dll

DOORS: 001B:77D4E905 (0x77D6B00E 0x0002025C 0x00000202 0x00000000) USER32.dll

DOORS: 001B:006331FB (0x0002025C 0x00000202 0x00000000 0x00130033) doors.exe

DOORS: 001B:00633287 (0x0063326A 0x0002025C 0x00000202 0x00000000) doors.exe

DOORS: 001B:77D48816 (0x00000000 0x0063326A 0x0002025C 0x00000202) USER32.dll

DOORS: 001B:77D489CD (0x0013FDD4 0x00000001 0x0013FDF0 0x0062CC13) USER32.dll

DOORS: 001B:77D496C7 (0x0013FDD4 0x00300031 0x00000001 0x00000000) USER32.dll

DOORS: 001B:0062CC13 (0x00300031 0x00000001 0x00000000 0x046084E1) doors.exe

DOORS: 001B:00459766 (0x00400000 0x00000000 0x001523C5 0x00000001) doors.exe

DOORS: 001B:0045A6A9 (0x00400000 0x00000000 0x001523C5 0x00000001) doors.exe

DOORS: 001B:00407E7B (0x00300031 0x00370030 0x7FFDD000 0x89449428) doors.exe

DOORS: 001B:7C816D4F (0x00407D9B 0x00000000 0x78746341 0x00000020) kernel32.dll

DOORS: **** end of event ****

DOORS: **** Translating a structured exception ****

DOORS: Version DOORS 7.1, build number 71102, built on May 3 2004 12:23:00.

DOORS: Whistler Service Pack 2 (Build 2600)

DOORS: DOORS: 22 percent of memory is in use.

DOORS: There are 2096552 total Kbytes of physical memory.

DOORS: There are 1631956 free Kbytes of physical memory.

DOORS: There are 4035008 total Kbytes of paging file.

DOORS: There are 3681568 free Kbytes of paging file.

DOORS: There are 1fff80 total Kbytes of virtual memory.

DOORS: There are 1dd354 free Kbytes of virtual memory.

DOORS: argv[0]: C:\Program Files\Telelogic\DOORS 7.1\bin\doors.exe

DOORS: argv[1]: -o

DOORS: argv[2]: r

DOORS: argv[3]: -O

DOORS: argv[4]: r

DOORS: doors.exe caused an EXCEPTION_ACCESS_VIOLATION in module doors.exe at 001B:0084EE21

DOORS: 001B:0084EE21 (0xFFF71E94 0x00000002 0x0013E554 0x00000001) doors.exe

DOORS: 001B:0055AABB (0x00000004 0x0619D8FC 0x00B15400 0x00000000) doors.exe

DOORS: 001B:00705791 (0x0619DD80 0x00000004 0x0619D820 0x00B15400) doors.exe

DOORS: 001B:00706574 (0x0619D8FC 0x0619D7D0 0x01EB5B40 0x05E81558) doors.exe

DOORS: 001B:00706460 (0x0619D820 0x00000B2C 0x0619D7D0 0x00B15400) doors.exe

DOORS: 001B:004E2174 (0x0013F86C 0x00000000 0x062E9F18 0x013363E0) doors.exe

DOORS: 001B:0070570B (0x0619D7D0 0x00000000 0x0619E120 0x013363E0) doors.exe

DOORS: 001B:0070BC5E (0x0619D508 0x00000001 0x0304B110 0x004C40A5) doors.exe

DOORS: 001B:0070BB79 (0x013217E0 0x062DF6F0 0x0013F93C 0x00000000) doors.exe

DOORS: 001B:004FC162 (0x030382A0 0x77D4945D 0x0303A390 0x00000111) doors.exe

DOORS: 001B:006301A8 (0x0303A390 0x00000910 0x0002025C 0x0013FA38) doors.exe

DOORS: 001B:0063059C (0x001101F8 0x00000111 0x00000910 0x0002025C) doors.exe

DOORS: 001B:0062BCB1 (0x0062BC9C 0x001101F8 0x00000111 0x00000910) doors.exe

DOORS: 001B:77D48816 (0x00000000 0x0062BC9C 0x001101F8 0x00000111) USER32.dll

DOORS: 001B:77D4B89B (0x00DCF8E0 0x00DD9030 0x00000910 0x0002025C) USER32.dll

DOORS: 001B:77D4B903 (0x001101F8 0x00000111 0x00000910 0x0002025C) USER32.dll

DOORS: 001B:77D7FC7D (0x00E1B030 0x00000000 0x00E1B030 0x04B4B008) USER32.dll

DOORS: 001B:77D764E8 (0x04B4B008 0x00000001 0x00000000 0x0013FC00) USER32.dll

DOORS: 001B:77D577DE (0x00E1B030 0x00000202 0x00000000 0x00130033) USER32.dll

DOORS: 001B:77D6B05A (0x0002025C 0x00000202 0x00000000 0x00130033) USER32.dll

DOORS: 001B:77D48734 (0x77D6B00E 0x0002025C 0x00000202 0x00000000) USER32.dll

DOORS: 001B:77D48816 (0x00000000 0x77D6B00E 0x0002025C 0x00000202) USER32.dll

DOORS: 001B:77D4C63F (0x77D6B00E 0x0002025C 0x00000202 0x00000000) USER32.dll

DOORS: 001B:77D4E905 (0x77D6B00E 0x0002025C 0x00000202 0x00000000) USER32.dll

DOORS: 001B:006331FB (0x0002025C 0x00000202 0x00000000 0x00130033) doors.exe

DOORS: 001B:00633287 (0x0063326A 0x0002025C 0x00000202 0x00000000) doors.exe

DOORS: 001B:77D48816 (0x00000000 0x0063326A 0x0002025C 0x00000202) USER32.dll

DOORS: 001B:77D489CD (0x0013FDD4 0x00000001 0x0013FDF0 0x0062CC13) USER32.dll

DOORS: 001B:77D496C7 (0x0013FDD4 0x00300031 0x00000001 0x00000000) USER32.dll

DOORS: 001B:0062CC13 (0x00300031 0x00000001 0x00000000 0x046084E1) doors.exe

DOORS: 001B:00459766 (0x00400000 0x00000000 0x001523C5 0x00000001) doors.exe

DOORS: 001B:0045A6A9 (0x00400000 0x00000000 0x001523C5 0x00000001) doors.exe

DOORS: 001B:00407E7B (0x00300031 0x00370030 0x7FFDD000 0x89449428) doors.exe

DOORS: 001B:7C816D4F (0x00407D9B 0x00000000 0x78746341 0x00000020) kernel32.dll

DOORS: **** end of event ****

DOORS: **** Translating a structured exception ****

DOORS: Version DOORS 7.1, build number 71102, built on May 3 2004 12:23:00.

DOORS: Whistler Service Pack 2 (Build 2600)

DOORS: DOORS: 21 percent of memory is in use.

DOORS: There are 2096552 total Kbytes of physical memory.

DOORS: There are 1644024 free Kbytes of physical memory.

DOORS: There are 4035008 total Kbytes of paging file.

DOORS: There are 3679332 free Kbytes of paging file.

DOORS: There are 1fff80 total Kbytes of virtual memory.

DOORS: There are 1dd354 free Kbytes of virtual memory.

DOORS: argv[0]: C:\Program Files\Telelogic\DOORS 7.1\bin\doors.exe

DOORS: argv[1]: -o

DOORS: argv[2]: r

DOORS: argv[3]: -O

DOORS: argv[4]: r

DOORS: doors.exe caused an EXCEPTION_ACCESS_VIOLATION in module doors.exe at 001B:0084EE21

DOORS: 001B:0084EE21 (0xFFF70E4F 0x00000002 0x0013E554 0x00000001) doors.exe

DOORS: 001B:0055AABB (0x00000004 0x0619D8FC 0x00B15400 0x00000000) doors.exe

DOORS: 001B:00705791 (0x0619DD80 0x00000004 0x0619D820 0x00B15400) doors.exe

DOORS: 001B:00706574 (0x0619D8FC 0x0619D7D0 0x01EB5B40 0x05E810E0) doors.exe

DOORS: 001B:00706460 (0x0619D820 0x00000B2C 0x0619D7D0 0x00B15400) doors.exe

DOORS: 001B:004E2174 (0x0013F86C 0x00000000 0x0639CE40 0x013363E0) doors.exe

DOORS: 001B:0070570B (0x0619D7D0 0x00000000 0x0619DF7C 0x013363E0) doors.exe

DOORS: 001B:0070BC5E (0x0619D508 0x00000001 0x01DAE1F0 0x004C40A5) doors.exe

DOORS: 001B:0070BB79 (0x013217E0 0x06398E38 0x0013F93C 0x00000000) doors.exe

DOORS: 001B:004FC162 (0x030382A0 0x77D4945D 0x0303A390 0x00000111) doors.exe

DOORS: 001B:006301A8 (0x0303A390 0x00000910 0x0002025C 0x0013FA38) doors.exe

DOORS: 001B:0063059C (0x001101F8 0x00000111 0x00000910 0x0002025C) doors.exe

DOORS: 001B:0062BCB1 (0x0062BC9C 0x001101F8 0x00000111 0x00000910) doors.exe

DOORS: 001B:77D48816 (0x00000000 0x0062BC9C 0x001101F8 0x00000111) USER32.dll

DOORS: 001B:77D4B89B (0x00DCF8E0 0x00DD9030 0x00000910 0x0002025C) USER32.dll

DOORS: 001B:77D4B903 (0x001101F8 0x00000111 0x00000910 0x0002025C) USER32.dll

DOORS: 001B:77D7FC7D (0x00E1B030 0x00000000 0x00E1B030 0x04B4B008) USER32.dll

DOORS: 001B:77D764E8 (0x04B4B008 0x00000001 0x00000000 0x0013FC00) USER32.dll

DOORS: 001B:77D577DE (0x00E1B030 0x00000202 0x00000000 0x000B0022) USER32.dll

DOORS: 001B:77D6B05A (0x0002025C 0x00000202 0x00000000 0x000B0022) USER32.dll

DOORS: 001B:77D48734 (0x77D6B00E 0x0002025C 0x00000202 0x00000000) USER32.dll

DOORS: 001B:77D48816 (0x00000000 0x77D6B00E 0x0002025C 0x00000202) USER32.dll

DOORS: 001B:77D4C63F (0x77D6B00E 0x0002025C 0x00000202 0x00000000) USER32.dll

DOORS: 001B:77D4E905 (0x77D6B00E 0x0002025C 0x00000202 0x00000000) USER32.dll

DOORS: 001B:006331FB (0x0002025C 0x00000202 0x00000000 0x000B0022) doors.exe

DOORS: 001B:00633287 (0x0063326A 0x0002025C 0x00000202 0x00000000) doors.exe

DOORS: 001B:77D48816 (0x00000000 0x0063326A 0x0002025C 0x00000202) USER32.dll

DOORS: 001B:77D489CD (0x0013FDD4 0x00000001 0x0013FDF0 0x0062CC13) USER32.dll

DOORS: 001B:77D496C7 (0x0013FDD4 0x00300031 0x00000001 0x00000000) USER32.dll

DOORS: 001B:0062CC13 (0x00300031 0x00000001 0x00000000 0x046084E1) doors.exe

DOORS: 001B:00459766 (0x00400000 0x00000000 0x001523C5 0x00000001) doors.exe

DOORS: 001B:0045A6A9 (0x00400000 0x00000000 0x001523C5 0x00000001) doors.exe

DOORS: 001B:00407E7B (0x00300031 0x00370030 0x7FFDD000 0x89449428) doors.exe

DOORS: 001B:7C816D4F (0x00407D9B 0x00000000 0x78746341 0x00000020) kernel32.dll

DOORS: **** end of event ****

DOORS: **** Translating a structured exception ****

DOORS: Version DOORS 7.1, build number 71102, built on May 3 2004 12:23:00.

DOORS: Whistler Service Pack 2 (Build 2600)

DOORS: DOORS: 21 percent of memory is in use.

DOORS: There are 2096552 total Kbytes of physical memory.

DOORS: There are 1642304 free Kbytes of physical memory.

DOORS: There are 4035008 total Kbytes of paging file.

DOORS: There are 3679020 free Kbytes of paging file.

DOORS: There are 1fff80 total Kbytes of virtual memory.

DOORS: There are 1dd354 free Kbytes of virtual memory.

DOORS: argv[0]: C:\Program Files\Telelogic\DOORS 7.1\bin\doors.exe

DOORS: argv[1]: -o

DOORS: argv[2]: r

DOORS: argv[3]: -O

DOORS: argv[4]: r

DOORS: doors.exe caused an EXCEPTION_ACCESS_VIOLATION in module doors.exe at 001B:0084EE21

DOORS: 001B:0084EE21 (0xFFF71A74 0x00000002 0x0013E554 0x00000001) doors.exe

DOORS: 001B:0055AABB (0x00000004 0x0619D8FC 0x00B15400 0x00000000) doors.exe

DOORS: 001B:00705791 (0x0619DD80 0x00000004 0x0619D820 0x00B15400) doors.exe

DOORS: 001B:00706574 (0x0619D8FC 0x0619D7D0 0x01EB5B40 0x05E81558) doors.exe

DOORS: 001B:00706460 (0x0619D820 0x00000B2C 0x0619D7D0 0x00B15400) doors.exe

DOORS: 001B:004E2174 (0x0013F86C 0x00000000 0x0639CE40 0x013363E0) doors.exe

DOORS: 001B:0070570B (0x0619D7D0 0x00000000 0x0619DF7C 0x013363E0) doors.exe

DOORS: 001B:0070BC5E (0x0619D508 0x00000001 0x01DAE1F0 0x004C40A5) doors.exe

DOORS: 001B:0070BB79 (0x013217E0 0x06398E38 0x0013F93C 0x00000000) doors.exe

DOORS: 001B:004FC162 (0x030382A0 0x77D4945D 0x0303A390 0x00000111) doors.exe

DOORS: 001B:006301A8 (0x0303A390 0x00000910 0x0002025C 0x0013FA38) doors.exe

DOORS: 001B:0063059C (0x001101F8 0x00000111 0x00000910 0x0002025C) doors.exe

DOORS: 001B:0062BCB1 (0x0062BC9C 0x001101F8 0x00000111 0x00000910) doors.exe

DOORS: 001B:77D48816 (0x00000000 0x0062BC9C 0x001101F8 0x00000111) USER32.dll

DOORS: 001B:77D4B89B (0x00DCF8E0 0x00DD9030 0x00000910 0x0002025C) USER32.dll

DOORS: 001B:77D4B903 (0x001101F8 0x00000111 0x00000910 0x0002025C) USER32.dll

DOORS: 001B:77D7FC7D (0x00E1B030 0x00000000 0x00E1B030 0x04B4B008) USER32.dll

DOORS: 001B:77D764E8 (0x04B4B008 0x00000001 0x00000000 0x0013FC00) USER32.dll

DOORS: 001B:77D577DE (0x00E1B030 0x00000202 0x00000000 0x000B0022) USER32.dll

DOORS: 001B:77D6B05A (0x0002025C 0x00000202 0x00000000 0x000B0022) USER32.dll

DOORS: 001B:77D48734 (0x77D6B00E 0x0002025C 0x00000202 0x00000000) USER32.dll

DOORS: 001B:77D48816 (0x00000000 0x77D6B00E 0x0002025C 0x00000202) USER32.dll

DOORS: 001B:77D4C63F (0x77D6B00E 0x0002025C 0x00000202 0x00000000) USER32.dll

DOORS: 001B:77D4E905 (0x77D6B00E 0x0002025C 0x00000202 0x00000000) USER32.dll

DOORS: 001B:006331FB (0x0002025C 0x00000202 0x00000000 0x000B0022) doors.exe

DOORS: 001B:00633287 (0x0063326A 0x0002025C 0x00000202 0x00000000) doors.exe

DOORS: 001B:77D48816 (0x00000000 0x0063326A 0x0002025C 0x00000202) USER32.dll

DOORS: 001B:77D489CD (0x0013FDD4 0x00000001 0x0013FDF0 0x0062CC13) USER32.dll

DOORS: 001B:77D496C7 (0x0013FDD4 0x00300031 0x00000001 0x00000000) USER32.dll

DOORS: 001B:0062CC13 (0x00300031 0x00000001 0x00000000 0x046084E1) doors.exe

DOORS: 001B:00459766 (0x00400000 0x00000000 0x001523C5 0x00000001) doors.exe

DOORS: 001B:0045A6A9 (0x00400000 0x00000000 0x001523C5 0x00000001) doors.exe

DOORS: 001B:00407E7B (0x00300031 0x00370030 0x7FFDD000 0x89449428) doors.exe

DOORS: 001B:7C816D4F (0x00407D9B 0x00000000 0x78746341 0x00000020) kernel32.dll

DOORS: **** end of event ****

Report this to a Moderator Report this to a Moderator
 20-Dec-2006 16:08
User is offline View Users Profile Print this message


ron lewis

Posts: 650
Joined: 20-Sep-2004

I would look at the i being used as both an integer and an item.
Report this to a Moderator Report this to a Moderator
 21-Dec-2006 14:21
User is offline View Users Profile Print this message


David Pechacek

Posts: 674
Joined: 5-Dec-2006

First off.  You open the module in edit mode, then you load it?  Why?  You need to have it in edit mode but load is for read only.  Take out the load command.

Next, you're iterating through the columns counting them, but then you just delete the last one. Why?  Did you want to delete the last one?  Because doing that for loop is going to end up with "c" being equal to the last column in the view. 

I'm not really sure what the logic of your program is.  What exactly are you trying to accomplish?  Are you trying to create a View called "TRS Overall View" in every module in the current folder? 

Maybe try the code I attached.

I'm assuming your "for i in f" loop works properly.  I've never done it.  And yeah, you redefined "i" as an int and then you program would have tried to assign data of type "Item" to it.

-------------------------
David Pechacek
AAI Services Textron
dpechacek@sc-aaicorp.com
David.Pechacek@gmail.com

Edited: 21-Dec-2006 at 14:31 by David Pechacek
Report this to a Moderator Report this to a Moderator
 21-Dec-2006 14:59
User is offline View Users Profile Print this message


Mussie Woldemicael

Posts: 95
Joined: 12-Sep-2006

Ok
I corrected the code regarding variable i!
And shortened it so we can concentrate on the problem!
My goal was to delete the last column and insert a new column in that position!
But the problem is deleting the last column!!

cheers Mussie  
Report this to a Moderator Report this to a Moderator
 21-Dec-2006 16:27
User is offline View Users Profile Print this message


David Pechacek

Posts: 674
Joined: 5-Dec-2006

OK so just interate through the columns as you're doing.  Insert the column you want to add at n-1(the index of the current last column).  Then delete column n(the new index of the last column).  New columns when inserted are added to the left of the column index they're inserted at.  See code below.

And all you need is m = edit(fullName(i), false) if you're not currently in the module.  If you're already in the module(since at the top of your code now you have Module m = current) and want to double check you're in edit mode then do a check using isEdit(m) and if false do m = edit((name mod))

You don't need any of these lines.  Unless you're using them for something you're not showing us.
moduleName = name m   // don't need this unless you're doing the isEdit check
mod = module (moduleName)   // don't need this unless you're doing the isEdit check
m = load(modver,true)



-------------------------
David Pechacek
AAI Services Textron
dpechacek@sc-aaicorp.com
David.Pechacek@gmail.com
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.