[cl-xmpp-devel] problems getting started
Jason S. Cornez
jcornez at alum.mit.edu
Wed Oct 10 12:41:31 UTC 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
Being interested in using xmpp for messaging in a lisp app, I'm checking
out cl-xmpp and having some difficulties.
First, I just did the asdf-install, but this resulted in an error
calling (xstream/close..) I saw some other posts that recommended using
the latest from cvs instead. So I did a cvs checkout of cl-xmpp and
also of cxml (which further required closure-common). And now the
(xmpp:connect..) seems to work. But when I try to auth, I get an error.
I'm using ACL8.1 on linux.
Also, may I kindly suggest that either the tarball be updated or the
instructions be updated to not suggest the asdf-install method. This
just does not seem to work at all now due to the (xstream/close..) problem.
Best,
- -Jason
CL-USER(11): (setq *connection* (xmpp:connect :hostname "imserver"))
<?xml version='1.0' ?><stream:stream to='imserver' xmlns='jabber:client'
xmlns:stream='http://etherx.jabber.org/streams' version='1.0'>xml
version='1.0'?><stream:stream xmlns='jabber:client'
xmlns:stream='http://etherx.jabber.org/streams' id='2368903391'
from='imserver' version='1.0' xml:lang='en'>
UNHANDLED: #<XML-ELEMENT STREAM:STREAM (6attr:0child:0data) @ #x7223ddaa>
<stream:features><mechanisms
xmlns='urn:ietf:params:xml:ns:xmpp-sasl'><mechanism>DIGEST-MD5</mechanism><mechanism>PLAIN</mechanism></mechanisms><register
xmlns='http://jabber.org/features/iq-register'/></stream:features>
UNHANDLED: #<XML-ELEMENT STREAM:FEATURES (0attr:2child:0data) @ #x7224d5da>
#<XMPP:CONNECTION to imserver:5222 (open) @ #x720a00a2>
CL-USER(12): (xmpp:auth *connection* "jcornez" "xxx" "cl-xmpp")
<?xml version="1.0" encoding="UTF-8"?>
<iq id="auth2" type="set"><query
xmlns="jabber:iq:auth"><username>jcornez</username><password>xxx</password><resource>cl-xmpp</resource></query></iq><stream:error><xml-not-well-formed
xmlns='urn:ietf:params:xml:ns:xmpp-streams'/></stream:error>
Name: XML-NOT-WELL-FORMED
Unable to find error class for NIL.
UNHANDLED: #<XMPP-PROTOCOL-ERROR code:NIL name:NIL @ #x7226480a>
Error: Received error.
Restart actions (select using :continue):
0: Return to Top Level (an "abort" restart).
1: Abort entirely from this (lisp) process.
[1] CL-USER(13): :zo
Evaluation stack:
(ERROR "Received error.")
->((METHOD XMPP:RECEIVE-STANZA (XMPP:CONNECTION)) #<XMPP:CONNECTION to
imserver:5222 (open) @ #x720a00a2>)
((:INTERNAL (:EFFECTIVE-METHOD 1 T T NIL NIL) 0) #<XMPP:CONNECTION to
imserver:5222 (open) @ #x720a00a2>)
[... XMPP:RECEIVE-STANZA ]
((METHOD XMPP::%PLAIN-AUTH% (XMPP:CONNECTION T T T))
#<XMPP:CONNECTION to imserver:5222 (open) @ #x720a00a2> "jcornez" ...)
((METHOD XMPP:AUTH (XMPP:CONNECTION T T T)) #<XMPP:CONNECTION to
imserver:5222 (open) @ #x720a00a2> "jcornez" ...)
((:INTERNAL (:EFFECTIVE-METHOD 4 T T NIL NIL) 0) #<XMPP:CONNECTION to
imserver:5222 (open) @ #x720a00a2> "jcornez" ...)
(EVAL (XMPP:AUTH *CONNECTION* "jcornez" ...))
(TPL:TOP-LEVEL-READ-EVAL-PRINT-LOOP)
(TPL:START-INTERACTIVE-TOP-LEVEL #<TERMINAL-SIMPLE-STREAM [initial
terminal io] fd 0/1 @ #x7110f0a2> #<Function
TOP-LEVEL-READ-EVAL-PRINT-LOOP> ...)
[1] CL-USER(14):
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHDMh6Qlm6HDTMLyMRAqEsAJ4o09bd0pBQCTawyghjy8wC4OT06wCgobDR
6fXT61HqL2+V4SwBnE5DbqU=
=Zshm
-----END PGP SIGNATURE-----
More information about the cl-xmpp-devel
mailing list