Bugs item #1931256, was opened at 2008-04-01 15:12
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1931256&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: Closed
>Resolution: Out of Date
Priority: 5
Private: No
Submitted By: Hugo.arg (hugoarg)
Assigned to: Nobody/Anonymous (nobody)
Summary: Error using interwiki.py
Initial Comment:
The eror occures in some interwiki conflicts.
Following text appears:
[[Dha]]: [[en:Thaing (burmese)]] gives new redirect [[en:Thaing (Burmese)]]
Getting 2 pages from wikipedia:en...
Sleeping for 3.1 seconds, 2008-04-01 15:58:10
NOTE: [[Dha]]: [[en:Burmese martial arts]] gives duplicate interwiki on same si
e [[fr:Arts martiaux birmans]]
[[Dha]]: [[en:Burmese martial arts]] gives new interwiki [[vi:Võ thuat Myanma]]
Getting 2 pages from wikipedia:fr...
Sleeping for 3.1 seconds, 2008-04-01 15:58:14
Dump lt (wikipedia) saved
Traceback (most recent call last):
File "C:\Python25\pywikipedia\interwiki.py", line 1645, in <module>
bot.run()
File "C:\Python25\pywikipedia\interwiki.py", line 1409, in run
self.queryStep()
File "C:\Python25\pywikipedia\interwiki.py", line 1383, in queryStep
self.oneQuery()
File "C:\Python25\pywikipedia\interwiki.py", line 1379, in oneQuery
subject.workDone(self)
File "C:\Python25\pywikipedia\interwiki.py", line 718, in workDone
(skip, alternativePage) = self.disambigMismatch(page)
File "C:\Python25\pywikipedia\interwiki.py", line 594, in disambigMismatch
if self.getFoundNonDisambig(page.site()):
File "C:\Python25\pywikipedia\interwiki.py", line 447, in getFoundNonDisambig
if page.exists() and not page.isDisambig() and not page.isRedirectPage():
File "C:\Python25\pywikipedia\wikipedia.py", line 969, in isDisambig
return self._isDisambig
AttributeError: 'Page' object has no attribute '_isDisambig'
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2009-08-10 22:04
Message:
pre-r5180
I assume this bug has been fixed since then
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1931256&group_…
Bugs item #2793339, was opened at 2009-05-18 15:08
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2793339&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: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: WARNING: Missing namespace in family file
Initial Comment:
Using replace.py:
Pywikipediabot [http] trunk/pywikipedia (r6901, mai 17 2009, 16:44:38)
Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit (Intel)]
Getting 1 pages from wiktionary:no...
WARNING: Missing namespace in family file wiktionary: namespace['no'][100] (it i
s set to 'Tillegg')
WARNING: Missing namespace in family file wiktionary: namespace['no'][101] (it i
s set to 'Tilleggdiskusjon')
No changes were necessary in [[sekund]]
C:\pywikipedia>version.py
Pywikipedia [http] trunk/pywikipedia (r6901, May 17 2009, 16:44:38)
Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit (Intel)]
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2009-08-10 21:35
Message:
fixed in r6940 + r6958 by purodha + alexsh
----------------------------------------------------------------------
Comment By: Peteparker (peteparker)
Date: 2009-07-19 20:10
Message:
Whoops, forgot to login there. My User name is Peteparker, and I work on
marvel.wikia.com
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2009-07-19 20:07
Message:
I know this relates to the family file, but I've edited it to include all
my missing namespaces, and I still get the warnings over and over. Is
there a way I can submit my family file and have it looked at?
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2009-05-18 17:27
Message:
It is still not automated so here is another warning.
WARNING: Outdated family file wikipedia: namespace['zea'][6] is set to
default ('File'), but should be 'Plaetje'
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2793339&group_…
Bugs item #2783408, was opened at 2009-04-29 07:38
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2783408&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
Resolution: None
Priority: 5
Private: No
Submitted By: xqt (xqt)
Assigned to: Nobody/Anonymous (nobody)
Summary: weblinkchecker warning
Initial Comment:
__version__='$Id: weblinkchecker.py 6746 2009-04-28 06:25:09Z shizhao $'
no bug but a warning comes sometimes:
weblinkchecker.py:808: Syntax Warning: name 'day' is asigned to before global declaration global day
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2009-08-10 21:15
Message:
The reason is that day is assigned first in line 792:
day = 7
This bug came with r6639
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2783408&group_…
Bugs item #2835080, was opened at 2009-08-10 20:33
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2835080&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: Duplicate
Priority: 5
Private: No
Submitted By: xqt (xqt)
Assigned to: Nobody/Anonymous (nobody)
Summary: weblinkChecker syntax warning
Initial Comment:
Pywikipedia [http] trunk/pywikipedia (r7139, 2009/08/09, 08:40:29)
Python 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)]
I got this message:
C:\...\weblinkchecker.py:808: SyntaxWarning: name 'day' is assigned to before global declaration
global day
The reason is that day is assigned first in line 792:
day = 7
This bug came with r6639
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2009-08-10 21:15
Message:
Sorry, this is dupl. to #2783408
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2835080&group_…
Bugs item #1992349, was opened at 2008-06-12 21:51
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1992349&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: masti (mstmst)
Assigned to: Nobody/Anonymous (nobody)
Summary: interwiki.py template
Initial Comment:
interwiki.py does not properly manage templates. it should only add iw links when they are within <noiclude> tags. Otherwise it does not work properly.
example: http://pl.wikipedia.org/w/index.php?title=Szablon:Mapa_lokalizacyjna/BHS&di…
masti
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2009-08-10 21:10
Message:
fixed in r6817, r6819 by nicdumz
----------------------------------------------------------------------
Comment By: Multichill (multichill)
Date: 2008-06-13 00:28
Message:
Logged In: YES
user_id=1777493
Originator: NO
I'm pretty sure this is a dupe. Pywikipedia never worked with templates.
Dont run it on templates unless you're checking every edit, otherwise you
will probably get your bot blocked.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1992349&group_…
Bugs item #2762697, was opened at 2009-04-14 20:14
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2762697&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: Dr. Trigon (drtrigon)
>Assigned to: NicDumZ — Nicolas Dumazet (nicdumz)
Summary: Stability in wikipedia.py
Initial Comment:
Recently I've had some problems with the stability of 'wikipedia.put(...)' sometimes this method had some issues and that killed my bot.
I was able to track the problem down to 'wikipedia._getEditPage(...)' and following code (in 'wikipedia.py' around line 725):
********************************
while not textareaFound:
text = self.site().getUrl(path, sysop = sysop)
if text.find("<title>Wiki does not exist</title>") != -1:
raise NoSuchSite(u'Wiki %s does not exist yet' % self.site())
********************************
and I have changed it that way, to hold my bot/script running:
********************************
while not textareaFound:
try:
text = self.site().getUrl(path, sysop = sysop)
except:
time.sleep(1)
continue
if text.find("<title>Wiki does not exist</title>") != -1:
raise NoSuchSite(u'Wiki %s does not exist yet' % self.site())
********************************
and I am "pretty" sure that this solved my problem. :)
Probably you are also intressted in this solution?! I would assume that the delay of 1sec is neither critical nor needed.
Greetings
DrTrigon
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2009-08-10 21:02
Message:
has been fixed in r6586 by nicdumz.
It will not hurt, to give the bot some delay, especially since this
problem is very rare.
----------------------------------------------------------------------
Comment By: Dr. Trigon (drtrigon)
Date: 2009-04-18 16:42
Message:
@cosoleto: as I mentioned before, is this error very rare and in my bot
that should be running continuously - so it is like gambling, if you try to
reproduce it. so I dicided to provide at least that minimal backtrace, for
you in order to help you. For me this is no problem anymore, since I was
able to "brute-force-patch" it... :) that is also the reason why I posted
it in patches instead of bugs.
@nicdumz: I think you are right! That is good to know and what I
claimed... I looked at the bug you mentioned and it's solution, it should
be the solution to my "problem" also! Even if, with this solution the code
delays 1 min. on first error occurence, my patch delayed only 1 sec. what
was long enough, since it is none of this connection timeout errors... it
is a somehow strange error, something related with socket and looks to me
like a alternating error, but have no idea on how this one is triggered...
@all: ...anyway... thank you all for your info and help! greetings!
----------------------------------------------------------------------
Comment By: NicDumZ — Nicolas Dumazet (nicdumz)
Date: 2009-04-18 11:47
Message:
moving to "bugs", instead of patch.
----------------------------------------------------------------------
Comment By: NicDumZ — Nicolas Dumazet (nicdumz)
Date: 2009-04-18 11:11
Message:
I think that's a bug I recently fixed :
https://sourceforge.net/tracker/index.php?func=detail&aid=2114223&group_id=…
Please comment again if you run into the bug again
----------------------------------------------------------------------
Comment By: Francesco Cosoleto (cosoleto)
Date: 2009-04-18 00:29
Message:
Please, next time you report a crash, include full traceback. The message
error you have reported helps, but uncut backtraces permit to recognize and
fix the problem more quickly.
The problem should be in Page.geturl(). A new patch is welcome.
----------------------------------------------------------------------
Comment By: Dr. Trigon (drtrigon)
Date: 2009-04-16 20:46
Message:
here is the error:
(<class 'socket.error'>, error(104, 'Connection reset by peer'),
<traceback object at 0x3595248>)
hope this helps you...?!
greetings
----------------------------------------------------------------------
Comment By: Dr. Trigon (drtrigon)
Date: 2009-04-15 11:21
Message:
...I could add some code to print the exception the next time, my bot is
down...?!
----------------------------------------------------------------------
Comment By: Dr. Trigon (drtrigon)
Date: 2009-04-15 11:19
Message:
Hello back!
I have to apologize because I don't have the error message anymore (I had
it once...) and the error is a bit hard to reproduce, since it is not
thrown very often... :(
You are right; my solution is a kind of "brute-force"... :) Yesterday,
after my first postings, I had a look into 'getUrl', since I was
remembering that it should catch (and did this in the past accordingly)
such kind of problems. What was strange; the error I had occurred
instantaneously after calling 'getUrl', without any time delay... And it
was (most of the time) on the toolserver, which might have another kind of
internet connection and therefore another failure behaviour (and throw
other exceptions)...?!
----------------------------------------------------------------------
Comment By: NicDumZ — Nicolas Dumazet (nicdumz)
Date: 2009-04-14 20:17
Message:
Hello !
Are you able to elaborate on what error was raised? There is probably a
nicer way to catch the error, at a lower level, instead of bluntly retrying
on error =)
----------------------------------------------------------------------
Comment By: Dr. Trigon (drtrigon)
Date: 2009-04-14 20:15
Message:
Sorry was NOT 'wikipedia.put(...)' was 'wikipedia.get(...)' !
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2762697&group_…
Bugs item #2035818, was opened at 2008-08-02 11:11
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2035818&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: Invalid
Priority: 5
Private: No
Submitted By: DarkoNeko (darkoneko)
Assigned to: Nobody/Anonymous (nobody)
Summary: incorrect page retrival for zhwiki
Initial Comment:
Version used : 5781
interwiki.py tend to gives errors like this when trying to access the zh wikipedia (ever since I added it to my config yesterday) - it only happens sometimes, I haven't been able to determine a common factor for the problem yet.
No changes needed
Updating links on page [[fr:Ludwigshafen]].
No changes needed
Updating links on page [[de:Ludwigshafen am Rhein]].
No changes needed
Getting 12 pages from wikipedia:io...
======Post-processing [[ja:ruhto furitto]]======
Updating links on page [[zh:??·???]].
Changes to be made: ??: [[eu:Ruud Gullit]]
+ [[eu:Ruud Gullit]]
NOTE: Updating live wiki...
Changing page [[zh:??·???]]
Server error encountered; will retry in 1 minute.
Changing page [[zh:??·???]]
Server error encountered; will retry in 2 minutes.
Changing page [[zh:??·???]]
Server error encountered; will retry in 4 minutes.
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2009-08-10 20:43
Message:
I think this is not a bug but a server error. My bot does a lot of edits
and sometimes such a message occures.
----------------------------------------------------------------------
Comment By: siebrand (siebrand)
Date: 2009-01-27 10:43
Message:
Is this behaviour still current?
----------------------------------------------------------------------
Comment By: DarkoNeko (darkoneko)
Date: 2008-08-02 11:13
Message:
Logged In: YES
user_id=1809111
Originator: YES
complete version
Pywikipedia [http] trunk/pywikipedia (r5781, Aug 01 2008, 21:44:26)
Python 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit
(Intel)]
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2035818&group_…
Bugs item #2835080, was opened at 2009-08-10 20:33
Message generated for change (Tracker Item Submitted) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2835080&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
Resolution: None
Priority: 5
Private: No
Submitted By: xqt (xqt)
Assigned to: Nobody/Anonymous (nobody)
Summary: weblinkChecker syntax warning
Initial Comment:
Pywikipedia [http] trunk/pywikipedia (r7139, 2009/08/09, 08:40:29)
Python 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)]
I got this message:
C:\...\weblinkchecker.py:808: SyntaxWarning: name 'day' is assigned to before global declaration
global day
The reason is that day is assigned first in line 792:
day = 7
This bug came with r6639
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2835080&group_…
Bugs item #1721918, was opened at 2007-05-19 21:03
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1721918&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: Closed
>Resolution: Works For Me
Priority: 5
Private: No
Submitted By: Purodha B Blissenbach (purodha)
Assigned to: Nobody/Anonymous (nobody)
Summary: interwiki.py - syntax error analyzing wiki syntax.
Initial Comment:
See http://vi.wikipedia.org/w/index.php?title=Ti%C3%AAu_b%E1%BA%A3n%3A%21-&diff…
There are correct new interwiki links,
being inserted at a wrong place,
breaking the wiki syntax.
Possibly the problem is related to <noinclude> syntax.
Minor, and possibly unrelated: I've often seen:
<noinclude>[[zxx:1st interwiki]]
[[zxx:2nd interwiki]]
...
where I expected:
<noinclude>
[[zxx:1st interwiki]]
[[zxx:2nd interwiki]]
...
to be generated.
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2009-08-10 12:56
Message:
It seems to be fixed:
http://vi.wikipedia.org/w/index.php?title=Ti%C3%AAu_b%E1%BA%A3n:!-&diff=pre…
----------------------------------------------------------------------
Comment By: siebrand (siebrand)
Date: 2009-01-27 09:24
Message:
Does this behaviour still occur?
----------------------------------------------------------------------
Comment By: Purodha B Blissenbach (purodha)
Date: 2007-05-19 21:28
Message:
Logged In: YES
user_id=46450
Originator: YES
See
http://fr.wikipedia.org/w/index.php?title=Mod%C3%A8le%3A%21-&diff=17071747&…
where the same problem appears. During the same bot run, on another wiki,
the error did not show up in a similar situation.
There also was a Category: link, but it had {{Pagename}} replaced by !-
which is the page name, i.e. functionally identical, and as a result
everything is working fine.
So one must assume, {{pagename}} triggers the odd behaviour. Possibly, it
is seen as a template call, which is not regarded as a part inside a
[[...]] bracket?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1721918&group_…
Bugs item #1729765, was opened at 2007-06-02 02:43
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1729765&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: Closed
>Resolution: Duplicate
Priority: 7
Private: No
Submitted By: siebrand (siebrand)
Assigned to: Nobody/Anonymous (nobody)
Summary: interwiki.py: templates with <noinclude>
Initial Comment:
Doing a template namespace run with interwiki.py an edit was made in fr.wikipedia[1] to a template containing a <noinclude> and no existing interwikis. interwiki.py added the interwikis outside to <noinclude> section, effectively adding a lot of interwiki links to pages that should not have gotten the links. The change was reverted and all 70 (damn) wikis I could have made edits on now have to be checked for possible errors.
Not sure if and how to fix this.
Another issue would be adding interwiki links to a template that does not contain a <noinclude> section. Should interwiki links be added there 'as is', should they be placed within <noinclude>, or should no changes be made at all?
http://fr.wikipedia.org/w/index.php?title=Mod%C3%A8le:Coor&diff=17522740&ol…
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2009-08-10 11:48
Message:
duplicate to #2780955
fixes r6817, r6819
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2009-05-04 17:08
Message:
some feedback added to ID: 2780955 -
http://sourceforge.net/tracker/?func=detail&atid=603140&aid=2780955&group_i…
----------------------------------------------------------------------
Comment By: NicDumZ — Nicolas Dumazet (nicdumz)
Date: 2009-05-04 03:45
Message:
A fix has been attempted in r6817, applying patch #2780955 . Please update,
test it, and give us feedback on this fix.
----------------------------------------------------------------------
Comment By: NicDumZ — Nicolas Dumazet (nicdumz)
Date: 2009-04-09 19:18
Message:
Closed several duplicate bugs on the same topic.
Here are the one containing interesting info :
https://sourceforge.net/tracker/index.php?func=detail&aid=1710764&group_id=…
A patch (not reviewed?):
https://sourceforge.net/tracker/index.php?func=detail&aid=1527779&group_id=…
Raising priority...
----------------------------------------------------------------------
Comment By: Merlijn S. van Deen (valhallasw)
Date: 2007-06-20 14:50
Message:
Logged In: YES
user_id=687283
Originator: NO
Is there any reason not to have interwiki links inside a <noinclude>
section? I can only think of a handful of pages that have an use for
included interwiki's (village pump, for example).
----------------------------------------------------------------------
Comment By: Purodha B Blissenbach (purodha)
Date: 2007-06-03 14:56
Message:
Logged In: YES
user_id=46450
Originator: NO
See also: bug 603141 at
https://sourceforge.net/tracker/index.php?func=detail&aid=1674677&group_id=…
----------------------------------------------------------------------
Comment By: Purodha B Blissenbach (purodha)
Date: 2007-06-03 02:48
Message:
Logged In: YES
user_id=46450
Originator: NO
See also bug #1721918 - imho different, but likely to be treated in the
very same piece of code.
----------------------------------------------------------------------
Comment By: Multichill (multichill)
Date: 2007-06-02 12:36
Message:
Logged In: YES
user_id=1777493
Originator: NO
Duplicate with 1710764 ?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1729765&group_…