Bugs item #3005766, was opened at 2010-05-22 22:48
Message generated for change (Settings changed) made by rubin16
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3005766&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: Linar Khalitov (rubin16)
Assigned to: Nobody/Anonymous (nobody)
Summary: stops working in categories
Initial Comment:
Pywikipedia [http] trunk/pywikipedia (r8200, 2010/05/22, 16:14:13)
Python 2.5.4 (r254:67916, Aug 23 2009, 21:30:57)
[GCC 4.1.2 (Gentoo 4.1.2 p1.0.2)]
config-settings:
use_api = True
use_api_login = True
dens@vz153 ~/pywikipedia $ python interwiki.py -continue -autonomous -nolog
<skipped>
[[Kategoriya:Administrativnoe delenie Dominiki]]: [[ru:Kategoriya:Administrativnoe delenie Dominiki]] gives new interwiki [[zh:Category:??????]]
[[Kategoriya:Administrativnoe delenie Dominiki]]: [[ru:Kategoriya:Administrativnoe delenie Dominiki]] gives new interwiki [[en:Category:Parishes of Dominica]]
Dump ru (wikipedia) written.
Traceback (most recent call last):
File "interwiki.py", line 2421, in <module>
main()
File "interwiki.py", line 2395, in main
bot.run()
File "interwiki.py", line 2155, in run
self.queryStep()
File "interwiki.py", line 2128, in queryStep
self.oneQuery()
File "interwiki.py", line 2124, in oneQuery
subject.batchLoaded(self)
File "interwiki.py", line 1421, in batchLoaded
if not self.skipPage(page, linkedPage, counter):
File "interwiki.py", line 1080, in skipPage
self.namespaceMismatch(page, target, counter) or \
File "interwiki.py", line 1091, in namespaceMismatch
if linkedPage in self.foundIn:
File "/home/dens/pywikipedia/wikipedia.py", line 2245, in __hash__
return hash(str(self))
File "/home/dens/pywikipedia/wikipedia.py", line 507, in __str__
return self.aslink().encode(config.console_encoding, 'replace')
File "/home/dens/pywikipedia/wikipedia.py", line 537, in aslink
self.title(savetitle=True, decode=True))
File "/home/dens/pywikipedia/wikipedia.py", line 447, in title
title = title[:begin + 1] + anchor
TypeError: coercing to Unicode: need string or buffer, NoneType found
What's wrong ? Any ideas how to correct this ?
----------------------------------------------------------------------
Comment By: Linar Khalitov (rubin16)
Date: 2010-05-24 00:50
Message:
ok, thanks
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2010-05-23 23:00
Message:
I guess this came from a invalid section link:
http://ru.wikipedia.org/w/index.php?title=%D0%9A%D0%B0%D1%82%D0%B5%D0%B3%D0…
(I removed it)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3005766&group_…
Bugs item #3005766, was opened at 2010-05-22 22:48
Message generated for change (Comment added) made by rubin16
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3005766&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
Resolution: None
Priority: 5
Private: No
Submitted By: Linar Khalitov (rubin16)
Assigned to: Nobody/Anonymous (nobody)
Summary: stops working in categories
Initial Comment:
Pywikipedia [http] trunk/pywikipedia (r8200, 2010/05/22, 16:14:13)
Python 2.5.4 (r254:67916, Aug 23 2009, 21:30:57)
[GCC 4.1.2 (Gentoo 4.1.2 p1.0.2)]
config-settings:
use_api = True
use_api_login = True
dens@vz153 ~/pywikipedia $ python interwiki.py -continue -autonomous -nolog
<skipped>
[[Kategoriya:Administrativnoe delenie Dominiki]]: [[ru:Kategoriya:Administrativnoe delenie Dominiki]] gives new interwiki [[zh:Category:??????]]
[[Kategoriya:Administrativnoe delenie Dominiki]]: [[ru:Kategoriya:Administrativnoe delenie Dominiki]] gives new interwiki [[en:Category:Parishes of Dominica]]
Dump ru (wikipedia) written.
Traceback (most recent call last):
File "interwiki.py", line 2421, in <module>
main()
File "interwiki.py", line 2395, in main
bot.run()
File "interwiki.py", line 2155, in run
self.queryStep()
File "interwiki.py", line 2128, in queryStep
self.oneQuery()
File "interwiki.py", line 2124, in oneQuery
subject.batchLoaded(self)
File "interwiki.py", line 1421, in batchLoaded
if not self.skipPage(page, linkedPage, counter):
File "interwiki.py", line 1080, in skipPage
self.namespaceMismatch(page, target, counter) or \
File "interwiki.py", line 1091, in namespaceMismatch
if linkedPage in self.foundIn:
File "/home/dens/pywikipedia/wikipedia.py", line 2245, in __hash__
return hash(str(self))
File "/home/dens/pywikipedia/wikipedia.py", line 507, in __str__
return self.aslink().encode(config.console_encoding, 'replace')
File "/home/dens/pywikipedia/wikipedia.py", line 537, in aslink
self.title(savetitle=True, decode=True))
File "/home/dens/pywikipedia/wikipedia.py", line 447, in title
title = title[:begin + 1] + anchor
TypeError: coercing to Unicode: need string or buffer, NoneType found
What's wrong ? Any ideas how to correct this ?
----------------------------------------------------------------------
>Comment By: Linar Khalitov (rubin16)
Date: 2010-05-24 00:50
Message:
ok, thanks
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2010-05-23 23:00
Message:
I guess this came from a invalid section link:
http://ru.wikipedia.org/w/index.php?title=%D0%9A%D0%B0%D1%82%D0%B5%D0%B3%D0…
(I removed it)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3005766&group_…
Bugs item #3005766, was opened at 2010-05-22 20:48
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3005766&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
Resolution: None
Priority: 5
Private: No
Submitted By: Linar Khalitov (rubin16)
Assigned to: Nobody/Anonymous (nobody)
Summary: stops working in categories
Initial Comment:
Pywikipedia [http] trunk/pywikipedia (r8200, 2010/05/22, 16:14:13)
Python 2.5.4 (r254:67916, Aug 23 2009, 21:30:57)
[GCC 4.1.2 (Gentoo 4.1.2 p1.0.2)]
config-settings:
use_api = True
use_api_login = True
dens@vz153 ~/pywikipedia $ python interwiki.py -continue -autonomous -nolog
<skipped>
[[Kategoriya:Administrativnoe delenie Dominiki]]: [[ru:Kategoriya:Administrativnoe delenie Dominiki]] gives new interwiki [[zh:Category:??????]]
[[Kategoriya:Administrativnoe delenie Dominiki]]: [[ru:Kategoriya:Administrativnoe delenie Dominiki]] gives new interwiki [[en:Category:Parishes of Dominica]]
Dump ru (wikipedia) written.
Traceback (most recent call last):
File "interwiki.py", line 2421, in <module>
main()
File "interwiki.py", line 2395, in main
bot.run()
File "interwiki.py", line 2155, in run
self.queryStep()
File "interwiki.py", line 2128, in queryStep
self.oneQuery()
File "interwiki.py", line 2124, in oneQuery
subject.batchLoaded(self)
File "interwiki.py", line 1421, in batchLoaded
if not self.skipPage(page, linkedPage, counter):
File "interwiki.py", line 1080, in skipPage
self.namespaceMismatch(page, target, counter) or \
File "interwiki.py", line 1091, in namespaceMismatch
if linkedPage in self.foundIn:
File "/home/dens/pywikipedia/wikipedia.py", line 2245, in __hash__
return hash(str(self))
File "/home/dens/pywikipedia/wikipedia.py", line 507, in __str__
return self.aslink().encode(config.console_encoding, 'replace')
File "/home/dens/pywikipedia/wikipedia.py", line 537, in aslink
self.title(savetitle=True, decode=True))
File "/home/dens/pywikipedia/wikipedia.py", line 447, in title
title = title[:begin + 1] + anchor
TypeError: coercing to Unicode: need string or buffer, NoneType found
What's wrong ? Any ideas how to correct this ?
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2010-05-23 21:00
Message:
I guess this came from a invalid section link:
http://ru.wikipedia.org/w/index.php?title=%D0%9A%D0%B0%D1%82%D0%B5%D0%B3%D0…
(I removed it)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3005766&group_…
Bugs item #3005766, was opened at 2010-05-22 22:48
Message generated for change (Tracker Item Submitted) made by rubin16
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3005766&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
Resolution: None
Priority: 5
Private: No
Submitted By: Linar Khalitov (rubin16)
Assigned to: Nobody/Anonymous (nobody)
Summary: stops working in categories
Initial Comment:
Pywikipedia [http] trunk/pywikipedia (r8200, 2010/05/22, 16:14:13)
Python 2.5.4 (r254:67916, Aug 23 2009, 21:30:57)
[GCC 4.1.2 (Gentoo 4.1.2 p1.0.2)]
config-settings:
use_api = True
use_api_login = True
dens@vz153 ~/pywikipedia $ python interwiki.py -continue -autonomous -nolog
<skipped>
[[Kategoriya:Administrativnoe delenie Dominiki]]: [[ru:Kategoriya:Administrativnoe delenie Dominiki]] gives new interwiki [[zh:Category:??????]]
[[Kategoriya:Administrativnoe delenie Dominiki]]: [[ru:Kategoriya:Administrativnoe delenie Dominiki]] gives new interwiki [[en:Category:Parishes of Dominica]]
Dump ru (wikipedia) written.
Traceback (most recent call last):
File "interwiki.py", line 2421, in <module>
main()
File "interwiki.py", line 2395, in main
bot.run()
File "interwiki.py", line 2155, in run
self.queryStep()
File "interwiki.py", line 2128, in queryStep
self.oneQuery()
File "interwiki.py", line 2124, in oneQuery
subject.batchLoaded(self)
File "interwiki.py", line 1421, in batchLoaded
if not self.skipPage(page, linkedPage, counter):
File "interwiki.py", line 1080, in skipPage
self.namespaceMismatch(page, target, counter) or \
File "interwiki.py", line 1091, in namespaceMismatch
if linkedPage in self.foundIn:
File "/home/dens/pywikipedia/wikipedia.py", line 2245, in __hash__
return hash(str(self))
File "/home/dens/pywikipedia/wikipedia.py", line 507, in __str__
return self.aslink().encode(config.console_encoding, 'replace')
File "/home/dens/pywikipedia/wikipedia.py", line 537, in aslink
self.title(savetitle=True, decode=True))
File "/home/dens/pywikipedia/wikipedia.py", line 447, in title
title = title[:begin + 1] + anchor
TypeError: coercing to Unicode: need string or buffer, NoneType found
What's wrong ? Any ideas how to correct this ?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3005766&group_…
Patches item #3005145, was opened at 2010-05-21 09:56
Message generated for change (Tracker Item Submitted) made by stanlekub
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3005145&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: rewrite
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: stanlekub (stanlekub)
Assigned to: Nobody/Anonymous (nobody)
Summary: Port of clean_sandbox.py for the rewrite branch
Initial Comment:
Attached is a patch that adapts clean_sanbox.py for the rewrite branch.
This is really just a port, which should be functional, but would require some refactoring latter to take better advantages of rewrite's feature, some PEP8 improvements and add additional features, but this patch is probably tough enough for code reviewing.
Patched against trunk's r8199
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3005145&group_…
Patches item #3002535, was opened at 2010-05-17 03:38
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3002535&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: Accepted
Priority: 5
Private: No
Submitted By: zedlik (zedlik)
>Assigned to: xqt (xqt)
Summary: Interwiki order for be-x-old wikipedia
Initial Comment:
Hi, there is the patch for wikipedia_family.py which adds self.alphabetic interwiki ordering for be-x-old wikipedia.
The relevant discussion can be found under http://be-x-old.wikipedia.org/wiki/%D0%92%D1%96%D0%BA%D1%96%D0%BF%D1%8D%D0%…
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2010-05-20 01:26
Message:
done in r8195.
Please add be-x-old to meta at
http://meta.wikimedia.org/wiki/Interwiki_sorting_order#Wikis_using_this_sor…
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3002535&group_…
Patches item #3003310, was opened at 2010-05-18 08:56
Message generated for change (Comment added) made by russblau
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3003310&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: rewrite
Group: None
>Status: Closed
>Resolution: Accepted
Priority: 5
Private: No
Submitted By: stanlekub (stanlekub)
>Assigned to: NicDumZ — Nicolas Dumazet (nicdumz)
Summary: bug accessing 'availableOptions' dict in Bot() class
Initial Comment:
The Bot() class defines a dictionary named 'availableOptions', which is supposedly customizable by subclassing Bot(), but the Bot.getOption() and Bot.setOptions() methods use the "unbounded" Bot.availableOptions call.
The attached (very small) patch modifies this by replacing Bot.availableOptions with self.availableOptions, so that subclasses can use a custom dict.
----------------------------------------------------------------------
>Comment By: Russell Blau (russblau)
Date: 2010-05-19 15:14
Message:
Applied in r8189; thanks for the aptch.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3003310&group_…
Bugs item #3002650, was opened at 2010-05-17 06:51
Message generated for change (Comment added) made by russblau
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3002650&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: rewrite
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: stanlekub (stanlekub)
Assigned to: Russell Blau (russblau)
Summary: .nice_get_address() used but not implemented
Initial Comment:
In the rewrite branch, the Site.nice_get_address() method is marked as 'NotImplemented' but is used in various scripts,
namely :
* pagegenerators.py (to set the 'site:' attribute of Google and Yahoo search queries)
* replace.py and interwiki.py for the 'open in browser' options.
As I'm unsure if the NotImplemented status means "not implemented yet" or "will not implement",
I propose two patches:
* The first one wich works around using Family.nicepath()
* The second one which implements nice_get_address() "the old way", removing it from the NotImplemented pool.
----------------------------------------------------------------------
>Comment By: Russell Blau (russblau)
Date: 2010-05-19 15:11
Message:
Fixed in r8198: I applied your second patch, but added a more API-aware
override in APISite.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3002650&group_…
Bugs item #3004033, was opened at 2010-05-19 14:27
Message generated for change (Tracker Item Submitted) made by jandudik
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3004033&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
Resolution: None
Priority: 5
Private: No
Submitted By: JAn (jandudik)
Assigned to: Nobody/Anonymous (nobody)
Summary: bad category namespace name
Initial Comment:
In some languages was recently changed name of namespace 14. (ab, lad, nv...)
Now bot reports
cs:kategorie:foo is in namespace 14 but lad:Kategory:foo is in namespace 0.
when i type category:foo, it works. When I click to old name, it works. But not for bot.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3004033&group_…
Bugs item #3004030, was opened at 2010-05-19 14:24
Message generated for change (Tracker Item Submitted) made by jandudik
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3004030&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: JAn (jandudik)
Assigned to: Nobody/Anonymous (nobody)
Summary: removing interwiki
Initial Comment:
http://en.wikipedia.org/w/index.php?title=Renault_FT-17&diff=362970235&oldi…
When I click on link, page exist, but bot said not.
When I copied page name, there is small change, but old name works in browser. MAybe some incorrect translation? (The same problem as in sr.wiki ?)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3004030&group_…