fre, 30.04.2004 kl. 21.02 -0500, skrev Alex Roitman:
> On Sat, May 01, 2004 at 02:48:11AM +0200, Stian Jordet wrote:
> > fre, 30.04.2004 kl. 11.59 -0500, skrev Alex Roitman:
> > > Can you reproduce this behavior with the example database (Help->Open
> > > example database)?
> > I can reproduce with the example databse (which, btw. doesn't exist in
> > ~/.gramps/example as gramps thinks, but at /usr/share/gramps/example).
> Well, it is in /usr/share/gramps/example, but it should also be installed
> into ~/.gramps/example when you select Help->Open example database
> provided ~/.gramps/example did not exist before. If the ~/.gramps/example
> directory exists and screwed up, gramps would not repair it. You should
> be able to do
> $ rm -rf ~/.gramps/example
> and then select Help->Open example database to open the example.
> This is besides the point, though :-) I cannot reproduce this behavior
> with the example db, both on gnome2.4 and gnome2.6 (experimental)
> machines. Is it possible that something is screwed up with your pygtk,
> or python-gnome setup? However, this would not explain things to me either,
> since the report code has nothing to do with gtk/gnome except for the
> interface part (i.e. report dialog).
> > The OOo format were so screwed that I'm not really sure if I could
> > reproduce :) I have attached a sample, it is from the example database.
> > I tried to get it landscape, but it seems to be portrait. No text, and
> > really weird.
> Weird it is. However, even with your example I can see that the right-most
> wedges are not aligned with the horizontal line. Another thought which
> locale are you working under? Can you try switching to the en_US or C
> locale and try the same thing? My wild guess is that the floating point
> might be screwed up, so the rounding is off wack. Both plugins need
> to calculate floating point coordinates for the boxes/wedges, and incorrect
> floating point representation could conceivably cause the bug.
> > SVG output was just blank... But notice that I haven't tried neither OOo
> > nor SVG earlier, so I don't know if they have ever worked.
> Also strange. I can produce sane SVG report. Something is different
> between our machines, even though I run debian sid with gnome2.6
> from experimental... What could it be?
> Let me know about the locale possibility. If that is not it, then I'm
> close to being lost here :-)
Oh yes, you got it :) It was the locale. I was using no_NO earlier and
it used to work, but I guess it was fucked up with Python from
experimental. I quickly browsed the BTS, but couldn't find anything
about this issue. Oh well, I can use the C-locale for Gramps, no
Both OOo and SVG makes perfect output now :)
Thanks for you help :)