Giter Site home page Giter Site logo

Comments (3)

twonds avatar twonds commented on June 26, 2024

Punjab requires twisted and zope interface. See #23

from punjab.

pawanyanky avatar pawanyanky commented on June 26, 2024

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)
--- ---
File "C:\Python27\lib\site-packages\twisted\plugin.py", line 167, in getCache
provider = pluginModule.load()
File "C:\Python27\lib\site-packages\twisted\python\modules.py", line 383, in l
oad
return self.pathEntry.pythonPath.moduleLoader(self.name)
File "C:\Python27\lib\site-packages\twisted\python\reflect.py", line 506, in n
amedAny
topLevelPackage = _importAndCheckStack(trialname)
File "C:\Python27\lib\site-packages\twisted\plugins\twisted_core.py", line 5,
in
from twisted.internet.endpoints import _SystemdParser, _TCP6ServerParser, _S
tandardIOParser
File "C:\Python27\lib\site-packages\twisted\internet\endpoints.py", line 28, i
n
from twisted.internet import stdio
File "C:\Python27\lib\site-packages\twisted\internet\stdio.py", line 28, in
from twisted.internet import _win32stdio
File "C:\Python27\lib\site-packages\twisted\internet_win32stdio.py", line 7,
in
import win32api
exceptions.ImportError: No module named win32api
2012-12-13 16:49:39+0530 [-] Log opened.
2012-12-13 16:49:39+0530 [-] twistd 12.2.0 (C:\Python27\python.exe 2.7.3) starti
ng up.
2012-12-13 16:49:39+0530 [-] reactor class: twisted.internet.selectreactor.Selec
tReactor.
2012-12-13 16:49:39+0530 [-] Site starting on 5280
2012-12-13 16:49:39+0530 [-] Starting factory <twisted.web.server.Site instance
at 0x013CC0D0>

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.

from punjab.

pawanyanky avatar pawanyanky commented on June 26, 2024

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 dont know what to do after this, how to integrate ejabberd and punjab, please help me.

from punjab.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.