Nicotine+ can't find NicotinePlusGuide.html
|Reported by:||melmorabity@…||Owned by:||quinox|
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