Re: [anemon-devs] Anemon-server stopd...

[ Thread Index | Date Index | More anemon.org/devs Archives ]


On 02/16/2010 02:17 PM, Gyarmati Ferenc wrote:
Traceback (most recent call last):
  File "/usr/lib/python2.5/threading.py", line 486, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.5/threading.py", line 446, in run
    self.__target(*self.__args, **self.__kwargs)
File "/usr/lib/python2.5/site-packages/anemonserver/thread_packet_processor.py", line 242, in Run
    self.HandleDhcpDiscover(packet)
File "/usr/lib/python2.5/site-packages/anemonserver/thread_packet_processor.py", line 293, in HandleDhcpDiscover
    Log.Debug("HandleDhcpDiscover : ip "+ip.str())
AttributeError: 'tuple' object has no attribute 'str'

Try editing line 293 in /usr/lib/python2.5/site-packages/anemonserver/thread_packet_processor.py
the line is : Log.Debug("HandleDhcpDiscover : ip "+ip.str())
Make it :  Log.Debug("HandleDhcpDiscover : ip "+str(ip))

If i'm getting it right , the variable 'ip' is a tuple , and tuple objects don't have .str() function. btw i'm not sure if this is really the problem...try and find out why 'ip' is tuple , not list.

p.s.: i'm not an developer to the project... just user who likes it ....so sorry if i'm not very helpfull.




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/