The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

Re: xAP Jabber bug?



--Apple-Mail-2-1015932352
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=windows-1252;
format=flowed;
delsp=yes

Hi,

Yes that's a bit unusual.  In theory when you have multiple xmpp=20=20
connections the one with the highest priority, which is usually the=20=20
one with the last activity, would be the one to appear in the roster.=20=20
When receiving a message it should only come from the resource that=20=20
sent the message, quite why google is sending all the logins is a bit=20=20
odd!

www.mi4.biz/files/testing/xapjabber20091117.zip

should clean the issue up, just replace the exe with the one you have=20=20
already got. The resource names will still be there as they are used=20=20
by other apps but it should all stay on the one line and so make a=20=20
valid message each time.


hth

James


On 17 Nov 2009, at 16:16, david.earls wrote:

> Firstly, I feel a bit guilty about asking for a bug-fix when I
have=20=20
> never got round to thanking anyone for the xAP bits I use every
day=20=20
> (xAP Floorplan, xAP X10 Connector, xAP MCS 1-Wire, xAP MCS CID,
xap=20=20
> MCS K3145, xAP MCS WOL, xAP Jabber), but here goes anyway.
>
> xAP Jabber 0.5 is connecting to the XMPP network, sending,
receiving=20=20
> and showing status perfectly, but when I send it a IM it produces
a=20=20
> malformed xAP message:
>
> ------------------------
> The following message caused an error during its processing.
> Name/value pair contains no valid separator characters
> The message was received from 127.0.0.1:58809
>
> ------------
> xap-header
> {
> v=3D12
> hop=3D1
> uid=3DFF111300
> Class=3Dmessenger.event
> Source=3Dmi4.jabber.Jabber
> }
> Message.Receive
> {
> From=3Dblah@xxxxxxx/Talk.v104659BEEDB
> Talk.v104555C3C06
> gmail.EB49AA97
> palringo0589DD3D
> gmail.FF7F215B
> gmail.FF7F6118
> Talk.v104C7BB0132
> Body=3Dblah blah
> }
>
> ------------
> The error that was generated is as follows:
> Name/value pair contains no valid separator characters
>
> Source: xFx
> Name/value pair contains no valid separator characters
> KCS.xAP.Framework.xAPMessageReaderException: Name/value pair=20=20
> contains no valid separator characters
> at KCS.xAP.Framework.Message.xAPInfo.GetPairValueEncodingFormat=20
> (String line, Int32 line_number)
> at KCS.xAP.Framework.Message.xAPMessageReader.ReadMessagePair=20
> (xAPMessage message, String line)
> at KCS.xAP.Framework.Message.xAPMessageReader.ReadMessage()
> at KCS.xAP.Framework.Transport.xAPListener.ProcessQueuedMessage=20
> (xAPRawData data)
> ------------------------
>
> I think this is because xAP Jabber wasn't expecting the sender to
be=20=20
> online on multiple devices. The different locations are appearing
on=20=20
> separate lines after the sender's email address. Would it be=20=20
> possible to get xAP Jabber to strip everything after the email=20=20
> address?
>
>=20


--Apple-Mail-2-1015932352
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: 7bit





<head>

<style type="text/css">
<!--

/* start of attachment style */
.ygrp-photo-title{
clear: both;
font-size: smaller;
height: 15px;
overflow: hidden;
text-align: center;
width: 75px;
}
div.ygrp-photo{
background-position: center;
background-repeat: no-repeat;
background-color: white;
border: 1px solid black;
height: 62px;
width: 62px;
}

div.photo-title
a,
div.photo-title a:active,
div.photo-title a:hover,
div.photo-title a:visited {
text-decoration: none;
}

div.attach-table div.attach-row {
clear: both;
}

div.attach-table div.attach-row div {
float: left;
/* margin: 2px;*/
}

p {
clear: both;
padding: 15px 0 3px 0;
overflow: hidden;
}

div.ygrp-file {
width: 30px;
valign: middle;
}
div.attach-table div.attach-row div div a {
text-decoration: none;
}

div.attach-table div.attach-row div div span {
font-weight: normal;
}

div.ygrp-file-title {
font-weight: bold;
}
/* end of attachment style */
-->
</style>
</head>
<html><head></head><body style="word-wrap:
break-word; -webkit-nbsp-mode: space; -webkit-line-break:
after-white-space; ">


<!-- **begin egp html banner** -->

<br><br>

<!-- **end egp html banner** -->


Hi,<div><br></div><div>Yes that's a bit unusual.
&nbsp;In theory when you have multiple xmpp connections the one with
the highest priority, which is usually the one with the last activity,
would be the one to appear in the roster. When receiving a message it
should only come from the resource that sent the message, quite why google
is sending all the logins is a bit
odd!</div><div><br></div><div><a
href="http://www.mi4.biz/files/testing/xapjabber20091117.zip";>www.mi4.biz/files/testing/xapjabber20091117.zip</a></div><div><br></div><div>should
clean the issue up, just replace the exe with the one you have already got.
The resource names will still be there as they are used by other apps but
it should all stay on the one line and so make a valid message each
time.</div><div><br></div><div
><br></div><div>hth</div><div><br></div><div>James</div><div><br></div><div><br><div><div>On
17 Nov 2009, at 16:16, david.earls wrote:</div><br
class="Apple-interchange-newline"><blockquote type
="cite">



<div style="background-color: #fff;">
<span style="display:none">&nbsp;</span>



<div id="ygrp-text"><p>Firstly, I feel a bit guilty
about asking for a bug-fix when I have never got round to thanking anyone
for the xAP bits I use every day (xAP Floorplan, xAP X10 Connector, xAP MCS
1-Wire, xAP MCS CID, xap MCS K3145, xAP MCS WOL, xAP Jabber), but here goes
anyway.<br>
<br>
xAP Jabber 0.5 is connecting to the XMPP network, sending, receiving and
showing status perfectly, but when I send it a IM it produces a malformed
xAP message:<br>
<br>
------------<wbr>---------<wbr>---<br>
The following message caused an error during its processing.<br>
Name/value pair contains no valid separator characters<br>
The message was received from 127.0.0.1:58809<br>
<br>
------------<br>
xap-header<br>
{<br>
v=12<br>
hop=1<br>
uid=FF111300<br>
Class=messenger.<wbr>event<br>
Source=mi4.jabber.<wbr>Jabber<br>
}<br>
Message.Receive<br>
{<br>
<a href="mailto:From%3Dblah%40googlemail.com";>From=blah@googlemai<wbr>l.com</a>/Talk.v104659BEEDB<br>
Talk.v104555C3C06<br>
gmail.EB49AA97<br>
palringo0589DD3D<br>
gmail.FF7F215B<br>
gmail.FF7F6118<br>
Talk.v104C7BB0132<br>
Body=blah blah<br>
}<br>
<br>
------------<br>
The error that was generated is as follows:<br>
Name/value pair contains no valid separator characters<br>
<br>
Source: xFx<br>
Name/value pair contains no valid separator characters<br>
KCS.xAP.Framework.<wbr>xAPMessageReader<wbr>Exception:
Name/value pair contains no valid separator characters<br>
at
KCS.xAP.Framework.<wbr>Message.xAPInfo.<wbr>GetPairValueEnco<wbr>dingFormat(<wbr>String
line, Int32 line_number)<br>
at
KCS.xAP.Framework.<wbr>Message.xAPMessa<wbr>geReader.<wbr>ReadMessagePair(<wbr>xAPMessage
message, String line)<br>
at
KCS.xAP.Framework.<wbr>Message.xAPMessa<wbr>geReader.<wbr>ReadMessage(<wbr>)<br>
at
KCS.xAP.Framework.<wbr>Transport.<wbr>xAPListener.<wbr>ProcessQueuedMes<wbr>sage(xAPRawData
data)<br>
------------<wbr>---------<wbr>---<br>
<br>
I think this is because xAP Jabber wasn't expecting the sender to be online
on multiple devices. The different locations are appearing on separate
lines after the sender's email address.  Would it be possible to get xAP
Jabber to strip everything after the email address?<br>
<br>
</p>

</div>




</div>



<!-- end group email -->

</blockquote></div><br></div>



<!-- **begin egp html banner** -->

<br>



<br>

<!-- **end egp html banner** -->


<div width="1" style="color: white; clear:
both;"/>__._,_.___</div>

<!-- Start Recommendations -->
<!-- End Recommendations -->



<!-- **begin egp html banner** -->

<img src="http://geo.yahoo.com/serv?s=97476590/grpId=9674343/grpspId=1705007709/msgId=4577/stime=1258496014";
width="1" height="1"> <br>

<!-- **end egp html banner** -->


<!-- **begin egp html banner** -->

<br>
<div style="font-family: verdana; font-size: 77%; border-top: 1px
solid #666; padding: 5px 0;" >
Your email settings: Individual EmailTraditional <br>
<a href="http://groups.yahoo.com/group/xap_automation/join;_ylc=X3oDMTJmODdyMm1rBF9TAzk3NDc2NTkwBGdycElkAzk2NzQzNDMEZ3Jwc3BJZAMxNzA1MDA3NzA5BHNlYwNmdHIEc2xrA3N0bmdzBHN0aW1lAzEyNTg0OTYwMTQ-";>Change
settings via the Web</a> (Yahoo! ID required) <br>
Change settings via email: <a href="mailto:xap_automation-digest@xxxxxxx?subject=Email
Delivery: Digest">Switch delivery to Daily Digest</a>  <a
href = "mailto:xap_automation-fullfeatured@xxxxxxx?subject=Change
Delivery Format: Fully Featured">Switch to Fully Featured</a>
<br>
<a href="http://groups.yahoo.com/group/xap_automation;_ylc=X3oDMTJkb3Z1MGxiBF9TAzk3NDc2NTkwBGdycElkAzk2NzQzNDMEZ3Jwc3BJZAMxNzA1MDA3NzA5BHNlYwNmdHIEc2xrA2hwZgRzdGltZQMxMjU4NDk2MDE0";>
Visit Your Group
</a>
<a href="http://docs.yahoo.com/info/terms/";>
Yahoo! Groups Terms of Use
</a>
<a href="mailto:xap_automation-unsubscribe@xxxxxxx?subject=Unsubscribe";>
Unsubscribe
</a>
<br>
</div>
<br>

<!-- **end egp html banner** -->


<div style="color: white; clear:
both;"/>__,_._,___</div>
</body></html>
--Apple-Mail-2-1015932352--


xAP_Automation Main Index | xAP_Automation Thread Index | xAP_Automation Home | Archives Home

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.