bugGChemPaint - Bugs: bug #18539, Unable to open help

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #18539: Unable to open help

Submitted by:  Julian Sikorski <belegdol>
Submitted on:  Sat 16 Dec 2006 07:44:42 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Jean Bréfort <jean_brefort>
Open/Closed: Closed

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

Thu 21 Dec 2006 06:20:33 AM UTC, comment #12:

gchempaint-0.6.7 released

Jean Bréfort <jean_brefort>
Project AdministratorIn charge of this item.
Sun 17 Dec 2006 09:31:25 AM UTC, comment #11:

Things don't work when default help viewer is nautilus (why should it be nautilus?). Other issues are now fixed in cvs.

Jean Bréfort <jean_brefort>
Project AdministratorIn charge of this item.
Sat 16 Dec 2006 09:47:55 PM UTC, comment #10:

I believe we are hitting two different issues here. The thing that manual is not visible in neither yelp nor khelpcenter indices is most probably caused by the fact that the do not understand the category GNOME|Applications|Education, as when I changed it to Applications|Multimedia|Video shamelessly borrowed from xvicap, both programs have found their way to the manual (of course I ran scroolkeepre-update in the meantime).
AS for the not-a-directory froblem, I have made a quick peek on how does xvidcap handle its help. It is actually very simple:

static void doHelp()
{
system("yelp ghelp:xvidcap?xvidcap-warning &");
}

And similar. I have checked that typing yelp ghelp:gchempaint in command line opens what is necessary, so maybe you are taking a too complicated path?

Julian Sikorski <belegdol>
Sat 16 Dec 2006 09:18:07 PM UTC, comment #9:

Opening the help file from command line works fine. I'll try to contact you on irc then.

Julian Sikorski <belegdol>
Sat 16 Dec 2006 09:09:49 PM UTC, comment #8:

You might try to open the help file from the command line:

yelp /usr/share/gnome/help/gchempaint/C/gchempaint.xml

I'll be on irc tomorrow (it's a bit late) on irc.gimp.net channel #gchemutils (not a permanent channel).

Jean Bréfort <jean_brefort>
Project AdministratorIn charge of this item.
Sat 16 Dec 2006 08:56:12 PM UTC, comment #7:

I'm attaching the filelist for reference.

(file #11542)

Julian Sikorski <belegdol>
Sat 16 Dec 2006 08:49:02 PM UTC, comment #6:

The hunk was rejected because I have previously applied the x86-64 startup crash fix. With some simple tweaking, I got both patches to apply. The file sits in the path you mentioned. Unfortunately, the patch does not help :( What is more, I have checked that gchempaint manual is not present in yelp at all, searching for gchempaint yields nothing. Maybe --disable-scrollkeeper switches off a bit too much? The commands which are supposed to replace it are as follows:
scrollkeeper-update -q -o %{_datadir}/omf/%{name} || : (after installing)
and
scrollkeeper-update -q || : (after uninstalling)
%{_datadir} macro stands for /usr/share, and %{name} for gchempaint.

Julian Sikorski <belegdol>
Sat 16 Dec 2006 08:37:38 PM UTC, comment #5:

I am not familiar with rpms at all. After installation, the help file should be (provided datadir is /usr/share):
/usr/share/gnome/help/gchempaint/C/gchempaint.xml
Please check that this file exists or tell me where it was installed (the C might be missing?).

What happens when you try to apply the patch?

Jean Bréfort <jean_brefort>
Project AdministratorIn charge of this item.
Sat 16 Dec 2006 08:35:09 PM UTC, comment #4:

OK, got the patch applied. Problem was caused by patch #18159.

Julian Sikorski <belegdol>
Sat 16 Dec 2006 08:32:29 PM UTC, comment #3:

Nothing very unusual, help was installed into %{_datadir}/gnome/help/gchempaint. I have passed --disable-scrollkeeper to configure, but appropriate scripts were put into %post and %postun. I don't know if you are familiar with rpm packaging, but I'll attach the spec.

P.S.
The patch does not want to apply...

(file #11541)

Julian Sikorski <belegdol>
Sat 16 Dec 2006 08:15:35 PM UTC, comment #2:

Hmm, I might be wrong. Seems Yelp accepts filenames when no tag is given. Where did you install the help file?
Please try attached patch and tell me if things are better. Btw, I found a missing tag in the help file. I might release 0.6.7 when this one is fixed.

(file #11540)

Jean Bréfort <jean_brefort>
Project AdministratorIn charge of this item.
Sat 16 Dec 2006 07:50:17 PM UTC, comment #1:

You are right, I discovered this problem recently and fixed it in HEAD. Yelp used to accept file names, but now only accepts uris. I don't know if older Yelp versions would work with uris, so I did not fix in stable.
I'll attach a patch soonish

Jean Bréfort <jean_brefort>
Project AdministratorIn charge of this item.
Sat 16 Dec 2006 07:44:42 PM UTC, original submission:

I think I have uncovered yet another gchempaint bug. If you go to Help -> Contents help is not displayed, and an error dialog (screenshot attached) pops up. I have packaged the documentation according to common rules, so I don't thing it is a packaging issue. I could have made a mistake, though. Please advise.

Julian Sikorski <belegdol>

 

Attached Files
file #11542:  filelist added by belegdol (6KiB - application/octet-stream - List of files installed by my package)
file #11541:  gchempaint.spec added by belegdol (6KiB - application/octet-stream)
file #11540:  18539.patch added by jean_brefort (2KiB - text/x-patch - proposed patch)
file #11539:  gchempaint-help-error.png added by belegdol (10KiB - image/png - Error dialog screenshot)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jean_brefort (Posted a comment)
  • -unavailable- added by belegdol (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 8 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 21 Dec 2006 06:20:32 AM UTCjean_brefortOpen/ClosedOpen=>Closed
    Sun 17 Dec 2006 09:31:25 AM UTCjean_brefortStatusConfirmed=>Fixed
    Sat 16 Dec 2006 08:56:12 PM UTCbelegdolAttached File-=>Added filelist, #11542
    Sat 16 Dec 2006 08:32:29 PM UTCbelegdolAttached File-=>Added gchempaint.spec, #11541
    Sat 16 Dec 2006 08:15:35 PM UTCjean_brefortAttached File-=>Added 18539.patch, #11540
    Sat 16 Dec 2006 07:50:17 PM UTCjean_brefortStatusNone=>Confirmed
      Assigned toNone=>jean_brefort
    Sat 16 Dec 2006 07:44:42 PM UTCbelegdolAttached File-=>Added gchempaint-help-error.png, #11539

    Back to the top


    Powered by Savane 3.1-cleanup1