[Bug 54572] non ascii in system messages and max retry

2014-09-18 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=54572

John Mark Vandenberg  changed:

   What|Removed |Added

Version|unspecified |compat (1.0)
   Assignee|pywikipedia-b...@lists.wiki |i...@gno.de
   |media.org   |

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 54572] non ascii in system messages and max retry

2013-12-31 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=54572

xqt  changed:

   What|Removed |Added

 Status|ASSIGNED|NEW
 CC||i...@gno.de

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 54572] non ascii in system messages and max retry

2013-09-24 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=54572

--- Comment #5 from Kunal Mehta (Legoktm)  ---
- **status**: pending --> open

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 54572] non ascii in system messages and max retry

2013-09-24 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=54572

--- Comment #3 from Kunal Mehta (Legoktm)  ---
I think we should either 
a\) skip the entire output\(\) machinery and use traceback.print\_exc\(\)
instead
or
b\) write a wrapper for that does what you propose here \(but which can also be
used for traceback.format\_exc\).

and replace all exception printing with one of those two options.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 54572] non ascii in system messages and max retry

2013-09-24 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=54572

Kunal Mehta (Legoktm)  changed:

   What|Removed |Added

   See Also||https://sourceforge.net/p/p
   ||ywikipediabot/patches/477

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 54572] non ascii in system messages and max retry

2013-09-24 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=54572

--- Comment #2 from Kunal Mehta (Legoktm)  ---
output should be fixed in output method. Would you please check the following
fix in output method:

def output\(...\)
...
try:
text = unicode\(text, 'utf-8'\)
except UnicodeDecodeError:
text = unicode\(text, 'iso8859-1'\)


replace it with

try:
text = unicode\(text, 'utf-8'\)
except UnicodeDecodeError:
text = unicode\(text, locale.getpreferredencoding\(\)\)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 54572] non ascii in system messages and max retry

2013-09-24 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=54572

--- Comment #6 from Kunal Mehta (Legoktm)  ---
- **status**: open --> pending

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 54572] non ascii in system messages and max retry

2013-09-24 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=54572

--- Comment #4 from Kunal Mehta (Legoktm)  ---
housekeeper's note: the patch does not apply cleanly to r10035

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 54572] non ascii in system messages and max retry

2013-09-24 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=54572

--- Comment #1 from Kunal Mehta (Legoktm)  ---
We can't fix it in output\(\) because we have an exception before we entered in
output\(\).

What about just replace output\(u'%s' %e\) ->  output\(str\(e\)\) ? it
works.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 54572] non ascii in system messages and max retry

2013-09-24 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=54572

--- Comment #7 from Kunal Mehta (Legoktm)  ---
- **assigned_to**: nobody --> xqt

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l