Jim,

Does anything else in the directory hierarchy return good data? If not, 
this may indicate that the fuse data access functions are broken. In 
other things work, then it is more likely something in the owfs code.

owhttp does not depend on fuse, so it will check the lower level access 
to the device.

jerry


On 08/27/2010 01:32 PM, Jim Kusznir wrote:
> We have tested with an owfs mount, and it returned nothing in memory
> (when we know there is something there), so its also broke at that
> level.  Will owhttpd give us any more info?
>
> --Jim
>
> On Fri, Aug 27, 2010 at 1:14 PM, Paul Alfille<paul.alfi...@gmail.com>  wrote:
>> How about a simple test from the other end. owhttpd and look in a browser
>> and see if you have problems. (Or owserver and owread). If you can read
>> DS2406 memory, the python code might be the problem. I know I've been using
>> DS2406 memory reads for testing in the OWFS current version (still in
>> testing) and it works well.
>>
>> Paul Alfille
>>
>> On Fri, Aug 27, 2010 at 3:36 PM, Jim Kusznir<jkusz...@gmail.com>  wrote:
>>>
>>> Ok, so more testing:
>>>
>>> We have 2 systems (arm-based) with 2.8p0 + patch, and they work.
>>>
>>> We have 2 other systems, one arm and one Via C3 (x86-almost), and they
>>> don't work.
>>> We've tried 2.8p0 + patch and 2.8p1 + indent fix
>>>
>>> Both of the failed systems recently had a major OS upgrade (gentoo,
>>> recompile all packages with current versions), and that's what seems
>>> to be causing them to blow up.  However, there's insufficient
>>> information on the failure as to what might be causing this.  Here's
>>> the full backtrace:
>>>
>>> Traceback (most recent call last):
>>>   File "casas_OneWireAgent.py", line 254, in connect
>>>     self.xmpp.connect(self.username, self.password)
>>>   File "/usr/local/CASAS/casas/xmpp.py", line 114, in connect
>>>     self.reactor.run()
>>>   File "/usr/lib/python2.6/site-packages/twisted/internet/base.py",
>>> line 1166, in run
>>>     self.mainLoop()
>>>   File "/usr/lib/python2.6/site-packages/twisted/internet/base.py",
>>> line 1175, in mainLoop
>>>     self.runUntilCurrent()
>>> ---<exception caught here>  ---
>>>   File "/usr/lib/python2.6/site-packages/twisted/internet/base.py",
>>> line 779, in runUntilCurrent
>>>     call.func(*call.args, **call.kw)
>>>   File "casas_OneWireAgent.py", line 291, in initOneWire
>>>     self.sensors.addSensor(x)
>>>   File "casas_OneWireAgent.py", line 44, in addSensor
>>>     type = new.memory
>>>   File "/usr/lib/python2.6/site-packages/ow/__init__.py", line 347, in
>>> __getattr__
>>>     return owfs_get(object.__getattribute__(self, '_attrs')[name])
>>>   File "/usr/lib/python2.6/site-packages/ow/__init__.py", line 159, in _get
>>>     raise exUnknownSensor(path)
>>> ow.exUnknownSensor: '/uncached/12.308246000000/memory'
>>>
>>> If you could recommend a list of packages that are involved in this,
>>> we can try different versions to fix it.
>>>
>>> --Jim
>>>
>>> On Fri, Aug 27, 2010 at 11:57 AM, Jim Kusznir<jkusz...@gmail.com>  wrote:
>>>> No, I recompiled *every* package to make sure it was all consistantly
>>>> linked against the new versions of everything.
>>>>
>>>> It turns out that at the moment, we don't have a known good working
>>>> install of 2.8 p1; I'm going to try and roll back to 2.8p0 + patch,
>>>> which is currently operating somewhere.
>>>>
>>>> --Jim
>>>>
>>>> On Fri, Aug 27, 2010 at 11:37 AM, Paul Alfille<paul.alfi...@gmail.com>
>>>> wrote:
>>>>> When you say you "rebuilt" the system, did you pull the OWFS code from
>>>>> the
>>>>> CVS (which is evolving) or from the release?
>>>>>
>>>>> Paul
>>>>>
>>>>> On Fri, Aug 27, 2010 at 1:30 PM, Jim Kusznir<jkusz...@gmail.com>
>>>>> wrote:
>>>>>>
>>>>>> Hi all:
>>>>>>
>>>>>> I've got something wrong with my local system, but can't figure out
>>>>>> what.
>>>>>>
>>>>>> I'm running gentoo on an Via C3 Eden and OWFS 2.8p1 (plus indent fix).
>>>>>>   I recently did a major update, rebuilding the system to bring it up
>>>>>> to current versions of stuff.  However, right now, whenever one tries
>>>>>> to read "memory" from a DS2406, it blows up.  We are using the python
>>>>>> interface for our stuff, but I believe we've checked and traced it,
>>>>>> and found it happens outside of python.
>>>>>>
>>>>>> We're running this version (2.8 p1) at other installations, and its
>>>>>> working fine.  What we don't get is why / where this is coming from.
>>>>>> Clearly, some package or something on the system is unhappy.....
>>>>>>
>>>>>> Any suggestions greatly appreciated!  This system is supposed to be
>>>>>> going into production on Monday morning, and I've been trying to fix
>>>>>> this problem for the last two weeks...
>>>>>>
>>>>>> --Jim
>>>>>>
>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
>>>>>> Be part of this innovative community and reach millions of netbook
>>>>>> users
>>>>>> worldwide. Take advantage of special opportunities to increase revenue
>>>>>> and
>>>>>> speed time-to-market. Join now, and jumpstart your future.
>>>>>> http://p.sf.net/sfu/intel-atom-d2d
>>>>>> _______________________________________________
>>>>>> Owfs-developers mailing list
>>>>>> Owfs-developers@lists.sourceforge.net
>>>>>> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>>>>>
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
>>>>> Be part of this innovative community and reach millions of netbook
>>>>> users
>>>>> worldwide. Take advantage of special opportunities to increase revenue
>>>>> and
>>>>> speed time-to-market. Join now, and jumpstart your future.
>>>>> http://p.sf.net/sfu/intel-atom-d2d
>>>>> _______________________________________________
>>>>> Owfs-developers mailing list
>>>>> Owfs-developers@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>>>>>
>>>>>
>>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
>>> Be part of this innovative community and reach millions of netbook users
>>> worldwide. Take advantage of special opportunities to increase revenue and
>>> speed time-to-market. Join now, and jumpstart your future.
>>> http://p.sf.net/sfu/intel-atom-d2d
>>> _______________________________________________
>>> Owfs-developers mailing list
>>> Owfs-developers@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>>
>>
>> ------------------------------------------------------------------------------
>> Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
>> Be part of this innovative community and reach millions of netbook users
>> worldwide. Take advantage of special opportunities to increase revenue and
>> speed time-to-market. Join now, and jumpstart your future.
>> http://p.sf.net/sfu/intel-atom-d2d
>> _______________________________________________
>> Owfs-developers mailing list
>> Owfs-developers@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>>
>>
>
> ------------------------------------------------------------------------------
> Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
> Be part of this innovative community and reach millions of netbook users
> worldwide. Take advantage of special opportunities to increase revenue and
> speed time-to-market. Join now, and jumpstart your future.
> http://p.sf.net/sfu/intel-atom-d2d
> _______________________________________________
> Owfs-developers mailing list
> Owfs-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers

------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to