On Mittwoch, 3. Oktober 2007, Tom Brown wrote: > Hi, > > I just started playing with Eric. First started with 4.0.1 and it worked > fine. I just downloaded 4.0.3 and installed it. When I open it up, I see > the errors below continually being dumped to the shell window. The errors > continue to be dumped until I open a project. I am running debian sarge. > > Thanks, > Tom > > Traceback (most recent call last): > File > "/usr/local/lib/python2.5/site-packages/eric4/DebugClients/Python/DebugClie >nt.py", line 38, in <module> > debugClient.main() > File > "/usr/local/lib/python2.5/site-packages/eric4/DebugClients/Python/DebugClie >ntBase.py", line 1869, in main > self.__interact() > File > "/usr/local/lib/python2.5/site-packages/eric4/DebugClients/Python/DebugClie >ntBase.py", line 877, in __interact > self.eventLoop() > File > "/usr/local/lib/python2.5/site-packages/eric4/DebugClients/Python/DebugClie >ntBase.py", line 897, in eventLoop > self.readReady(self.readstream.fileno()) > File > "/usr/local/lib/python2.5/site-packages/eric4/DebugClients/Python/AsyncIO.p >y", line 67, in readReady > self.handleLine(s) > File > "/usr/local/lib/python2.5/site-packages/eric4/DebugClients/Python/DebugClie >ntBase.py", line 695, in handleLine > self.__clientCapabilities())) > File > "/usr/local/lib/python2.5/site-packages/eric4/DebugClients/Python/DebugClie >ntBase.py", line 851, in __clientCapabilities > import PyProfile > File > "/usr/local/lib/python2.5/site-packages/eric4/DebugClients/Python/PyProfile >.py", line 12, in <module> > import profile > File "/usr/local/lib/python2.5/profile.py", line 40, in <module> > from optparse import OptionParser > File "/usr/local/lib/python2.5/optparse.py", line 84, in <module> > from gettext import gettext > File "/usr/local/lib/python2.5/gettext.py", line 49, in <module> > import locale, copy, os, re, struct, sys > File "copy.py", line 5, in <module> > srcName = argv[1]
It seems, your copy.py is broken or a copy.py outside the Python library is imported instead. I checked the file copy.py of my Python installation (openSUSE 10.2, Python 2.5) and it doesn't contain a line that looks like the one producing the problem on your side. > IndexError: list index out of range > _______________________________________________ > Eric mailing list > [email protected] > http://www.riverbankcomputing.com/mailman/listinfo/eric Regards, Detlev -- Detlev Offenbach [EMAIL PROTECTED] _______________________________________________ Eric mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/eric
