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: Partition Export Failed
Topic Summary: unable to export due to a missing object picture
Created On: 15-May-2008 11:35
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.
 15-May-2008 11:35
User is offline View Users Profile Print this message


Alan Gooch

Posts: 107
Joined: 30-Aug-2005

Using DOORS v7.1 I am attempting to export a partition I have created.

I get the message "Partition export failed. Couldn't read picture in object 9426 of module xxx: This picture does not exist."

If I look at object 9426, there is indeed no picture.

The script:-
if (oleIsObject obj)
returns false

Checking the history of the object, an old baseline from October 2004 appears to indicate that the text "<Picture>" once existed - there is no indication that this was ever actually a picture, Properties|History on other objects with pictures actually show them in the From/To text boxes.

So, what is making the export believe there is a picture there, and what can I do about it, short of deleting the object from the module before attempting to export the partition?

Thanks in advance, I'm stumped on this one.
Report this to a Moderator Report this to a Moderator
 15-May-2008 18:37
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

We don't use Pictures so I'm only pretty sure of the following. Pictures are not 'OLE' diagrams. Whereas OLE exists in a Text attr, the object may or may not have a Picture in it.

Anyway, select the object and run this one-line DXL; that should delete the picture:
deletePicture(current Object)

- Louie
Report this to a Moderator Report this to a Moderator
 16-May-2008 06:54
User is offline View Users Profile Print this message


Alan Gooch

Posts: 107
Joined: 30-Aug-2005

I get:-
"-R-E- DXL: <Line:1> error opening picture: This picture does not exist"

Which sort of agrees with why the original Partition Export fails.
Report this to a Moderator Report this to a Moderator
 16-May-2008 07:37
User is offline View Users Profile Print this message


Pekka Mäkinen

Posts: 276
Joined: 18-Mar-2004

There is one so called "Advanced System Attribute" called Picture (boolean) which maintains the information if the object isn an picture object. So what does the following output on the problem object:

Object o = current
print o."Picture" ""

If the output is "true", then for some reason DOORS has false information on this object. The Picture attribute is read-only, so it can not be modified, so maybe the only option is to delete the offending object?

-------------------------
Pekka.Makinen@softqa.fi
SoftQA Oy -http://www.softqa.fi/
Report this to a Moderator Report this to a Moderator
 16-May-2008 08:03
User is offline View Users Profile Print this message


Alan Gooch

Posts: 107
Joined: 30-Aug-2005

It does indeed return TRUE.
I'm rather hoping that deleting the object isn't the only answer.
Report this to a Moderator Report this to a Moderator
 16-May-2008 14:51
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

Desperation: maybe this is an old v3/v4 picture. Try a combination of 'getPictName(o)' and 'if (confirm("Delete Picture '" Name "'?)) deletePicture(Name)', run as the Administrator.

Doubt its interesting, but the following might provide a clue:
string Format = getPictFormat(o)
print "Format = [" Format "]\n"

- Louie
Report this to a Moderator Report this to a Moderator
 19-May-2008 10:26
User is offline View Users Profile Print this message


Alan Gooch

Posts: 107
Joined: 30-Aug-2005

Louie, the script returned:-

Format = [EPSF]

Combining it with the delete confirmation, I get:-

-R-E- DXL: <Line:4> error opening picture: This picture does not exist
-I- DXL: execution halted
Report this to a Moderator Report this to a Moderator
 19-May-2008 20:54
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

Sorry, stumped. Try Telelogic support but don't hold your breath. Guess you'll need to purge that corrupted object in the end.

- Louie
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.