Package: eric
Version : 4.3.0-1 (unstable)

 libc6 : 2.7-18
 kernel : 2.6.28-7.slh.1-sidux-686
 arch : i686


Hello,
when saving a new python script with eric I get an error message (that I 
included in the footer of the email).

Fixing the problem is simple : simply open 
"/usr/share/eric/modules/Utilities/__init__.py"
and replace the line containing :
import ThirdParty.CharDet.chardet
by :
import ThirdParty.CharDet

And it works

Bye
Jonas


----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Avertissement:
An unhandled exception occurred. Please report the problem
using the error reporting dialog or via email to <[email protected]>.
A log has been written to "/home/jonas/.eric4/eric4_error.log".
Error information:
--------------------------------------------------------------------------------
2009-03-05, 20:05:34
--------------------------------------------------------------------------------
<type 'exceptions.ImportError'>:
No module named chardet
--------------------------------------------------------------------------------
File "/usr/share/eric/modules/ViewManager/ViewManager.py", line 3408, in 
saveAsCurrentEditor
self.saveAsEditorEd(aw)
File "/usr/share/eric/modules/ViewManager/ViewManager.py", line 3397, in 
saveAsEditorEd
ok, newName = ed.saveFileAs()
File "/usr/share/eric/modules/QScintilla/Editor.py", line 2425, in saveFileAs
return self.saveFile(True, path)
File "/usr/share/eric/modules/QScintilla/Editor.py", line 2410, in saveFile
self.__autoSyntaxCheck()
File "/usr/share/eric/modules/QScintilla/Editor.py", line 4023, in 
__autoSyntaxCheck
Utilities.compile(self.fileName, unicode(self.text()))
File "/usr/share/eric/modules/Utilities/__init__.py", line 875, in compile
codestring, encoding = decode(f.read())
File "/usr/share/eric/modules/Utilities/__init__.py", line 126, in decode
import ThirdParty.CharDet.chardet
--------------------------------------------------------------------------------
Version Numbers:
Python 2.5.4
KDE 4.2.1
PyKDE 4.0.2
Qt 4.4.3
PyQt4 4.4.4
sip 4.7.6
QScintilla 2.2
eric4 4.3.0 (r2852)
Platform: linux2
2.5.4 (r254:67916, Feb 17 2009, 20:16:45)
[GCC 4.3.3]
--------------------------------------------------------------------------------
Plugins Version Numbers:
PluginAbout 4.3.0
PluginEricapi 4.3.0
PluginEricdoc 4.3.0
PluginSyntaxChecker 4.2.0
PluginTabnanny 4.2.0
PluginVcsPySvn 4.3.0
PluginVcsSubversion 4.3.0
PluginVmListspace 4.2.0
PluginVmMdiArea 1.0.0
PluginVmTabview 4.3.0
PluginVmWorkspace 4.2.0
PluginWizardPyRegExp 4.2.0
PluginWizardQColorDialog 4.2.0
PluginWizardQFileDialog 4.2.0
PluginWizardQFontDialog 4.2.0
PluginWizardQInputDialog 4.2.0
PluginWizardQMessageBox 4.2.0
PluginWizardQRegExp 4.2.0



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to