又一個蘋果的北

2008/05/15

相對於視窗系統而言,蘋果少bug得很。但,每當出現問題,反令使用者覺得不知所措。

最近幾天忽然不能把files drag至Desktop,在finder裏亦不能開desktop那個folder,出現這個error message。

Picture 1

Finder大概等於windows的explorer,是系統的基本部份。在視窗裏,我們用explorer找files;在蘋果裏,我們用Finder。既然它說沒有specify application,就像有的時候,系統沒有把.mp3指到iTunes一樣,解決方法就在Choose Application裏選回iTunes就成。同理,對於一個folder,正常來說夾硬把它assign到Finder就成,可惜,在Application裏,我找不到Finder。

身為一個十年視窗經驗的人而言,最直觀的方法是把整部電腦reboot,不過,在*nix的世界裏,這是不能接受的,我們從來都可以restart某一個process。我嘗試relaunch Finder,還是不成功。屈服到要重新開機。

最後只好請教google,發覺原來這是個apple的bug,某一個bit給Tiger flip了,原因不明。用GetFileInfo可以查出一個檔案的attributes:

./GetFileInfo ~/Desktop/
directory: "/Users/justin/Desktop"
attributes: avBstclinmEdz

第三個應該是b而不是B,於是用SetFile把它設回(需要root access):

sudo ./SetFile -a b ~/Desktop/

然後,relaunch Finder便成。

相關閱讀:
OSX forgot what to do with Applications folder

廣告

8 回應 to “又一個蘋果的北”

  1. Derek Says:

    乜野叫俾tiger flip左﹖

  2. 火鶴 Says:

    我仲諗住買imac添, 大鑊啦我.

  3. Nelson Says:

    It may be the signal to notify you upgrade to Leopard. (Just Kidding)

  4. p* Says:

    never happen on me before in Panther, Tiger and Leopard

  5. 權權 Says:

    It is difficult to say whether this is a bug on Finder’s part.

    That bit helps Finder aware whether a directory should be handled as a bundle. The most prominent example being an application bundle—when you double-click an application bundle (e.g. Safari), Finder won’t open the folder but instead will launch the application. When that bit is set, Finder knows that it is simply not a plain folder.

    In your case, some processes wrongly set the “B” flag (the bundle flag) to on and Finder didn’t know how to open that “bundle” so giving you the dialogue box asking you to choose an application. The Finder acted as expected; It is just that we don’t know which application screwed up and have that bit set. Maybe Finder, maybe not. You don’t know, do you?

  6. 權權 Says:

    Ah yes, I should say that I won’t even pretend that there are few bugs in OS X—there are a hell of a lot of them. From time to time I get annoyed by the bugs in Finder on a daily basis, even in Leopard. They are so apparent I’m sure someone has submitted bug reports about them so I don’t even bother. Anyway, I get used to them. In fact these bugs are mostly consistency or stability issues that can be worked around.

    If compared to Windows though I think most bugs are usually more subtle, more difficult to fix and more easily to render your computer unusable if you hit on them. But I never experienced such bugs in Apple products. Apart from the minor annoyances, they works the way they should.

    Google “fix the fucking finder”.

  7. 媽媽阿四 Says:

    haha如果所有野都可以flip個bit擺平,就好!

  8. Justin Says:

    Derek: Tiger = Mac OS X 10.4。我之前假設係個os既bug,但其實又未必係。

    火鶴:唔怕啦,照買。apple既customer care幾好,有問題拎去就得。

    Nelson: haha!! another conspiracy theory of Steve Jobs.

    p*: some on the web saids this happen more often in Leopard.

    But, as i can only find very few related article about this problem, I would assume that this does not happen very often.

    權:Yes, it is not the Finder’s problem, may not be the OS problem as well. At least it is a bug for the processes that have admin rights.

    媽媽阿四:嗱嗱嗱嗱嗱嗱嗱嗱你呢句呢,真係中point!


發表迴響

在下方填入你的資料或按右方圖示以社群網站登入:

WordPress.com Logo

您的留言將使用 WordPress.com 帳號。 登出 / 變更 )

Twitter picture

您的留言將使用 Twitter 帳號。 登出 / 變更 )

Facebook照片

您的留言將使用 Facebook 帳號。 登出 / 變更 )

Google+ photo

您的留言將使用 Google+ 帳號。 登出 / 變更 )

連結到 %s

%d 位部落客按了讚: