Bugs item #1905228, was opened at 2008-03-01 11:38
Message generated for change (Comment added) made by nicdumz
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1905228&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: Alex S.H. Lin (lin4h)
Assigned to: Nobody/Anonymous (nobody)
Summary: ValueError in category.py
Initial Comment:
>category.py tidy
Target Category is [[zh:Category:日本天皇]].When the script reading the article [[大友皇子即位論]], it rollback this error:
Treating page 大友皇子即位論, currently in Category:日本天皇
Dumping to category.dump.bz2, please wait...
Traceback (most recent call last):
File "D:\My Documents\SOURCE\mwbot\pywikipedia\category.py", line 896, in <mod
ule>
bot.run()
File "D:\My Documents\SOURCE\mwbot\pywikipedia\category.py", line 697, in run
self.move_to_category(article, cat, cat)
File "D:\My Documents\SOURCE\mwbot\pywikipedia\category.py", line 601, in move
_to_category
contextLength = full_text.index('\n\n', contextLength+2)
ValueError: substring not found
----------------------------------------------------------------------
Comment By: NicDumZ — Nicolas Dumazet (nicdumz)
Date: 2008-03-01 15:41
Message:
Logged In: YES
user_id=1963242
Originator: NO
Index: category.py
===================================================================
--- category.py (révision 5095)
+++ category.py (copie de travail)
@@ -595,7 +595,7 @@
contextLength = 500
if full_text.startswith(u'[['): # probably an image
# Add extra paragraph.
- contextLength = full_text.index('\n\n', contextLength+2)
+ contextLength = full_text.find('\n\n', contextLength+2)
if contextLength > 1000 or contextLength < 0:
contextLength = 500
print
Simply replacing "index()" by find() line 601 (597 in trunk) will do :
If the substring is not found, then contextLength will be -1 ; and will
get defaulted to 500 on the next line
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1905228&group_…
Bugs item #1900873, was opened at 2008-02-24 15:30
Message generated for change (Settings changed) made by btongminh
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1900873&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: Alex S.H. Lin (lin4h)
Assigned to: Bryan (btongminh)
Summary: Commons Delinker Config bug
Initial Comment:
>delinker.py
[2008-02-24 22:29:36] Running $Id: delinker.py 5047 2008-02-18 15:52:32Z btongmi
nh $
Traceback (most recent call last):
File "D:\My Documents\SOURCE\mwbot\pywikipedia\delinker.py", line 17, in <modu
le>
bot.main()
File "commonsdelinker\delinker.py", line 860, in main
CD = CommonsDelinker()
File "commonsdelinker\delinker.py", line 591, in __init__
self.config = config.CommonsDelinker
AttributeError: 'module' object has no attribute 'CommonsDelinker'
----------------------------------------------------------------------
Comment By: Alex S.H. Lin (lin4h)
Date: 2008-03-01 11:42
Message:
Logged In: YES
user_id=1902991
Originator: YES
I forget to read delinker.txt(ORZ)
----------------------------------------------------------------------
Comment By: Bryan (btongminh)
Date: 2008-02-25 12:04
Message:
Logged In: YES
user_id=1806226
Originator: NO
Did you configure the bot according to commonsdelinker/delinker.txt? And
if so, could you paste your configuration?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1900873&group_…
Bugs item #1899422, was opened at 2008-02-22 09:54
Message generated for change (Comment added) made by multichill
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1899422&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: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: tlh to be removed from wiktionaries
Initial Comment:
Interwiki links to 'tlh' don't work any longer in wiktionaries. Klingon wiktionary seems to be closed. Interwiki links should be removed.
----------------------------------------------------------------------
Comment By: Multichill (multichill)
Date: 2008-03-01 12:31
Message:
Logged In: YES
user_id=1777493
Originator: NO
Lets close it, see
http://meta.wikimedia.org/wiki/Proposals_for_closing_projects/Closure_of_Kl…
----------------------------------------------------------------------
Comment By: spacebirdy (real-spacebirdy)
Date: 2008-02-25 10:36
Message:
Logged In: YES
user_id=2018837
Originator: NO
tlh wiktionary is not closed yet,
_but_ the interwikilinks do _not_ work neither to the Wiktionary nor to
the Wikipedia.
Please see https://bugzilla.wikimedia.org/show_bug.cgi?id=9164
The tlh-projects if linked show up in the entry instead of on the left and
therefore breaking the entry.
Please remove tlh.
Many thanks in advance,
best regards.
----------------------------------------------------------------------
Comment By: Andre Engels (a_engels)
Date: 2008-02-25 09:18
Message:
Logged In: YES
user_id=843018
Originator: NO
Re-opening: Interwiki links to tlh: don't work any more, so it's
worse-than-silly to keep them. Please remove tlh from the language list and
add it to the obsolete list.
----------------------------------------------------------------------
Comment By: Rotem Liss (rotemliss)
Date: 2008-02-22 16:34
Message:
Logged In: YES
user_id=1327030
Originator: NO
wiktionary:tlh is not closed yet.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1899422&group_…
Bugs item #1900873, was opened at 2008-02-24 22:30
Message generated for change (Comment added) made by lin4h
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1900873&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: None
Priority: 5
Private: No
Submitted By: Alex S.H. Lin (lin4h)
Assigned to: Bryan (btongminh)
Summary: Commons Delinker Config bug
Initial Comment:
>delinker.py
[2008-02-24 22:29:36] Running $Id: delinker.py 5047 2008-02-18 15:52:32Z btongmi
nh $
Traceback (most recent call last):
File "D:\My Documents\SOURCE\mwbot\pywikipedia\delinker.py", line 17, in <modu
le>
bot.main()
File "commonsdelinker\delinker.py", line 860, in main
CD = CommonsDelinker()
File "commonsdelinker\delinker.py", line 591, in __init__
self.config = config.CommonsDelinker
AttributeError: 'module' object has no attribute 'CommonsDelinker'
----------------------------------------------------------------------
>Comment By: Alex S.H. Lin (lin4h)
Date: 2008-03-01 18:42
Message:
Logged In: YES
user_id=1902991
Originator: YES
I forget to read delinker.txt(ORZ)
----------------------------------------------------------------------
Comment By: Bryan (btongminh)
Date: 2008-02-25 19:04
Message:
Logged In: YES
user_id=1806226
Originator: NO
Did you configure the bot according to commonsdelinker/delinker.txt? And
if so, could you paste your configuration?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1900873&group_…
Bugs item #1905228, was opened at 2008-03-01 18:38
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1905228&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: Alex S.H. Lin (lin4h)
Assigned to: Nobody/Anonymous (nobody)
Summary: ValueError in category.py
Initial Comment:
>category.py tidy
Target Category is [[zh:Category:日本天皇]].When the script reading the article [[大友皇子即位論]], it rollback this error:
Treating page 大友皇子即位論, currently in Category:日本天皇
Dumping to category.dump.bz2, please wait...
Traceback (most recent call last):
File "D:\My Documents\SOURCE\mwbot\pywikipedia\category.py", line 896, in <mod
ule>
bot.run()
File "D:\My Documents\SOURCE\mwbot\pywikipedia\category.py", line 697, in run
self.move_to_category(article, cat, cat)
File "D:\My Documents\SOURCE\mwbot\pywikipedia\category.py", line 601, in move
_to_category
contextLength = full_text.index('\n\n', contextLength+2)
ValueError: substring not found
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=1905228&group_…