I have used pywiki(pedia)bot for years and I had many bots running [from my
machines (Ubuntu and Windows 7) and the toolserver: same behaviour].
Since many months (a year?) pywikibot *always* asks for password even if I
have just logged in (with previous run of a script or login.py). That means
that I cannot schedule bots with cron or run them with batch files etc.
I did not have time to bother for bots running under schedule but it is
time to see what can be done. So: how can I fix it?
Συνεισφέρετε στην Βικιπαίδεια. https://el.wikipedia.org
Φτιάξτε λογαριασμό στο Dropbox: https://db.tt/G0jOavL
Οι παραπάνω απόψεις είναι προσωπικές και δεν εκφράζουν παρά μόνο εμένα. Το
μήνυμα θεωρείται εμπιστευτικό μόνο εάν το έχω ζητήσει ρητά, διαφορετικά
μπορείτε να το χρησιμοποιήσετε σε οποιαδήποτε δημόσια συζήτηση. Δεν έχω
τίποτε να κρύψω. :-)
Thanks to many of you who have worked on the flake warnings over the
last few months, the code base now has zero flakes, and thanks to
hashar a 'flake8' job now votes against any changeset which has
Also, nose tests are also run for every changeset before the code is
merged, but only the tests which do not connect to a site, or have
network activity. In the test files in tests/* , you will see some
are subclasses of NoSiteTestCase , and some have net = True as class
attributes. These clues help nose avoid tests which will connect to
servers, possibly timing out, etc.
Anyone can run the all tests using nose.
To run only the tests which are run by jenkins, even without a
user-config.py file, use
PYWIKIBOT2_NO_USER_CONFIG=1 nosetests -a "!site,!net"
pywikibot doesn't use standard arguments and argument parsing
For example a standard input should be like this:
python pwb.py replace "something" "something else" --page="python" --always
python pwb.py replace "something" "something else" --p "python" -a
And in back-end, pywikibot uses sysargv for parsing args but it's
discouraged and it's better to use argparse
I made some changes in bot.py in function handlearg
Still needs lots of work but before I go on I want your opinion about this
I just made this for fun, to use as icon for my pywikibot local folder, and I
though I would share it with you: http://fav.me/d7ve8j3
It took more time to get it uploaded somewhere than to actually create it…
Yesterday after some talks in IRC we thought It would be good if we
kill off the i18n submodule and bring the files into core, compat will
have the i18n folder but won't receive any updates. One of major
advantage of this action is making installation of pywikibot so much
Another thing that is happening for i18n is that we are migrating to json .
Any comment about these actions is very welcome.
I disagree with merging i18n to core and killing the submodule. Please mark compat as deprecated first.
Installing problems often is a doc problem. With svn the externals are updated together with the compat/core framework. Git maybe needs additional steps.
What about all the other externals? If there is a problem with i18n, there might be one with spelling, http and all the others too.
----- Ursprüngliche Nachricht -----
Von: Amir Ladsgroup
Gesendet: 14.08.2014 15:03
An: Pywikipedia discussion list
Betreff: Re: [Pywikipedia-l] i18n in Pywikibot
I forgot to mention the patch:
On 8/14/14, Amir Ladsgroup <ladsgroup(a)gmail.com> wrote:
> Yesterday after some talks in IRC we thought It would be good if we
> kill off the i18n submodule and bring the files into core, compat will
> have the i18n folder but won't receive any updates. One of major
> advantage of this action is making installation of pywikibot so much
> Another thing that is happening for i18n is that we are migrating to json
> Any comment about these actions is very welcome.
Pywikipedia-l mailing list