Traceback when adding friends

Bug #916816 reported by aj00200
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Anonplus
Fix Released
High
aj00200

Bug Description

Due to the new setup of the Friend object in libs.friends, adding friends no longer works because of the way which the web-ui creates the Friend object. A temporary fix might be needed until the Kame-based web-ui is functional. The traceback is as follows:

Exception happened during processing of request from ('127.0.0.1', 55333)
Traceback (most recent call last):
  File "/usr/lib/python2.6/SocketServer.py", line 283, in _handle_request_noblock
    self.process_request(request, client_address)
  File "/usr/lib/python2.6/SocketServer.py", line 309, in process_request
    self.finish_request(request, client_address)
  File "/usr/lib/python2.6/SocketServer.py", line 322, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/lib/python2.6/SocketServer.py", line 617, in __init__
    self.handle()
  File "/usr/lib/python2.6/BaseHTTPServer.py", line 329, in handle
    self.handle_one_request()
  File "/usr/lib/python2.6/BaseHTTPServer.py", line 323, in handle_one_request
    method()
  File "/home/aj00200/anonplus/aj00200/src/uis/web/manager.py", line 17, in do_GET
    broadcast('web_ui_request', self.path, self)
  File "/home/aj00200/anonplus/aj00200/src/libs/events.py", line 18, in broadcast
    getattr(handler, event_type)(*args, **kwargs)
  File "/home/aj00200/anonplus/aj00200/src/uis/web/handler.py", line 144, in web_ui_request
    port = 1337, name = name)
  File "/home/aj00200/anonplus/aj00200/src/libs/friends.py", line 60, in add_friend
    friend_obj = Friend(keyid, ip, port, name)
TypeError: __init__() takes exactly 6 arguments (5 given)

Related branches

aj00200 (aj00200)
Changed in anonplus:
status: In Progress → Fix Committed
aj00200 (aj00200)
Changed in anonplus:
milestone: build-7 → r212
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.