Hi Russel,
the main reason not to join to the rewrite branch is, I did not got it running yet. I get an importError for simplejson. And I have no idea seting PYTHONPATH playing with idle. Whereas the trunk is easy to use: install python, download the bot and expand it, run it. This is the usability I would expect.
Most of the scripts are out of date since they are modified in trunk but not actualized at rewrite. I guess both forks have to be developed in parallel for a while until all (main) scripts are merged. I could supporting the rewrite development but since I could not test that stuff I wouldn't.
However, I have reservations about the effect that the development for older mw versions are cut.
Regards
----- Original Nachricht ---- Von: Russell Blau russblau@imapmail.org An: Pywikipedia discussion list pywikipedia-l@lists.wikimedia.org Datum: 30.03.2010 16:18 Betreff: [Pywikipedia-l] Request for feedback on rewrite branch
I am at a point where it would be helpful to have some feedback from other Pywikipedia users about the future of the rewrite branch. As those who watch the SVN commits know, I have not had as much time to work on this lately, and have to prioritize what time I do spend on it.
For those who have used the rewrite branch, what (if anything) needs to be done to it to get you to use it exclusively and retire the old wikipedia.py
system? What is missing? What is broken? What is present but could be improved?
For those who have chosen not to use the rewrite branch, why not? What might lead you to take another look?
And then, I'm sure there are many whose reaction to this post has been, "What's the rewrite branch?" I don't know what to ask you, so feel free to
move on to the next message.
Most critically, is there any reason to continue development of the trunk once the rewrite branch is at a point where most users are ready to switch to it?
-- Russ
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
Traumziele - von Beschreibung bis Buchung jetzt kompakt auf den Reise-Seiten von Arcor.de! http://www.arcor.de/rd/footer.reise
On 15 April 2010 18:13, info@gno.de wrote:
However, I have reservations about the effect that the development for older mw versions are cut.
In reality, the current trunk version probably does not work for older
mediawiki versions anymore, as some features have been ported to the API. The only sane way to use a bot on an older mediawiki installation is by using a bot version from the same era.
Merlijn
From: info@gno.de Sent: Thursday, April 15, 2010 12:13 PM Subject: Aw: [Pywikipedia-l] Request for feedback on rewrite branch
Hi Russel,
the main reason not to join to the rewrite branch is, I did not got it running yet. I get an importError for simplejson. And I have no idea seting PYTHONPATH playing with idle. Whereas the trunk is easy to use: install python, download the bot and expand it, run it. This is the usability I would expect.
Hi, I have just updated the installer and added an instruction file. I would be interested to know if you find it easier to install the bot and get it running using the new setup.py script.
Russ
On Tue, Apr 20, 2010 at 9:10 AM, Russell Blau russblau@imapmail.org wrote:
Hi, I have just updated the installer and added an instruction file. I would be interested to know if you find it easier to install the bot and get it running using the new setup.py script.
I updated my SVN copy this morning and attempted to use the installer. When running 'python setup.py build' I ended up with an eternal loop because generate_user_files.py doesn't check nicely for my 'Yes' answer to a question.
Line 116 (in change_base_dir()) is currently: if ok in ['Yy']:
I answer 'y', it fails and breaks back to asking about my default user directory again. Splitting it to ['Y','y'] works, as does "if ok.upper() == 'Y':".
Cheers, Morten
On Tue, Apr 20, 2010 at 4:36 PM, Morten Wang nettrom@gmail.com wrote:
On Tue, Apr 20, 2010 at 9:10 AM, Russell Blau russblau@imapmail.org wrote:
Hi, I have just updated the installer and added an instruction file. I would be interested to know if you find it easier to install the bot and get it running using the new setup.py script.
I updated my SVN copy this morning and attempted to use the installer. When running 'python setup.py build' I ended up with an eternal loop because generate_user_files.py doesn't check nicely for my 'Yes' answer to a question.
Line 116 (in change_base_dir()) is currently: if ok in ['Yy']:
I answer 'y', it fails and breaks back to asking about my default user directory again. Splitting it to ['Y','y'] works, as does "if ok.upper() == 'Y':".
That looks like a Python programming error - this way it looks for the exact string "Yy". What is meant is probably
if ok in 'Yy':
or equivalently, as you proposed:
if ok in ['Y', 'y']:
From: "Andre Engels" andreengels@gmail.com Sent: Tuesday, April 20, 2010 10:54 AM
On Tue, Apr 20, 2010 at 4:36 PM, Morten Wang nettrom@gmail.com wrote:
On Tue, Apr 20, 2010 at 9:10 AM, Russell Blau russblau@imapmail.org wrote:
That looks like a Python programming error - this way it looks for the exact string "Yy". What is meant is probably
if ok in 'Yy':
or equivalently, as you proposed:
if ok in ['Y', 'y']:
Doh! Fixed in latest commit.
A few questions about the rewrite branch, returning to an old thread:
2010/4/15 info@gno.de
Hi Russel,
the main reason not to join to the rewrite branch is, I did not got it running yet. I get an importError for simplejson. And I have no idea seting PYTHONPATH playing with idle. Whereas the trunk is easy to use: install python, download the bot and expand it, run it. This is the usability I would expect.
- What is the actual situation, can we easily install the rewrite branch?
2. Is it a working bot, is it worth to use? 3. What ideas do you have about the date of change to new version? 4. Is http://www.botwiki.sno.cc/wiki/Rewrite/Conversion_HOWTO#Installationstill correct and actual?
Regards,
Bináris wrote:
A few questions about the rewrite branch, returning to an old thread:
...
- What is the actual situation, can we easily install the rewrite branch?
Yes. See #4
- Is it a working bot, is it worth to use?
It depends on what you are doing with your bot. I use it for almost all my bots now; [[w:en:User:RussBot]] runs entirely under the rewrite branch. However, not all of the bot scripts have been converted yet. Also, the rewrite does not yet support XML dump parsing (although this should be a fairly trivial problem to fix), and because it relies on the API, it cannot do anything the API is not yet enabled for (like retrieving the contents of Special:DoubleRedirects and many other special pages).
- What ideas do you have about the date of change to new version?
The sooner the better. The longer we have two working branches, the more they are going to get out of synch with each other.
still correct and actual?
It is correct, but not entirely up to date. You should be able to install the bot now by running "python setup.py install" in the directory to which you download the bot files.
Russ
Thank you, Russ.
2010/9/2 Russell Blau russblau@imapmail.org
However, not all of the bot scripts have been converted yet. Also, the rewrite does not yet support XML dump parsing (although this should be a fairly trivial problem to fix),
In this case I had better to wait, as I often use XML dump.
- Is
http://www.botwiki.sno.cc/wiki/Rewrite/Conversion_HOWTO#Installation
still correct and actual?
It is correct, but not entirely up to date.
I think Python 2.7 should be mentioned in it. As far as I understood from this list, it is also compatible with the bot, but I have no personal experience.