Closed pawanyanky closed 11 years ago
Punjab requires twisted and zope interface. See https://github.com/twonds/punjab/issues/23
I followed given link by you and installed zope successfully as given at this below link http://pewetheb.blogspot.in/2010/08/install-zopeinterface-for-twisted.html and executed below command to run punjab .
C:\Documents and Settings\admin>twistd.py punjab
Unhandled Error
Traceback (most recent call last):
File "C:\Python27\lib\site-packages\twisted\application\app.py", line 614, in
parseOptions
usage.Options.parseOptions(self, options)
File "C:\Python27\lib\site-packages\twisted\python\usage.py", line 261, in par
seOptions
for (cmd, short, parser, doc) in self.subCommands:
File "C:\Python27\lib\site-packages\twisted\application\app.py", line 631, in
subCommands
for plug in sorted(plugins, key=attrgetter('tapname')):
File "C:\Python27\lib\site-packages\twisted\plugin.py", line 209, in getPlugin
s
allDropins = getCache(package)
---
I think again some error is coming, please guide me. and one more doubt I have i.e. as ejabberd uses 5280 port and pubjab also uses same port , then in this case what should I do.
I installed pywin32-218.win32-py2.7.exe and after that above error went away, and then again I tried to run punjab by executing below command
C:\Documents and Settings\admin>twistd.py punjab
2012-12-14 12:30:56+0530 [-] Log opened.
2012-12-14 12:30:56+0530 [-] twistd 12.2.0 (C:\Python27\python.exe 2.7.3) starting up.
2012-12-14 12:30:56+0530 [-] reactor class: twisted.internet.selectreactor.SelectReactor.
2012-12-14 12:30:56+0530 [-] Site starting on 5280
2012-12-14 12:30:56+0530 [-] Starting factory <twisted.web.server.Site instance at 0x013FE7D8>
I executed above command when ejabberd was stop, but later when I tried to start ejabberd, it gives error and says port 5280 is already in use and I dont know how to change ejabberd port number. I don
t know what to do after this, how to integrate ejabberd and punjab, please help me.
I am using window and I wanted to integrate Punjab with ejabberd server and I followed instruction given in Install.txt of Punjab-master.zip folder but I am not sure whether I am going properly and finally I don`t know how to integrate Punjab with ejabberd server. please help me . Below is step what i followed and what output I received .
step 1. I downloaded python, punjab-master.zip, twisted.mis
step 2. Installed Python, twisted.mis and Extracted punjab-master.zip in a folder
step 3. I executed "python setup.py install" command in cmd then below text appeared
step 4. executed "twistd.py punjab" command then below text appeared i think it is giving some error
Please help me to integrate Punjab with ejabberd