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'
That problem seems to be introduced by r10993, though I can't really decipher what the exact issue really is.
On Sun, Feb 17, 2013 at 5:14 PM, Bináris wikiposta@gmail.com wrote:
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 _______________________________________________ Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
It seems to be solved: as I modified fixes.py and svn update was not prepared to handle conflicts, it partially updated the framework.
The interesting thing is that after deleting fixes.py it updated externals only, nothing in core, however bot started.
I also saw that your bot did not match the framework and I would had recommended to update the framework manually.
Regards xqt
----- Original Nachricht ---- Von: Bináris wikiposta@gmail.com An: Pywikipedia discussion list pywikipedia-l@lists.wikimedia.org Datum: 17.02.2013 11:11 Betreff: Re: [Pywikipedia-l] HELP! Bot stopped on toolserver
It seems to be solved: as I modified fixes.py and svn update was not prepared to handle conflicts, it partially updated the framework.
The interesting thing is that after deleting fixes.py it updated externals only, nothing in core, however bot started.
-- Bináris
Pywikipedia-l mailing list Pywikipedia-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l
pywikipedia-l@lists.wikimedia.org