Let me explain this a bit more. We were working on a solution that our
toolserver sends me an affordable quantity of e-mails that can be read. As
cron sends a mail if the timed command has some output, it is supposed to
bother me only in case of some problem if I redirect standard output to
/dev/null. But this is not the case:
binaris@tron:~/
pywikipedia$ python figyelmet.py >/dev/null
NOTE: You have new messages on wikipedia:hu
Sleeping for 8.1 seconds, 2013-02-17 12:23:47
Updating page [[KategĂłria:Figyelmet igĂŠnylĹ lapok 2013 februĂĄrjĂĄbĂłl]]
via API
Sleeping for 9.1 seconds, 2013-02-17 12:23:56
Updating page [[KategĂłria:Csonkok 2013 februĂĄrjĂĄbĂłl]] via API
Sleeping for 9.1 seconds, 2013-02-17 12:24:06
2013/2/17 SourceForge.net <noreply(a)sourceforge.net>
> Bugs item #3605062, was opened at 2013-02-17 06:02
> Message generated for change (Tracker Item Submitted) made by tgr_
> You can respond by visiting:
>
> https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3605062&group_…
>
> 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: other
> Group: None
> Status: Open
> Resolution: None
> Priority: 5
> Private: No
> Submitted By: Tgr (tgr_)
> Assigned to: Nobody/Anonymous (nobody)
> Summary: pywikipediabot should use standard output
>
> Initial Comment:
> All pywikipedia messages go to standard error, making the proper running
> of such bots from cron very difficult. Normal messages should go to
> standard output, and only suprising messages (python errors, block
> notifications, new message notifcations) should go to standard error.
>
> ----------------------------------------------------------------------
>
> You can respond by visiting:
>
> https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3605062&group_…
>
--
Bináris
Hi folks,
I just noticed that all my botscripts stopped on Hungarian toolserver on 27
January. Pywikibot is updated daily by cron. From server messages I see it
has some problem with wikipedia.py, but what? No code is changed in my own
scripts.
frissdump.py is here:
http://hu.wikipedia.org/wiki/Szerkeszt%C5%91:BinBot/frissdump.py
Traceback (most recent call last):
File "pywikipedia/frissdump.py", line 6, in <module>
import wikipedia as pywikibot
File "/home/binaris/pywikipedia/
wikipedia.py", line 8244, in <module>
getSite(noLogin=True)
File "/home/binaris/pywikipedia/pywikibot/__init__.py", line 115, in
wrapper
return method(*__args, **__kw)
File "/home/binaris/pywikipedia/wikipedia.py", line 8004, in getSite
_sites[key] = Site(code=code, fam=fam, user=user)
File "/home/binaris/pywikipedia/pywikibot/__init__.py", line 115, in
wrapper
return method(*__args, **__kw)
File "/home/binaris/pywikipedia/wikipedia.py", line 5245, in __init__
self.__family = Family(fam, fatal = False)
File "/home/binaris/pywikipedia/wikipedia.py", line 5047, in Family
myfamily = __import__('%s_family' % fam)
File "/home/binaris/pywikipedia/families/wikipedia_family.py", line 8, in
<module>
class Family(family.WikimediaFamily):
AttributeError: 'module' object has no attribute 'WikimediaFamily'
--
Bináris
Hi everyone,
Wikimedia Nederland invites all developers to the Amsterdam Hackathon 2013.
The hackathon is an opportunity for all Wikimedia community developers
and sysadmins to come together, squash bugs and write great new features
& tools. Unlike the previous years (2012, 2011, etc.) this Hackathon
won't be in Berlin, but in Amsterdam.
The event is open to a wide range of developers. We welcome both
seasoned and new developers as well as people working on MediaWiki,
tools, pywikiedia, gadgets, extensions, templates … .
It takes place from 24-26 May. If you’d like to attend, please save the
date!
There will not be an entrance fee for the event itself, but a
registration is mandatory. There will be a limited number of
scholarships available, details to be provided ASAP. We're currently
finalizing the arrangements of the venue. When we're done with that
we'll open registration.
Keep an eye on https://www.mediawiki.org/wiki/Amsterdam_Hackathon_2013
for updates!
Check this page for updates!
Maarten
Ps. Please spread the word
Apparently all of pywiki scripts used the same user agent header -
Pywikipediabot/1.0, which made it difficult for Wikipedia et al to identify
which script used or abused which API features, as well as impossible to
contact the author of said script to fix it.
I have recently merged a patch from Ori (WMF dev) to both the main and the
rewrite branches. PLEASE UPDATE your pywikipedia code from SVN to
automatically start using the new user agent, which will now include the
name of the startup script and possibly SVN revision (we might want to
switch to a hash-of-main-file based number instead at a later time).
On a separate note, if you are interested in the future of MediaWiki APIv2,
take a look at the
RFC<http://www.mediawiki.org/wiki/Requests_for_comment/API_Future>,
and submit your own thoughts on what you might need for your scripts from
the next version of the API, or email me directly.
--yurik
User:Avocato
;Preferred git username: avocato
;Preferred shell username: avocato
;Did you previously have SVN access?: Yes
;Email address: avocatomail(a)gmail.com
I already have the commit access (accessing to Gerrit and Wikimedia Labs),
now, I request pywikipediabot commit.
--
*User:Avocato--*