Patches item #3302572, was opened at 2011-05-15 22:48
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3302572&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: Translations
Group: None
>Status: Closed
>Resolution: Accepted
Priority: 5
Private: No
Submitted By: masti (masti01)
>Assigned to: xqt (xqt)
Summary: featured +pl
Initial Comment:
adding pl translations
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2011-05-16 16:32
Message:
done in r9250. thanks!
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3302572&group_…
Patches item #3302572, was opened at 2011-05-15 22:48
Message generated for change (Tracker Item Submitted) made by masti01
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3302572&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: Translations
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: masti (masti01)
Assigned to: Nobody/Anonymous (nobody)
Summary: featured +pl
Initial Comment:
adding pl translations
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3302572&group_…
Bugs item #3172107, was opened at 2011-02-04 00:09
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3172107&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: category
Group: None
Status: Pending
Resolution: Rejected
Priority: 5
Private: No
Submitted By: Hercule (herculefr)
Assigned to: xqt (xqt)
Summary: delete summary for category.py
Initial Comment:
Hello, when I lauch
category.py move
the deletion summary is the same that the edit summary ("Robot : modifie OLDCATNAME"). When we encounter this message it's impossible to know the new name of the category.
The edit summary should be the one defined deletion_reason_move
python version.py output:
Pywikipedia [http] trunk/pywikipedia (r8910, 2011/02/03, 13:05:23)
Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit (Intel)]
config-settings:
use_api = True
use_api_login = True
unicode test: ok
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2011-05-15 19:15
Message:
done in
http://translatewiki.net/wiki/Pywikipedia:Category-changing/fr?diff=prev&ol…
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2011-05-15 19:05
Message:
use translatewiki.net for new translation of 'category-changing'. You can
use a second variable %(newcat)s for doing this.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3172107&group_…
Bugs item #3172107, was opened at 2011-02-04 00:09
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3172107&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: category
Group: None
>Status: Pending
>Resolution: Rejected
Priority: 5
Private: No
Submitted By: Hercule (herculefr)
>Assigned to: xqt (xqt)
Summary: delete summary for category.py
Initial Comment:
Hello, when I lauch
category.py move
the deletion summary is the same that the edit summary ("Robot : modifie OLDCATNAME"). When we encounter this message it's impossible to know the new name of the category.
The edit summary should be the one defined deletion_reason_move
python version.py output:
Pywikipedia [http] trunk/pywikipedia (r8910, 2011/02/03, 13:05:23)
Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit (Intel)]
config-settings:
use_api = True
use_api_login = True
unicode test: ok
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2011-05-15 19:05
Message:
use translatewiki.net for new translation of 'category-changing'. You can
use a second variable %(newcat)s for doing this.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3172107&group_…
Bugs item #3302496, was opened at 2011-05-15 18:45
Message generated for change (Tracker Item Submitted) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3302496&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: xqt (xqt)
Assigned to: Nobody/Anonymous (nobody)
Summary: unlinking StoredPage fails
Initial Comment:
While running multiple task unlinking StoredPage failes as follows
NOTE: Number of pages queued is 0, trying to add 60 more.
Dump sm (wikipedia) appended.
Traceback (most recent call last):
File "C:\pywikibot\PWB\interwiki.py", line 2714, in <module>
main()
File "C:\pywikibot\PWB\interwiki.py", line 2696, in main
StoredPage.SPdeleteStore()
File "C:\pywikibot\PWB\interwiki.py", line 832, in SPdeleteStore
os.unlink(StoredPage.SPpath)
WindowsError: [Error 5] Access denied: 'C:\\pywikibot\\PWB\\cache\\pagestore2'
C:\pywikibot\PWB>version.py
Pywikipedia [http] trunk/pywikipedia (r9241, 2011/05/12, 05:05:26)
Python 2.7.1 (r271:86832, Nov 27 2010, 18:30:46) [MSC v.1500 32 bit (Intel)]
config-settings:
use_api = True
use_api_login = True
unicode test: triggers problem #3081100
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3302496&group_…
Bugs item #3277511, was opened at 2011-04-06 16:36
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3277511&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: mathieu Clabaut (clabaut)
>Assigned to: xqt (xqt)
Summary: Call to urllib.quote should ensure that parameter are string
Initial Comment:
In last SVN r9142, I had an exception on wikipedia.py:Site::urlEncode call to urllib.quote(value), because value was a long.
I replaced urllib.quote(value) with urllib.quote(str(value)) and everything went ok.
There may be other similar calls needing a fix.
Hope this help.
$python2 version.py
Pywikipedia [http] trunk/pywikipedia (r9141, 2011/04/01, 07:09:37)
Python 2.7.1 (r271:86832, Feb 21 2011, 01:26:25)
[GCC 4.5.2 20110127 (prerelease)]
config-settings:
use_api = True
use_api_login = True
unicode test: triggers problem #3081100
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2011-05-15 18:35
Message:
You tried to put a long int instead a text to a page object like
import wikipedia as wp
site = wp.getSite
page = wp.Page(site, 'myPage')
page.put(1234567890)
Putting a long int causes this error.
Please check your script unspam.py.
----------------------------------------------------------------------
Comment By: mathieu Clabaut (clabaut)
Date: 2011-04-07 08:59
Message:
The traceback is :
Traceback (most recent call last):
File "./unspam.py", line 324, in <module>
main()
File "./unspam.py", line 318, in main
bot.run()
File "./unspam.py", line 198, in run
minorEdit=True, botflag=True)
File "/home/clabaut/deploy/pywikipedia-svn/wikipedia.py", line 1758, in
put
newPage, self.site().getToken(sysop = sysop), sysop = sysop,
botflag=botflag, maxTries=maxTries)
File "/home/clabaut/deploy/pywikipedia-svn/wikipedia.py", line 1785, in
_putPage
newPage, token, newToken, sysop, captcha, botflag, maxTries)
File "/home/clabaut/deploy/pywikipedia-svn/wikipedia.py", line 2081, in
_putPageOld
response, data = self.site().postForm(address, predata, sysop)
File "/home/clabaut/deploy/pywikipedia-svn/wikipedia.py", line 5219, in
postForm
data = self.urlEncode(predata)
File "/home/clabaut/deploy/pywikipedia-svn/wikipedia.py", line 5156, in
urlEncode
value = urllib.quote(value)
File "/usr/lib/python2.7/urllib.py", line 1236, in quote
if not s.rstrip(safe):
AttributeError: 'long' object has no attribute 'rstrip'
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2011-04-06 18:19
Message:
Please give us the traceback of that error. It makes more sense to fix the
wrong calling parameter instead of fixing its type
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3277511&group_…
Bugs item #3098006, was opened at 2010-10-29 09:28
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3098006&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: JAn (jandudik)
Assigned to: Nobody/Anonymous (nobody)
Summary: category add and redirects
Initial Comment:
When in list is redirect. bot fails:
C:\Dokumenty\py>category.py add -links:Medaile_Za_zásluhy
Category to add (do not give namespace): Nositelé Medaile Za zásluhy (Česko)
Getting 60 pages from wikipedia:cs...
.....
Milan Kundera is already in Kategorie:Nositelé Medaile Za zásluhy (Česko).
Traceback (most recent call last):
File "C:\Dokumenty\py\category.py", line 1184, in <module>
main()
File "C:\Dokumenty\py\category.py", line 1137, in main
bot.run()
File "C:\Dokumenty\py\category.py", line 408, in run
self.treat(page)
File "C:\Dokumenty\py\category.py", line 477, in treat
text = self.load(page)
File "C:\Dokumenty\py\category.py", line 428, in load
redirTarget = pywikibot.Page(site, arg.args[0])
NameError: global name 'site' is not defined
C:\Dokumenty\py>
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2011-05-15 18:09
Message:
duplicate to #3158464, fixed in r8830 by Merlijn
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3098006&group_…
Bugs item #3126855, was opened at 2010-12-03 19:46
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3126855&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: Pending
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: xqt (xqt)
Summary: Enhance djvutext.py
Initial Comment:
Please, after
text = text.replace('', "\n")
add others replacements to remove the "\x1d" (group separator), "\x0b" (vertical tabulation) and "\x0c" (form feed) characters (with usually appears in djvu files). This will clear a little the final output.
Pywikipedia [http] trunk/pywikipedia (r8180, 2010/05/15, 13:14:44)
Python 2.6.5 (r265:79096, Mar 19 2010, 21:48:26) [MSC v.1500 32 bit (Intel)]
config-settings:
use_api = True
use_api_login = True
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2011-05-15 17:43
Message:
done in r 9246. Don't know what to do with "\x0b" (vertical tabulation).
Normally this should be replaced with white spaces but this does not have
any effect.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3126855&group_…
Bugs item #3228606, was opened at 2011-03-20 11:22
Message generated for change (Comment added) made by mauro742
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3228606&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: 7
Private: No
Submitted By: Mauro (mauro742)
Assigned to: Nobody/Anonymous (nobody)
Summary: catlib problem with large category
Initial Comment:
The category "Featured articles" on enwiki has about 3.000 articles. If I try to get the list of this articles with catlib library I obtain only 1.930 pages. There's some limitation?
Pywikipedia [http] trunk/pywikipedia (r9107, 2011/03/20, 09:37:35)
Python 2.7.1 (r271:86832, Jan 4 2011, 13:57:14)
[GCC 4.5.2]
config-settings:
use_api = True
use_api_login = True
unicode test: ok
----------------------------------------------------------------------
>Comment By: Mauro (mauro742)
Date: 2011-05-13 11:32
Message:
The problem seems to be fixed now
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2011-05-13 05:59
Message:
Could you give me a hint, I couldn't find this bug.
I did a test as follows:
import wikipedia as wp
import catlib
cat = Category(wp.getSite('en'), 'Category:Featured articles')
x = []
for a in cat.articles():
x.append(a)
len(x)
results 3269
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3228606&group_…
Bugs item #3228606, was opened at 2011-03-20 11:22
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3228606&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: 7
Private: No
Submitted By: Mauro (mauro742)
Assigned to: Nobody/Anonymous (nobody)
Summary: catlib problem with large category
Initial Comment:
The category "Featured articles" on enwiki has about 3.000 articles. If I try to get the list of this articles with catlib library I obtain only 1.930 pages. There's some limitation?
Pywikipedia [http] trunk/pywikipedia (r9107, 2011/03/20, 09:37:35)
Python 2.7.1 (r271:86832, Jan 4 2011, 13:57:14)
[GCC 4.5.2]
config-settings:
use_api = True
use_api_login = True
unicode test: ok
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2011-05-13 05:59
Message:
Could you give me a hint, I couldn't find this bug.
I did a test as follows:
import wikipedia as wp
import catlib
cat = Category(wp.getSite('en'), 'Category:Featured articles')
x = []
for a in cat.articles():
x.append(a)
len(x)
results 3269
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3228606&group_…