Re: [Owfs-developers] Error Message too long when using owfs

2015-01-06 Thread Markus Gaugusch
Hi Paul! I have updated to 2.9p9 and it works fine again. Thank you :) Markus On Jan 6, Paul Alfille paul.alfi...@gmail.com wrote: I looked closely at the error. Near as I can tell, it's the utility, like 'cat' that's supplying the 131072 (128K) read request size. The actual size is 12

Re: [Owfs-developers] Error Message too long when using owfs

2015-01-05 Thread Stefano Miccoli
The present bug apparently affects only shell programs (and only if cat or cp use a big buffer size). Waiting for a patch a quick workaround for bash users could be substituting temp=$(cat /mnt/1wire//temp) with temp=$( /mnt/1wire//temp) and cat /mnt/1wire//temp with echo $(

Re: [Owfs-developers] Error Message too long when using owfs

2015-01-05 Thread Markus Gaugusch
Hi Stefano and Paul! Thank you very much for your help! I had migrated my scripts to use owget, etc. But it's good to know that there is another solution until the bug is fixed. I also noticed that my php script (using read access to owfs files, not owphp) is also still working fine.

Re: [Owfs-developers] Error Message too long when using owfs

2015-01-04 Thread Stefano Miccoli
It seems that your question is still unanswered, so I will try to help you, although I’m not able to replicate your setup (and I’m no expert of the internal workings of owfs). From your message it seems that the problem is limited to owfs, and not in owserver, but let me double-check. 1) Do

Re: [Owfs-developers] Error Message too long when using owfs

2015-01-04 Thread Paul Alfille
I don't have the answer yet, but it happens only with cat or cp, not less,head or tail. It also happens only with owfs-owserver-bus, since owfs-bus is ok. There must be something different in the tcp protocol handling. I'll investigate further. Paul On Sun, Jan 4, 2015 at 1:20 PM, Jacob Joseph

Re: [Owfs-developers] Error Message too long when using owfs

2015-01-04 Thread Stefano Miccoli
Somehow I was able to replicate the problem in Python. When I type in Python f = open(‘/mnt/1wire/10.67C6697351FF/temperature') f.read(1024) '56.5153' f.close() I get from owfs —debug DEBUG: ow_read.c:(231) About to read /10.67C6697351FF/temperature extension=0 size=4096 offset=0

Re: [Owfs-developers] Error Message too long when using owfs

2015-01-04 Thread David Lazarou
I ran across this same problem using a Raspberry Pi. http://owfs-developers.1086194.n5.nabble.com/quot-Message-too-long-quot-errors-with-owfs-tt10946.html I never was never able to discover what the problem was. -- David On Mon, Jan 5, 2015 at 10:58 AM, Stefano Miccoli mo...@icloud.com wrote:

[Owfs-developers] Error Message too long when using owfs

2014-12-30 Thread Markus Gaugusch
Hi, Symptom: monitor:/mnt/1wire/10.FE771D020800 # cat temperature cat: temperature: Message too long I've updated my monitoring server from openSUSE 13.1 to 13.2, which broke owfs. I had 2.9p5 before and also tried to update to 2.9p8, but the problem stayed the same. Access using owdir, owget