Bugs item #3596617, was opened at 2012-12-16 10:55
Message generated for change (Comment added) made by nu11zer0
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3596617&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: trunk
Status: Open
Resolution: None
Priority: 6
Private: No
Submitted By: Multichill (multichill)
Assigned to: Nobody/Anonymous (nobody)
Summary: getFilesFromAnHash stopped working
Initial Comment:
Pywikipedia [svn+ssh] multichill@trunk/pywikipedia (r10797, 2012/12/15, 13:08:17
)
Python 2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)]
config-settings:
use_api = True
use_api_login = True
unicode test: ok
Traceback (most recent call last):
File "C:\pywikipedia\data_ingestion.py", line 170, in <module>
bot.run()
File "C:\pywikipedia\data_ingestion.py", line 162, in run
self._doUpload(photo)
File "C:\pywikipedia\data_ingestion.py", line 135, in _doUpload
duplicates = photo.findDuplicateImages(self.site)
File "C:\pywikipedia\data_ingestion.py", line 53, in findDuplicateImages
return site.getFilesFromAnHash(base64.b16encode(hashObject.digest()))
File "C:\pywikipedia\wikipedia.py", line 8213, in getFilesFromAnHash
allimages = query.GetData(params, self)['query']['allimages']
KeyError: 'query'
See https://bugzilla.wikimedia.org/show_bug.cgi?id=43177
----------------------------------------------------------------------
Comment By: Nullzer0 (nu11zer0)
Date: 2013-01-26 07:27
Message:
From http://www.mediawiki.org/wiki/Special:Code/pywikipedia/10802, the bug
have been fixed, right? If so, please change the status to close. :-)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3596617&group_…
Bugs item #3601881, was opened at 2013-01-23 07:15
Message generated for change (Comment added) made by nobody
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3601881&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: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Windows implicite interpreter call
Initial Comment:
When I call a pwb script over the command line (Windows 7), without an explicite call of the interpreter, I only get the documentation of the module or a "no generator specified" error. Any ideas?
Pywikipedia [http] trunk/pywikipedia (r10875, 2013/01/05, 22:45:20)
Python 2.7.3 (default, Apr 10 2012, 23:31:26) [MSC v.1500 32 bit (Intel)]
config-settings:
use_api = True
use_api_login = True
unicode test: ok
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2013-01-26 01:14
Message:
Yes I have different versions of Pythn installed, also Python 3.
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2013-01-23 08:11
Message:
Seems to be a problem with multiple installed python interpreters like
py2.7 and py3.3 on the same environment
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3601881&group_…
Feature Requests item #3602107, was opened at 2013-01-25 06:38
Message generated for change (Comment added) made by n-fran
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3602107&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: Анима (n-fran)
Assigned to: Nobody/Anonymous (nobody)
Summary: standardize_notes.py encoding
Initial Comment:
If I want to add to the script text of russian letters, is this error:
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 0: ordinal not in range(128)
To avoid this error, I think, it is necessary to register in the code bot these or any of the other lines:
# -*- coding: utf-8 -*-
import sys
reload(sys)
sys.setdefaultencoding('utf-8')
And my bot started to function. Thanks.
----------------------------------------------------------------------
>Comment By: Анима (n-fran)
Date: 2013-01-25 09:32
Message:
In my user-config.py there are lines
console_encoding = 'cp1251'
transliteration_target = console_encoding
but the problems with the coding still a lot. Thank you.
----------------------------------------------------------------------
Comment By: Анима (n-fran)
Date: 2013-01-25 09:23
Message:
Sorry, my knowledge of the English language, particularly on the part of
the technical terms, it may be bad. I meant that I was putting in Russian
characters in the file standardize_notes.py . For example, I changed the
'\n== Notes ==\n' to '\n== Примечания ==\n' (line 987), and then
this error appeared:
http://pastebin.ru/yzh2CdvX
When I added in the beginning of the text file, which is pointed out above,
the problem disappeared. Thank you.
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2013-01-25 07:38
Message:
I cannot follow what you mean with "add to the script". Do you want to
modify the script or enter russian characters on the command line?
What is the complete error you got.
Did you set your transliteration_target and console_encoding in your
user-config.py
reload(sys) after import sys does not matter since it just reloads the same
module
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3602107&group_…
Feature Requests item #3602107, was opened at 2013-01-25 06:38
Message generated for change (Comment added) made by n-fran
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3602107&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: Анима (n-fran)
Assigned to: Nobody/Anonymous (nobody)
Summary: standardize_notes.py encoding
Initial Comment:
If I want to add to the script text of russian letters, is this error:
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 0: ordinal not in range(128)
To avoid this error, I think, it is necessary to register in the code bot these or any of the other lines:
# -*- coding: utf-8 -*-
import sys
reload(sys)
sys.setdefaultencoding('utf-8')
And my bot started to function. Thanks.
----------------------------------------------------------------------
>Comment By: Анима (n-fran)
Date: 2013-01-25 09:23
Message:
Sorry, my knowledge of the English language, particularly on the part of
the technical terms, it may be bad. I meant that I was putting in Russian
characters in the file standardize_notes.py . For example, I changed the
'\n== Notes ==\n' to '\n== Примечания ==\n' (line 987), and then
this error appeared:
http://pastebin.ru/yzh2CdvX
When I added in the beginning of the text file, which is pointed out above,
the problem disappeared. Thank you.
----------------------------------------------------------------------
Comment By: xqt (xqt)
Date: 2013-01-25 07:38
Message:
I cannot follow what you mean with "add to the script". Do you want to
modify the script or enter russian characters on the command line?
What is the complete error you got.
Did you set your transliteration_target and console_encoding in your
user-config.py
reload(sys) after import sys does not matter since it just reloads the same
module
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3602107&group_…
Feature Requests item #3602107, was opened at 2013-01-25 06:38
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3602107&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: Анима (n-fran)
Assigned to: Nobody/Anonymous (nobody)
Summary: standardize_notes.py encoding
Initial Comment:
If I want to add to the script text of russian letters, is this error:
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 0: ordinal not in range(128)
To avoid this error, I think, it is necessary to register in the code bot these or any of the other lines:
# -*- coding: utf-8 -*-
import sys
reload(sys)
sys.setdefaultencoding('utf-8')
And my bot started to function. Thanks.
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2013-01-25 07:38
Message:
I cannot follow what you mean with "add to the script". Do you want to
modify the script or enter russian characters on the command line?
What is the complete error you got.
Did you set your transliteration_target and console_encoding in your
user-config.py
reload(sys) after import sys does not matter since it just reloads the same
module
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3602107&group_…
Feature Requests item #3602107, was opened at 2013-01-25 06:38
Message generated for change (Tracker Item Submitted) made by n-fran
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3602107&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: Анима (n-fran)
Assigned to: Nobody/Anonymous (nobody)
Summary: standardize_notes.py encoding
Initial Comment:
If I want to add to the script text of russian letters, is this error:
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 0: ordinal not in range(128)
To avoid this error, I think, it is necessary to register in the code bot these or any of the other lines:
# -*- coding: utf-8 -*-
import sys
reload(sys)
sys.setdefaultencoding('utf-8')
And my bot started to function. Thanks.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3602107&group_…
Bugs item #3601871, was opened at 2013-01-23 06:00
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3601871&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: 5
Private: No
Submitted By: xqt (xqt)
>Assigned to: xqt (xqt)
Summary: exhausting memory usage of checkimages.py
Initial Comment:
checkimages has an exhausting memory usage and uses nearby 2-4 GB of allocating memory a day. It seems data where not freed after processing.
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2013-01-25 05:15
Message:
self.done in r10983
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3601871&group_…
Support Requests item #3602096, was opened at 2013-01-25 04:13
Message generated for change (Comment added) made by n-fran
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603139&aid=3602096&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: Анима (n-fran)
Assigned to: Nobody/Anonymous (nobody)
Summary: When it will start work archivebot.py and weblinkchecker.py?
Initial Comment:
1) archivebot.py
I put in the parameters
|algo = old(1d)
Several days have passed, but still appears
Processing 10 threads
There are only 0 Threads. Skipped
When it will be back up?
2) weblinkchecker.py
I set the parameter-day:1 several days have Passed, but the bot is doing nothing.
And the errors are gone. I think that the problem is not only in my family file, because the same error occurs when I run the bot in Russian Wikipedia.
http://pastebin.com/x1zQipmU
Thanks.
----------------------------------------------------------------------
>Comment By: Анима (n-fran)
Date: 2013-01-25 04:15
Message:
Pywikipedia (r10976 (wikipedia.py), 2013/01/23, 21:32:04, OUTDATED)
Python 2.6.4 (r264:75708, Oct 26 2009, 08:23:19) [MSC v.1500 32 bit
(Intel)]
config-settings:
use_api = True
use_api_login = True
unicode test: ok
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603139&aid=3602096&group_…
Support Requests item #3602096, was opened at 2013-01-25 04:13
Message generated for change (Tracker Item Submitted) made by n-fran
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603139&aid=3602096&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: Анима (n-fran)
Assigned to: Nobody/Anonymous (nobody)
Summary: When it will start work archivebot.py and weblinkchecker.py?
Initial Comment:
1) archivebot.py
I put in the parameters
|algo = old(1d)
Several days have passed, but still appears
Processing 10 threads
There are only 0 Threads. Skipped
When it will be back up?
2) weblinkchecker.py
I set the parameter-day:1 several days have Passed, but the bot is doing nothing.
And the errors are gone. I think that the problem is not only in my family file, because the same error occurs when I run the bot in Russian Wikipedia.
http://pastebin.com/x1zQipmU
Thanks.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603139&aid=3602096&group_…
Bugs item #3600344, was opened at 2013-01-10 21:45
Message generated for change (Comment added) made by nu11zer0
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3600344&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: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nullzer0 (nu11zer0)
Assigned to: Nobody/Anonymous (nobody)
Summary: LinkedPageGenerator does not give correct links
Initial Comment:
I noticed that when I use pagegenerators.LinkedPageGenerator with page "xyz" that contains wikilink "[[/abc]]", LinkedPageGenerator return [[/abc]] to me. However, in my opinion, it should return "[[xyz/abc]]."
Pywikipedia trunk/pywikipedia/ (r10880, 2013/01/10, 21:11:31)
Python 2.7.3 (default, Sep 26 2012, 21:53:58)
[GCC 4.7.2]
config-settings:
use_api = True
use_api_login = True
unicode test: ok
----------------------------------------------------------------------
>Comment By: Nullzer0 (nu11zer0)
Date: 2013-01-25 03:59
Message:
I solved this problem by adding following code to function linkedPages()
if title.startswith("/") or title.startswith(".."):
if title.startswith("/"): title = title[1:]
title = os.path.normpath(os.path.join(self.title(), title))
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3600344&group_…