From: Yury K. <kat...@gm...> - 2013-07-28 08:04:29
|
Hi Tac! I prefer the debugging feature of PhpStorm and all the printfs are long forgotten for me :) ----- Yury Katkov, WikiVote On Sat, Jul 27, 2013 at 10:58 PM, Tac Tacelosky <ta...@gm...> wrote: > I spent almost 3 hours today trying to figure out some complicated > interaction between a template that sets a property and MW's > importImages.php script. The specifics are possibly too messy to explain > here (I use --comment-ext=.txt to get my initial text, which calls a > template, which sets a property on the image page). It'd dying somewhere > in the call that uploads the image, or more likely, the page text of the > image. > > I suspect it has something to do with SMW, because the last thing in the > log is a reference to a job query having to do with a property. But of > course I'm not sure. > > Two questions: > > 1. Is it better to run on master for MW and the SMW extensions? Or some > other release? > > 2. Any suggestions on how to debug? The way I'm doing it -- hacking the > MW code with lots of printf's -- doesn't seem very good. > > The other reason I suspect SMW is that I purged the database and began > re-importing images, they imported reliably until another process added one > of the templates to the wiki, then it stopped. I believe the offending > template may use {{set, not sure if that's might potentially be more > problematic. The other anomaly is that these are in the File: namespace -- > probably no big deal, but images in MW obviously have some special handling > and limitations. > > Thanks in advance for any clues or suggestions. > > Tac > ------------------------------------------------------------------------------ > See everything from the browser to the database with AppDynamics > Get end-to-end visibility with application monitoring from AppDynamics > Isolate bottlenecks and diagnose root cause in seconds. > Start your free trial of AppDynamics Pro today! > http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk > _______________________________________________ > Semediawiki-user mailing list > Sem...@li... > https://lists.sourceforge.net/lists/listinfo/semediawiki-user |