Bugs item #2795879, was opened at 2009-05-23 19:38
Message generated for change (Comment added) made by cosoleto
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2795879&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: General
Group: None
Status: Open
Resolution: None
Priority: 6
Private: No
Submitted By: Ronga (ronga)
Assigned to: Nobody/Anonymous (nobody)
Summary: AttributeError at replace.py
Initial Comment:
Command:
replace.py -start:"Template:!" "File:Cross.svg" "File:Cross red.svg"
Error message:
AttributeError: 'NoneType' object has no attribute 'query'
'NoneType' object has no attribute 'query'
Details:
C:\pywikipedia>replace.py -start:"Template:!" "File:Cross.svg" "File:Cross red.svg"
Traceback (most recent call last):
File "C:\pywikipedia\pagegenerators.py", line 787, in __iter__
for page in self.wrapped_gen:
File "C:\pywikipedia\pagegenerators.py", line 719, in DuplicateFilterPageGener
ator
for page in generator:
File "C:\pywikipedia\pagegenerators.py", line 250, in AllpagesPageGenerator
for page in site.allpages(start = start, namespace = namespace, includeredir
ects = includeredirects):
File "C:\pywikipedia\wikipedia.py", line 5508, in allpages
for p in soup.api.query.allpages:
AttributeError: 'NoneType' object has no attribute 'query'
'NoneType' object has no attribute 'query'
File version:
Pywikipedia nightly:pywikipedia (r6854, May 07 2009, 13:07:14)
Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit (Intel)]
----------------------------------------------------------------------
>Comment By: Francesco Cosoleto (cosoleto)
Date: 2009-05-24 01:35
Message:
You should attach your custom family file (families/bestbrute_family.py) so
I can reproduce this bug.
----------------------------------------------------------------------
Comment By: Ronga (ronga)
Date: 2009-05-23 22:39
Message:
===================================================
Update:
I got the latest version from http://toolserver.org/~valhallasw/pywiki/.
Extracted to the same folder. Selected "replace all"
Still the same error persists.
Reply @ Date: 2009-05-24 02:10
Sender: cosoleto
> please include, as well as the traceback, family, language
What traceback? Isn't the message included it already?
family = 'bestbrute'
mylang = 'en'
> last 10 lines before that error is raised
The following has shown all message.
The whole message:
C:\pywikipedia>replace.py -start:"Template:!" "File:Cross.svg" "File:Cross
red.s
vg"
Traceback (most recent call last):
File "C:\pywikipedia\pagegenerators.py", line 787, in __iter__
for page in self.wrapped_gen:
File "C:\pywikipedia\pagegenerators.py", line 719, in
DuplicateFilterPageGener
ator
for page in generator:
File "C:\pywikipedia\pagegenerators.py", line 250, in
AllpagesPageGenerator
for page in site.allpages(start = start, namespace = namespace,
includeredir
ects = includeredirects):
File "C:\pywikipedia\wikipedia.py", line 5512, in allpages
for p in soup.api.query.allpages:
AttributeError: 'NoneType' object has no attribute 'query'
'NoneType' object has no attribute 'query'
C:\pywikipedia>version.py
Pywikipedia nightly:pywikipedia (r6915, May 22 2009, 23:45:12)
Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit
(Intel)]
----------------------------------------------------------------------
Comment By: Francesco Cosoleto (cosoleto)
Date: 2009-05-23 20:10
Message:
Looks as a problem already reported but I don't remember whether it is
fixed or not. You should update your PyWikipediaBot version as it isn't up
to date (15 days old) and report again the problem here if persists. In
case, please include, as well as the traceback, family, language and last
10 lines before that error is raised.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2795879&group_…
Feature Requests item #2795933, was opened at 2009-05-24 05:00
Message generated for change (Tracker Item Submitted) made by ronga
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2795933&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: None
Group: None
Status: Open
Priority: 5
Private: No
Submitted By: Ronga (ronga)
Assigned to: Nobody/Anonymous (nobody)
Summary: Documentation mistakes at add_text.py
Initial Comment:
I have improved the documentation of add_text.py a bit, and fix a few mistakes found.
I would like to propose this change to be applied.
You may view the diff online here:
http://botwiki.sno.cc/w/index.php?title=Python%3AAdd_text.py&diff=5955&oldi…
The new text:
====================================================================
This is a Bot written by Filnik to add a text at the end of the page but above categories,
interwiki and template for the stars of the interwiki (default).
Alternatively it may also add a text at the top of the page.
These command line parameters can be used to specify which pages to work on:
¶ms;
Furthermore, the following command line parameters are supported:
-page Use a page as generator
-text Define which text to add
-summary Define the summary to use
-except Use a regex to check if the text is already in the page
-excepturl Use the html page as text where you want to see if there's the text, not the wiki-page.
-newimages Add text in the new images
-untagged Add text in the images that don't have any license template
-always If used, the bot won't ask if it should add the text specified
-up If used, put the text at the very top of the page
--- Example ---
1.
# This is a script to add a template to the very top of the pages with category:catname
python add_text.py -cat:catname -summary:"Bot: Adding a template" -text:"{{Something}}" -except:"\{\{([Tt]emplate:|)[Ss]omething" -up
2.
# Command used on it.wikipedia to put the template in the page without any category.
# But warning! Put it in a line, otherwise it won't work correctly.
python add_text.py -excepturl:"class='catlinks'>" -uncat -text:"{{Categorizzare}}"
-except:"\{\{([Tt]emplate:|)[Cc]ategorizzare" -summary:"Bot: Aggiungo template Categorizzare"
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2795933&group_…
Bugs item #2795879, was opened at 2009-05-24 01:38
Message generated for change (Comment added) made by ronga
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2795879&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: General
Group: None
>Status: Open
Resolution: None
>Priority: 6
Private: No
Submitted By: Ronga (ronga)
Assigned to: Nobody/Anonymous (nobody)
Summary: AttributeError at replace.py
Initial Comment:
Command:
replace.py -start:"Template:!" "File:Cross.svg" "File:Cross red.svg"
Error message:
AttributeError: 'NoneType' object has no attribute 'query'
'NoneType' object has no attribute 'query'
Details:
C:\pywikipedia>replace.py -start:"Template:!" "File:Cross.svg" "File:Cross red.svg"
Traceback (most recent call last):
File "C:\pywikipedia\pagegenerators.py", line 787, in __iter__
for page in self.wrapped_gen:
File "C:\pywikipedia\pagegenerators.py", line 719, in DuplicateFilterPageGener
ator
for page in generator:
File "C:\pywikipedia\pagegenerators.py", line 250, in AllpagesPageGenerator
for page in site.allpages(start = start, namespace = namespace, includeredir
ects = includeredirects):
File "C:\pywikipedia\wikipedia.py", line 5508, in allpages
for p in soup.api.query.allpages:
AttributeError: 'NoneType' object has no attribute 'query'
'NoneType' object has no attribute 'query'
File version:
Pywikipedia nightly:pywikipedia (r6854, May 07 2009, 13:07:14)
Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit (Intel)]
----------------------------------------------------------------------
>Comment By: Ronga (ronga)
Date: 2009-05-24 04:39
Message:
===================================================
Update:
I got the latest version from http://toolserver.org/~valhallasw/pywiki/.
Extracted to the same folder. Selected "replace all"
Still the same error persists.
Reply @ Date: 2009-05-24 02:10
Sender: cosoleto
> please include, as well as the traceback, family, language
What traceback? Isn't the message included it already?
family = 'bestbrute'
mylang = 'en'
> last 10 lines before that error is raised
The following has shown all message.
The whole message:
C:\pywikipedia>replace.py -start:"Template:!" "File:Cross.svg" "File:Cross
red.s
vg"
Traceback (most recent call last):
File "C:\pywikipedia\pagegenerators.py", line 787, in __iter__
for page in self.wrapped_gen:
File "C:\pywikipedia\pagegenerators.py", line 719, in
DuplicateFilterPageGener
ator
for page in generator:
File "C:\pywikipedia\pagegenerators.py", line 250, in
AllpagesPageGenerator
for page in site.allpages(start = start, namespace = namespace,
includeredir
ects = includeredirects):
File "C:\pywikipedia\wikipedia.py", line 5512, in allpages
for p in soup.api.query.allpages:
AttributeError: 'NoneType' object has no attribute 'query'
'NoneType' object has no attribute 'query'
C:\pywikipedia>version.py
Pywikipedia nightly:pywikipedia (r6915, May 22 2009, 23:45:12)
Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit
(Intel)]
----------------------------------------------------------------------
Comment By: Francesco Cosoleto (cosoleto)
Date: 2009-05-24 02:10
Message:
Looks as a problem already reported but I don't remember whether it is
fixed or not. You should update your PyWikipediaBot version as it isn't up
to date (15 days old) and report again the problem here if persists. In
case, please include, as well as the traceback, family, language and last
10 lines before that error is raised.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2795879&group_…
Bugs item #2795879, was opened at 2009-05-23 19:38
Message generated for change (Settings changed) made by cosoleto
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2795879&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: General
Group: None
>Status: Pending
Resolution: None
>Priority: 5
Private: No
Submitted By: Ronga (ronga)
Assigned to: Nobody/Anonymous (nobody)
Summary: AttributeError at replace.py
Initial Comment:
Command:
replace.py -start:"Template:!" "File:Cross.svg" "File:Cross red.svg"
Error message:
AttributeError: 'NoneType' object has no attribute 'query'
'NoneType' object has no attribute 'query'
Details:
C:\pywikipedia>replace.py -start:"Template:!" "File:Cross.svg" "File:Cross red.svg"
Traceback (most recent call last):
File "C:\pywikipedia\pagegenerators.py", line 787, in __iter__
for page in self.wrapped_gen:
File "C:\pywikipedia\pagegenerators.py", line 719, in DuplicateFilterPageGener
ator
for page in generator:
File "C:\pywikipedia\pagegenerators.py", line 250, in AllpagesPageGenerator
for page in site.allpages(start = start, namespace = namespace, includeredir
ects = includeredirects):
File "C:\pywikipedia\wikipedia.py", line 5508, in allpages
for p in soup.api.query.allpages:
AttributeError: 'NoneType' object has no attribute 'query'
'NoneType' object has no attribute 'query'
File version:
Pywikipedia nightly:pywikipedia (r6854, May 07 2009, 13:07:14)
Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit (Intel)]
----------------------------------------------------------------------
>Comment By: Francesco Cosoleto (cosoleto)
Date: 2009-05-23 20:10
Message:
Looks as a problem already reported but I don't remember whether it is
fixed or not. You should update your PyWikipediaBot version as it isn't up
to date (15 days old) and report again the problem here if persists. In
case, please include, as well as the traceback, family, language and last
10 lines before that error is raised.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2795879&group_…
Bugs item #2795879, was opened at 2009-05-24 01:38
Message generated for change (Settings changed) made by ronga
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2795879&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: General
Group: None
Status: Open
Resolution: None
>Priority: 7
Private: No
Submitted By: Ronga (ronga)
Assigned to: Nobody/Anonymous (nobody)
Summary: AttributeError at replace.py
Initial Comment:
Command:
replace.py -start:"Template:!" "File:Cross.svg" "File:Cross red.svg"
Error message:
AttributeError: 'NoneType' object has no attribute 'query'
'NoneType' object has no attribute 'query'
Details:
C:\pywikipedia>replace.py -start:"Template:!" "File:Cross.svg" "File:Cross red.svg"
Traceback (most recent call last):
File "C:\pywikipedia\pagegenerators.py", line 787, in __iter__
for page in self.wrapped_gen:
File "C:\pywikipedia\pagegenerators.py", line 719, in DuplicateFilterPageGener
ator
for page in generator:
File "C:\pywikipedia\pagegenerators.py", line 250, in AllpagesPageGenerator
for page in site.allpages(start = start, namespace = namespace, includeredir
ects = includeredirects):
File "C:\pywikipedia\wikipedia.py", line 5508, in allpages
for p in soup.api.query.allpages:
AttributeError: 'NoneType' object has no attribute 'query'
'NoneType' object has no attribute 'query'
File version:
Pywikipedia nightly:pywikipedia (r6854, May 07 2009, 13:07:14)
Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit (Intel)]
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2795879&group_…
Bugs item #2795879, was opened at 2009-05-24 01:38
Message generated for change (Tracker Item Submitted) made by ronga
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2795879&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: General
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Ronga (ronga)
Assigned to: Nobody/Anonymous (nobody)
Summary: AttributeError at replace.py
Initial Comment:
Command:
replace.py -start:"Template:!" "File:Cross.svg" "File:Cross red.svg"
Error message:
AttributeError: 'NoneType' object has no attribute 'query'
'NoneType' object has no attribute 'query'
Details:
C:\pywikipedia>replace.py -start:"Template:!" "File:Cross.svg" "File:Cross red.svg"
Traceback (most recent call last):
File "C:\pywikipedia\pagegenerators.py", line 787, in __iter__
for page in self.wrapped_gen:
File "C:\pywikipedia\pagegenerators.py", line 719, in DuplicateFilterPageGener
ator
for page in generator:
File "C:\pywikipedia\pagegenerators.py", line 250, in AllpagesPageGenerator
for page in site.allpages(start = start, namespace = namespace, includeredir
ects = includeredirects):
File "C:\pywikipedia\wikipedia.py", line 5508, in allpages
for p in soup.api.query.allpages:
AttributeError: 'NoneType' object has no attribute 'query'
'NoneType' object has no attribute 'query'
File version:
Pywikipedia nightly:pywikipedia (r6854, May 07 2009, 13:07:14)
Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit (Intel)]
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2795879&group_…
Patches item #2791305, was opened at 2009-05-13 17:07
Message generated for change (Comment added) made by nobody
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2791305&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: Translations
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Maurits (mcknol)
Assigned to: Nobody/Anonymous (nobody)
Summary: Neglected disamb-templates on several wiki's by interwiki.py
Initial Comment:
Please add {{surname}}, {{hndis}} and {{given name}} to the list of possible disambiguation templates on en.wikipedia for interwiki.py.
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2009-05-23 10:22
Message:
It not solved and I am running r6915.
----------------------------------------------------------------------
Comment By: NicDumZ — Nicolas Dumazet (nicdumz)
Date: 2009-05-15 20:43
Message:
those templates are not officially disambiguation templates for
en.wikipedia, those are set index templates.
Please read
http://www.mail-archive.com/pywikipedia-l@lists.wikimedia.org/msg01202.html
about it =)
----------------------------------------------------------------------
Comment By: sigmaoctantis (sigmaoctantis)
Date: 2009-05-15 18:00
Message:
There is a list of these templates at
http://en.wikipedia.org/wiki/MediaWiki:Disambiguationspage
----------------------------------------------------------------------
Comment By: Maurits (mcknol)
Date: 2009-05-15 10:16
Message:
See also the interwiki's of these templates. None of them seems to be
included and therefore, interwiki.py makes many wrong decisions.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2791305&group_…
Feature Requests item #2795408, was opened at 2009-05-22 14:25
Message generated for change (Tracker Item Submitted) made by nobody
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2795408&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: interwiki
Group: None
Status: Open
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: remove some templates
Initial Comment:
In russian wikipedia used template Template:Нет интервики and his reditects: Template:Noiwiki, Template:No iwiki, Template:Нет интервик
This templates puts to article if this article hasn't interwiki
Will be great if Interwiki.py remove this templates when article has interwiki
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2795408&group_…
Patches item #2791088, was opened at 2009-05-13 11:49
Message generated for change (Comment added) made by nicdumz
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2791088&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: None
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: JAn (jandudik)
Assigned to: Nobody/Anonymous (nobody)
Summary: is: Disambiguation
Initial Comment:
is: {{Tveggja stafa aðgreining}}
And in some languages are some (two letters) only in some category. MAybe to do some system of templates/categories which might to be coorect linking both to disambiguation and non-disambiguations (typically givennames and surnames)
----------------------------------------------------------------------
>Comment By: NicDumZ — Nicolas Dumazet (nicdumz)
Date: 2009-05-21 16:23
Message:
done, r6913
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=2791088&group_…
Feature Requests item #2794229, was opened at 2009-05-20 08:48
Message generated for change (Comment added) made by nicdumz
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2794229&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: None
Group: None
>Status: Closed
Priority: 5
Private: No
Submitted By: JAn (jandudik)
Assigned to: Nobody/Anonymous (nobody)
Summary: sl: disambig
Initial Comment:
sl: {{razločitev-kraj}}
----------------------------------------------------------------------
>Comment By: NicDumZ — Nicolas Dumazet (nicdumz)
Date: 2009-05-21 16:20
Message:
done in r6912
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2794229&group_…