Executing dhtgui.py and p2psip.py

12 views
Skip to first unread message

Binan AL Halabi

unread,
Jul 16, 2015, 4:12:36 PM7/16/15
to myproje...@googlegroups.com


Hi all,


I am working on python 2.7 and I have these issues:


1- When i tried to execute dhtgui.py, i've got the following error when i click on the center of the ring:
Exception AttributeError: "'NetworkStub' object has no attribute 'mcast'" in > ignored

and nothing happened after this.


2- When i executed p2psip.py, i've got ths error:

Traceback (most recent call last):
  File "p2psip.py", line 360, in <module>
    agent = Agent(server=options.server, sipaddr=('0.0.0.0', options.sip_port), port=options.p2p_port).start(servers)
  File "p2psip.py", line 279, in start
    self.p2p.start(servers=servers); AbstractAgent.start(self); return self
  File "/home/binan/Documents/p2p-sip/src/app/p2p.py", line 484, in start
    self.net = net or Network(Ks=crypto.generateRSA()[0], cert=None, port=self.port)
  File "/home/binan/Documents/p2p-sip/src/app/p2p.py", line 125, in __init__
    self.queue = multitask.SmartQueue() # module's default queue for dispatching and receiving Message events
AttributeError: 'module' object has no attribute 'SmartQueue'
Exception AttributeError: "'Network' object has no attribute 'mcast'" in <bound method Network.__del__ of <app.p2p.Network object at 0x240fe10>> ignored

Thanks

/ Binan

Intencity Team

unread,
Aug 22, 2015, 2:18:51 PM8/22/15
to myproje...@googlegroups.com, binan83....@gmail.com
Hi Binan,

I just did a quick test, and it worked for me. Used Python 2.7 and wxPython (on Mac/cocoa build). Attaching an example screenshot of dhtgui.py how it should look like if it works. For p2psip.py use -d option to get verbose trace.

cd p2p-sip/src
export PYTHONPATH=.:app:external
python app/dhtgui.py
or
python app/p2psip.py

Hope this helps!


--
--
You received this message because you are subscribed to the Google
Groups "myprojectguide" group.
To post to this group, send email to myproje...@googlegroups.com
To unsubscribe from this group, send email to
myprojectguid...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/myprojectguide?hl=en

---
You received this message because you are subscribed to the Google Groups "myprojectguide" group.
To unsubscribe from this group and stop receiving emails from it, send an email to myprojectguid...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
The Intencity Team  http://theintencity.com
Screen Shot 2015-08-22 at 11.14.12 AM.png
Reply all
Reply to author
Forward
0 new messages