You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
❯ atcoder-tools submit -u ABC123/A
Traceback (most recent call last):
File "/Users/user/.local/bin/atcoder-tools", line 8, in <module>
sys.exit(main())
File "/Users/user/.local/pipx/venvs/atcoder-tools/lib/python3.8/site-packages/atcodertools/atcoder_tools.py", line 61, in main
exit_program(submit_main(prog, args))
File "/Users/user/.local/pipx/venvs/atcoder-tools/lib/python3.8/site-packages/atcodertools/tools/submit.py", line 117, in main
submission = client.submit_source_code(
File "/Users/user/.local/pipx/venvs/atcoder-tools/lib/python3.8/site-packages/atcodertools/client/atcoder.py", line 178, in submit_source_code
task_number = task_select_area.find(
AttributeError: 'NoneType' object has no attribute 'find'
…onger matching with the submission page.
Submission language pattern for python was no longer matching with the submission page.
Just fixing regex pattern.
firewood
pushed a commit
to firewood/atcoder-tools
that referenced
this issue
May 2, 2021
…onger matching with the submission page.
Submission language pattern for python was no longer matching with the submission page.
Just fixing regex pattern.
firewood
pushed a commit
to firewood/atcoder-tools
that referenced
this issue
May 3, 2021
…onger matching with the submission page.
Submission language pattern for python was no longer matching with the submission page.
Just fixing regex pattern.
version: 1.1.7.1
対象の問題: ABC123/A
#192 と同様でlanguage_number取得時に正規表現でマッチしていないようです。
対象のhtmlをdumpして, grepかけると以下のようになりました。
これが以下の正規表現でmatchしないため, language codeが取得できないようです。
atcoder-tools/atcodertools/common/language.py
Line 83 in 3d04f49
手元ではworkaroundとして, 正規表現を以下のように変更しました
The text was updated successfully, but these errors were encountered: