Bugs item #2897335, was opened at 2009-11-13 19:41
Message generated for change (Comment added) made by rubin16
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2897335&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: 8
Private: No
Submitted By: Nakor Wikipedia (nakor-wikipedia)
Assigned to: Nobody/Anonymous (nobody)
Summary: wikipedia site.getUrl() is broken
Initial Comment:
works fine in r7639, broken in r7945:
File "/home/nakor/junior/pywikipedia/almabot/newaccounts.py", line 18, in get_new_accounts
account_list = site.getUrl(account_url)
File "/home/nakor/junior/pywikipedia/wikipedia.py", line 5565, in getUrl
if self.cookies(sysop = sysop) and not no_hostname:
File "/home/nakor/junior/pywikipedia/wikipedia.py", line 5198, in cookies
self._loadCookies(sysop = sysop)
File "/home/nakor/junior/pywikipedia/wikipedia.py", line 5241, in _loadCookies
if k not in self._cookies[index]:
TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
Comment By: Linar Khalitov (rubin16)
Date: 2009-11-14 11:21
Message:
confirm, the same problem :(
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2897335&group_…
Bugs item #2897335, was opened at 2009-11-13 11:41
Message generated for change (Settings changed) made by nakor-wikipedia
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2897335&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: 8
Private: No
Submitted By: Nakor Wikipedia (nakor-wikipedia)
Assigned to: Nobody/Anonymous (nobody)
Summary: wikipedia site.getUrl() is broken
Initial Comment:
works fine in r7639, broken in r7945:
File "/home/nakor/junior/pywikipedia/almabot/newaccounts.py", line 18, in get_new_accounts
account_list = site.getUrl(account_url)
File "/home/nakor/junior/pywikipedia/wikipedia.py", line 5565, in getUrl
if self.cookies(sysop = sysop) and not no_hostname:
File "/home/nakor/junior/pywikipedia/wikipedia.py", line 5198, in cookies
self._loadCookies(sysop = sysop)
File "/home/nakor/junior/pywikipedia/wikipedia.py", line 5241, in _loadCookies
if k not in self._cookies[index]:
TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2897335&group_…
Bugs item #2897335, was opened at 2009-11-13 11:41
Message generated for change (Tracker Item Submitted) made by nakor-wikipedia
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2897335&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: Nakor Wikipedia (nakor-wikipedia)
Assigned to: Nobody/Anonymous (nobody)
Summary: wikipedia site.getUrl() is broken
Initial Comment:
works fine in r7639, broken in r7945:
File "/home/nakor/junior/pywikipedia/almabot/newaccounts.py", line 18, in get_new_accounts
account_list = site.getUrl(account_url)
File "/home/nakor/junior/pywikipedia/wikipedia.py", line 5565, in getUrl
if self.cookies(sysop = sysop) and not no_hostname:
File "/home/nakor/junior/pywikipedia/wikipedia.py", line 5198, in cookies
self._loadCookies(sysop = sysop)
File "/home/nakor/junior/pywikipedia/wikipedia.py", line 5241, in _loadCookies
if k not in self._cookies[index]:
TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2897335&group_…
Bugs item #2897243, was opened at 2009-11-13 15:05
Message generated for change (Comment added) made by masti01
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2897243&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: continue of bug 2896087
Initial Comment:
continue of bug 2896087
r7643 didn't fix it
Microsoft Windows XP [Verze 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Dokumenty\py>interwiki.py
Traceback (most recent call last):
File "C:\Dokumenty\py\interwiki.py", line 2164, in <module>
mainpagename = site.mediawiki_message('mainpage')
File "c:\Dokumenty\py\wikipedia.py", line 5948, in mediawiki_message
datas = query.GetData(params, self)['query']['allmessages'][0]
File "c:\Dokumenty\py\query.py", line 124, in GetData
jsontext = site.getUrl( path, retry=True, sysop=sysop, data=data)
File "c:\Dokumenty\py\wikipedia.py", line 5565, in getUrl
if self.cookies(sysop = sysop) and not no_hostname:
File "c:\Dokumenty\py\wikipedia.py", line 5198, in cookies
self._loadCookies(sysop = sysop)
File "c:\Dokumenty\py\wikipedia.py", line 5241, in _loadCookies
if k not in self._cookies[index]:
TypeError: argument of type 'NoneType' is not iterable
C:\Dokumenty\py>version.py
Pywikipedia [http] trunk/pywikipedia (r7643, 2009/11/13, 12:58:33)
Python 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)]
C:\Dokumenty\py>
----------------------------------------------------------------------
Comment By: masti (masti01)
Date: 2009-11-13 16:38
Message:
It happens also with other scripts like basic.py or category.py
example:
python pywikipedia/category.py listify -from:Warszawa
-to:"Wikipedysta:mastiBot/wawtest"
Reading dump from category.dump.bz2
Getting [[Kategoria:Warszawa]]...
Dumping to category.dump.bz2, please wait...
Traceback (most recent call last):
File "pywikipedia/category.py", line 1020, in <module>
bot.run()
File "pywikipedia/category.py", line 524, in run
listOfArticles = self.cat.articlesList(recurse = self.recurse)
File "/home/mst/pw/pywikipedia/catlib.py", line 420, in articlesList
for article in self.articles(recurse):
File "/home/mst/pw/pywikipedia/catlib.py", line 405, in articles
for tag, page in gen(recurse=recurse, startFrom=startFrom):
File "/home/mst/pw/pywikipedia/catlib.py", line 162, in
_getContentsNaive
for tag, page in self._parseCategory(startFrom=startFrom):
File "/home/mst/pw/pywikipedia/catlib.py", line 219, in _parseCategory
data = query.GetData(params, self.site())
File "/home/mst/pw/pywikipedia/query.py", line 124, in GetData
jsontext = site.getUrl( path, retry=True, sysop=sysop, data=data)
File "/home/mst/pw/pywikipedia/wikipedia.py", line 5565, in getUrl
if self.cookies(sysop = sysop) and not no_hostname:
File "/home/mst/pw/pywikipedia/wikipedia.py", line 5198, in cookies
self._loadCookies(sysop = sysop)
File "/home/mst/pw/pywikipedia/wikipedia.py", line 5241, in _loadCookies
if k not in self._cookies[index]:
TypeError: argument of type 'NoneType' is not iterable
python pywikipedia/version.py
Pywikipedia (r7643 (wikipedia.py), 2009/11/13, 12:58:33)
Python 2.6 (r26:66714, Jun 8 2009, 16:07:26)
[GCC 4.4.0 20090506 (Red Hat 4.4.0-4)]
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2897243&group_…
Feature Requests item #2897285, was opened at 2009-11-13 11:09
Message generated for change (Tracker Item Submitted) made by mike_lifeguard
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2897285&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: Mike.lifeguard (mike_lifeguard)
Assigned to: Nobody/Anonymous (nobody)
Summary: clean_sandbox.py should accept -page, -summary, and -text
Initial Comment:
Instead of forcing users to modify the .py file itself, which may get overwritten on upgrades, please allow the script to accept
-page for the page to clean
-summary for the edit summary
-text for the text to replace with
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2897285&group_…
Feature Requests item #2897284, was opened at 2009-11-13 15:08
Message generated for change (Tracker Item Submitted) made by nobody
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2897284&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: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: clean_sandbox.py should accept -summary:... and -text:...
Initial Comment:
Instead of forcing users to customize the python file, which may get overwritten on upgrades, please allow this script to use -summary: and -text: parameters to specify the edit summary and text to replace with.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2897284&group_…
Bugs item #2897243, was opened at 2009-11-13 15:05
Message generated for change (Tracker Item Submitted) made by jandudik
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2897243&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: continue of bug 2896087
Initial Comment:
continue of bug 2896087
r7643 didn't fix it
Microsoft Windows XP [Verze 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Dokumenty\py>interwiki.py
Traceback (most recent call last):
File "C:\Dokumenty\py\interwiki.py", line 2164, in <module>
mainpagename = site.mediawiki_message('mainpage')
File "c:\Dokumenty\py\wikipedia.py", line 5948, in mediawiki_message
datas = query.GetData(params, self)['query']['allmessages'][0]
File "c:\Dokumenty\py\query.py", line 124, in GetData
jsontext = site.getUrl( path, retry=True, sysop=sysop, data=data)
File "c:\Dokumenty\py\wikipedia.py", line 5565, in getUrl
if self.cookies(sysop = sysop) and not no_hostname:
File "c:\Dokumenty\py\wikipedia.py", line 5198, in cookies
self._loadCookies(sysop = sysop)
File "c:\Dokumenty\py\wikipedia.py", line 5241, in _loadCookies
if k not in self._cookies[index]:
TypeError: argument of type 'NoneType' is not iterable
C:\Dokumenty\py>version.py
Pywikipedia [http] trunk/pywikipedia (r7643, 2009/11/13, 12:58:33)
Python 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)]
C:\Dokumenty\py>
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2897243&group_…
Bugs item #2896883, was opened at 2009-11-12 23:28
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2896883&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: login
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Gdgourou ()
Assigned to: Nobody/Anonymous (nobody)
Summary: problem at login
Initial Comment:
C:\Python25\pywikipedia>python login.py -all -pass:"password"
C:\Python25\pywikipedia\query.py:266: DeprecationWarning: raising a string excep
tion is deprecated
raise "Both merged values must be of type 'str'"
Traceback (most recent call last):
File "login.py", line 388, in <module>
main()
File "login.py", line 366, in main
if not forceLogin and site.loggedInAs(sysop = sysop):
File "C:\Python25\pywikipedia\wikipedia.py", line 5118, in loggedInAs
self._load(sysop = sysop)
File "C:\Python25\pywikipedia\wikipedia.py", line 6043, in _load
data = query.GetData(params, self, sysop=sysop)
File "C:\Python25\pywikipedia\query.py", line 124, in GetData
jsontext = site.getUrl( path, retry=True, sysop=sysop, data=data)
File "C:\Python25\pywikipedia\wikipedia.py", line 5550, in getUrl
if self.cookies(sysop = sysop) and not no_hostname:
File "C:\Python25\pywikipedia\wikipedia.py", line 5198, in cookies
self._loadCookies(sysop = sysop)
File "C:\Python25\pywikipedia\wikipedia.py", line 5240, in _loadCookies
self._cookies[index] = query.CombineParams(self._cookies[index], self._readC
ookies(localFn))
File "C:\Python25\pywikipedia\query.py", line 266, in CombineParams
raise "Both merged values must be of type 'str'"
Both merged values must be of type 'str'
C:\Python25\pywikipedia>python version.py
Pywikipedia [http] trunk/pywikipedia (r7639, 2009/11/12, 17:47:47)
Python 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)]
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2009-11-13 14:28
Message:
done in r7643 by alexsh
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2896883&group_…
Bugs item #2896087, was opened at 2009-11-11 18:45
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2896087&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: Fixed
Priority: 8
Private: No
Submitted By: Mikko Silvonen (silvonen)
Assigned to: Nobody/Anonymous (nobody)
Summary: interwiki.py crashes with exception in query.CombineParams
Initial Comment:
> interwiki.py -untranslated -whenneeded -lang:fi -new:8 -namespace:14
C:\svn\pywikipedia\query.py:266: DeprecationWarning: raising a string exception is deprecated
raise "Both merged values must be of type 'str'"
Traceback (most recent call last):
File "C:\svn\pywikipedia\interwiki.py", line 2162, in <module>
mainpagename = site.mediawiki_message('mainpage')
File "C:\svn\pywikipedia\wikipedia.py", line 5933, in mediawiki_message
datas = query.GetData(params, self)['query']['allmessages'][0]
File "C:\svn\pywikipedia\query.py", line 124, in GetData
jsontext = site.getUrl( path, retry=True, sysop=sysop, data=data)
File "C:\svn\pywikipedia\wikipedia.py", line 5550, in getUrl
if self.cookies(sysop = sysop) and not no_hostname:
File "C:\svn\pywikipedia\wikipedia.py", line 5198, in cookies
self._loadCookies(sysop = sysop)
File "C:\svn\pywikipedia\wikipedia.py", line 5240, in _loadCookies
self._cookies[index] = query.CombineParams(self._cookies[index], self._readCookies(localFn))
File "C:\svn\pywikipedia\query.py", line 266, in CombineParams
raise "Both merged values must be of type 'str'"
Both merged values must be of type 'str'
> python version.py
Pywikipedia [http] trunk/pywikipedia (r7631, 2009/11/11, 16:58:50)
Python 2.5.4 (r254:67916, Jan 29 2009, 12:02:11) [MSC v.1310 32 bit (Intel)]
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2009-11-13 14:27
Message:
done in r7643 by alexsh
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2896087&group_…
Bugs item #2897103, was opened at 2009-11-13 10:40
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2897103&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: Pending
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: JAn (jandudik)
>Assigned to: xqt (xqt)
Summary: two articles in different namespaces in zh
Initial Comment:
I found namespaces problem in zh:
NOTE: Ignoring link from page [[en:List of Wikipedias]] in namespace 0 to page [[zh:Wikipedia:维基百科语言列表]] in namespace 4 because page [[zh:维基百科:维基百科语言列表]] in the correct namespace has already been found.
But both links are to the same page
http://zh.wikipedia.org/wiki/Wikipedia:%E7%BB%B4%E5%9F%BA%E7%99%BE%E7%A7%91…
And in this zh page is problem with 500 internal server error
C:\Dokumenty\py>version.py
Pywikipedia [http] trunk/pywikipedia (r7620, 2009/11/10, 07:05:39)
Python 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)]
C:\Dokumenty\py>
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2009-11-13 13:26
Message:
done in r7641
project names from mediawiki/../LanguageZh.php
Please check whether this works now.
About the http error 500: this might be of cause some maintenance on
several servers in the last hours
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2897103&group_…