You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/05/02 04:49:36 UTC

[GitHub] [airflow] fusuiyi123 commented on pull request #8677: Remove _get_pretty_exception_message

fusuiyi123 commented on pull request #8677:
URL: https://github.com/apache/airflow/pull/8677#issuecomment-622668678


   BTW, I got a strange error for pre-commit which complains I don't have gnu installed which I actually did:
   ```shell
   echo $PATH
   /usr/local/opt/gnu-getopt/bin:/Users/fusuiyi/opt/anaconda3/envs/airflow/bin:/Users/fusuiyi/opt/anaconda3/condabin:/Users/fusuiyi/Downloads/google-cloud-sdk/bin:/Users/fusuiyi/Downloads/apache-maven-3.5.4/bin:/Users/fusuiyi/Downloads/mongodb/bin:/usr/local/mysql/bin:/usr/local/opt/scala@2.11/bin:/usr/local/opt/sbt@0.13/bin:/opt/local/bin:/opt/local/sbin:/usr/local/sbin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/usr/local/share/dotnet:/opt/X11/bin:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/Users/fusuiyi/opt/anaconda3/bin:/Users/fusuiyi/opt/anaconda3/condabin:/Users/fusuiyi/Downloads/google-cloud-sdk/bin:/Users/fusuiyi/Downloads/apache-maven-3.5.4/bin:/Users/fusuiyi/Downloads/mongodb/bin:/usr/local/mysql/bin:/usr/local/opt/scala@2.11/bin:/usr/local/opt/sbt@0.13/bin:/opt/local/bin:/opt/local/sbin:/usr/local/sbin:/Users/fusuiyi/.fzf/bin
   ```
   ```shell
   git commit
   
   You are running pre_commit_ci_build.sh in OSX environment
   And you need to install gnu commands
   
   Run 'brew install gnu-getopt coreutils'
   
   Then link the gnu-getopt to become default as suggested by brew.
   
   If you use bash, you should run this command:
   
   echo 'export PATH="/usr/local/opt/gnu-getopt/bin:$PATH"' >> ~/.bash_profile
   . ~/.bash_profile
   
   If you use zsh, you should run this command:
   
   echo 'export PATH="/usr/local/opt/gnu-getopt/bin:$PATH"' >> ~/.zprofile
   . ~/.zprofile
   
   Login and logout afterwards !!
   
   After re-login, your PATH variable should start with "/usr/local/opt/gnu-getopt/bin"
   Your current path is /usr/local/git/libexec/git-core:/usr/local/opt/gnu-getopt/bin:/Users/fusuiyi/opt/anaconda3/envs/airflow/bin:/Users/fusuiyi/opt/anaconda3/condabin:/Users/fusuiyi/Downloads/google-cloud-sdk/bin:/Users/fusuiyi/Downloads/apache-maven-3.5.4/bin:/Users/fusuiyi/Downloads/mongodb/bin:/usr/local/mysql/bin:/usr/local/opt/scala@2.11/bin:/usr/local/opt/sbt@0.13/bin:/opt/local/bin:/opt/local/sbin:/usr/local/sbin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/usr/local/share/dotnet:/opt/X11/bin:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/Users/fusuiyi/opt/anaconda3/bin:/Users/fusuiyi/opt/anaconda3/condabin:/Users/fusuiyi/Downloads/google-cloud-sdk/bin:/Users/fusuiyi/Downloads/apache-maven-3.5.4/bin:/Users/fusuiyi/Downloads/mongodb/bin:/usr/local/mysql/bin:/usr/local/opt/scala@2.11/bin:/usr/local/opt/sbt@0.13/bin:/opt/local/bin:/opt/local/sbin:/usr/local/sbin:/Users/fusuiyi/.fzf/bin
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org