Welcome to NeoOffice developer notes and announcements
NeoOffice
Developer notes and announcements
 
 

This website is an archive and is no longer active
NeoOffice announcements have moved to the NeoOffice News website


Support
· Forums
· NeoOffice Support
· NeoWiki


Announcements
· Twitter @NeoOffice


Downloads
· Download NeoOffice


  
NeoOffice :: View topic - eps graphics
eps graphics
 
   NeoOffice Forum Index -> NeoOffice Releases
View previous topic :: View next topic  
Author Message
danmac
Pure-blooded Human


Joined: May 08, 2006
Posts: 33

PostPosted: Sat Feb 20, 2010 11:28 pm    Post subject: eps graphics

I'm using NeoOffice 3.0.2 on a MacMini 2 GHz Intel with 2Gb memory. I have been able to insert eps graphics into both Writer and Impress documents using Insert-->Picture-->From File ..., and for a time, everything is OK. In previous versions of NeoOffice, everything seemed to work fine, both on screen and printing, but with 3.0.2 I've started to have problems.

Now, after certain editing (I can't be sure exactly what it is, but moving a graphic seems to be the main cause), the eps graphic no longer displays in the document on screen properly. Instead, I get what seems to be a place holder with information about the graphic like creator and creation date. I haven't tried to print a document when the graphic is in that state, but quitting and restarting NeoOffice seems to correct the problem. I wouldn't have posted this except that is a pain to have to restart NeoOffice every time the graphics disappear.

I did search the Forum but couldn't find the same problem. I really don't want to have to go through the process of converting eps graphics into some other format if it is at all possible.

Is this a bug, or shouldn't I be using eps in the first place?

Darryl
Back to top
djpimley
The Anomaly
(earlier version)


Joined: Jun 11, 2006
Posts: 481
Location: Great Britain

PostPosted: Sun Feb 21, 2010 3:30 am    Post subject:

Hi Darryl,

I did a quick test and I can't reproduce this behaviour. Is it one EPS file in particular that is causing the problem? Have you embedded it or linked to it?
Back to top
danmac
Pure-blooded Human


Joined: May 08, 2006
Posts: 33

PostPosted: Sun Feb 21, 2010 6:37 am    Post subject: eps graphics

Hi,

Thank for the reply.

It's all eps graphics. All of the eps graphics have been added to the files via the Insert>Picture>From File... menu item. I guess that would make them embedded. Is there something I can do to make this easier to sort out?

Cheers,
Darryl
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Sun Feb 21, 2010 9:46 am    Post subject:

I suspect that you have discovered a very difficult to reproduce bug that is only triggered by some set of editing actions and that bug is causing NeoOffice's underlying OpenOffice.org code to not call NeoOffice's custom EPS image rendering code.

The hard part is that you need to help us find what editing steps trigger so that we can reproduce it on our machines. Can you attach a sample document that has images that fail to render that we can look at?

If so, you can attach the sample document by replying to this post and attaching the document to your post using the steps in this forum post.

Patrick
Back to top
danmac
Pure-blooded Human


Joined: May 08, 2006
Posts: 33

PostPosted: Sun Feb 21, 2010 3:08 pm    Post subject: eps graphics

I have attached one of the files (minus some of the text) that I have had problems with. Believe it or not, I tried to make the graphics disappear but couldn't . One possible cause could be that I often have seven or eight files open at the same time, all with a varying number of eps graphics in them. Perhaps that's too many?

One other problem I'm having with eps graphics that I forgot to mention is if I set the wrap to contour, all works fine until I save and close the file then reopen at a later date. When I open the file again, the wrap is gone and the graphic is sitting on top of the text.

One other thing that might have an effect (though I can't imagine why) is that I use DropBox and all the files I'm editing are in the DropBox folder. Could this be a possible cause of my problems? Is it possible that DropBox is trying to update the files I'm working on and confusing NeoOffice?

Darryl
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Sun Feb 21, 2010 6:30 pm    Post subject: Re: eps graphics

danmac wrote:
One other thing that might have an effect (though I can't imagine why) is that I use DropBox and all the files I'm editing are in the DropBox folder. Could this be a possible cause of my problems? Is it possible that DropBox is trying to update the files I'm working on and confusing NeoOffice?l


I don't think DropBox is the cause of this as your images are embedded inside of your attached .odt file. In other words, when you inserted them into the document, NeoOffice made a copy of the file and inserted that copy into the .odt file.

Since you are having trouble reproducing this problem, can you try the following when the problem appears again?:

1. Select the Tools :: Options menu and in the dialog that appears, select the NeoOffice :: Memory item

2. In the Memory panel, double the Graphics Cache :: Use for NeoOffice value, double the Cache for Inserted Objects :: Number of Objects, and press the OK button.

3. Close and reopen the document

Does the problem reoccur after doing the above steps?

Patrick
Back to top
danmac
Pure-blooded Human


Joined: May 08, 2006
Posts: 33

PostPosted: Sun Feb 21, 2010 6:59 pm    Post subject: eps graphics

Hi Patrick,

Thanks for the reply. I hadn't thought about the graphics cache at all! Duh! That would seem like a good place to start. I haven't been able to reproduce the problem since yesterday morning.

I'll keep you posted, though it may take a couple of days to confirm if tweaking the cache fixes the problem.

Cheers,
Darryl
Back to top
danmac
Pure-blooded Human


Joined: May 08, 2006
Posts: 33

PostPosted: Mon Feb 22, 2010 2:03 am    Post subject: eps graphics

Hi there,

I increased the memory as suggested, but still the same problems. It just happened to me in fact. I was working on a file with eps graphics (2 to be exact) and all was fine until I saved the document. As soon as the save had finished, the graphics disappeared. Saving the file isn't the only trigger to the problem, but come to think of it, it is often the culprit.

Reloading the file makes not difference; still only place markers instead of graphics. I took a screen shot so you could see what I mean. I hope it's helpful.

Cheers,
Darryl
Back to top
danmac
Pure-blooded Human


Joined: May 08, 2006
Posts: 33

PostPosted: Mon Feb 22, 2010 2:06 am    Post subject: eps graphics

Me again.

Just an addendum to the last post: as I said, after saving, eps graphics disappeared, but the graphics in all other open documents also disappeared suggesting that it is an underlying problem and not related to specific files.

I hope that helps.

Cheers,
Darryl
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Mon Feb 22, 2010 9:20 am    Post subject:

Your screen snapshot shows the standard way that NeoOffice's underlying OpenOffice.org code displays EPS images so my theory that the EPS is failing to render somewhere still seems most likely.

So, the next place to look is if the Mac OS X functions that NeoOffice uses are the cause of the failure. Can you launch the /Applications/Utilities/Console application and when this problem occurs again, copy any new messages that appear in the Console window into this forum topic?

When you copy any such messages into this forum topic, can you also tell us which version of Mac OS X you are using by selecting the Apple :: About This Mac menu and copying the version in the dialog that appears?

Patrick
Back to top
danmac
Pure-blooded Human


Joined: May 08, 2006
Posts: 33

PostPosted: Mon Feb 22, 2010 10:03 pm    Post subject: eps graphics

I'll do what you suggest the next time I experience the problem.

I appreciate your help.

Darryl
Back to top
danmac
Pure-blooded Human


Joined: May 08, 2006
Posts: 33

PostPosted: Tue Feb 23, 2010 4:38 am    Post subject: eps graphics

The 'problem' just occurred again. I opened the Console, but I have no idea which log to look at. There seem to be a lot of them. Which log(s) should I be looking at in the Console?

I'm using OS X 10.6.2 by the way.

Darryl
Back to top
djpimley
The Anomaly
(earlier version)


Joined: Jun 11, 2006
Posts: 481
Location: Great Britain

PostPosted: Tue Feb 23, 2010 6:18 am    Post subject:

In the panel on the left hand side of the window, select "Console Messages" to display the console log. The entries at the bottom of the list are the most recent. The log is pruned regularly, so you can probably copy and paste the entire thing here if you don't know what to look for.
Back to top
thboyd
Agent


Joined: Nov 19, 2009
Posts: 18
Location: Boston, MA

PostPosted: Tue Feb 23, 2010 10:17 am    Post subject:

I'm having the same problem. Here's the console log for the last few minutes, which includes two restarts of NeoOffice. I have not used eps files before today and everything seemed to work ok for a while. It seems to me that this happens when I move or resize an image.

Code:
2/23/10 12:00:34 PM   [0x0-0x12a12a].org.neooffice.NeoOffice[3498]   Tue Feb 23 12:00:34 Toms-iMac.local soffice.bin[3498] <Error>: CGDataConsumerCreateWithFilename: failed to open `/var/folders/IO/IONZffox2RWeYk+8ZMsDL++++TI/-Tmp-/sve1e.tmp/svemf.tmp' for writing: Too many open files.
2/23/10 12:00:34 PM   [0x0-0x12a12a].org.neooffice.NeoOffice[3498]   deflateEnd: error -3: (null).
2/23/10 12:00:34 PM   [0x0-0x12a12a].org.neooffice.NeoOffice[3498]   Tue Feb 23 12:00:34 Toms-iMac.local soffice.bin[3498] <Error>: CGPDFContextCreate: failed to create PDF context delegate.
2/23/10 12:00:34 PM   [0x0-0x12a12a].org.neooffice.NeoOffice[3498]   Tue Feb 23 12:00:34 Toms-iMac.local soffice.bin[3498] <Error>: CGDataConsumerCreateWithFilename: failed to open `/var/folders/IO/IONZffox2RWeYk+8ZMsDL++++TI/-Tmp-/sve1e.tmp/svemg.tmp' for writing: Too many open files.
2/23/10 12:00:34 PM   [0x0-0x12a12a].org.neooffice.NeoOffice[3498]   deflateEnd: error -3: (null).
2/23/10 12:00:34 PM   [0x0-0x12a12a].org.neooffice.NeoOffice[3498]   Tue Feb 23 12:00:34 Toms-iMac.local soffice.bin[3498] <Error>: CGPDFContextCreate: failed to create PDF context delegate.
2/23/10 12:00:56 PM   soffice.bin[3498]   Application will resign active - Releasing remote controls
2/23/10 12:01:02 PM   soffice.bin[3498]   Application will become active - Using remote controls
2/23/10 12:02:01 PM   soffice.bin[3498]   Application will resign active - Releasing remote controls
2/23/10 12:02:16 PM   soffice.bin[3498]   Application will become active - Using remote controls
2/23/10 12:02:27 PM   soffice.bin[3498]   Application will resign active - Releasing remote controls
2/23/10 12:02:44 PM   soffice.bin[3498]   Application will become active - Using remote controls
2/23/10 12:04:08 PM   soffice.bin[3498]   Application will resign active - Releasing remote controls
2/23/10 12:04:20 PM   soffice.bin[3498]   Application will become active - Using remote controls
2/23/10 12:04:22 PM   soffice.bin[3498]   Application will resign active - Releasing remote controls
2/23/10 12:04:29 PM   soffice.bin[3498]   Application will become active - Using remote controls
2/23/10 12:04:38 PM   soffice.bin[3498]   Application will resign active - Releasing remote controls
2/23/10 12:05:53 PM   soffice.bin[3498]   Application will become active - Using remote controls
2/23/10 12:06:10 PM   soffice.bin[3498]   Application will resign active - Releasing remote controls
2/23/10 12:07:50 PM   soffice.bin[3498]   Application will become active - Using remote controls
2/23/10 12:08:25 PM   soffice.bin[3498]   Application will resign active - Releasing remote controls
2/23/10 12:09:00 PM   soffice.bin[3498]   Application will become active - Using remote controls
2/23/10 12:11:23 PM   [0x0-0x12a12a].org.neooffice.NeoOffice[3498]   Tue Feb 23 12:11:23 Toms-iMac.local soffice.bin[3498] <Error>: CGDataConsumerCreateWithFilename: failed to open `/var/folders/IO/IONZffox2RWeYk+8ZMsDL++++TI/-Tmp-/sve1e.tmp/svf11.tmp' for writing: Too many open files.
2/23/10 12:11:23 PM   [0x0-0x12a12a].org.neooffice.NeoOffice[3498]   deflateEnd: error -3: (null).
2/23/10 12:11:23 PM   [0x0-0x12a12a].org.neooffice.NeoOffice[3498]   Tue Feb 23 12:11:23 Toms-iMac.local soffice.bin[3498] <Error>: CGPDFContextCreate: failed to create PDF context delegate.
2/23/10 12:11:23 PM   [0x0-0x12a12a].org.neooffice.NeoOffice[3498]   Tue Feb 23 12:11:23 Toms-iMac.local soffice.bin[3498] <Error>: CGDataConsumerCreateWithFilename: failed to open `/var/folders/IO/IONZffox2RWeYk+8ZMsDL++++TI/-Tmp-/sve1e.tmp/svf12.tmp' for writing: Too many open files.
2/23/10 12:11:23 PM   [0x0-0x12a12a].org.neooffice.NeoOffice[3498]   deflateEnd: error -3: (null).
2/23/10 12:11:23 PM   [0x0-0x12a12a].org.neooffice.NeoOffice[3498]   Tue Feb 23 12:11:23 Toms-iMac.local soffice.bin[3498] <Error>: CGPDFContextCreate: failed to create PDF context delegate.


If there's a better way to send the console file let me know. I have to go out in a few minutes but will be back in a couple of hours.

_________________
Tom
boydroots.net
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Tue Feb 23, 2010 11:07 am    Post subject:

thboyd wrote:
I'm having the same problem. Here's the console log for the last few minutes, which includes two restarts of NeoOffice. I have not used eps files before today and everything seemed to work ok for a while. It seems to me that this happens when I move or resize an image.


Your Console log messages indicate that Mac OS X has limited the number of files that you can can open at any one time and when NeoOffice tries to open a file, Mac OS X won't let it because you are at the limit. It will be interesting to see if danmac sees similar messages in the Console log.

While we are waiting for danmac's log messages, I want to see if we can find why you are hitting this Mac OS X limit. Can you launch the /Applications/Utilities/Terminal application, paste the following commands into the Terminal window, press the Return key, and copy the output into this forum topic?:

Code:
/bin/bash -c "ulimit -Ha"
sysctl -a | grep file


Patrick
Back to top
Display posts from previous:   
   NeoOffice Forum Index -> NeoOffice Releases All times are GMT - 7 Hours
Goto page 1, 2, 3, 4  Next
Page 1 of 4

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group

All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © Planamesa Inc.
NeoOffice is a registered trademark of Planamesa Inc. and may not be used without permission.
PHP-Nuke Copyright © 2005 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.