---------- Forwarded message ---------- From: Jamie C <[EMAIL PROTECTED]> Date: Jun 19, 2005 7:36 PM Subject: Re: [Veusz-discuss] Windows binary To: Jeremy Sanders <[EMAIL PROTECTED]>
On 6/13/05, Jeremy Sanders <[EMAIL PROTECTED]> wrote: > On Sun, 12 Jun 2005, Jamie C wrote: > > > Well, no exceptions this time, but it still does a tiny graph in a big > > page. Increasing the page size scales the graph but still leaves a > > huge margin. So it's not fixed that problem. > > Error message on close: > > > > Error writing setting "geometry_docwindows" > > Error writing setting "importPerformed" > > Error writing setting "geometry_mainwindow" > > I may have fixed this in the current cvs. Did you use the file I sent you, > or update from cvs? What time did you do this? > > Thanks Tried again with a today's cvs, same error. Your patch to use universal (U) mode on text files also doesn't fix the error characters in GPL() - I've realized it's only where there is a blank line that there's a problem, so I guess windows doesn't like double unix newlines. Oddly, after reformatting it for windows in Notepad, it refused to display any blank lines at all. The problem there is that: for line in file: sys.stdout.write(line) won't print anything for blank lines. I don't know how to fix this, you can apparently do something complicated with os.linesep and convert depending on OS. Not exactly a priority, anyway... One more thing, which you might already have on a to-do list - when zooming to page width/height if it's the shorter axis of a plot it doesn't take account of the scrollbars that get created, so ends up with x and y scrollbars. Jamie