Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

yukicoder No.104 国道 で正常に動きません #2

Closed
mmxsrup opened this issue Jan 11, 2017 · 2 comments
Closed

yukicoder No.104 国道 で正常に動きません #2

mmxsrup opened this issue Jan 11, 2017 · 2 comments

Comments

@mmxsrup
Copy link

mmxsrup commented Jan 11, 2017

% oj download http://yukicoder.me/problems/no/104                                [~/Documents/yukicoder/100/104]+[master]
[x] problem recognized: <onlinejudge.yukicoder.YukicoderProblem object at 0x1072ac588>: http://yukicoder.me/problems/no/104
[*] load cookie from: /Users/yuichi/local/share/onlinejudge/cookie.jar
[x] GET: https://yukicoder.me/problems/no/104
[x] 200 OK
Traceback (most recent call last):
  File "/Users/yuichi/Programs/online-judge-tools/main.py", line 151, in <module>
    main()
  File "/Users/yuichi/Programs/online-judge-tools/main.py", line 140, in main
    download(args)
  File "/Users/yuichi/Programs/online-judge-tools/main.py", line 34, in download
    samples = problem.download(session=sess, **kwargs)
  File "/Users/yuichi/Programs/online-judge-tools/onlinejudge/yukicoder.py", line 91, in download
    return self.download_samples(session=session)
  File "/Users/yuichi/Programs/online-judge-tools/onlinejudge/yukicoder.py", line 105, in download_samples
    it = self._parse_sample_tag(pre)
  File "/Users/yuichi/Programs/online-judge-tools/onlinejudge/yukicoder.py", line 138, in _parse_sample_tag
    return utils.textfile(tag.string.lstrip()), pprv.string + ' ' + prv.string
AttributeError: 'NoneType' object has no attribute 'lstrip'
@kmyk
Copy link
Member

kmyk commented Jan 12, 2017

報告ありがとう 修正します

@kmyk
Copy link
Member

kmyk commented Jan 12, 2017

修正しました
間に空白も存在しない <pre></pre> があると落ちるようだった

@kmyk kmyk closed this as completed Jan 12, 2017
@kmyk kmyk reopened this Jan 12, 2017
@kmyk kmyk closed this as completed Jan 12, 2017
kfaRabi pushed a commit to kfaRabi/online-judge-tools that referenced this issue Feb 19, 2019
Resolve "Add support for Toph problem archive"

Closes online-judge-tools#2

See merge request toph/online-judge-tools!2
kfaRabi pushed a commit to kfaRabi/online-judge-tools that referenced this issue Feb 25, 2019
Resolve "Add support for Toph problem archive"

Closes online-judge-tools#2

See merge request toph/online-judge-tools!4
kmyk pushed a commit that referenced this issue Nov 7, 2020
メッセージをプログラム内の他のコマンドの表示と合わせる
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants