fatal: unable to connect to ... errno=No error

問題

git clone が、次のエラーで失敗する。

$ git clone git://server/repo.git
Cloning into 'repo'...
fatal: unable to connect to repo:
repo[0: 192.168.0.1]: errno=No error

環境

対処

ssh など、他のプロトコルを使う。

ERROR: OE-core's config sanity checker detected a potential misconfiguration.

原文

ERROR:  OE-core's config sanity checker detected a potential misconfiguration.
    Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
    Following is the list of potential problems / advisories:

    Error, TMPDIR has changed location. You need to either move it back to /home/ubuntu/Yocto/sabre/build/tmp or rebuild

訳文

エラー:  OE-core's コンフィグ正当性チェッカーが、潜在的なミスコンフィギュレーションを検出しました。
    このエラーの原因を修正するか、あなたの責任でチェッカーを無効にしてください。(see sanity.conf を参照)
    以下に潜在的な問題 / アドバイスを列挙します:

    エラー, TMPDIR は変更されたロケールを持っている。あなたは、それを /home/ubuntu/Yocto/sabre/build/tmp へ戻すか、リビルドが必要です。

bool QThread::wait(unsigned long time = ULONG_MAX)

いずれかの条件を満たすまで、スレッドをブロックする:

  • スレッドに関連付けられた QThread オブジェクトが実行を終了する (run() から復帰した時など)。この関数は、スレッドが終了すると true を返す。また、スレッドがまだ開始されていない場合は true を返す。

  • time ミリ秒を過ごす。time が ULONG_MAX (デフォルト) の場合, 待ち状態はタイムアウトしない。(スレッドは run() から復帰しなければならない)。この関数は、待ち状態がタイムアウトすると false を返す。

これは POSIX の pthread_join() 関数に近い機能を提供する。

参考 sleep() と terminate()

Blocks the thread until either of these conditions is met:

The thread associated with this QThread object has finished execution (i.e. when it returns from run()). This function will return true if the thread has finished. It also returns true if the thread has not been started yet.

time milliseconds has elapsed. If time is ULONG_MAX (the default), then the wait will never timeout (the thread must return from run()). This function will return false if the wait timed out.

This provides similar functionality to the POSIX pthread_join() function.

See also sleep() and terminate().

FolderListModel を更新する

nameFilters プロパティーを更新する。

FolderListModel は、nameFilters プロパティーが更新されると再読み込みを行うぽい。これを利用する。

ListView {
    anchors.fill: parent

    model: FolderListModel {
        id: folderListModel
        folder: "file:///C:"
    }

    delegate: Text {
        text: fileName
    }
}

MouseArea {
    anchors.fill: parent

    onClicked: {
        var filters = [];
        folderListModel.nameFilters = filters;
    }
}

Cannot anchor to an item that isn't a parent or sibling.

メッセージ
Cannot anchor to an item that isn't a parent or sibling.
翻訳
親や兄弟ではない項目には固定できません。
原因
  • アンカー先が直接の親または兄弟でないため。
anchors.right: parent.parent.right
対処
  • アンカー先を直接の親または兄弟に変更する。
  • アンカーを使わない方法 (width / height / ...) に変更する。
width: parent.parent.width - x

mailx コマンドでメールを送信すると "Unexpected EOF on SMTP connection" が表示される

詳細

Heirloom mailx の mailx コマンドでメールを送信すると、次のメッセージが表示されて送信に失敗する。

Unexpected EOF on SMTP connection
"/home/ubuntu/dead.letter" 1/1
. . . message not sent.

原因

.mailrc の set smtp=... の URL にスキーム (smtp://) を付け忘れていたため。

set smtp=smtp.gmail.com:465

解決方法

.mailrc の set smtp=... の URL にスキーム (smtps://) を付ける。

set smtp=smtps://smtp.gmail.com:465