bugPSPP - Bugs: bug #23138, Using Help -> Reference manual...

 
 

bug #23138: Using Help -> Reference manual not possible

Submitted by:  Harry Thijssen <unknown_one>
Submitted on:  Fri 02 May 2008 11:05:20 AM UTC  
 
Category: Graphical User InterfaceSeverity: 5 - Average
Status: FixedAssigned to: John Darrington <jmd>
Open/Closed: ClosedRelease: Before 1.0
Effort: 0.00

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

(Jump to the original submission Jump to the original submission)

Fri 13 Mar 2009 05:22:31 AM UTC, comment #7:

Thats great, but there is no version of yelp to windows. Searching on the web I've found that theres an easy way to convert docbook to chm, which is used by windows help system.

Maybe we could tell make to convert docbook to chm if the target is windows, and to change the command who tells pspp to try to open yelp.

Michel Boaventura <michelboaventura>
Project Member
Wed 11 Mar 2009 10:59:09 AM UTC, comment #6:

I discovered that makeinfo can generate docbook xml files, so I've changed it to use that instead. Current makeinfo versions however are buggy and the xml can't be loaded by yelp. Fortunately I've managed to post-process using sed to work around the bugs that are most obvious.

John Darrington <jmd>
Project AdministratorIn charge of this item.
Mon 09 Mar 2009 06:12:45 PM UTC, comment #5:

A lot of new softwares just open a browser with a local html file showing the help. I guess it would be a good choice to solve this issue. What do you think?

Michel Boaventura <michelboaventura>
Project Member
Thu 08 May 2008 02:41:43 AM UTC, comment #4:

Well it used to work. But it seems that recent versions of yelp are totally broken. For one thing they appear to no longer be able to open info files unless they are compressed. The attached patch works around that problem.

The second problem is that yelp crashes with about 40% probability, particularly when opening info files.
https://bugs.launchpad.net/ubuntu/+source/yelp/+bug/218537
You can work around that problem by setting the environment variable G_SLICE=always-malloc

So until yelp is fixed, it looks as if opening the reference manual is going to be problematic.

These problems should be reported to the gnome developers at http://bugzilla.gnome.org/buglist.cgi?product=Yelp

(file #15636)

John Darrington <jmd>
Project AdministratorIn charge of this item.
Tue 06 May 2008 03:58:41 PM UTC, comment #3:

The previeus message was when "Help" used in openSUSE

On Cygwin there is a messagebox with the text "The selected document could not be opened".

I don't see what I did wrong so I guess it is something in PSPPire.

Does it work on other platforms?

CU

Harry Thijssen <unknown_one>
Sat 03 May 2008 01:04:12 PM UTC, comment #2:

You are right about the text.

Now I installed Yelp. But this gives me the error:
================

(yelp:17751): GLib-CRITICAL **: g_hash_table_insert: assertion `hash_table != NULL' failed
manpath: warning: $MANPATH set, ignoring /etc/manpath.config

(yelp:17751): libgnomevfs-CRITICAL **: gnome_vfs_get_uri_from_local_path: assertion `g_path_is_absolute (local_full_path)' failed

(yelp:17751): libgnomevfs-CRITICAL **: gnome_vfs_monitor_add: assertion `text_uri != NULL' failed

(yelp:17751): libgnomevfs-CRITICAL **: gnome_vfs_get_uri_from_local_path: assertion `g_path_is_absolute (local_full_path)' failed

(yelp:17751): libgnomevfs-CRITICAL **: gnome_vfs_monitor_add: assertion `text_uri != NULL' failed
I/O warning : failed to load external entity "/opt/kde3/share/apps/ksgmltools2/docbook/xml-dtd-4.2/toc2html.xsl"
I/O warning : failed to load external entity "/opt/kde3/share/apps/ksgmltools2/customization/dtd/toc2html.xsl"
I/O warning : failed to load external entity "/usr/share/xml/docbook/schema/dtd/4.4/toc2html.xsl"
I/O warning : failed to load external entity "/opt/kde3/share/apps/ksgmltools2/docbook/xml-dtd-4.2/man.xml"
I/O warning : failed to load external entity "/opt/kde3/share/apps/ksgmltools2/customization/dtd/man.xml"
I/O warning : failed to load external entity "/usr/share/xml/docbook/schema/dtd/4.4/man.xml"
I/O warning : failed to load external entity "/opt/kde3/share/apps/ksgmltools2/docbook/xml-dtd-4.2/manindex.xml"
I/O warning : failed to load external entity "/opt/kde3/share/apps/ksgmltools2/customization/dtd/manindex.xml"
I/O warning : failed to load external entity "/usr/share/xml/docbook/schema/dtd/4.4/manindex.xml"
I/O warning : failed to load external entity "/opt/kde3/share/apps/ksgmltools2/docbook/xml-dtd-4.2/info.xml"
I/O warning : failed to load external entity "/opt/kde3/share/apps/ksgmltools2/customization/dtd/info.xml"
I/O warning : failed to load external entity "/usr/share/xml/docbook/schema/dtd/4.4/info.xml"
===============
And a messagebox with something like:
============
Couldn't load document

The Uniform Resource identifier 'info.pspp' is invalid or doesn't point to an existing file.
=============
I tried installing several docbook and dtd related packages, but stil have this error.

Any idea what the problem is?

CU

Harry Thijssen <unknown_one>
Sat 03 May 2008 02:45:31 AM UTC, comment #1:

Presumably the ... reads something like

Failed to execute child process "yelp" (No such file or directory)

In which case, you need to install the yelp application from Gnome2, since this is what psppire uses to read the manual.

John Darrington <jmd>
Project AdministratorIn charge of this item.
Fri 02 May 2008 11:05:20 AM UTC, original submission:

Version PSPP: 0.6.0.pre2
OS: Windows/XP (Cygwin) and openSUSE 10.3

Hi

When I click "Help" and then "Reference manual" I get:
PSPP error: Cannot open reference manual: ...

CU

Harry Thijssen <unknown_one>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #15636:  yelp.patch added by jmd (3KiB - text/x-diff)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by michelboaventura (Posted a comment)
  • -unavailable- added by blp (Updated the item)
  • -unavailable- added by jmd (Posted a comment)
  • -unavailable- added by unknown_one (Submitted the item)
  •  

    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 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 11 Mar 2009 10:59:09 AM UTCjmdStatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed
    Sat 25 Oct 2008 09:58:27 PM UTCblpReleaseNone=>Before 1.0
    Thu 08 May 2008 02:41:55 AM UTCjmdAssigned toNone=>jmd
    Thu 08 May 2008 02:41:43 AM UTCjmdStatusNone=>Confirmed
    Thu 08 May 2008 02:41:42 AM UTCjmdAttached File-=>Added yelp.patch, #15636

    Back to the top


    Powered by Savane 3.1-cleanup1