Page MenuHomePhabricator

Early June 2017 Wiki labels deploy
Closed, ResolvedPublic

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Halfak renamed this task from Deploy new workset not found for user message on WMF wikilabels instance to Early June Wiki labels deploy.Jun 5 2017, 11:20 PM

@Zppix: Not a Tracking-Neverending bug by definition

Yeah i realised that just a few mins before you removed it (sorry when i added it I was a bit tired) is there a better tag (if applicable) to use on these sort of tasks similar to Tracking-Neverending ?

Went to staging. Here's the error I got:

Jun 13 01:13:41 wikilabels-staging-01 uwsgi-wikilabels-web[5812]: Traceback (most recent call last):
Jun 13 01:13:41 wikilabels-staging-01 uwsgi-wikilabels-web[5812]: File "./wikilabels/wsgi/routes/campaigns.py", line 82, in assign_workset
Jun 13 01:13:41 wikilabels-staging-01 uwsgi-wikilabels-web[5812]: doc = {'workset': db.worksets.assign(campaign_id, user_id, stats)}
Jun 13 01:13:41 wikilabels-staging-01 uwsgi-wikilabels-web[5812]: File "./wikilabels/database/worksets.py", line 147, in assign
Jun 13 01:13:41 wikilabels-staging-01 uwsgi-wikilabels-web[5812]: .format(user_id, campaign_id))
Jun 13 01:13:41 wikilabels-staging-01 uwsgi-wikilabels-web[5812]: wikilabels.database.errors.IntegrityError: No tasks available for user_id=6877667 in campaign_id=4
Jun 13 01:13:41 wikilabels-staging-01 uwsgi-wikilabels-web[5812]: During handling of the above exception, another exception occurred:
Jun 13 01:13:41 wikilabels-staging-01 uwsgi-wikilabels-web[5812]: Traceback (most recent call last):
Jun 13 01:13:41 wikilabels-staging-01 uwsgi-wikilabels-web[5812]: File "/srv/wikilabels/venv/lib/python3.4/site-packages/flask/app.py", line 1817, in wsgi_app
Jun 13 01:13:41 wikilabels-staging-01 uwsgi-wikilabels-web[5812]: response = self.full_dispatch_request()
Jun 13 01:13:41 wikilabels-staging-01 uwsgi-wikilabels-web[5812]: File "/srv/wikilabels/venv/lib/python3.4/site-packages/flask/app.py", line 1477, in full_dispatch_request
Jun 13 01:13:41 wikilabels-staging-01 uwsgi-wikilabels-web[5812]: rv = self.handle_user_exception(e)
Jun 13 01:13:41 wikilabels-staging-01 uwsgi-wikilabels-web[5812]: File "/srv/wikilabels/venv/lib/python3.4/site-packages/flask/app.py", line 1381, in handle_user_exception
Jun 13 01:13:41 wikilabels-staging-01 uwsgi-wikilabels-web[5812]: reraise(exc_type, exc_value, tb)
Jun 13 01:13:41 wikilabels-staging-01 uwsgi-wikilabels-web[5812]: File "/srv/wikilabels/venv/lib/python3.4/site-packages/flask/_compat.py", line 33, in reraise
Jun 13 01:13:41 wikilabels-staging-01 uwsgi-wikilabels-web[5812]: raise value
Jun 13 01:13:41 wikilabels-staging-01 uwsgi-wikilabels-web[5812]: File "/srv/wikilabels/venv/lib/python3.4/site-packages/flask/app.py", line 1475, in full_dispatch_request
Jun 13 01:13:41 wikilabels-staging-01 uwsgi-wikilabels-web[5812]: rv = self.dispatch_request()
Jun 13 01:13:41 wikilabels-staging-01 uwsgi-wikilabels-web[5812]: File "/srv/wikilabels/venv/lib/python3.4/site-packages/flask/app.py", line 1461, in dispatch_request
Jun 13 01:13:41 wikilabels-staging-01 uwsgi-wikilabels-web[5812]: return self.view_functions[rule.endpoint](**req.view_args)
Jun 13 01:13:41 wikilabels-staging-01 uwsgi-wikilabels-web[5812]: File "./wikilabels/wsgi/preprocessors.py", line 12, in wrapped_f
Jun 13 01:13:41 wikilabels-staging-01 uwsgi-wikilabels-web[5812]: return f(*args, **kwargs)
Jun 13 01:13:41 wikilabels-staging-01 uwsgi-wikilabels-web[5812]: File "./wikilabels/wsgi/routes/campaigns.py", line 87, in assign_workset
Jun 13 01:13:41 wikilabels-staging-01 uwsgi-wikilabels-web[5812]: url_for("stats_wiki", wiki=wiki))
Jun 13 01:13:41 wikilabels-staging-01 uwsgi-wikilabels-web[5812]: File "/srv/wikilabels/venv/lib/python3.4/site-packages/flask/helpers.py", line 312, in url_for
Jun 13 01:13:41 wikilabels-staging-01 uwsgi-wikilabels-web[5812]: return appctx.app.handle_url_build_error(error, endpoint, values)
Jun 13 01:13:41 wikilabels-staging-01 uwsgi-wikilabels-web[5812]: File "/srv/wikilabels/venv/lib/python3.4/site-packages/flask/app.py", line 1641, in handle_url_build_error
Jun 13 01:13:41 wikilabels-staging-01 uwsgi-wikilabels-web[5812]: reraise(exc_type, exc_value, tb)
Jun 13 01:13:41 wikilabels-staging-01 uwsgi-wikilabels-web[5812]: File "/srv/wikilabels/venv/lib/python3.4/site-packages/flask/_compat.py", line 33, in reraise
Jun 13 01:13:41 wikilabels-staging-01 uwsgi-wikilabels-web[5812]: raise value
Jun 13 01:13:41 wikilabels-staging-01 uwsgi-wikilabels-web[5812]: File "/srv/wikilabels/venv/lib/python3.4/site-packages/flask/helpers.py", line 305, in url_for
Jun 13 01:13:41 wikilabels-staging-01 uwsgi-wikilabels-web[5812]: force_external=external)
Jun 13 01:13:41 wikilabels-staging-01 uwsgi-wikilabels-web[5812]: File "/srv/wikilabels/venv/lib/python3.4/site-packages/werkzeug/routing.py", line 1768, in build
Jun 13 01:13:41 wikilabels-staging-01 uwsgi-wikilabels-web[5812]: raise BuildError(endpoint, values, method, self)
Jun 13 01:13:41 wikilabels-staging-01 uwsgi-wikilabels-web[5812]: werkzeug.routing.BuildError: Could not build url for endpoint 'stats_wiki' with values ['wiki']. Did you mean 'wikilabels.stats_wiki' instead?

Updated wikilabels with bugfix and tested by getting the target error message and then labeling some edits. Declaring victory.

Updated wikilabels with bugfix and tested by getting the target error message and then labeling some edits. Declaring victory.

Can we close this task and its subtasks (excluding T166955) as resolved then?

Aklapper renamed this task from Early June Wiki labels deploy to Early June 2017 Wiki labels deploy.Jun 16 2017, 7:01 PM