1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

macOSのつんでれんこ(TDEnc2.app)にファイルを放り込むとエラーでセッションが落ちる

Posted at

TDEnc2.appに向かって動画ファイルをドラッグアンドドロップするとbashが立ち上がってよしなにエンコードしてくれるつんでれんこに久し振りにファイルを渡したら起動すらしてくれなかった(ツンデレ的に)のでメモ

環境

  • macOS Sierra
  • Terminal
    • 普段はiTerm2を使っている
  • bash
    • 普段はzshを使っている
  • Homebrew

エラー内容

"/private/var/folders/k7/(よくわからん文字列)/T/AppTranslocation/(UUID的な文字列)/dtool/TDEnc2.sh" "/Users/(自分のユーザ名)/Movies/pv.mp4";exit

の後に

zsh: no such file or directory: /private/var/folders/k7/(よくわからんry)/T/AppTranslocation/(UUIDry)/dtool/TDEnc2.sh

って出てそのままターミナルのセッションが終わる

原因

次の幾つかがパッと思いつくけど詳細は不明。

  • 普段iTerm2+zshを使っててD&DしてTerminal.appが開いた時に環境変数らへんがパスされていない
  • Homebrew?

解決法

とりあえずドラッグアンドドロップを諦めて自分の普段の環境であるiTerm2+zshを立ち上げて直接叩きにいきました。

cd Documents/TDEnc2/tool
./TDEnc2.sh (ここに動画ファイルの場所)

これでつんでれんこちゃんが復活するはずです。

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?