While owserver, owhttpd and owfs are working fine owtcl seems to be
broken :(

::OW::put works fine but ::OW::get seems to be broken!

When try to use the following code in owfs 2.6p5:
--cut--
#!/usr/bin/tclsh    
package require ow  
::OW::init localhost:55555
::OW::get /uncached/10.B963D4000800/type
--cut--

I get:

::OW::get returns "Operation not permitted"

Here is the debug output of owserver:

DEBUG: ServerProcessAccept = 3084512176 CLOSING
DEBUG: ServerProcessAccept 55555[3084512176] try lock 0
DEBUG: ServerProcessAccept 55555[3084512176] locked 0
DEBUG: FromClient payload=31 size=0 type=6 tempscale=105 offset=0
 CALL: owserver: parse path=/uncached/10.B963D4000800/type
DEBUG: FS_OWQ_create of /uncached/10.B963D4000800/type
 CALL: PARSENAME path=[/uncached/10.B963D4000800/type]
DEBUG: Cache_Get_Device 10 B9 63 D4 00 08 00 4C
DEBUG: Get from cache sn 10 B9 63 D4 00 08 00 4C pointer=(nil) index=-1 size=4
DEBUG: value not found in cache
 DETAIL: Checking presence of /uncached/10.B963D4000800/type
DEBUG: Selecting a path (and device) path=/uncached/10.B963D4000800/type SN=10 
B9 63 D4 00 08 00 4C last path=00 00 00 00 00 00 00 00
 DATA: DS9490_reset
 DATA: DS9490_reset: ok
DEBUG: Transaction verify = 0
DEBUG: Transaction end = 0
DEBUG: Cache_Add_Device 10 B9 63 D4 00 08 00 4C bus=0
DEBUG: Add to cache sn 10 B9 63 D4 00 08 00 4C pointer=(nil) index=-1 size=4
 CALL: Presence message on /uncached/10.B963D4000800/type bus_nr=0
DEBUG: FS_OWQ_destroy of /uncached/10.B963D4000800/type
DEBUG: ParsedName_destroy /uncached/10.B963D4000800/type
DEBUG: RealHandler: FS_ParsedName_destroy done
DEBUG: RealHandler: cm.ret=0
DEBUG: ToClient payload=0 size=0, ret=0, sg=105 offset=0 
DEBUG: RealHandler: done
DEBUG: OWSERVER tcp connection persistence -- reusing connection now.
DEBUG: FromClient payload=31 size=0 type=2 tempscale=105 offset=0
 CALL: owserver: parse path=/uncached/10.B963D4000800/type
DEBUG: FS_OWQ_create of /uncached/10.B963D4000800/type
 CALL: PARSENAME path=[/uncached/10.B963D4000800/type]
DEBUG: Cache_Get_Device 10 B9 63 D4 00 08 00 4C
DEBUG: Get from cache sn 10 B9 63 D4 00 08 00 4C pointer=(nil)
index=-1 size=4
DEBUG: value found in cache
 CALL: Read message
DEBUG: ReadHandler: From Client sm->payload=31 sm->size=0 sm->offset=0
DEBUG: ReadHandler: To Client cm->payload=0 cm->size=0 cm->offset=0
DEBUG: ReadHandler: return size=0 [(null)]
DEBUG: Read message done retbuffer=(nil)
DEBUG: FS_OWQ_destroy of /uncached/10.B963D4000800/type
DEBUG: ParsedName_destroy /uncached/10.B963D4000800/type
DEBUG: RealHandler: FS_ParsedName_destroy done
DEBUG: RealHandler: cm.ret=-90
DEBUG: ToClient payload=0 size=0, ret=-90, sg=105 offset=0 
DEBUG: RealHandler: done
DEBUG: OWSERVER tcp connection persistence -- reusing connection now.
DEBUG: FromClient payload=31 size=0 type=2 tempscale=105 offset=0
 CALL: owserver: parse path=/uncached/10.B963D4000800/type
DEBUG: FS_OWQ_create of /uncached/10.B963D4000800/type
 CALL: PARSENAME path=[/uncached/10.B963D4000800/type]
DEBUG: Cache_Get_Device 10 B9 63 D4 00 08 00 4C
DEBUG: Get from cache sn 10 B9 63 D4 00 08 00 4C pointer=(nil) index=-1 size=4
DEBUG: value found in cache
 CALL: Read message
DEBUG: ReadHandler: From Client sm->payload=31 sm->size=0 sm->offset=0
DEBUG: ReadHandler: To Client cm->payload=0 cm->size=0 cm->offset=0
DEBUG: ReadHandler: return size=0 [(null)]
DEBUG: Read message done retbuffer=(nil)
DEBUG: FS_OWQ_destroy of /uncached/10.B963D4000800/type
DEBUG: ParsedName_destroy /uncached/10.B963D4000800/type
DEBUG: RealHandler: FS_ParsedName_destroy done
DEBUG: RealHandler: cm.ret=-90
DEBUG: ToClient payload=0 size=0, ret=-90, sg=105 offset=0 
DEBUG: RealHandler: done
DEBUG: OWSERVER tcp connection persistence -- reusing connection now.
DEBUG: FromClient payload=31 size=0 type=2 tempscale=105 offset=0
 CALL: owserver: parse path=/uncached/10.B963D4000800/type
DEBUG: FS_OWQ_create of /uncached/10.B963D4000800/type
 CALL: PARSENAME path=[/uncached/10.B963D4000800/type]
DEBUG: Cache_Get_Device 10 B9 63 D4 00 08 00 4C
DEBUG: Get from cache sn 10 B9 63 D4 00 08 00 4C pointer=(nil) index=-1 size=4
DEBUG: value found in cache
 CALL: Read message
DEBUG: ReadHandler: From Client sm->payload=31 sm->size=0 sm->offset=0
DEBUG: ReadHandler: To Client cm->payload=0 cm->size=0 cm->offset=0
DEBUG: ReadHandler: return size=0 [(null)]
DEBUG: Read message done retbuffer=(nil)
DEBUG: FS_OWQ_destroy of /uncached/10.B963D4000800/type
DEBUG: ParsedName_destroy /uncached/10.B963D4000800/type
DEBUG: RealHandler: FS_ParsedName_destroy done
DEBUG: RealHandler: cm.ret=-90
DEBUG: ToClient payload=0 size=0, ret=-90, sg=105 offset=0 
DEBUG: RealHandler: done
DEBUG: OWSERVER tcp connection persistence -- reusing connection now.
DEBUG: OWSERVER handler done

Regards

Sven

-- 
"and on the third day he rebooted into Linux-1.3.84"
(Linus Torvalds, Easter Kernel Release 1996)

/me is [EMAIL PROTECTED], http://sven.gegg.us/ on the Web

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to