macvim-dev / macvim-dev/macvim

kCFURLVolumeIsAutomountedKey missing, from Time Machine

オープン
#889 コメント 25 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
Vim Script
スター
7.9k
フォーク
691
PR マージ指標
30日以内にマージされた PR はありません

説明

when I launch mvim from the command line, then I am seeing messages throughout the day stream to the terminal that look like this:

2019-04-29 02:00:00.308 MacVim[25865:2008397] kCFURLVolumeIsAutomountedKey missing for file:///Volumes/ccc/: Error Domain=NSCocoaErrorDomain Code=257 "The file “ccc” couldn’t be opened because you don’t have permission to view it." UserInfo={NSURL=file:///Volumes/ccc/, NSFilePath=/Volumes/ccc, NSUnderlyingError=0x7fd205d05aa0 {Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied"}}

2019-04-29 03:00:15.539 MacVim[25865:2016017] kCFURLVolumeIsAutomountedKey missing for file:///Volumes/timemachine/: Error Domain=NSCocoaErrorDomain Code=257 "The file “timemachine” couldn’t be opened because you don’t have permission to view it." UserInfo={NSURL=file:///Volumes/timemachine/, NSFilePath=/Volumes/timemachine, NSUnderlyingError=0x7fd2072289d0 {Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied"}}

These seem to coincide time wise with when my Time Machine and/or Carbon Copy Cloner backups are timed to auto mount SMB shares in order to run backups. No idea why this would cause macvim to complain. I don't remember this happening before, but its quite annoying to have my terminal clutter up. Mvim seems to run ok otherwise.

Detailed steps to reproduce the behavior:

  1. Run mvim from the command line
  2. Wait for Timemachine to run a backup over network

Vim Version 8.1.950
OSX sierra 10.12.6

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず、macOS Sierra でコマンドラインから mvim を実行し、Time Machine または Carbon Copy Cloner が SMB バックアップ共有をマウントしたときの警告を再現します。どの MacVim エントリポイントが kCFURLVolumeIsAutomountedKey メッセージを出力しているかを追跡し、通常の使用に影響を与えずに変更すべき動作を特定します。バックアップのマウント中にターミナルの警告が繰り返し表示されなくなり、mvim が引き続き正常に実行されれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
macos, vim
領域
desktop, operating-systems
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
30/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。