Manual where?

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
User avatar
NormandC
Veteran
Posts: 18589
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Manual where?

Post by NormandC »

How did you get that from Report view? There is nothing showing in it when trying to access Help.
NormandC wrote:The thing to check is, does FreeCAD knows to look there for the Help file.
Related topic: viewtopic.php?f=4&t=6944&start=30#p56734

But this Assistant.cpp file is above my comprehension.
bonny
Posts: 49
Joined: Tue Feb 25, 2014 9:04 am

Re: Manual where?

Post by bonny »

NormandC wrote: Translated for Ubuntu users:
  1. Open Qt Assistant, either from the Unity menu, or from the terminal:

    Code: Select all

    assistant
  2. Go to Edit --> Preferences
  3. Switch to the "Documentation" tab
  4. Click on the "Add..." button
  5. Click on the "Filesystem" bookmark, and navigate to /usr/share/doc/freecad-doc/freecad.qch
  6. Click OK, close the window
  7. In the "Summary" left pane, there will now be "FreeCAD Documentation" listed.
You will have to open the Qt Assistant separately from FreeCAD to access the documentation.
With this I have visible help in assistant. So helpfile is installed. And when I install FreeCad I do check helpfiles too.
Just isn't available trought F1..
User avatar
sgrogan
Veteran
Posts: 6499
Joined: Wed Oct 22, 2014 5:02 pm

Re: Manual where?

Post by sgrogan »

Either F1 or Help > Help
Help.png
Help.png (11.77 KiB) Viewed 3281 times
"fight the good fight"
User avatar
NormandC
Veteran
Posts: 18589
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Manual where?

Post by NormandC »

bonny wrote:Just isn't available trought F1..
As I already said, we need a developer to fix this.

In the topic I linked, I found a more direct way to open the FreeCAD from terminal:

Code: Select all

assistant -collectionFile "/usr/share/doc/freecad-doc/freecad.qhc"
sgrogan wrote:Either F1 or Help > Help
As I said, here the Report view remains empty! This is really the FreeCAD version from the Daily Builds PPA you're using? :?

OS: Ubuntu 14.04.2 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.16.4856 (Git)
Branch: master
Hash: 3e82f69ca52e29642ec84fdc84ffc4e448d5c4d8
Python version: 2.7.6
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17
User avatar
sgrogan
Veteran
Posts: 6499
Joined: Wed Oct 22, 2014 5:02 pm

Re: Manual where?

Post by sgrogan »

NormandC wrote:This is really the FreeCAD version from the Daily Builds PPA you're using? :?
Yes just installed today's update. Same behaviour.
OS: Ubuntu 14.04.2 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.16.4856 (Git)
Branch: master
Hash: 3e82f69ca52e29642ec84fdc84ffc4e448d5c4d8
Python version: 2.7.6
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17

The message with self compiled from master (same version)
Help2.png
Help2.png (17.26 KiB) Viewed 3278 times
"fight the good fight"
bonny
Posts: 49
Joined: Tue Feb 25, 2014 9:04 am

Re: Manual where?

Post by bonny »

Code: Select all

assistant -collectionFile "/usr/share/doc/freecad-doc/freecad.qhc"
That's work... At least I can put shortcut on desktop now.

Report view is blank on my computer when I hit F1 or acess from Help menu.

Code: Select all

OS: Ubuntu 14.04.2 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.16.4856 (Git)
Branch: master
Hash: 3e82f69ca52e29642ec84fdc84ffc4e448d5c4d8
Python version: 2.7.6
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17
User avatar
NormandC
Veteran
Posts: 18589
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Manual where?

Post by NormandC »

bonny wrote:Report view is blank on my computer when I hit F1 or acess from Help menu.
I found why: go to Edit --> Preferences / General / Output window: "Record log messages" needs to be checked (enabled).

Right now I'm trying to create a symlink of the /usr/share/doc/freecad-doc folder in /usr/lib/freecad and name it "doc", but I suck at using the terminal. :roll:
User avatar
NormandC
Veteran
Posts: 18589
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Manual where?

Post by NormandC »

Got it! :D

As sgrogan's Report view indicated, FreeCAD is looking for the Help file in /usr/lib/freecad/doc/, a folder which does not exist; the help file is actually located in /usr/share/doc/freecad-doc/.

So the trick is to create a symbolic link of the "freecad-doc" folder, named "doc", in the /usr/lib/freecad/ folder.

Code: Select all

sudo ln -s /usr/share/doc/freecad-doc/ /usr/lib/freecad/doc
With this, F1 now works.

Thanks sgrogan for putting me on the right path (pun unintended ;) ).

The only problem now is, this symlink will probably be deleted the next time the freecad package is updated. So it is only a hack, not a real solution.
bonny
Posts: 49
Joined: Tue Feb 25, 2014 9:04 am

Re: Manual where?

Post by bonny »

..with symbolic link work here too.

Thanks...
User avatar
NormandC
Veteran
Posts: 18589
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Manual where?

Post by NormandC »

NormandC wrote:The only problem now is, this symlink will probably be deleted the next time the freecad package is updated. So it is only a hack, not a real solution.
Just to say that the symlink is persistent, it is not deleted when the freecad package is updated.
Post Reply