Wrox Programmer Forums
|
BOOK: Professional XMPP Programming with JavaScript and jQuery
This is the forum to discuss the Wrox book Professional XMPP Programming with JavaScript and jQuery by Jack Moffitt; ISBN: 978-0-470-54071-8
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional XMPP Programming with JavaScript and jQuery section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 25th, 2010, 06:27 AM
Registered User
 
Join Date: Jul 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem with Punjab

I got the latest punjab code via:

Code:
git clone git://code.stanziq.com/punjab
then did followed the instructions in Appendix B of the book:
Code:
python setup.py install
twistd -ny punjab.tac
But when I went to http://localhost:5280/xmpp-httpbind, it says "No such resource File not found". I didn't modify anything. Am I missing something?
 
Old July 25th, 2010, 12:54 PM
Registered User
 
Join Date: Jul 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Solution was to change the line in punjab.tac:

Code:
root.putChild('http-bind', b)
to

Code:
root.putChild('bosh', b)
and instead use http://localhost:5280/bosh.









Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.