[Eric] eric4 and Turkish locale
Onur Küçük
onur at pardus.org.tr
Mon Jun 30 14:30:00 BST 2008
Hello,
When running eric4 on a Turkish locale environment, eric4 fails to start with
the following error [2]
The problem seems to be in the line "No module named base64mIme"
Notice the "I" in the line. In Turkish locale (and some other locales)
lowercase "I" is not "i" but it is "ı" (dotless i) [1]. My guess is, it is
happening in a lowercase conversion somewhere, but since I am not familiar
with the code I could not find a solution.
I can reproduce the problem with 20080628 snapshot and 4.1.5 release.
Starting with "LC_ALL=en_US.UTF-8 eric4" works fine.
How can we fix this ?
[1] http://en.wikipedia.org/wiki/Turkish_dotted_and_dotless_I
[2] --------
$ eric4
Warning: translation file 'eric4_tr_TR'could not be loaded.
Using default.
Warning: translation file 'qscintilla_tr_TR'could not be loaded.
Using default.
An unhandled exception occurred. Please report the problem using the error
reporting dialog or via email to <eric4-bugs at die-offenbachs.de>. A log has
been written to "/home/user/.eric4/eric4_error.log".
Error information:
--------------------------------------------------------------------------------
2008-06-30, 16:14:10
--------------------------------------------------------------------------------
<type 'exceptions.ImportError'>:
No module named base64mIme
--------------------------------------------------------------------------------
File "/usr/lib/python2.5/site-packages/eric4/eric4.py", line 251, in
<module>
main()
File "/usr/lib/python2.5/site-packages/eric4/eric4.py", line 233, in main
from UI.UserInterface import UserInterface
File "/usr/lib/python2.5/site-packages/eric4/UI/UserInterface.py", line 64,
in <module>
from EmailDialog import EmailDialog
File "/usr/lib/python2.5/site-packages/eric4/UI/EmailDialog.py", line 13, in
<module>
import smtplib
File "/usr/lib/python2.5/smtplib.py", line 49, in <module>
from email.base64MIME import encode as encode_base64
File "/usr/lib/python2.5/email/__init__.py", line 79, in __getattr__
__import__(self.__name__)
--------------------------------------------------------------------------------
Version Numbers:
Python 2.5.2
Qt 4.4.0
PyQt4 4.4.2
sip 4.7.6
QScintilla 2.2
eric4 4.2-snapshot-20080628 (r2277)
Platform: linux2
2.5.2 (r252:60911, May 8 2008, 19:38:32)
[GCC 4.3.0]
--
Onur Küçük Knowledge speaks,
<onur.--.-.pardus.org.tr> but wisdom listens
More information about the Eric
mailing list