MickaelRigault / ztfquery

Access ZTF data from Python
Apache License 2.0
37 stars 18 forks source link

Login #1

Closed simeonreusch closed 6 years ago

simeonreusch commented 6 years ago

Reading credentials does not work for mine. It seems the ciphertext of my login also includes a symbol "\n", therefore creating 3 different return objects instead of 2 because it is interpreted as an additional line-feed. If I look at the ~/.queryirsa in utf-8-format I can also see 3 lines instead of 2. To reproduce: The error happens when entering "simeonreusch@posteo.de" as an email-adress. I tried it manually and it gave me the error. Idea: Store login and password in 2 different files. It's only obfuscation anyway. I tried that and it works – I can push that solution if that's the way we want to go.

MickaelRigault commented 6 years ago

Hi, no not really I would prefer having just 1 file, but I may be more careful in the way I save them. I'll check.

MickaelRigault commented 6 years ago

Solution: Input without quotes

MickaelRigault commented 6 years ago

I'll add that the quotes are only mandatory for 2.6python

simeonreusch commented 6 years ago

The same applies for the password, so the comment should include this as well :-)