0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

FreeCAD で ヘルプが出ない

Last updated at Posted at 2020-03-15

image.png

ヘルプを参照しようとしたり、「これは何であるか?」機能を使おうとしようとしたらエラーが出る。

環境

  • Ubuntu 18.04
  • FreeCAD 0.18.4

image.png

FreeCAD は、Ubuntuのパッケージは旧い(0.16.6712+dfsg1-1ubuntu2)ので、公式サイト

に従って PPA stable をインストールしている。

Document パッケージをインストールすればいいのかな?


$ sudo apt-cache search freecad
freecad - Extensible Open Source CAx program
freecad-common - Extensible Open Source CAx program - common files
freecad-python2 - Extensible Open Source CAx program - Python 2 binaries
freecad-python3 - Extensible Open Source CAx program - Python 3 binaries
freecad-runtime - Extensible Open Source CAx program - runtime files
libfreecad-python2-0.18 - Extensible Open Source CAx program - Python 2 library files
libfreecad-python3-0.18 - Extensible Open Source CAx program - Python 3 library files

うーん、Documentパッケージは無さそうですね

dailyを使えばいいのかな?

freecadのフォーラムの投稿、「Manual where?」

によると、

Re: Manual where?
Postby KC7NOA » Fri Sep 21, 2018 5:26 pm

Ok ...

Yes the freecad-daily-doc install worked and can be found while a running instance of freecad-daily ...

thanks for all the help ....


$ sudo add-apt-repository ppa:freecad-maintainers/freecad-daily
$ sudo apt-get update
ヒット:1 http://archive.ubuntulinux.jp/ubuntu bionic InRelease
$ sudo apt-get install freecad-daily-doc
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています                
状態情報を読み取っています... 完了
パッケージ freecad-daily-doc は使用できませんが、別のパッケージから参照されます。
これは、パッケージが欠落しているか、廃止されたか、または別のソース
からのみ利用可能であることを意味します。
しかし、以下のパッケージが置き換えます:
  freecad-daily-common

E: パッケージ 'freecad-daily-doc' にはインストール候補がありません
nanbuwks@nanbuwks-ThinkPad-X230-Tablet:$ sudo apt-get install freecad-daily-doc
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています                
状態情報を読み取っています... 完了
パッケージ freecad-daily-doc は使用できませんが、別のパッケージから参照されます。
これは、パッケージが欠落しているか、廃止されたか、または別のソース
からのみ利用可能であることを意味します。
しかし、以下のパッケージが置き換えます:
  freecad-daily-common

E: パッケージ 'freecad-daily-doc' にはインストール候補がありません

と出る。ちなみに、今まで使っていた daily ではないFreeCADでも freecad-docは用意されていない。


$ sudo apt-get install freecad-doc
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています                
状態情報を読み取っています... 完了
パッケージ freecad-doc は使用できませんが、別のパッケージから参照されます。
これは、パッケージが欠落しているか、廃止されたか、または別のソース
からのみ利用可能であることを意味します。
しかし、以下のパッケージが置き換えます:
  freecad-common

E: パッケージ 'freecad-doc' にはインストール候補がありません

Ubuntu の問題かな?

https://wiki.freecadweb.org/Install_on_Unix
には、

Note: due to packaging problems, in certain versions of Ubuntu the freecad-doc package has collided with the installation of FreeCAD or one of its dependencies; if this is the case, remove the freecad-doc package, and only install the freecad package. If the freecad-doc package doesn't exist, then ignore it.

とある。 freecad-doc パッケージが無ければ無視しろとある。う〜む。

最近のフォーラムの投稿を探してみる

Nov 28, 2019 のフォーラム投稿
「The "What's this icon" Icon never worked for me on Linux」
https://forum.freecadweb.org/viewtopic.php?f=3&t=41271&p=350493&hilit=%2Fusr%2Fshare%2Fdoc%2Ffreecad+doc%2Ffreecad.qhc#p350493

のスレッドによると、

It's unfortunate, but there were some issues with the freecad-doc package in the past, so I guess it is not available at the moment.

によると、freecad-doc パッケージは使用不能になっているみたい。

対応策

先のスレッドによると、

https://launchpad.net/~freecad-community/+archive/ubuntu/ppa/+sourcepub/9475380/+listing-archive-extra
には 0.17 のドキュメントパッケージがあるらしいので、

freecad-doc-en_0.17.20180719-0ppa2~ubuntu18.04_all.deb (329.0 MiB)

をダウンロードして以下のようにインストールできた


$ sudo dpkg -i freecad-doc-en_0.17.20180719-0ppa2_ubuntu18.04_all.deb 
以前に未選択のパッケージ freecad-doc-en を選択しています。
(データベースを読み込んでいます ... 現在 321307 個のファイルとディレクトリがインストールされています。)
freecad-doc-en_0.17.20180719-0ppa2_ubuntu18.04_all.deb を展開する準備をしています ...
freecad-doc-en (1:0.17.20180719-0ppa2~ubuntu18.04) を展開しています...
freecad-doc-en (1:0.17.20180719-0ppa2~ubuntu18.04) を設定しています ...
update-alternatives: /usr/share/doc/freecad-doc/freecad.qch (freecad-doc) を提供するために自動モードで /usr/share/doc/freecad-doc-en/freecad-en.qch を使います

0.17の内容だけどヘルプが出るようになりました

image.png

freecad-doc_0.17.20180719.orig.tar.gz (186.1 MiB)

もあるので、試してませんが他のアーキテクチャの人はこちらを解凍して適当なディレクトリに配置すれば使えるかも知れません。

なお、先のスレッドには freecad-doc パッケージが用意できてない理由として以下のようにあります。

I haven't had a chance to finish up working on the freecad-doc packaging fix, last time I tried the script to update by scraping the wiki was failing.

ということは help の元データは wiki なのかな・・・ ということで、最新の情報についてはここを見ることにしました。
https://wiki.freecadweb.org/Main_Page

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?