From: Karol M. L. <kar...@gm...> - 2009-10-21 12:44:48
|
I added this conditional import in revision 874, so this particular issue should be fixed in the trunk. That does not mean, however, that we support old Pythons! Karol On Friday 16 October 2009 13:40:47 Noel O'Boyle wrote: > You are using an old version of Python, Python2.3. I think we only > support Python 2.4+. However, if you want to fix this particular > problem add the following to the start of logfileparser.py: > > from sets import Set as set > > - Noel > > 2009/10/16 ANUP THOMAS <anu...@gm...>: > > Dear all. > > > > i am new to cclib > > > > After installing cclib for running the unit tests i executed the > > following command > > > > python testall.py > > but i am getting an error > > > > File "/usr/lib/python2.3/site-packages/cclib/parser/logfileparser.py", > > line 100, in parse > > _nodelete = list(set(self.__dict__.keys())) > > NameError: global name 'set' is not defined > > > > What will be the probable cause of this error. Thank you for > > consideration. -- > > Regards > > > > Anup Thomas > > SRF 7123 > > Computational Chemistry Lab of I and PC Division > > Indian Institute of Chemical Technology > > Hyderabad 500007 > > India -- written by Karol Langner Wed Oct 21 14:33:21 CEST 2009 |