Error on Mac configuring PyPI via Travis
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 45/100
- issue の種類
- ドキュメント
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 領域
- ci-cd, documentation
調査の方向性
セクション4、レッスン4、特に「Configure PyPI Authentication Via Travis」から始め、報告されているMacのセットアップ失敗について、リンクされているtravis.rb issueを確認してください。動作するインストール方法を扱うトラブルシューティングまたはFAQの注記を追加し、レッスンからその注記にリンクしてください。影響を受ける読者が回避策を見つけられれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Location within the Course
- Section:4
- Lesson:4
- Language:English
Description
In "Configure PyPI Authentication Via Travis". I'm on a Mac and installed Travis using the command brew install travis, but then when I did travis encrypt --add deploy.password, I get this message:
Shell completion not installed. Would you like to install it now? |y y
Detected repository as purplediane/shortbread, is this correct? |yes| yes
not logged in, please run travis login --pro
Then I did travis login --pro
It asked for username and password, which I entered, and then got:
no implicit conversion of nil into String
for a full error report, run travis report --pro
Turns out the problem has something to do with ruby versions. When I do ruby --version, it tells me I have 2.5.0p0, but my travis report said it is 2.0.0-p648, which is not current enough to work. Probably my Homebrew is not quite right, since I rarely use it, although I recently did brew update or whatever you are supposed to do to keep the Brewed things up-to-date. (I try not to be too much of a curmudgeonly luddite, but just can't get interested in Homebrew enough to spend the time to understand it; sorry, brew-lovers).
Solution
My solution was to brew uninstall travis and then do gem install travis -v 1.8.8 --no-rdoc --no-ri per instructions here. Even though it claims that Ruby 2.0 is OK, others have said the problem went away after upgrading Ruby.
In any case, after installing it as a gem, the travis encrypt command worked.
See https://github.com/travis-ci/travis.rb/issues/190#issuecomment-369749402 for more discussion of this issue.
Maybe this can be in the FAQ or troubleshooting area, with a link from the location in 4.4 for those who have the problem.
- 主要言語
- 言語のデータがありません
- スター
- 8
- フォーク
- 0
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
twoscoops/Creating-and-Distributing-Python-Packages のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
twoscoops/Creating-and-Distributing-Python-Packages#36 · コメント 2 件 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 35/100
twoscoops/Creating-and-Distributing-Python-Packages#35 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 45/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 50/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 45/100
twoscoops/Creating-and-Distributing-Python-Packages の issue をすべて見る
似ている issue
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
Azure/PSRule.Rules.Azure#3929 · コメント 1 件 ·
-
難易度 1/5 1〜3時間 初心者へのやさしさ 78/100
Mintplex-Labs/anything-llm#6490 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100