bugPSPP - Bugs: bug #51967, Windows: Help -> Reference...

 
 

bug #51967: Windows: Help -> Reference Manual does not work on Windows platform in 1.0.1

Submitted by:  Friedrich Beckmann <beckmanf>
Submitted on:  Fri 08 Sep 2017 10:21:51 PM UTC  
 
Category: Graphical User InterfaceSeverity: 5 - Average
Status: FixedAssigned to: Friedrich Beckmann <beckmanf>
Open/Closed: ClosedRelease: None
Effort: 0.00

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 10 Sep 2017 12:23:47 PM UTC, comment #3:

Thanks for fixing and testing!

http://lists.gnu.org/archive/html/pspp-users/2017-09/msg00015.html

I closed this issue after Harry made a new Windows release which was tested by Frans.

Friedrich Beckmann <beckmanf>
Project MemberIn charge of this item.
Sun 10 Sep 2017 12:01:19 PM UTC, comment #2:

The MSWindows installation has been changed. The issue is solved.

Harry Thijssen <unknown_one>
Fri 08 Sep 2017 10:36:07 PM UTC, comment #1:

I digged in the old discussion list. See:

:-)

Friedrich Beckmann <beckmanf>
Project MemberIn charge of this item.
Fri 08 Sep 2017 10:21:51 PM UTC, original submission:

The reference manual does not open on the Windows platform when Help->Reference Manual is clicked via menu. This works on Linux and on MacOS.

Error Description

The original report is here:

The error message that appears in the output window in the french version is:

Discussion of the problem

I reactivated my Windows 7 virtual machine and also looked into this.
I tested with GNU pspp 0.10.5-pre2g9a68ff.

First the yelp system is tested which fails on windows. The process
for opening the html help on windows is:

a) psppire creates a file „pspp-help-open.vbs“ file in a temporary directory.
The location of the temporary directory is given by the TEMP environment variable. For me this is

TEMP = C:\Users\Fredo\AppData\Local\Temp

In my Windows installation this step works. The content of the file pspp-help-open.vbs is:

My location of the html help files is: C:\Programme\PSPP\share\doc\pspp\pspp.html\index.html.

b) Then the visual basic script is executed via wscript. I can do this via the command terminal in a manual way.
When I run

the Internet Explorer opens and shows the html help file. So this step also works.

The problem is that the wscript is not started via the g_spawn_async call from
psppire. To debug this I added the environment variable: G_SPAWN_WIN32_DEBUG

When I then start psppire via a MinGW shell, then I can see the following:

This means that psppire tries to start "gspawn-win32-helper.exe" in the bin directory
of the pspp installation. But the gspawn-helper there is called gspawn-win32-helper-console.exe.

I renamed the file to gspawn-win32-helper.exe and then the help files open as expected. When started
from the MinGW shell, then I see the following output

I remember that we had some discussion about this helper exe which is required for the
spawning. I have a mingw installation from my experiments
last year and there this „gspawn-win32-helper-console.exe“ is called, i.e. with
this console ending. Using the file you bundled the console opens shortly. Using the
correct gspawn-win32-helper.exe from my mingw installation avoids this.

I think you need to make sure that during your packaging the file

gspawn-win32-helper.exe

is put into the bin directory of pspp.

I also checked the space in the full filename on Windows7 and at least
there is works. I tested the following:

with the space in the path name.

The relevant source code for the help menu (which is not the problem) is here:

http://git.savannah.gnu.org/cgit/pspp.git/tree/src/ui/gui/help-menu.c

Preliminary testing results

ToDo

Change the windows installation bundle such that the correct gspawn-win32-helper.exe file is
installed in the <pspp>/bin directory.

Friedrich Beckmann <beckmanf>
Project MemberIn charge of this item.

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by unknown_one (Posted a comment)
  • -unavailable- added by beckmanf (Submitted the item)
  • -unavailable- added by beckmanf
  • -unavailable- added by beckmanf
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 10 Sep 2017 12:23:47 PM UTCbeckmanfStatusIn Progress=>Fixed
      Open/ClosedOpen=>Closed
    Fri 08 Sep 2017 10:21:51 PM UTCbeckmanfCarbon-Copy-=>Added -unavailable-
      Carbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup1