hackerkid / hackerkid/codejam-commandline

Exception "AttributeError: can't set attribute" instead of error message on invalid credentials

オープン
#28 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
auto-migrated Priority-Medium Type-Defect
主要言語
Python
スター
0
フォーク
0
PR マージ指標
30日以内にマージされた PR はありません

説明

```
What steps will reproduce the problem?
1. Put user email in user_config.py
2. Run gcj_init_contest.py
3. Enter invalid password

What is the expected output?
"Invalid user email or password" error message

What do you see instead?
Traceback (most recent call last):
File "gcj\gcj_renew_login.py", line 79, in
main()
File "gcj\gcj_renew_login.py", line 61, in main
code_jam_login.Login(options.password)
File "gcj\lib\code_jam_login.py", line 306, in Login
_, cookie = MakeLogin(host, user, password)
File "gcj\lib\code_jam_login.py", line 160, in MakeLogin
host, 'HOSTED_OR_GOOGLE', user, password, 'ah', application_name, False)
File "gcj\lib\google_login.py", line 199, in Login
source)
File "gcj\lib\google_login.py", line 125, in _GetGoogleAuthtoken
e.headers, response_dict)
File "gcj\lib\google_login.py", line 38, in __init__
self.reason = args["Error"]
AttributeError: can't set attribute

What version of the product are you using? On what operating system?
1.2-beta1, win7 x64

```

Original issue reported on code.google.com by `jan.kill...@gmail.com` on 16 Apr 2014 at 4:51

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。