Page MenuHomePhabricator

Specific large suggestion gives Error: No JSON object could be decoded
Open, LowPublic

Description

https://tools.wmflabs.org/oabot/process?name=Alex_Bateman :

Oops! Something went wrong.

Error:

No JSON object could be decoded 

Traceback (most recent call last):

File "/data/project/oabot/www/python/venv/local/lib/python2.7/site-packages/flask/app.py", line 1612, 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 1598, in dispatch_request

return self.view_functions[rule.endpoint](**req.view_args)

File "/data/project/oabot/www/python/src/app.py", line 145, in process

return flask.render_template('change.html', **context)

File "/data/project/oabot/www/python/venv/local/lib/python2.7/site-packages/flask/templating.py", line 134, in render_template

context, ctx.app)

File "/data/project/oabot/www/python/venv/local/lib/python2.7/site-packages/flask/templating.py", line 116, in _render

rv = template.render(context)

File "/data/project/oabot/www/python/venv/local/lib/python2.7/site-packages/jinja2/environment.py", line 1008, in render

return self.environment.handle_exception(exc_info, True)

File "/data/project/oabot/www/python/venv/local/lib/python2.7/site-packages/jinja2/environment.py", line 780, in handle_exception

reraise(exc_type, exc_value, tb)

File "oabot/templates/change.html", line 75, in top-level template code



{{ template_edit.orig_string|wikirender }}



File "./oabot/wikirender.py", line 17, in wikirender

result = r.json().get('parse',{}).get('text', {}).get('*','')

File "/data/project/oabot/www/python/venv/local/lib/python2.7/site-packages/requests/models.py", line 892, in json

return complexjson.loads(self.text, **kwargs)

File "/usr/lib/python2.7/json/__init__.py", line 338, in loads

return _default_decoder.decode(s)

File "/usr/lib/python2.7/json/decoder.py", line 366, in decode

obj, end = self.raw_decode(s, idx=_w(s, 0).end())

File "/usr/lib/python2.7/json/decoder.py", line 384, in raw_decode

raise ValueError("No JSON object could be decoded")

ValueError: No JSON object could be decoded

The JSON file in the cache, after json_pp, looks like this:

{

"utcnow" : "2018-04-30 08:01:29.972816",

"proposed_edits" : [

{

"orig_string" : "{{cite journal|display-authors=1|last1=Lander|first1=Eric S.|last2=Linton|first2=Lauren M.|last3=Birren|first3=Bruce|last4=Nusbaum|first4=Chad|last5=Zody|first5=Michael C.|last6=Baldwin|first6=Jennifer|last7=Devon|first7=Keri|last8=Dewar|first8=Ken|last9=Doyle|first9=Michael|last10=FitzHugh|first10=William|last11=Funke|first11=Roel|last12=Gage|first12=Diane|last13=Harris|first13=Katrina|last14=Heaford|first14=Andrew|last15=Howland|first15=John|last16=Kann|first16=Lisa|last17=Lehoczky|first17=Jessica|last18=LeVine|first18=Rosie|last19=McEwan|first19=Paul|last20=McKernan|first20=Kevin|last21=Meldrim|first21=James|last22=Mesirov|first22=Jill P.|last23=Miranda|first23=Cher|last24=Morris|first24=William|last25=Naylor|first25=Jerome|last26=Raymond|first26=Christina|last27=Rosetti|first27=Mark|last28=Santos|first28=Ralph|last29=Sheridan|first29=Andrew|last30=Sougnez|first30=Carrie|last31=Stange-Thomann|first31=Nicole|last32=Stojanovic|first32=Nikola|last33=Subramanian|first33=Aravind|last34=Wyman|first34=Dudley|last35=Rogers|first35=Jane|last36=Sulston|first36=John|last37=Ainscough|first37=Rachael|last38=Beck|first38=Stephan|last39=Bentley|first39=David|last40=Burton|first40=John|last41=Clee|first41=Christopher|last42=Carter|first42=Nigel|last43=Coulson|first43=Alan|last44=Deadman|first44=Rebecca|last45=Deloukas|first45=Panos|last46=Dunham|first46=Andrew|last47=Dunham|first47=Ian|last48=Durbin|first48=Richard|last49=French|first49=Lisa|last50=Grafham|first50=Darren|last51=Gregory|first51=Simon|last52=Hubbard|first52=Tim|last53=Humphray|first53=Sean|last54=Hunt|first54=Adrienne|last55=Jones|first55=Matthew|last56=Lloyd|first56=Christine|last57=McMurray|first57=Amanda|last58=Matthews|first58=Lucy|last59=Mercer|first59=Simon|last60=Milne|first60=Sarah|last61=Mullikin|first61=James C.|last62=Mungall|first62=Andrew|last63=Plumb|first63=Robert|last64=Ross|first64=Mark|last65=Shownkeen|first65=Ratna|last66=Sims|first66=Sarah|last67=Waterston|first67=Robert H.|last68=Wilson|first68=Richard K.|last69=Hillier|first69=LaDeana W.|last70=McPherson|first70=John D.|last71=Marra|first71=Marco A.|last72=Mardis|first72=Elaine R.|last73=Fulton|first73=Lucinda A.|last74=Chinwalla|first74=Asif T.|last75=Pepin|first75=Kymberlie H.|last76=Gish|first76=Warren R.|last77=Chissoe|first77=Stephanie L.|last78=Wendl|first78=Michael C.|last79=Delehaunty|first79=Kim D.|last80=Miner|first80=Tracie L.|last81=Delehaunty|first81=Andrew|last82=Kramer|first82=Jason B.|last83=Cook|first83=Lisa L.|last84=Fulton|first84=Robert S.|last85=Johnson|first85=Douglas L.|last86=Minx|first86=Patrick J.|last87=Clifton|first87=Sandra W.|last88=Hawkins|first88=Trevor|last89=Branscomb|first89=Elbert|last90=Predki|first90=Paul|last91=Richardson|first91=Paul|last92=Wenning|first92=Sarah|last93=Slezak|first93=Tom|last94=Doggett|first94=Norman|last95=Cheng|first95=Jan-Fang|last96=Olsen|first96=Anne|last97=Lucas|first97=Susan|last98=Elkin|first98=Christopher|last99=Uberbacher|first99=Edward|last100=Frazier|first100=Marvin|last101=Gibbs|first101=Richard A.|last102=Muzny|first102=Donna M.|last103=Scherer|first103=Steven E.|last104=Bouck|first104=John B.|last105=Sodergren|first105=Erica J.|last106=Worley|first106=Kim C.|last107=Rives|first107=Catherine M.|last108=Gorrell|first108=James H.|last109=Metzker|first109=Michael L.|last110=Naylor|first110=Susan L.|last111=Kucherlapati|first111=Raju S.|last112=Nelson|first112=David L.|last113=Weinstock|first113=George M.|last114=Sakaki|first114=Yoshiyuki|last115=Fujiyama|first115=Asao|last116=Hattori|first116=Masahira|last117=Yada|first117=Tetsushi|last118=Toyoda|first118=Atsushi|last119=Itoh|first119=Takehiko|last120=Kawagoe|first120=Chiharu|last121=Watanabe|first121=Hidemi|last122=Totoki|first122=Yasushi|last123=Taylor|first123=Todd|last124=Weissenbach|first124=Jean|last125=Heilig|first125=Roland|last126=Saurin|first126=William|last127=Artiguenave|first127=Francois|last128=Brottier|first128=Philippe|last129=Bruls|first129=Thomas|last130=Pelletier|first130=Eric|last131=Robert|first131=Catherine|last132=Wincker|first132=Patrick|last133=Rosenthal|first133=André|last134=Platzer|first134=Matthias|last135=Nyakatura|first135=Gerald|last136=Taudien|first136=Stefan|last137=Rump|first137=Andreas|last138=Smith|first138=Douglas R.|last139=Doucette-Stamm|first139=Lynn|last140=Rubenfield|first140=Marc|last141=Weinstock|first141=Keith|last142=Lee|first142=Hong Mei|last143=Dubois|first143=JoAnn|last144=Yang|first144=Huanming|last145=Yu|first145=Jun|last146=Wang|first146=Jian|last147=Huang|first147=Guyang|last148=Gu|first148=Jun|last149=Hood|first149=Leroy|last150=Rowen|first150=Lee|last151=Madan|first151=Anup|last152=Qin|first152=Shizen|last153=Davis|first153=Ronald W.|last154=Federspiel|first154=Nancy A.|last155=Abola|first155=A. Pia|last156=Proctor|first156=Michael J.|last157=Roe|first157=Bruce A.|last158=Chen|first158=Feng|last159=Pan|first159=Huaqin|last160=Ramser|first160=Juliane|last161=Lehrach|first161=Hans|last162=Reinhardt|first162=Richard|last163=McCombie|first163=W. Richard|last164=de la Bastide|first164=Melissa|last165=Dedhia|first165=Neilay|last166=Blöcker|first166=Helmut|last167=Hornischer|first167=Klaus|last168=Nordsiek|first168=Gabriele|last169=Agarwala|first169=Richa|last170=Aravind|first170=L.|last171=Bailey|first171=Jeffrey A.|last172=Bateman|first172=Alex|last173=Batzoglou|first173=Serafim|last174=Birney|first174=Ewan|last175=Bork|first175=Peer|last176=Brown|first176=Daniel G.|last177=Burge|first177=Christopher B.|last178=Cerutti|first178=Lorenzo|last179=Chen|first179=Hsiu-Chuan|last180=Church|first180=Deanna|last181=Clamp|first181=Michele|last182=Copley|first182=Richard R.|last183=Doerks|first183=Tobias|last184=Eddy|first184=Sean R.|last185=Eichler|first185=Evan E.|last186=Furey|first186=Terrence S.|last187=Galagan|first187=James|last188=Gilbert|first188=James G. R.|last189=Harmon|first189=Cyrus|last190=Hayashizaki|first190=Yoshihide|last191=Haussler|first191=David|last192=Hermjakob|first192=Henning|last193=Hokamp|first193=Karsten|last194=Jang|first194=Wonhee|last195=Johnson|first195=L. Steven|last196=Jones|first196=Thomas A.|last197=Kasif|first197=Simon|last198=Kaspryzk|first198=Arek|last199=Kennedy|first199=Scot|last200=Kent|first200=W. James|last201=Kitts|first201=Paul|last202=Koonin|first202=Eugene V.|last203=Korf|first203=Ian|last204=Kulp|first204=David|last205=Lancet|first205=Doron|last206=Lowe|first206=Todd M.|last207=McLysaght|first207=Aoife|last208=Mikkelsen|first208=Tarjei|last209=Moran|first209=John V.|last210=Mulder|first210=Nicola|last211=Pollara|first211=Victor J.|last212=Ponting|first212=Chris P.|last213=Schuler|first213=Greg|last214=Schultz|first214=Jörg|last215=Slater|first215=Guy|last216=Smit|first216=Arian F. A.|last217=Stupka|first217=Elia|last218=Szustakowki|first218=Joseph|last219=Thierry-Mieg|first219=Danielle|last220=Thierry-Mieg|first220=Jean|last221=Wagner|first221=Lukas|last222=Wallis|first222=John|last223=Wheeler|first223=Raymond|last224=Williams|first224=Alan|last225=Wolf|first225=Yuri I.|last226=Wolfe|first226=Kenneth H.|last227=Yang|first227=Shiaw-Pyng|last228=Yeh|first228=Ru-Fang|last229=Collins|first229=Francis|last230=Guyer|first230=Mark S.|last231=Peterson|first231=Jane|last232=Felsenfeld|first232=Adam|last233=Wetterstrand|first233=Kris A.|last234=Myers|first234=Richard M.|last235=Schmutz|first235=Jeremy|last236=Dickson|first236=Mark|last237=Grimwood|first237=Jane|last238=Cox|first238=David R.|last239=Olson|first239=Maynard V.|last240=Kaul|first240=Rajinder|last241=Raymond|first241=Christopher|last242=Shimizu|first242=Nobuyoshi|last243=Kawasaki|first243=Kazuhiko|last244=Minoshima|first244=Shinsei|last245=Evans|first245=Glen A.|last246=Athanasiou|first246=Maria|last247=Schultz|first247=Roger|last248=Patrinos|first248=Aristides|last249=Morgan|first249=Michael J.|title=Initial sequencing and analysis of the human genome|journal=Nature|date=15 February 2001|volume=409|issue=6822|pages=860–921|doi=10.1038/35057062|pmid=11237011}}",

"proposed_link" : "https://deepblue.lib.umich.edu/bitstream/2027.42/62798/1/409860a0.pdf",

"conflicting_value" : "",

"orig_hash" : "04e2fd993a37627c3af641a6eb3cc422",

"index" : 31,

"policy" : null,

"issn" : null,

"classification" : "link_added",

"proposed_change" : "url=https://deepblue.lib.umich.edu/bitstream/2027.42/62798/1/409860a0.pdf"

}

],

"page_name" : "Alex_Bateman"

}

Event Timeline

Nemo_bis created this task.
Vvjjkkii renamed this task from Specific large suggestion gives Error: No JSON object could be decoded to ozdaaaaaaa.Jul 1 2018, 1:13 AM
Vvjjkkii raised the priority of this task from Low to High.
Vvjjkkii updated the task description. (Show Details)
Nikkimaria renamed this task from ozdaaaaaaa to Specific large suggestion gives Error: No JSON object could be decoded.Jul 1 2018, 1:39 PM
Nikkimaria lowered the priority of this task from High to Low.
Nikkimaria updated the task description. (Show Details)

I had to manually remove this suggestion yesterday and it still fails now.