Bugs item #2897700, was opened at 2009-11-14 15:17
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2897700&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: None
Priority: 7
Private: No
Submitted By: masti (masti01)
Assigned to: Nobody/Anonymous (nobody)
Summary: login.py fails: exceptions must be classes or instances, no
Initial Comment:
python login.py -pass -all
Password for all accounts:
Already logged in on wikipedia:zea
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 "/home/masti/pywikipedia/wikipedia.py", line 5118, in loggedInAs
self._load(sysop = sysop)
File "/home/masti/pywikipedia/wikipedia.py", line 6055, in _load
data = query.GetData(params, self, sysop=sysop)
File "/home/masti/pywikipedia/query.py", line 124, in GetData
jsontext = site.getUrl( path, retry=True, sysop=sysop, data=data)
File "/home/masti/pywikipedia/wikipedia.py", line 5562, in getUrl
if self.cookies(sysop = sysop) and not no_hostname:
File "/home/masti/pywikipedia/wikipedia.py", line 5198, in cookies
self._loadCookies(sysop = sysop)
File "/home/masti/pywikipedia/wikipedia.py", line 5240, in _loadCookies
self._cookies[index] = query.CombineParams(self._cookies[index], self._readCookies(localFn))
File "/home/masti/pywikipedia/query.py", line 266, in CombineParams
raise "Both merged values must be of type 'str'"
TypeError: exceptions must be classes or instances, not str
>python version.py
Pywikipedia [http] trunk/pywikipedia (r7645, 2009/11/14, 07:52:27)
Python 2.6.4 (r264:75706, Nov 2 2009, 14:38:03)
[GCC 4.4.1]
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2009-11-15 12:51
Message:
done in r7647
----------------------------------------------------------------------
Comment By: Ricksen (rslog)
Date: 2009-11-14 23:39
Message:
For me updating the "wikipedia.py" file with the latest trunk worked...
http://svn.wikimedia.org/viewvc/pywikipedia/trunk/pywikipedia/wikipedia.py?…
----------------------------------------------------------------------
Comment By: André Malafaya Baptista (malafaya)
Date: 2009-11-14 21:26
Message:
This bug is currently preventing me from running the bot at all.
When I run interwiki.py I immediately get the this error "Both merged
values must be of type 'str'"
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2897700&group_…
Bugs item #2897243, was opened at 2009-11-13 15:05
Message generated for change (Comment added) made by xqt
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: Closed
>Resolution: Fixed
Priority: 8
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: xqt (xqt)
Date: 2009-11-15 12:50
Message:
done in r7647
----------------------------------------------------------------------
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_…
Bugs item #2896033, was opened at 2009-11-11 17:35
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2896033&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: Wont Fix
Priority: 5
Private: No
Submitted By: Mike.lifeguard (mike_lifeguard)
Assigned to: xqt (xqt)
Summary: clean_sandbox.py needs a --force option
Initial Comment:
Please provide an option to force the edit *right now* - useful for testing purposes, or when you just want to clean the goddamned sandbox instead of "sleeping for 15 minutes"
mikelifeguard@binnie:~/pywikipedia$ python version.py
Pywikipedia [http] trunk/pywikipedia (r7630, 2009/11/11, 13:20:55)
Python 2.6.4 (r264:75706, Nov 2 2009, 14:38:03)
[GCC 4.4.1]
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2009-11-15 10:52
Message:
The maintenance depends on whether the text is to be substituted ot not.
If the content is to be substituted then
look to the last username who did the change
if the last change comes not from me
look for the last edit time and wait for the remaining up to the given
-delay time
then reset the page
If the content is not to be substituted then
look if the content has been changes.
If so and the default sandbox-message is not on top of the page
then reset the page immediately
else look for the last edit time and wait for the remaining up to the
given -delay time
then reset the page
----------------------------------------------------------------------
Comment By: Mike.lifeguard (mike_lifeguard)
Date: 2009-11-12 19:39
Message:
I'm not sure that's true. It waits a minimum of 5 minutes after the most
recent edit (I suppose to make sure they are done editing before erasing
their work.)
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2009-11-12 12:05
Message:
I won't. I you need it for test purposes, just clean the sandbox page or
insert sth above the template or change the template itself. This will lead
the bot to reset the page just now. But it is not a good idea to break
testings by decrease the wait cycle to zero.
----------------------------------------------------------------------
Comment By: Mike.lifeguard (mike_lifeguard)
Date: 2009-11-12 11:53
Message:
There is a difference between five minutes and zero minutes. -delay:0 needs
to be possible.
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2009-11-12 10:01
Message:
remark: If you remove the template or make any changes above it, there is
no delay time. In such cases, the default will be restored immediately.
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2009-11-12 09:58
Message:
use -delay:5
It decrease (or increase if you assign a higher value) the delay time to 5
minutes
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2896033&group_…
Bugs item #2897335, was opened at 2009-11-13 17:41
Message generated for change (Settings changed) made by xqt
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: Closed
>Resolution: Duplicate
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: xqt (xqt)
Date: 2009-11-15 10:20
Message:
duplicate to #2897243, fixed in r7645 but this causes a old error (see
#2897700)
----------------------------------------------------------------------
Comment By: Linar Khalitov (rubin16)
Date: 2009-11-14 09:21
Message:
confirm, the same problem :(
----------------------------------------------------------------------
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 (Settings changed) made by xqt
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: 8
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_…
Bugs item #2897243, was opened at 2009-11-13 15:05
Message generated for change (Settings changed) made by xqt
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: Duplicate
>Priority: 8
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_…
Bugs item #2897700, was opened at 2009-11-14 15:17
Message generated for change (Comment added) made by rslog
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2897700&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: Open
Resolution: None
Priority: 7
Private: No
Submitted By: masti (masti01)
Assigned to: Nobody/Anonymous (nobody)
Summary: login.py fails: exceptions must be classes or instances, no
Initial Comment:
python login.py -pass -all
Password for all accounts:
Already logged in on wikipedia:zea
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 "/home/masti/pywikipedia/wikipedia.py", line 5118, in loggedInAs
self._load(sysop = sysop)
File "/home/masti/pywikipedia/wikipedia.py", line 6055, in _load
data = query.GetData(params, self, sysop=sysop)
File "/home/masti/pywikipedia/query.py", line 124, in GetData
jsontext = site.getUrl( path, retry=True, sysop=sysop, data=data)
File "/home/masti/pywikipedia/wikipedia.py", line 5562, in getUrl
if self.cookies(sysop = sysop) and not no_hostname:
File "/home/masti/pywikipedia/wikipedia.py", line 5198, in cookies
self._loadCookies(sysop = sysop)
File "/home/masti/pywikipedia/wikipedia.py", line 5240, in _loadCookies
self._cookies[index] = query.CombineParams(self._cookies[index], self._readCookies(localFn))
File "/home/masti/pywikipedia/query.py", line 266, in CombineParams
raise "Both merged values must be of type 'str'"
TypeError: exceptions must be classes or instances, not str
>python version.py
Pywikipedia [http] trunk/pywikipedia (r7645, 2009/11/14, 07:52:27)
Python 2.6.4 (r264:75706, Nov 2 2009, 14:38:03)
[GCC 4.4.1]
----------------------------------------------------------------------
Comment By: Ricksen (rslog)
Date: 2009-11-14 23:39
Message:
For me updating the "wikipedia.py" file with the latest trunk worked...
http://svn.wikimedia.org/viewvc/pywikipedia/trunk/pywikipedia/wikipedia.py?…
----------------------------------------------------------------------
Comment By: André Malafaya Baptista (malafaya)
Date: 2009-11-14 21:26
Message:
This bug is currently preventing me from running the bot at all.
When I run interwiki.py I immediately get the this error "Both merged
values must be of type 'str'"
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2897700&group_…
Bugs item #2897700, was opened at 2009-11-14 14:17
Message generated for change (Comment added) made by malafaya
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2897700&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: Open
Resolution: None
>Priority: 7
Private: No
Submitted By: masti (masti01)
Assigned to: Nobody/Anonymous (nobody)
Summary: login.py fails: exceptions must be classes or instances, no
Initial Comment:
python login.py -pass -all
Password for all accounts:
Already logged in on wikipedia:zea
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 "/home/masti/pywikipedia/wikipedia.py", line 5118, in loggedInAs
self._load(sysop = sysop)
File "/home/masti/pywikipedia/wikipedia.py", line 6055, in _load
data = query.GetData(params, self, sysop=sysop)
File "/home/masti/pywikipedia/query.py", line 124, in GetData
jsontext = site.getUrl( path, retry=True, sysop=sysop, data=data)
File "/home/masti/pywikipedia/wikipedia.py", line 5562, in getUrl
if self.cookies(sysop = sysop) and not no_hostname:
File "/home/masti/pywikipedia/wikipedia.py", line 5198, in cookies
self._loadCookies(sysop = sysop)
File "/home/masti/pywikipedia/wikipedia.py", line 5240, in _loadCookies
self._cookies[index] = query.CombineParams(self._cookies[index], self._readCookies(localFn))
File "/home/masti/pywikipedia/query.py", line 266, in CombineParams
raise "Both merged values must be of type 'str'"
TypeError: exceptions must be classes or instances, not str
>python version.py
Pywikipedia [http] trunk/pywikipedia (r7645, 2009/11/14, 07:52:27)
Python 2.6.4 (r264:75706, Nov 2 2009, 14:38:03)
[GCC 4.4.1]
----------------------------------------------------------------------
>Comment By: André Malafaya Baptista (malafaya)
Date: 2009-11-14 20:26
Message:
This bug is currently preventing me from running the bot at all.
When I run interwiki.py I immediately get the this error "Both merged
values must be of type 'str'"
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2897700&group_…
Feature Requests item #2897284, was opened at 2009-11-13 16:08
Message generated for change (Comment added) made by xqt
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: Closed
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.
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2009-11-14 20:59
Message:
duplicate to #2897285
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=2897284&group_…
Bugs item #2897700, was opened at 2009-11-14 15:17
Message generated for change (Tracker Item Submitted) made by masti01
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2897700&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: Open
Resolution: None
Priority: 5
Private: No
Submitted By: masti (masti01)
Assigned to: Nobody/Anonymous (nobody)
Summary: login.py fails: exceptions must be classes or instances, no
Initial Comment:
python login.py -pass -all
Password for all accounts:
Already logged in on wikipedia:zea
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 "/home/masti/pywikipedia/wikipedia.py", line 5118, in loggedInAs
self._load(sysop = sysop)
File "/home/masti/pywikipedia/wikipedia.py", line 6055, in _load
data = query.GetData(params, self, sysop=sysop)
File "/home/masti/pywikipedia/query.py", line 124, in GetData
jsontext = site.getUrl( path, retry=True, sysop=sysop, data=data)
File "/home/masti/pywikipedia/wikipedia.py", line 5562, in getUrl
if self.cookies(sysop = sysop) and not no_hostname:
File "/home/masti/pywikipedia/wikipedia.py", line 5198, in cookies
self._loadCookies(sysop = sysop)
File "/home/masti/pywikipedia/wikipedia.py", line 5240, in _loadCookies
self._cookies[index] = query.CombineParams(self._cookies[index], self._readCookies(localFn))
File "/home/masti/pywikipedia/query.py", line 266, in CombineParams
raise "Both merged values must be of type 'str'"
TypeError: exceptions must be classes or instances, not str
>python version.py
Pywikipedia [http] trunk/pywikipedia (r7645, 2009/11/14, 07:52:27)
Python 2.6.4 (r264:75706, Nov 2 2009, 14:38:03)
[GCC 4.4.1]
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=2897700&group_…