On 18/03/16 09:03, Johan Ström wrote:
>
> On 17/03/16 12:17, Andy Carter wrote:
>> On Wednesday 16 Mar 2016 22:25:30 Johan Ström wrote:
>>> When testing these old versions, you may have to build with ./configure 
>>> --enable-debug --enable-traffic (or something similar, cannot recall 
>>> exactly), as these was not default until just a few releases ago.
>>>
>>> With that, can you please upload the full logs for both 2.9p3 and 2.9p5? 
>>> There may be subtle difference which are important.
>> This morning I have built 2.9p3, 2.9p5 and 3.1p1, all from source with 
>> --enable-debug and for the early versions --enable-owtraffic
>>
>> I have run the following two scripts in this order on each..
>>
>> #!/bin/sh
>> owwrite "/FF.870900000100/backlight" "1"
>> owwrite "/FF.870900000100/line20.0" "Hello World - CLI"
>> owwrite "/FF.870900000100/line20.1" "abcdefg - CLI"
>> owwrite "/FF.870900000100/line20.2" "0123456 - CLI"
>> owwrite "/FF.870900000100/line20.3" "Bye - CLI"
>> owwrite "/FF.870900000100/backlight" "0"
>>
>> #!/usr/bin/perl -w
>> use OWNet;
>> my $owserver = OWNet->new('localhost:4304 -v -C');
>> $owserver->write("uncached/FF.870900000100/backlight","1");
>> $owserver->write("uncached/FF.870900000100/line20.0","Hello World -perl");
>> $owserver->write("uncached/FF.870900000100/line20.1","abcdefg - perl");
>> $owserver->write("uncached/FF.870900000100/line20.2","0123456 - perl");
>> $owserver->write("uncached/FF.870900000100/line20.3","Bye - perl");
>> $owserver->write("uncached/FF.870900000100/backlight","0");
>>
>> but something unexpected happened. The owwrite version is working as it 
>> should 
>> on all versions, it's only the perl version that has issues on the later 
>> two. 
>> OWNet.pm from sources in each case 
> Hm, interesting! That might indicate problems with the Perl plugin
> rather than owlib/owserver.
> Did you also make sure that the OWNet module loaded the correct owlib.so
> (i.e. from source, not system)? I'm not sure how that works, might be
> automatic, but not sure.

Eh, never mind. It's the perl OW module which loads the shared lib. The
OWNet version does not.
Stefanos mail (sent 3 minutes before mine) is probably on the right
track, something wrong with the null termination in the protocol
implementation. Would explain the extra data you're seeing.


------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to