December 6, 2007

Tomboyが動かない

現象はこんな感じ。

** (Tomboy:20454): WARNING **: The following assembly referenced from /usr/lib/t
omboy/Tomboy.exe could not be loaded:
Assembly: Mono.Addins (assemblyref_index=7)
Version: 0.2.0.0
Public Key: 0738eb9f132ed756
The assembly was not found in the Global Assembly Cache, a path listed in the MO
NO_PATH environment variable, or in the location of the executing assembly (/usr
/lib/tomboy).


** (Tomboy:20454): WARNING **: Could not load file or assembly 'Mono.Addins, Ver
sion=0.2.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756' or one of its de
pendencies.

** (Tomboy:20454): WARNING **: Missing method .ctor in assembly /usr/lib/tomboy/Tomboy.exe, type Mono.Addins.AddinEventHandler

Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'Mono.Addins, Version=0.2.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756' or one of its dependencies.
File name: 'Mono.Addins, Version=0.2.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756'
at <0x00000>
at Tomboy.AddinManager..ctor (System.String tomboy_conf_dir) [0x00000]
at Tomboy.NoteManager.CreateAddinManager () [0x00000]
at Tomboy.NoteManager..ctor (System.String directory, System.String backup_directory) [0x00000]
at Tomboy.NoteManager..ctor (System.String directory) [0x00000]
at Tomboy.Tomboy.Main (System.String[] args) [0x00000]

この問題、policy-install scriptがcli-common-devに入ってたことが原因らしく、cli-common-0.5.1で修正されている。ただし、cli-commonをupdateしただけではだめで、libmono-addins-gui0.2-cilとlibmono-addins0.2-cilを再インストールするか、手でpolicy-install scriptを実行しないといけない。

December 5, 2007

iCalendar関係のメモ

December 4, 2007

iceweasel is too unstable...

add-ons入れて再起動ボタンを押すと戻ってこない(i.e. SEGV起こしてる)とか、最後のウィンドウを閉じると、正常終了せずにクラッシュするとか、空のtooltipsがでるとか、いろいろ問題の多かったiceweaselだけれど、add-onsを無効にしまくったら、問題が起きなくなった。しらみつぶしに調べてみると、tooltipsの問題はNo Scriptを無効にすると消えることが判明。そんなまさかと、新しくprofileを作ってNo Scriptをインストールしてみても問題なし。profileがぼっ壊れてると判断して、引越しを決断した。

全く同じ構成とはいかないけど、似たような構成にしてみて上記の問題が一切起きないことを確認。passwordなんかはPassword Exporterを使った。今のところ快適なり。

人身事故

田園都市線市ヶ尾駅で起きた人身事故のせいでひどい目にあった。駅のホームは人が溢れてしまいには入場規制にまでなってたらしい。電車がきても全然乗れず、乗りすぎて扉が開かないことも。降りる人のために外に出たもののなぜか乗れずにホームに溢れた人とかもいた。ものすごい地獄絵図。

しかし田園都市線って行き帰りで上り下りの混雑状況が見事なまでに反転するんだけど、朝の時間帯で下りで混みまくり、立ってる人もいるとかそういうレベルじゃない状況を見たのは今回が初めてだった。一度電車に乗ったらもうだいぶ混雑も収束方向へ向かってたこともあり、その後は特にトラブルはなく、結局なんやかんやと会社について予定より一時間半遅れ。腰痛い…。

December 3, 2007

screen breaks the terminal layout

Hmm, handling the Japanese input on iceweasel made it terrible after updating to 2.0.0.11-1 on Debian sid. apparently it doesn't filter out the key event even if it's passed through the IM.

Anyway, I have experienced an issue since when I updated screen from some version. that totally breaks the terminal layout, particularly when the line-graphic appears say. that behavior is really annoying and makes it a lot of troubles to me in daily use. So I investigated this issue.

First, I have never seen such problems on F-8. this probably means Debian-specific patches introduces it. looking at debian/patches.... there are the questionable filename there... it is... 40cjk_eastasian.dpatch.
Okay, let's look into the patch. hmm, there are the big tables in utf8_isdouble(). well, that actually deals with Unicode, but not UTF-8. but anyway.
I guess from the function name what is required and assume that it may misnterprets the given Unicode is the wide character. so I simply replaced them with wcswidth(3) and looks good so far.