[scribus] Deleting large image hangs 1.3.5.1

Gregory Pittman gregp_ky at yahoo.com
Sun Mar 21 15:07:09 CET 2010


On 03/21/2010 03:35 AM, John Jason Jordan wrote:
> On Sun, 21 Mar 2010 18:27:34 +1100 (EST)
> "Owen"<rcook at pcug.org.au>  dijo:
>
>>
>>> I have 1.3.5.1 on Fedora 11 x86_64.
>>>
>>> I accidentally placed a large bitmap image that was in my scrapbook
>>> onto the pasteboard. Every time I try to delete it Scribus hangs with
>>> CPU at 100%. I have tried in canvas view and from the Outline window
>>> with the same results.
>>>
>>> The document is 96 MB and runs extremely slow, so it is really
>>> painful to do anything at all. I have waited over 30 minutes after
>>> attempting to delete the image and it is still hung, so I'm pretty
>>> sure Scribus has gone into an endless loop and is not just
>>> continuing to think about
>>> deleting the object.
>>>
>>> Is there a way to delete the image using a text editor? (Note: I do
>>> not
>>> know the name of the graphic on disk, plus the graphic is used in
>>> another document and I dare not delete it from disk even if I knew
>>> its name.
>
>> What happens if you untick the "Image Visible" option
>> (Right Click->Preview settings)
>
> If I right-click on the image Scribus also hangs.

Make a note about the X-Pos and Y-Pos of the frame.
Open the file with a plain text editor and scan down to the correct page 
-- you're looking for a PAGEOBJECT tag, e.g.:

<PAGEOBJECT OwnPage="0" PTYPE="2" XPOS="111.278195488722" 
YPOS="94.7368421052632" WIDTH="286.721804511278" 
HEIGHT="259.263157894737" RADRECT="0" FRTYPE="0" CLIPEDIT="0" PWIDTH="1" 
PCOLOR="None" PCOLOR2="None" COLUMNS="1" COLGAP="0" NAMEDLST="" 
SHADE="100" SHADE2="100" GRTYP="0" ROT="0" PLINEART="1" PLINEEND="0" 
PLINEJOIN="0" LOCALSCX="0.0990061479666016" 
LOCALSCY="0.0990061479666016" LOCALX="0" LOCALY="0" PICART="1" 
PLTSHOW="0" BASEOF="0" textPathType="0" textPathFlipped="0" FLIPPEDH="0" 
FLIPPEDV="0" SCALETYPE="0" RATIO="1" PRINTABLE="1" ANNOTATION="0" 
ANNAME="" TEXTFLOWMODE="0" TEXTFLOW="0" TEXTFLOW2="0" TEXTFLOW3="0" 
AUTOTEXT="0" EXTRA="0" TEXTRA="0" BEXTRA="0" REXTRA="0" FLOP="0" 
PFILE="Pictures/DSC_3.JPG" PFILE2="" PFILE3="" PRFILE="sRGB 
IEC61966-2.1" EPROF="" IRENDER="0" EMBEDDED="0" LOCK="0" LOCKR="0" 
REVERS="0" TransValue="0" TransValueS="0" TransBlend="0" TransBlendS="0" 
isTableItem="0" TopLine="0" LeftLine="0" RightLine="0" BottomLine="0" 
isGroupControl="0" NUMDASH="0" DASHS="" DASHOFF="0" NUMPO="16" POCOOR="0 
0 0 0 286.722 0 286.722 0 286.722 0 286.722 0 286.722 259.263 286.722 
259.263 286.722 259.263 286.722 259.263 0 259.263 0 259.263 0 259.263 0 
259.263 0 0 0 0 " NUMCO="16" COCOOR="0 0 0 0 286.722 0 286.722 0 286.722 
0 286.722 0 286.722 259.263 286.722 259.263 286.722 259.263 286.722 
259.263 0 259.263 0 259.263 0 259.263 0 259.263 0 0 0 0 " NUMGROUP="0" 
GROUPS="" startArrowIndex="0" endArrowIndex="0" OnMasterPage="" 
ImageClip="" ImageRes="1" Pagenumber="0" isInline="0" fillRule="1" 
doOverprint="0" gXpos="0" gYpos="0" gWidth="0" gHeight="0" LAYER="0" 
BOOKMARK="0" NEXTITEM="-1" BACKITEM="-1">

PTYPE of 2 indicates this is an image frame. Next we see the XPOS and 
YPOS which should match the note you made. If you want you can look at 
the PFILE value to make sure it matches the filename, but I think if 
you've got an image frame on the right page and with the right 
coordinates, you can't be wrong.
Delete that entire tag, save the file, then reopen in Scribus.

Greg





More information about the scribus mailing list