authinfo incompatibility with saspy module
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 停滞
- 技術スタック
- python
調査の方向性
utils/authinfo.py:191 から始めて、パーサーが .authinfo レコードをどのように分割しているかを調べてください。レポートに示されている名前付きの IOM_Linux_SASGrid エントリと default エントリで問題を再現し、その後、名前付き構成でパースが壊れなくなっていること、および default レコードが正しく選択されることを確認してください。
索引モデルが issue の本文から書いたものです。
説明
I'm using both saspy [for sas_kernel/jupyter as well as some of our 9.4 systems and SAS Grid], as well as SWAT for working directly with CAS. I spent quite a while trying to debug a connection issue with SWAT that turned out to be due to how my .authinfo was written.
What I had originally looked like this:
IOM_Linux_SASGrid user not_my_real_user password not_my_real_password
default user not_my_real_user password not_my_real_password
SWAT kept having authentication problems, because the syntax with the named config line doesn't work with the parser process in utils/authinfo.py:191 , where it splits on "host|machine|default".
The SASPy documentation is here: https://sassoftware.github.io/saspy/configuration.html#iom , this is the line about "authkey" that's specced thus, that is the line causing the problem:
authkey user omr_user_id password omr_user_password
My workaround was to flip the lines:
default user not_my_real_user password not_my_real_password
IOM_Linux_SASGrid user not_my_real_user password not_my_real_password
And now the "default" one is correctly picked up, [and the rest of the "defs" variable is nonsensical from the perspective of the rest of the parsing code, but it doesn't matter because it doesn't play because default already got returned]
Because the named configs don't make sense with SWAT's configuration, I would suggest the shortest fix that is to split on line breaks first, then split the rest, the way you do now. That way, named configs will be functionally ignored but won't break subsequent records.
- 主要言語
- Python
- スター
- 159
- フォーク
- 66
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
sassoftware/python-swat のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 30/100
sassoftware/python-swat#191 · コメント 1 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
sassoftware/python-swat#183 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
sassoftware/python-swat#180 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
sassoftware/python-swat#177 · コメント 1 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
sassoftware/python-swat#175 · コメント 1 件 ·
sassoftware/python-swat の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
its-me-prash/vwgroup-connect-ha#2019 ·
メンテナーはふだん 1 日以内に返信
-
bug good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
KonstantinStarovoytov/kitden#21 ·
メンテナーはふだん 1 日以内に返信
-
Refactorオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
ehmatthes/gh-profiler#166 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
smart-on-fhir/smart-fetch#73 ·
-
good first issue help wanted
難易度 1/5 1〜3時間 初心者へのやさしさ 85/100
RizgarOzan/playcal#13 ·