Bugs item #3153555, was opened at 2011-01-09 10:33
Message generated for change (Comment added) made by valhallasw
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3153555&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: Tgr (tgr_)
Assigned to: Nobody/Anonymous (nobody)
Summary: Unicode error when handling non-ASCII network errors
Initial Comment:
The error handler for Site.postData in wikipedia.py line 5248 (in r8821) casts an exception to a string:
except Exception, e:
output(u'%s' %e)
This will fail with a UnicodeDecodeError if the exception message contains non-ASCII characters (which is often the case for network error messages on non-English Windows).
Pywikipedia [http] trunk/pywikipedia (r8821, 2011/01/06, 22:01:33)
Python 2.7 (r27:82525, Jul 4 2010, 09:01:59) [MSC v.1500 32 bit (Intel)]
config-settings:
use_api = True
use_api_login = True
unicode test: triggers problem #3081100
----------------------------------------------------------------------
>Comment By: Merlijn S. van Deen (valhallasw)
Date: 2011-01-09 11:33
Message:
Can you reproduce the problem?
If so, please change output(u"%s" % e) to output(u"%r"% e) and add a
comment with the output you get. Additionally, please tell us what code
page you are using (run 'chcp' in a dos box) and the language of your
windows version.
Thanks.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3153555&group_…
Bugs item #3153555, was opened at 2011-01-09 10:33
Message generated for change (Tracker Item Submitted) made by tgr_
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=3153555&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: Tgr (tgr_)
Assigned to: Nobody/Anonymous (nobody)
Summary: Unicode error when handling non-ASCII network errors
Initial Comment:
The error handler for Site.postData in wikipedia.py line 5248 (in r8821) casts an exception to a string:
except Exception, e:
output(u'%s' %e)
This will fail with a UnicodeDecodeError if the exception message contains non-ASCII characters (which is often the case for network error messages on non-English Windows).
Pywikipedia [http] trunk/pywikipedia (r8821, 2011/01/06, 22:01:33)
Python 2.7 (r27:82525, Jul 4 2010, 09:01:59) [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=3153555&group_…
Patches item #3151530, was opened at 2011-01-05 00:38
Message generated for change (Comment added) made by xqt
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3151530&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: Fixed
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: xqt (xqt)
Summary: Catalan translation of lonelypages.py
Initial Comment:
Catalan translation of lonelypages.py with diffs file
----------------------------------------------------------------------
>Comment By: xqt (xqt)
Date: 2011-01-06 22:17
Message:
done in r8818
please do not mix tabs and spaces for indentations. it is recommended to
use spaces only
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3151530&group_…
Patches item #3151530, was opened at 2011-01-04 23:38
Message generated for change (Tracker Item Submitted) made by nobody
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3151530&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: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Catalan translation of lonelypages.py
Initial Comment:
Catalan translation of lonelypages.py with diffs file
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603140&aid=3151530&group_…
Feature Requests item #3150628, was opened at 2011-01-03 23:54
Message generated for change (Tracker Item Submitted) made by herculefr
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3150628&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: Hercule (herculefr)
Assigned to: Nobody/Anonymous (nobody)
Summary: add an option to template.py
Initial Comment:
Can you please add an option (eg -assubst) on template.py, so the remplacements are done with the same restrictions as -subst ?
This feature is needed to create advanced conventions templates, such as http://fr.wikipedia.org/wiki/Mod%C3%A8le:Lien/Conversion_automatique that must be immediatly substed.
the command line
template.py "Lien" "subst:Lien/Conversion automatique" -assubst
would avoid the replacement on reference tags, and all places excluded for substitution
Thanks in advance
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603141&aid=3150628&group_…