Bugs item #2795879, was opened at 2009-05-23 19:38
Message generated for change (Comment added) made by nicdumz
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: NicDumZ — Nicolas Dumazet (nicdumz)
Date: 2009-05-25 06:59
Message:
Hello!
Your family file is wrong. Have you read
http://meta.wikimedia.org/wiki/Pywikipedia_bot_on_non-Wikimedia_projects ?
It might help +)
The addresses of index and api are http://bestbrute.wikia.com/index.php
and http://bestbrute.wikia.com/api.php which means that the scriptpath
should be '' :
def scriptpath(self, code):
return ''
With this script path set, you don't need to override path(), or apipath()
and things will work for you.
----------------------------------------------------------------------
Comment By: Ronga (ronga)
Date: 2009-05-25 05:59
Message:
This is where I run your robot scripts:
http://bestbrute.wikia.com/
BestBrute - MyBrute Wiki - custom family file
File has been attached. Please check.
It seems this problem always happen on me. It's not an occasional error.
This bug also affect quite a few commands, not just replace.py -start:
I remember I tried -titleregex in another py file. I saw the same error
message.
So does anyone know how to workaround it? (Perhaps using other commands).
I want to tell the robot to check all templates, but the -start command
doesn't work for me. What else could I use?
----------------------------------------------------------------------
Comment By: NicDumZ — Nicolas Dumazet (nicdumz)
Date: 2009-05-24 06:20
Message:
It also happens to me from time to time, on wikimedia project.
I'm not sure of what happens here, I'm not familiar enough with the api.
Checking for soup.api is not None , and retry if it's None could do the
trick, but once again, we're inserting magic tricks to use the api, when it
would be better to focus on porting our code base to the rewrite branch...
:/
----------------------------------------------------------------------
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_…
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-25 11:59
Message:
This is where I run your robot scripts:
http://bestbrute.wikia.com/
BestBrute - MyBrute Wiki - custom family file
File has been attached. Please check.
It seems this problem always happen on me. It's not an occasional error.
This bug also affect quite a few commands, not just replace.py -start:
I remember I tried -titleregex in another py file. I saw the same error
message.
So does anyone know how to workaround it? (Perhaps using other commands).
I want to tell the robot to check all templates, but the -start command
doesn't work for me. What else could I use?
----------------------------------------------------------------------
Comment By: NicDumZ — Nicolas Dumazet (nicdumz)
Date: 2009-05-24 12:20
Message:
It also happens to me from time to time, on wikimedia project.
I'm not sure of what happens here, I'm not familiar enough with the api.
Checking for soup.api is not None , and retry if it's None could do the
trick, but once again, we're inserting magic tricks to use the api, when it
would be better to focus on porting our code base to the rewrite branch...
:/
----------------------------------------------------------------------
Comment By: Francesco Cosoleto (cosoleto)
Date: 2009-05-24 07: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-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 (Comment added) made by nicdumz
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: NicDumZ — Nicolas Dumazet (nicdumz)
Date: 2009-05-24 06:20
Message:
It also happens to me from time to time, on wikimedia project.
I'm not sure of what happens here, I'm not familiar enough with the api.
Checking for soup.api is not None , and retry if it's None could do the
trick, but once again, we're inserting magic tricks to use the api, when it
would be better to focus on porting our code base to the rewrite branch...
:/
----------------------------------------------------------------------
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_…
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_…