authinfo incompatibility with saspy module
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 2/5
- Temps estimé
- 1-3 heures
- Accessibilité débutants
- 35/100
- Type d'issue
- Bug
- Clarté
- Clairement spécifiée
- Activité
- À l'abandon
- Stack technique
- python
- Domaine
- authentication
Piste de recherche
Commencez par utils/authinfo.py:191 et examinez comment le parser sépare les enregistrements .authinfo. Reproduisez le problème avec les entrées nommées IOM_Linux_SASGrid et default présentées dans le rapport, puis vérifiez que les configurations nommées n'interrompent plus l'analyse et que l'enregistrement default est sélectionné correctement.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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.
- Langage dominant
- Python
- Étoiles
- 159
- Forks
- 66
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Aucun modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de sassoftware/python-swat
-
Difficulté 4/5 3-5 jours Accessibilité débutants 30/100
sassoftware/python-swat#191 · 1 commentaire ·
-
Error uploading parquet filesOuverte
Difficulté 3/5 1-2 jours Accessibilité débutants 35/100
sassoftware/python-swat#183 · 1 commentaire ·
-
Difficulté 4/5 3-5 jours Accessibilité débutants 25/100
sassoftware/python-swat#180 ·
-
Difficulté 4/5 3-5 jours Accessibilité débutants 25/100
sassoftware/python-swat#177 · 1 commentaire ·
-
Applying formats to compued varsOuverte
Difficulté 3/5 1-2 jours Accessibilité débutants 35/100
sassoftware/python-swat#175 · 1 commentaire ·
Toutes les issues de sassoftware/python-swat
Issues similaires
-
follow-up needs-triage S3: minor
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
manaflow-ai/cmux#36856 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
documentation good first issue help wanted
Difficulté 1/5 1-3 heures Accessibilité débutants 90/100
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 73/100
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
-
Shell framework build fails at "copy the shader libraries": the iOS shader libraries are now one file b-<chain>.imgPeut-être pris @xiaofeng-han l’a pris aujourd’hui. Ouvertebuild ios
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
Les mainteneurs répondent en général sous 1 jour