Ticket #539 (closed task: fixed)
Nicotine+ can't find NicotinePlusGuide.html
| Reported by: | melmorabity@… | Owned by: | quinox |
|---|---|---|---|
| Priority: | normal | Milestone: | Release 1.2.14 |
| Component: | nicotine | Version: | 1.2.14 |
| Keywords: | Cc: |
Description
Hi,
I'm running Nicotine+ on Fedora 12 using Python 2.6.2.
When trying to read the Offline Nicotine+ Guide from the menu (Help -> Offline Nicotine+ guide), I got the following error:
The Nicotine Offline Guide ( NicotinePlusGuide.html ) was not found in either the following directories: /home/mohamed and /usr/share/nicotine/documentation/
whereas this file is in /usr/share/nicotine/documentation/:
$ ls /usr/share/nicotine/documentation/NicotinePlusGuide.html /usr/share/nicotine/documentation/NicotinePlusGuide.html
After some debugging, it seems that Nicotine+ searchs in fact this file in /usr/share/nicotine/documentation/doc/, whereas NicotinePlusGuide?.html is installed by default in /usr/share/nicotine/documentation/ (I set my prefix when installing Nicotine+ in /usr/).
I made a patch to make Nicotine+ get this file where it was installed, that is to say in "%s/share/nicotine/documentation", where %s is sys.prefix
Attachments
Change History
Changed 3 years ago by melmorabity@…
- Attachment nicotine+-1.2.14-guide.patch added
comment:1 Changed 3 years ago by quinox
- Status changed from new to closed
- Resolution set to fixed
It was the same on my system. But, the doc folder is present when you run N+ directly from source (SVN etc.). So instead of replacing the existing lines I've added your lines to the code base. This way it should work for everybody :-)
Thanks for the input, fixed with r1355.

Patch to force Nicotine+ to retrieve the installed guide in the right place