From: "address@hidden" <address@hidden>
To: address@hidden
Sent: Friday, January 6, 2012 10:00 AM
Subject: pspp-dev Digest, Vol 97, Issue 3
Send pspp-dev mailing list submissions to
address@hiddenTo subscribe or unsubscribe via the World Wide Web, visit
https://lists.gnu.org/mailman/listinfo/pspp-devor, via email, send a message with subject or body 'help' to
address@hiddenYou can reach the person managing the list at
address@hiddenWhen replying, please edit your Subject line so it is more specific
than "Re: Contents of pspp-dev digest..."
Today's Topics:
1. Re: PSPP crashes on Lion (Ben Pfaff)
2. Re:
Autogenerating screenshots (Ben Pfaff)
3. Re: Autogenerating screenshots (John Darrington)
4. Re: PSPP crashes on Lion (John Darrington)
5. Re: PSPP crashes on Lion (John Darrington)
----------------------------------------------------------------------
Message: 1
Date: Thu, 05 Jan 2012 21:11:24 -0800
From: Ben Pfaff <
address@hidden>
To: John Darrington <
address@hidden>
Cc:
address@hidden, Nick Macdonald <
address@hidden>
Subject: Re: PSPP crashes on Lion
Message-ID: <
address@hidden>
Content-Type: text/plain; charset=us-ascii
John, what did you do to reproduce the problem? After reverting
the fix that you pushed, I didn't get a crash running the test
case from charts.at.
Thanks,
Ben.
John Darrington <
address@hidden> writes:
> I was able to reproduce this problem on GNU/Linux.
>
> The following patch fixes the problem, but I have to confess, I don't
> really understand what this part of the code really does. Perhaps Ben
> can have a look to see if it's the correct fix.
>
> diff --git a/src/output/cairo.c b/src/output/cairo.c
> index 1de46b2..8156016 100644
> ---
a/src/output/cairo.c
> +++ b/src/output/cairo.c
> @@ -1015,6 +1015,8 @@ xr_rendering_create (struct xr_driver *xr, const struct output_item *item,
> {
> r = xzalloc (sizeof *r);
> r->item = output_item_ref (item);
> + r->xr = xr;
> + xr_set_cairo (xr, cr);
> }
>
> return r;
>
> J'
>
>
> On Wed, Jan 04, 2012 at 10:13:30PM -0800, Nick Macdonald wrote:
> Thanks for getting back to me - I will post it tomorrow when I get back to work - in the meantime, I have isolated the issue to plotting a scree plot with factor analysis - it works fine if I run the analysis without that box checked - thanks,
> Nick
> On Jan 4, 2012, at
10:04 PM, John Darrington wrote:
>
> > Can you please post your pspp.jnl file, and if possible a copy of the dataset?
> >
> > Any other information which will help us reproduce this problem will increase
> > the chances of being able to provide a solution.
> >
> > J'
> >
> > On Wed, Jan 04, 2012 at 01:36:43PM -0800, telecaster wrote:
> >
> > Hi there - I am trying to use PSPP 0.7.8-g376bc1 on Lion 10.7.2 (MBP). It
> > loads, but when I do a factor analysis the results window opens, and then
> > the whole app crashes and disappears, offering
to ignore or reload.
> > Any ideas?
> > Thanks!
> > --
> > View this message in context: http://old.nabble.com/PSPP-crashes-on-Lion-tp33082089p33082089.html
> > Sent from the Gnu - PSPP - Users mailing list archive at
Nabble.com.
> >
> >
> > _______________________________________________
> > Pspp-users mailing list
> >
address@hidden> >
https://lists.gnu.org/mailman/listinfo/pspp-users> >
> > --
> > PGP Public key ID: 1024D/2DE827B3
> > fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3
> > See http://keys.gnupg.net or any PGP keyserver for public key.
> >
--
Ben Pfaff
http://benpfaff.org
------------------------------
Message: 2
Date: Thu, 05 Jan 2012 21:15:32 -0800
From: Ben Pfaff <
address@hidden>
To: John Darrington <
address@hidden>
Cc:
address@hiddenSubject: Re: Autogenerating screenshots
Message-ID: <
address@hidden>
Content-Type: text/plain; charset=us-ascii
John Darrington <
address@hidden> writes:
> Attached is a patch which adds the ability for us to automatically generate screenshots
> of the dialog boxes.
I like it.
Does it need xvfb just to keep windows from showing up on the
user's X display while it runs? GTK+ has GtkOffscreenWindow that
might be a way to avoid that. Then we could at least avoid
adding one (rather unusual) dependency.
--
Ben Pfaff
http://benpfaff.org------------------------------
Message: 3
Date: Fri, 6 Jan 2012 07:37:15 +0000
From: John Darrington <
address@hidden>
To: Ben Pfaff <
address@hidden>
Cc:
address@hidden, John Darrington <
address@hidden>
Subject: Re: Autogenerating screenshots
Message-ID: <
address@hidden>
Content-Type: text/plain; charset="us-ascii"
On Thu, Jan 05, 2012 at
09:15:32PM -0800, Ben Pfaff wrote:
Does it need xvfb just to keep windows from showing up on the
user's X display while it runs? GTK+ has GtkOffscreenWindow that
might be a way to avoid that. Then we could at least avoid
adding one (rather unusual) dependency.
Well you need an X server in order to "display" the dialog. Many years
ago I tried other ways of doing this sort of thing on the current
display. The problem is, that the script cannot in general get control
over that display - eg to set resolution, colours etc. Also, a lot
of problems arise from other interactions with the display (eg:
"You must not move the mouse while the screenshot program is running").
Having a display dedicated to the window I'm trying to capture makes
the job a lot easier.
An advantage of xvfb is that I can tell it
to start with a particular
resolution - even if the machine's graphics hardware doesn't support such
a resolution (or has no graphics hardware at all).
I haven't really paid much attention to GtkOffscreenWindow so I don't
know if it would make the job any easier.
J'
--
PGP Public key ID: 1024D/2DE827B3
fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3
See
http://keys.gnupg.net or any PGP keyserver for public key.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <
http://lists.gnu.org/archive/html/pspp-dev/attachments/20120106/10b93504/attachment.pgp>
------------------------------
Message: 4
Date: Fri, 6 Jan 2012 07:40:41 +0000
From: John Darrington <
address@hidden>
To: Ben Pfaff <
address@hidden>
Cc:
address@hidden, John Darrington <
address@hidden>,
Nick Macdonald <
address@hidden>
Subject: Re: PSPP crashes on Lion
Message-ID: <
address@hidden>
Content-Type: text/plain; charset="us-ascii"
Like Nick says. Simply run a Factor analysis and select the
scree plot checkbox.
Try something like the following syntax (/PLOT = EIGEN) is the pertinent subcommand:
GET FILE="1993.sav".
FACTOR VARIABLES = famgen family16 form
/CRITERIA = MINEIGEN (1) ITERATE (25)
/EXTRACTION =PC
/METHOD = COVARIANCE
/PLOT = EIGEN
/PRINT = INITIAL EXTRACTION ROTATION
/CRITERIA = ITERATE (25)
/ROTATION = VARIMAX.
On Thu, Jan 05, 2012 at 09:11:24PM -0800, Ben Pfaff wrote:
John, what did you do to reproduce the problem? After reverting
the fix that you pushed, I didn't get a crash running the test
case from charts.at.
Thanks,
Ben.
John Darrington <
address@hidden> writes:
> I was able to reproduce this problem on GNU/Linux.
>
> The following patch fixes the problem, but I have to confess, I don't
> really understand what this part of the code really does. Perhaps Ben
> can have a look to see if it's the correct fix.
>
> diff --git a/src/output/cairo.c b/src/output/cairo.c
> index 1de46b2..8156016 100644
> ---
a/src/output/cairo.c
> +++ b/src/output/cairo.c
> @@ -1015,6 +1015,8 @@ xr_rendering_create (struct xr_driver *xr, const struct output_item *item,
> {
> r = xzalloc (sizeof *r);
> r->item = output_item_ref (item);
> + r->xr = xr;
> + xr_set_cairo (xr, cr);
> }
>
> return r;
>
> J'
>
>
> On Wed, Jan 04, 2012 at 10:13:30PM -0800, Nick Macdonald wrote:
> Thanks for getting back to me - I will post it tomorrow when I get back to work - in the
meantime, I have isolated the issue to plotting a scree plot with factor analysis - it works fine if I run the analysis without that box checked - thanks,
> Nick
> On Jan 4, 2012, at 10:04 PM, John Darrington wrote:
>
> > Can you please post your pspp.jnl file, and if possible a copy of the dataset?
> >
> > Any other information which will help us reproduce this problem will increase
> > the chances of being able to provide a solution.
> >
> > J'
> >
> > On Wed, Jan 04,
2012 at 01:36:43PM -0800, telecaster wrote:
> >
> > Hi there - I am trying to use PSPP 0.7.8-g376bc1 on Lion 10.7.2 (MBP). It
> > loads, but when I do a factor analysis the results window opens, and then
> > the whole app crashes and disappears, offering to ignore or reload.
> > Any ideas?
> > Thanks!
> > --
> > View this message in context:
http://old.nabble.com/PSPP-crashes-on-Lion-tp33082089p33082089.html > > Sent from the Gnu - PSPP - Users mailing list archive at Nabble.com.
> >
> >
> > _______________________________________________
> > Pspp-users mailing list
> >
address@hidden > >
https://lists.gnu.org/mailman/listinfo/pspp-users > >
> > --
> > PGP Public key ID: 1024D/2DE827B3
> > fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3
> > See
http://keys.gnupg.net or any PGP keyserver for public key.
> >
--
Ben Pfaff
http://benpfaff.org--
PGP Public key ID: 1024D/2DE827B3
fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3
See
http://keys.gnupg.net or any PGP keyserver for public key.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size:
189 bytes
Desc: Digital signature
URL: <
http://lists.gnu.org/archive/html/pspp-dev/attachments/20120106/1f37022e/attachment.pgp>
------------------------------
Message: 5
Date: Fri, 6 Jan 2012 09:23:08 +0000
From: John Darrington <
address@hidden>
To: John Darrington <
address@hidden>
Cc:
address@hidden, Ben Pfaff <
address@hidden>, Nick Macdonald
<
address@hidden>
Subject: Re: PSPP crashes on Lion
Message-ID: <
address@hidden>
Content-Type: text/plain; charset="us-ascii"
Oh! and the problem manifests itself only in the GUI.
The terminal user interface and non-interactive use is
not affected.
On Fri, Jan 06, 2012 at 07:40:41AM +0000, John Darrington wrote:
Like Nick says. Simply run a Factor analysis and select the
scree plot checkbox.
On Thu, Jan 05, 2012 at 09:11:24PM -0800, Ben Pfaff wrote:
John, what did you do to reproduce the problem? After reverting
the fix that
you pushed, I didn't get a crash running the test
case from charts.at.
Thanks,
Ben.
--
PGP Public key ID: 1024D/2DE827B3
fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3
See
http://keys.gnupg.net or any PGP keyserver for public key.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <
http://lists.gnu.org/archive/html/pspp-dev/attachments/20120106/0fd4ee62/attachment.pgp>
------------------------------
_______________________________________________
pspp-dev mailing list
address@hiddenhttps://lists.gnu.org/mailman/listinfo/pspp-devEnd of pspp-dev Digest, Vol 97, Issue 3
***************************************