2007年01月16日 (火)

iBlog 1.x 動作不良時の情報収集

iBlog 1.x の動作が思わしくないときの情報収集についてまとめておきます。iBJ などで質問するときの参考にしてください。

情報収集の意義

プレビューしてもレインボウカーソルがぐるぐるするだけで一向に終わらないなどのトラブルをよく聞きます。こういうときどうすればよいのかを考える前に何が起こっているのかを知ることが先決です。自力での解決を断念し iBJ などで相談する場合、他の人はあなたの iBlog で何が起きているのかを把握しないと、よくあるケースを思い浮かべて想像を述べるしか手立てはありません。要するに当てずっぽうになります。たとえあなた自身が収集した情報を解釈できなくても、より解決の可能性を高めるために情報収集しこれを保存しておくことは役に立ちます。

概要

最低限収集するべき情報は次のとおりです。詳しくは以降のセクションで述べます。

  • 利用環境
    • Mac OS X のバージョン
    • 言語環境
  • iBlog のバージョン
  • iBlog の操作手順
  • 各種ログ
    • コンソールログ
    • プレビューログ
    • 公開ログ

利用環境

Mac OS X のバージョンは大抵の場合問題になりませんが一応把握しておいてください。ディスプレイ左上のアップルメニューの [この Mac について] で表示されるダイアログに大きく書かれた Mac OS X のすぐ下に“バージョン 10.4.8”という感じで書かれています。ここをクリックすると“ビルド 8L2127”という表示に変わります。このビルド番号も控えておいてください。

iBlog にとって日本語環境で使用しているかどうかは重要です。それによって出力の中の日付の形式が変わりますし、内部的に何か動作の切り替えがあるかもしれません。これは同じくディスプレイ左上のアップルメニューの [システム環境設定...] で開くウィンドウの [パーソナル] 欄の [言語環境] アイコンをクリックすると確かめることができます。左にある [言語:] 欄にリストされている言語を順に控えておいてください。

これらは必ずしも状況に影響を与えません。ですから控えておいて訊かれたら答えられるようにしておけば十分でしょう。

iBlog のバージョン

iBlog のバージョンは FinderiBlog を選択して command-I をするか右クリックまたは control を押しながらクリックして出てくるメニューで [情報を見る] を選択して確認します。出てくるダイアログの [一般情報] の中の [バージョン] 欄に書いてあります。

ただしβ版の場合にはこの情報では不十分です。リリース版の手前のβ版をそのまま使用している場合は、そのバージョンが何番目のβ版であるかを確認しておきましょう。確認すると言ってもアプリケーションからはその情報が得られません。ダウンロード元の iBloggers.net のエントリを控えておくか、ダウンロードしたファイルの名前を変えてバージョン番号とβの番号を付けておくなどしておくことになります。

iBlog の操作手順

他の人が全く同じ操作をできるようにあなたが行った操作手順を逐一列挙してください。このエントリ内での操作の説明のレベルの詳しさであれば十分でしょう。

例えばテンプレートを書き換えたのにプレビューしても反映されないというトラブルに遭っているとします。それを説明するときに「テンプレートを書き換える」というのは曖昧な説明です。次の詳しさなら大丈夫でしょう。

  1. iBlog の [ブログとカテゴリ] 欄で目的のブログを選択する。
  2. iBlog のメニューで [レイアウト]-[テンプレート] を選択する。
  3. [テンプレートファイル] セレクタで [BlogPage.txt] を選択する。
  4. <html xmlns="http://www.w3.org/1999/xhtml"> と書いてあるところを <html xmlns="http://www.w3.org/1999/xhtml" lang="ja-JP" xml:lang="ja-JP"> に直す。
  5. [保存] ボタンをクリックする。

このレベルで説明すると質問された人は 1 と 2 のステップの間に「[テンプレートセットの管理] ウィンドウの [テンプレートセット] セレクタで、当該のブログのテンプレートセットに設定されているテンプレートセットを選択する。」というステップが抜けているのに気付くことができます。そうすると目的のブログに割り当てられたテンプレートセットと別なテンプレートセットを編集している可能性を指摘することができます。

状況によってはここまで詳しく書く必要はありませんが、ここまで詳しく書けるように自分で行ったことは把握しておいてください。その把握の過程で自分で抜けている操作に気付くこともあります。

各種ログ

ログはトラブルシューティングのための情報の宝庫です。残念ながらそこに書き込まれる内容は決してわかりやすいものではないので状況説明に添えられることはあまりありません。しかし、それを明示することで質問された人はより適切な助言ができる可能性が高まります。ですからあなた自身がそれを解釈できなくても、ログを保存して必要に応じて提示できるようにしておくのが大切です。

コンソールログ

アプリケーションフォルダの中のユーティリティフォルダにコンソール(Console.app)があります。これを起動して以下の操作をしてください。

  1. ツールバーにある [ログ] アイコンをクリックする。

    ウィンドウの左サイドに [ログ] ツリービューが出現します。

  2. [ログ] ツリービューから console.log を選択する。

    表示されているログの内容がコンソールログに切り替わります。

  3. ツールバーにある [フィルタ] に iBlog と入力します。

    表示されているログが iBlog に関するログだけになります。

  4. メニューの [ファイル]-[コピーを保存...] で表示されているログをファイルにして保存する。

次は iBlog を起動してエントリを書いてプレビューと公開をしたときのコンソールログの例です。

2007-01-16 12:16:04.952 iBlog[17353] *** WARNING: Method setResizable in class NSTableView is deprecated on 10.4 and later. It should not be used in new applications. Use setResizingMask: instead. 
2007-01-16 12:16:04.953 iBlog[17353] *** WARNING: Method isResizable in class NSTableView is deprecated on 10.4 and later. It should not be used in new applications. Use resizingMask instead. 
2007-01-16 12:17:33.521 iBlog[17353] Invoking HTML Converter for file /Users/ログイン名/Library/Application Support/iBlog/Blogs/B348746148/C1181169702/E20070115215723_title.rtfd/TXT.rtf
2007-01-16 12:17:33.600 iBlog[17353] Invoking HTML Converter for file /Users/ログイン名/Library/Application Support/iBlog/Blogs/B348746148/C1181169702/E20070115215723_abstract.rtfd/TXT.rtf
2007-01-16 12:17:33.696 iBlog[17353] Invoking HTML Converter for file /Users/ログイン名/Library/Application Support/iBlog/Blogs/B348746148/C1181169702/E20070115215723_body.rtfd/TXT.rtf
プレビューログ

プレビュー時のログはホームフォルダから [ライブラリ]-[Application Support]-[iBlog]-[Logs] と辿ったとろこりにあります。そのフォルダの Preview.txt です。トラブル発生時のこのファイルを保存しておいてください。このファイルは UTF-16 で書かれています。

次は iBlog を起動してエントリを書いてプレビューと公開をしたときのプレビューログの例です。

Starting Preview process

Invoking the HTMLConverter

List of new or updated entry files:

/Users/ログイン名/Library/Application Support/iBlog/Blogs/B348746148/C1181169702/E20070115215723_title.rtfd/TXT.rtf
/Users/ログイン名/Library/Application Support/iBlog/Blogs/B348746148/C1181169702/E20070115215723_abstract.rtfd/TXT.rtf
/Users/ログイン名/Library/Application Support/iBlog/Blogs/B348746148/C1181169702/E20070115215723_body.rtfd/TXT.rtf

HTMLConversion Successful.
Copying entry media files

Processing hyperlinks

Processing entry title files

Copying stylesheets for all blogs

Copying authentication files

Creating entry HTML files

Creating category HTML files

Creating archive HTML files

Creating blog HTML files

Creating Homepage HTML file

Creating Feedpage HTML files

Preview completed successfully.
公開ログ

公開時のログはホームフォルダから [ライブラリ]-[Application Support]-[iBlog]-[Logs] と辿ったとろこりにあります。そのフォルダの Publish.txt です。トラブル発生時のこのファイルを保存しておいてください。このファイルは UTF-16 で書かれています。

次は iBlog を起動してエントリを書いてプレビューと公開をしたときの公開ログの例です。

Info: Starting up .Mac publish for blog: .Mac Tips
Info: Connection to iDisk successful.

Info: Copying files to destination for blog: .Mac Tips

Path: 2004
SourcePath: /Users/ログイン名/Sites/iblog/B348746148/2004
DestinationPath: Sites/iblog/DotMac/Tips/2004
Status: kNodeNoUpdate
Type: Folder
(省略)
Path: 2006/9
SourcePath: /Users/ログイン名/Sites/iblog/B348746148/2006/9
DestinationPath: Sites/iblog/DotMac/Tips/2006/9
Status: kNodeNoUpdate
Type: Folder

Path: NLP.js
SourcePath: /Users/ログイン名/Sites/iblog/B348746148/NLP.js
DestinationPath: Sites/iblog/DotMac/Tips/NLP.js
Status: kNodeNeedsUpdate
Type: File
Updating File Sites/iblog/DotMac/Tips/NLP.js


Path: 2003/9
SourcePath: /Users/ログイン名/Sites/iblog/B348746148/2003/9
DestinationPath: Sites/iblog/DotMac/Tips/2003/9
Status: kNodeNoUpdate
Type: Folder
(省略)
Path: 2004/1
SourcePath: /Users/ログイン名/Sites/iblog/B348746148/2004/1
DestinationPath: Sites/iblog/DotMac/Tips/2004/1
Status: kNodeNoUpdate
Type: Folder

Path: rss.xml
SourcePath: /Users/ログイン名/Sites/iblog/B348746148/rss.xml
DestinationPath: Sites/iblog/DotMac/Tips/rss.xml
Status: kNodeNeedsUpdate
Type: File
Updating File Sites/iblog/DotMac/Tips/rss.xml


Updated RSS file contents at: Sites/iblog/DotMac/Tips/rss.xml

Path: 2005/10
SourcePath: /Users/ログイン名/Sites/iblog/B348746148/2005/10
DestinationPath: Sites/iblog/DotMac/Tips/2005/10
Status: kNodeNoUpdate
Type: Folder
(省略)
Path: 2003/10/19
SourcePath: /Users/ログイン名/Sites/iblog/B348746148/2003/10/19
DestinationPath: Sites/iblog/DotMac/Tips/2003/10/19
Status: kNodeNoUpdate
Type: Folder

Path: index.html
SourcePath: /Users/ログイン名/Sites/iblog/B348746148/index.html
DestinationPath: Sites/iblog/DotMac/Tips/index.html
Status: kNodeNeedsUpdate
Type: File
Updating File Sites/iblog/DotMac/Tips/index.html


Path: 2004/11/20
SourcePath: /Users/ログイン名/Sites/iblog/B348746148/2004/11/20
DestinationPath: Sites/iblog/DotMac/Tips/2004/11/20
Status: kNodeNoUpdate
Type: Folder
(省略)
Path: 2003/12/30
SourcePath: /Users/ログイン名/Sites/iblog/B348746148/2003/12/30
DestinationPath: Sites/iblog/DotMac/Tips/2003/12/30
Status: kNodeNoUpdate
Type: Folder

Path: entries.js
SourcePath: /Users/ログイン名/Sites/iblog/B348746148/entries.js
DestinationPath: Sites/iblog/DotMac/Tips/entries.js
Status: kNodeNeedsUpdate
Type: File
Updating File Sites/iblog/DotMac/Tips/entries.js


Path: 2004/10/31
SourcePath: /Users/ログイン名/Sites/iblog/B348746148/2004/10/31
DestinationPath: Sites/iblog/DotMac/Tips/2004/10/31
Status: kNodeNoUpdate
Type: Folder
(省略)
Path: archive.html
SourcePath: /Users/ログイン名/Sites/iblog/B348746148/archive.html
DestinationPath: Sites/iblog/DotMac/Tips/archive.html
Status: kNodeNoUpdate
Type: File

Path: CommonLib.js
SourcePath: /Users/ログイン名/Sites/iblog/B348746148/CommonLib.js
DestinationPath: Sites/iblog/DotMac/Tips/CommonLib.js
Status: kNodeNeedsUpdate
Type: File
Updating File Sites/iblog/DotMac/Tips/CommonLib.js


Path: TellWords.js
SourcePath: /Users/ログイン名/Sites/iblog/B348746148/TellWords.js
DestinationPath: Sites/iblog/DotMac/Tips/TellWords.js
Status: kNodeNoUpdate
Type: File
(省略)
Path: C1592201073/E352200923
SourcePath: /Users/ログイン名/Sites/iblog/B348746148/C1592201073/E352200923
DestinationPath: Sites/iblog/DotMac/Tips/C1592201073/E352200923
Status: kNodeNoUpdate
Type: Folder

Path: C1181169702/index.html
SourcePath: /Users/ログイン名/Sites/iblog/B348746148/C1181169702/index.html
DestinationPath: Sites/iblog/DotMac/Tips/C1181169702/index.html
Status: kNodeNeedsUpdate
Type: File
Updating File Sites/iblog/DotMac/Tips/C1181169702/index.html


Path: C1592201073/E456489954
SourcePath: /Users/ログイン名/Sites/iblog/B348746148/C1592201073/E456489954
DestinationPath: Sites/iblog/DotMac/Tips/C1592201073/E456489954
Status: kNodeNoUpdate
Type: Folder
(省略)
Path: C1181169702/E20060711093326/index.html
SourcePath: /Users/ログイン名/Sites/iblog/B348746148/C1181169702/E20060711093326/index.html
DestinationPath: Sites/iblog/DotMac/Tips/C1181169702/E20060711093326/index.html
Status: kNodeNoUpdate
Type: File

Path: C1181169702/E20070115215723/index.html
SourcePath: /Users/ログイン名/Sites/iblog/B348746148/C1181169702/E20070115215723/index.html
DestinationPath: Sites/iblog/DotMac/Tips/C1181169702/E20070115215723/index.html
Status: kNodeNeedsUpdate
Type: File
Updating File Sites/iblog/DotMac/Tips/C1181169702/E20070115215723/index.html


Path: C1994142861/E20051110004044/index.html
SourcePath: /Users/ログイン名/Sites/iblog/B348746148/C1994142861/E20051110004044/index.html
DestinationPath: Sites/iblog/DotMac/Tips/C1994142861/E20051110004044/index.html
Status: kNodeNoUpdate
Type: File
(省略)
Path: C1065922345/E20051024030109/Media/thingamablog-1.0.2-OKAMURA-20051024-src.zip
SourcePath: /Users/ログイン名/Sites/iblog/B348746148/C1065922345/E20051024030109/Media/thingamablog-1.0.2-OKAMURA-20051024-src.zip
DestinationPath: Sites/iblog/DotMac/Tips/C1065922345/E20051024030109/Media/thingamablog-1.0.2-OKAMURA-20051024-src.zip
Status: kNodeNoUpdate
Type: File

Finished copying files for blog: .Mac Tips

Posted: 16:35    | Comment | Trackback


以下、類似エントリです。