Feature Requests item #3141378, was opened at 2010-12-21 21:09 Message generated for change (Comment added) made by You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3141378...
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: interwiki Group: None Status: Open Priority: 5 Private: No Submitted By: Yevhen Movsesov () Assigned to: Nobody/Anonymous (nobody) Summary: Interwiki graphs doesn't generates in "autonomous" mode
Initial Comment: 1. Set interwiki_graph = True in user-config.py 2. Run interwiki.py to article with interwiki conflict in "auto" mode, for example with "interwiki.py -auto ru:JPEG XR" 3. As result, you get no image in directory /interwiki-graphs
Expected result: Interwiki.py should generate an image in "auto" mode.
--- Pywikipedia [http] trunk/pywikipedia (r8785, 2010/12/21, 00:11:55) Python 2.6.2 (release26-maint, Apr 19 2009, 01:56:41) [GCC 4.3.3] config-settings: use_api = True use_api_login = True unicode test: ok
----------------------------------------------------------------------
Comment By: Yevhen Movsesov ()
Date: 2010-12-28 23:26
Message: Yes, "echo g | python interwiki.py -graph nl:Het Bloed van de Scarabae" it's workaround, that solves my problem. Thank you, valhallasw ! What about this issue - I don't know, maybe you can close it. But I think it will be good idea to add a possibility to generate images in batch mode.
----------------------------------------------------------------------
Comment By: Merlijn S. van Deen (valhallasw) Date: 2010-12-27 16:02
Message: If you don't use auto, you will indeed get questions. However, you can answer 'give up' directly, or use:
echo g | python interwiki.py -graph nl:Het Bloed van de Scarabae
----------------------------------------------------------------------
Comment By: Yevhen Movsesov () Date: 2010-12-26 23:29
Message: I don't need to "creates a list of autonomous problems (interwiki conflicts) ", because already I have this list ! I don't need to "solve it with that option". I just want to generate the appropriate images for some set of interwiki-conflicts. For example, I have list, where each item links to iw-conflicts: http://ru.wikipedia.org/wiki/User:VolkovBot/conflicts/w wa:Clipe (maladeye) wa:Notåre ... wuu:运河 As you can see, this list contains more than 50 items. Can I generate for "wa:Clipe (maladeye)", "wa:Notåre"... "wuu:运河" appropriate images with pywikipedia ?
When I tries to use "interwiki.py" without "auto" mode, then I gets prompt with question, what decision I want to resolve conflict. But I don't need these prompts (because list contains more than 50 items). I need images only :-)
----------------------------------------------------------------------
Comment By: xqt (xqt) Date: 2010-12-26 17:40
Message: -autonomous option creates a list of autonomous problems (interwiki conflicts) so you cannot solve it with that option. Try it without -auto option. I am not sure whether it plots more then one conflict network at once. Since there are a lot of depencies to -auto mode I wouldn't change the behavior in next future.
----------------------------------------------------------------------
Comment By: Yevhen Movsesov () Date: 2010-12-26 16:56
Message: I have a list of interwiki conflicts and I want to generate the appropriate images. How can I generate this list ?
My think is to use the "auto" mode. But with this issue I can't.
----------------------------------------------------------------------
Comment By: xqt (xqt) Date: 2010-12-23 00:00
Message: In autonomous mode not all interwiki links are gathered. If there are more than one page to the same site it stops processing since this cannot solved without operators invention. Since -autonomous is for processing a lot of pages imho it is not recommended to use it with interwiki-graph
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3141378...