Re: Cannot use yelp ./ to open a Mallard structure



On Thu, 2010-06-03 at 23:05 +0200, mariobl gnome org wrote:
> Hi,
> 
>  
> 
> I'm working on a new to be written manual in Mallard. The folder
> 
> structure is, for example, in /home/mario/Documents. For testing
> 
> purposes, I have copied the gcalctool manual
> from /usr/share/gnome/help
> 
> to this location. When I call "yelp ./", the contents of index.page
> 
> appears, but the links to the subpages don't work. When I try to open
> 
> such a link, I get the following error message:
> 
>  
> 
>  
> 
> Unable to load page
> 
>  
> 
> The requested URI
> 
> "file:///usr/share/gnome/help/gcalctool/C/?x-yelp-index#superscript"
> is
> 
> invalid
> 
>  
> 
>  
> 
> Yelp (called in terminal) says:
> 
>  
> 
> mario debian:~/Dokumente/C$ yelp ./
> 
> Gtk-Message: Failed to load module "globalmenu-gnome":
> 
> libglobalmenu-gnome.so: cannot open shared object file: No such file
> or
> 
> directory
> 
>  
> 
> (yelp:29516): Gtk-CRITICAL **: gtk_tool_button_new: assertion
> 
> `icon_widget == NULL || GTK_IS_MISC (icon_widget)' failed
> 
>  
> 
> (yelp:29516): GLib-GObject-WARNING **: invalid (NULL) pointer instance
> 
>  
> 
> (yelp:29516): GLib-GObject-CRITICAL **: g_signal_connect_data:
> assertion
> 
> `G_TYPE_CHECK_INSTANCE (instance)' failed
> 
>  
> 
> (yelp:29516): Gtk-CRITICAL **: gtk_toolbar_insert: assertion
> 
> `GTK_IS_TOOL_ITEM (item)' failed
> 
>  
> 
> (yelp:29516): Gtk-CRITICAL **: gtk_tool_button_new: assertion
> 
> `icon_widget == NULL || GTK_IS_MISC (icon_widget)' failed
> 
>  
> 
> (yelp:29516): GLib-GObject-WARNING **: invalid (NULL) pointer instance
> 
>  
> 
> (yelp:29516): GLib-GObject-CRITICAL **: g_signal_connect_data:
> assertion
> 
> `G_TYPE_CHECK_INSTANCE (instance)' failed
> 
>  
> 
> (yelp:29516): Gtk-CRITICAL **: gtk_toolbar_insert: assertion
> 
> `GTK_IS_TOOL_ITEM (item)' failed
> 
>  
> 
>  
> 
> But when I call the help from the application itself, it works.
> 
>  
> 
> For better understanding, it doesn't work under Debian Testing, but it
> 
> works under Ubuntu Lucid correctly. What's the problem here? Which
> 
> libraries or other apps needs Yelp to work? Perhaps the Yelp package
> has
> 
> an unsolved dependency.
> 
>  
> 
>  
> 
> Cheers,
> 
> Mario
> 
> 
> 


Mario, if I understand correctly, you need to pass the full path:

yelp /home/Dockumente/pathtowherethepagefilesare/

Hope that helps,

Paul




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]