Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Paste
P180
Error trace encountered working on Bug T74747
Active
Public
Actions
Authored by
•
Fhocutt
on Dec 26 2014, 10:52 PM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
Analytics-Wikimetrics
Subscribers
None
After
running
sudo
stop
wikimetrics
-
queue
:
vagrant
@mediawiki
-
vagrant
:
/
vagrant
/
wikimetrics
$
nosetests
/
vagrant
/
wikimetrics
/
tests
/
test_controllers
/
test_reports
.
py
....................
E
======================================================================
ERROR
:
test_save_public_report
(
tests
.
test_controllers
.
test_reports
.
ReportsControllerTest
)
----------------------------------------------------------------------
Traceback
(
most
recent
call
last
):
File
"/vagrant/wikimetrics/tests/test_controllers/test_reports.py"
,
line
385
,
in
test_save_public_report
response
=
self
.
client
.
post
(
'/reports/set-public/{}'
.
format
(
report
.
id
))
File
"/usr/local/lib/python2.7/dist-packages/werkzeug/test.py"
,
line
772
,
in
post
return
self
.
open
(
*
args
,
**
kw
)
File
"/usr/local/lib/python2.7/dist-packages/flask/testing.py"
,
line
108
,
in
open
follow_redirects
=
follow_redirects
)
File
"/usr/local/lib/python2.7/dist-packages/werkzeug/test.py"
,
line
736
,
in
open
response
=
self
.
run_wsgi_app
(
environ
,
buffered
=
buffered
)
File
"/usr/local/lib/python2.7/dist-packages/werkzeug/test.py"
,
line
659
,
in
run_wsgi_app
rv
=
run_wsgi_app
(
self
.
application
,
environ
,
buffered
=
buffered
)
File
"/usr/local/lib/python2.7/dist-packages/werkzeug/test.py"
,
line
855
,
in
run_wsgi_app
app_iter
=
app
(
environ
,
start_response
)
File
"/usr/local/lib/python2.7/dist-packages/flask/app.py"
,
line
1836
,
in
__call__
return
self
.
wsgi_app
(
environ
,
start_response
)
File
"/usr/local/lib/python2.7/dist-packages/flask/app.py"
,
line
1820
,
in
wsgi_app
response
=
self
.
make_response
(
self
.
handle_exception
(
e
))
File
"/usr/local/lib/python2.7/dist-packages/flask/app.py"
,
line
1403
,
in
handle_exception
reraise
(
exc_type
,
exc_value
,
tb
)
File
"/usr/local/lib/python2.7/dist-packages/flask/app.py"
,
line
1817
,
in
wsgi_app
response
=
self
.
full_dispatch_request
()
File
"/usr/local/lib/python2.7/dist-packages/flask/app.py"
,
line
1477
,
in
full_dispatch_request
rv
=
self
.
handle_user_exception
(
e
)
File
"/usr/local/lib/python2.7/dist-packages/flask/app.py"
,
line
1381
,
in
handle_user_exception
reraise
(
exc_type
,
exc_value
,
tb
)
File
"/usr/local/lib/python2.7/dist-packages/flask/app.py"
,
line
1475
,
in
full_dispatch_request
rv
=
self
.
dispatch_request
()
File
"/usr/local/lib/python2.7/dist-packages/flask/app.py"
,
line
1461
,
in
dispatch_request
return
self
.
view_functions
[
rule
.
endpoint
](
**
req
.
view_args
)
File
"/vagrant/wikimetrics/wikimetrics/controllers/reports.py"
,
line
60
,
in
set_public_report
data
=
report_result_json
(
result_key
)
.
data
File
"/vagrant/wikimetrics/wikimetrics/controllers/reports.py"
,
line
385
,
in
report_result_json
user_names
=
get_usernames_for_task_result
(
result
[
result_key
])
File
"/vagrant/wikimetrics/wikimetrics/controllers/reports.py"
,
line
202
,
in
get_usernames_for_task_result
user_names
=
g
.
cohort_service
.
get_wikiusernames_for_cohort
(
cohort_id
,
session
)
File
"/usr/local/lib/python2.7/dist-packages/werkzeug/local.py"
,
line
338
,
in
__getattr__
return
getattr
(
self
.
_get_current_object
(),
name
)
AttributeError
:
'_AppCtxGlobals'
object
has
no
attribute
'cohort_service'
Event Timeline
•
Fhocutt
edited the content of this paste.
(Show Details)
Dec 26 2014, 10:52 PM
•
Fhocutt
changed the title of this paste from untitled to
Error trace encountered working on Bug T74747
.
•
Fhocutt
updated the paste's language from
autodetect
to
python
.
•
Fhocutt
added a project:
Analytics-Wikimetrics
.
Ramsey-WMF
mentioned this in
T191633: Implement searching of 'depicts' on commons
.
Jul 15 2018, 1:11 AM
kruusamagi
mentioned this in
T204677: Wikidata Eesti maalide sissekannete kirjeldamine
.
Sep 18 2018, 4:17 PM
Susannaanas
mentioned this in
T197956: Model data for Wikidocumentaries
.
Dec 30 2018, 7:09 PM
Ramsey-WMF
mentioned this in
T216450: [Alpha/Labs] Have links on Wikidata Q and P items open in a new window/tab
.
Feb 18 2019, 9:38 PM
JeanFred
mentioned this in
T221685: Edit summary for claims on Wikimedia Commons should use Labels, not only Q-items (and P-items)
.
Apr 23 2019, 5:57 PM
Ramsey-WMF
mentioned this in
T221691: haswbstatement: P180 not working on production Commons
.
Apr 23 2019, 7:03 PM
Multichill
mentioned this in
T228320: Suggest Wikidata item of monument in upload campagin based on known identifier
.
Jul 17 2019, 6:04 PM
egardner
mentioned this in
T228694: Design a system for recording votes on depicts suggestions
.
Jul 22 2019, 9:18 PM
Susannaanas
mentioned this in
T229671: Vallila allotment garden museum pilot
.
Aug 2 2019, 3:53 PM
Ramsey-WMF
mentioned this in
T230175: Provide search functionality to find all files that have at least 1 structured data statement
.
Aug 9 2019, 12:40 AM
Multichill
mentioned this in
T230569: General SDC data modelling session
.
Sep 29 2019, 4:39 PM
Mholloway
mentioned this in
T234457: [M] Don't create a duplicate depicts statement upon label approval
.
Oct 2 2019, 5:22 PM
Gerrit Code Review <gerrit@wikimedia.org>
mentioned this in
rEMVI22f52acbe0ae: Merge "Hygiene: Clean up existing instance of hard-coded P180 value"
.
Oct 8 2019, 1:30 PM
AlexisJazz
mentioned this in
T235329: When adding depict statements on Commons, include more information in the edit summary
.
Oct 12 2019, 1:19 PM
EBernhardson
mentioned this in
T235942: "somevalue" SDOC statements not visible in search index
.
Oct 24 2019, 10:17 PM
LucasWerkmeister
mentioned this in
R2422:520c618b5a33: Work around T222159
.
Nov 1 2019, 11:15 AM
matthiasmullie
mentioned this in
T235754: Implement haswbstatement:P<depicts>=Q<your term> autocomplete suggestions
.
Nov 4 2019, 1:34 PM
Husky
mentioned this in
T141602: [Objective Fiscal 19-20/Q4] (9) Provide a Proof of Concept SPARQL endpoint in support of SDoC project
.
Nov 11 2019, 9:48 AM
EBernhardson
mentioned this in
T237849: Commons search seems to have stopped indexing statements since 30 October 2019
.
Nov 12 2019, 10:48 PM
Spinster
mentioned this in
T238443: Add P180 (Depicts) and P6243 (Digital representation of) structured data to Commons files representing artworks by Jakob Smits
.
Nov 15 2019, 8:05 PM
Mayakp.wiki
mentioned this in
T231952: [REQUEST] SDC metrics
.
Dec 10 2019, 11:50 PM
Ymblanter
mentioned this in
T247118: An attempt to add structure data on Commons results in a wrong item
.
Mar 6 2020, 7:01 PM
Multichill
mentioned this in
T221921: Provision search endpoint for SDC. Requirements from Product Team.
.
Mar 16 2020, 4:51 PM
Greg.collver
mentioned this in
T250618: Trouble accessing wikidata JSON pages with non-ASCII letters in pagename (due to not using URIencoding)
.
Apr 19 2020, 4:32 PM
Nathank2
mentioned this in
T216645: commons "ideal" search
.
Apr 24 2020, 3:20 AM
Multichill
mentioned this in
T252340: Use language fallback in mediainfo diff just like in edit summary
.
May 10 2020, 2:23 PM
Ramsey-WMF
mentioned this in
T252251: Create a Structured Data on Commons search prototype (and create a Vue-based component library in the process)
.
May 11 2020, 5:34 PM
Cparle
mentioned this in
T257935: Change MediaQueryBuilder to use a ConstantScore query for statements queries
.
Jul 14 2020, 3:40 PM
Salgo60
mentioned this in
T268381: Evighetsrunor / “Everlasting Runes”
.
Dec 3 2020, 9:49 AM
matthiasmullie
mentioned this in
T258055: [L] [SPIKE] Investigate traversing entities tree to include more entities with more detail
.
Jan 13 2021, 12:25 PM
matthiasmullie
mentioned this in
T272508: PropertyInfoSnakUrlExpander: Bad value for parameter $snak->getDataValue(): must be a DataValues\StringValue
.
Jan 20 2021, 8:08 PM
Log In to Comment