Hi Mick,
are you sure a libowcapi.so can be found in /opt/owfs/lib ?
i just tried a fresh install with the following commands and it worked
(at least i was able to initialise the usb adapter i have here)
p...@mexx-desktop:~$ mkdir tmp
p...@mexx-desktop:~$ cd tmp
p...@mexx-desktop:~/tmp$ tar -xzvf owfs-2.7p32.tar.gz
p...@mexx-desktop:~/tmp$ ./configure --prefix=/home/pr/tmp/owfs
--disable-owperl && make && make install
[...]
p...@mexx-desktop:~/tmp$ virtualenv python_virtenv
[...]
p...@mexx-desktop:~/tmp$ source python_virtenv/bin/activate
(python_virtenv)p...@mexx-desktop:~/tmp$ easy_install pyowfs
[...]
(python_virtenv)p...@mexx-desktop:~/tmp$ export
LD_LIBRARY_PATH=/home/pr/tmp/owfs/lib
(python_virtenv)p...@mexx-desktop:~/tmp$ python
[...]
>>> import pyowfs
>>> c = pyowfs.Connection ("u")
Could not open the USB bus master. Is there a problem with permissions?
DEFAULT: ow_ds9490.c:DS9490_detect(311) Could not open the USB bus master. Is
there a problem with permissions?
DEFAULT: owlib.c:SetupInboundConnections(181) Cannot open USB bus master
>>>
if i get rid of the permission problem it would probably work ;) -
however, currently i have no clue how ... it was hard enough to get rid
of the kernel 1wire modules getting autoloaded ... however, i assume you
dont have this kind of problems ...
i am running ubuntu 9.10 with python2.6
btw: virtualenv is in package python-virtualenv on ubuntu and provides a
convenient way to not pollute your system python path with packages you
just try out ...
hope this helps,
marcus.
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers