Page MenuHomePhabricator

Fail whale
Closed, ResolvedPublic

Description

I can't seem to check Blue whale
https://tools.wmflabs.org/oabot/process?name=Blue+whale

OAbot
Oops! Something went wrong.

Error:
[Errno 9] Bad file descriptor
Traceback (most recent call last):
File "/data/project/oabot/www/python/venv/local/lib/python2.7/site-packages/flask/app.py", line 1813, in full_dispatch_request
rv = self.dispatch_request()
File "/data/project/oabot/www/python/venv/local/lib/python2.7/site-packages/flask/app.py", line 1799, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "/data/project/oabot/www/python/src/app.py", line 142, in process
context = get_proposed_edits(page_name, force)
File "/data/project/oabot/www/python/src/app.py", line 231, in get_proposed_edits
filtered = list(filter(lambda e: e.proposed_change, all_templates))
File "./oabot/main.py", line 357, in add_oa_links_in_references
edit.propose_change(only_doi)
File "./oabot/main.py", line 80, in propose_change
sys.stdout.flush()
IOError: [Errno 9] Bad file descriptor
If you don't think you should be seeing this error please report it on Phabricator.

Event Timeline

Nemo_bis claimed this task.
Nemo_bis subscribed.

Thanks for reporting. Those IOError are usually temporary. I generated the suggestions manually, made an edit, opened https://tools.wmflabs.org/oabot/process?name=Blue+whale again, and I got:

File "./oabot/main.py", line 357, in add_oa_links_in_references
edit.propose_change(only_doi)
File "./oabot/main.py", line 79, in propose_change
sys.stdout.write('.')
IOError: [Errno 0] Error

Now I've restarted the tool and it worked, with no link suggested.

I no longer get the error for Blue whale. No other errors pop up either. Thanks.