Marcus - Finally it works!
I uninstalled and re-installed several times, then I ran
sudo cp /usr/local/lib/libowcapi.so /usr/lib/libowcapi.so
and then it works!
Unfortunately I am working away from home all week so I will play with
it some more next weekend.
Many, many thanks for all your
On Sun, Mar 21, 2010 at 7:12 PM, Mick Sulley m...@sulley.info wrote:
Marcus - Finally it works!
I uninstalled and re-installed several times, then I ran
sudo cp /usr/local/lib/libowcapi.so /usr/lib/libowcapi.so
and then it works!
Unfortunately I am working away from home all week so I
Hi Mick,
congratulations !!!
however it would be very interesting why the LD_LIBRARY_PATH thing didnt
work for you ...
regards,
marcus.
--
Download Intel#174; Parallel Studio Eval
Try the new software tools for
Hi Marcus,
I still get the same problem.
I have just removed owfs and pyowfs completely and downloaded
owfs-2.7p32.tar.gw and pyowfs0.1.2.tar.gz to /usr/local/src and
installed them both from there.
I have two libowcapi.so
lrwxrwxrwx 1 root root 23 2010-03-20 16:34 /opt/owfs/lib/libowcapi.so
Hi Mick,
it should look in /usr/lib, /usr/local/lib all paths configured
in /etc/ld.so.conf and in the paths configured in LD_LIBRARY_PATH -
seperated by colon
you could try to symlink in /usr/local/lib or install owfs
to /usr/local/lib - the default i think when you dont specify a --prefix
to
Hi Marcus,
Sorry but it still does not work.
I deleted the /usr/lib/python2.6/dist-packages/pyowfs folder and
installed the new code which created
a /usr/lib/python2.6/dist-packages/pyowfs-0.1 folder
I ran export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/owfs/lib
Then this is what I get in Python -
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
Hi Mick,
sorry for beeing lazy the last days, but fortunately i now have a
solution for you ...
after testing out a fresh compile and install from both owfs and pyowfs
i also was not able to specify the path to the .so files ...
i now have fixed this behaviour inside pyowfs (now using
Hi Mick,
I'm sorry, i didnt recognize the /var/mail line at first sight ...
sorry again, now i see that you call ./setup.py directly ...
you should instead invoke
python setup.py install
otherwise the script will get executed with some other interpreter ...
which yields to the syntax
Hi Marcus,
OK it seems to install now, now to the next problem!
Following the example code from your web page
from pyowfs import Connection
root = Connection (/dev/ttyD1)
Traceback (most recent call last):
File stdin, line 1, in module
File
Hi Mick,
great success by now !
Am Sonntag, den 14.03.2010, 19:42 + schrieb Mick Sulley:
Hi Marcus,
OK it seems to install now, now to the next problem!
Following the example code from your web page
from pyowfs import Connection
root = Connection (/dev/ttyD1)
Traceback (most
Hi Marcus,
I tried
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/owfs/lib
and
ldconfig -v | less
/owfs
but it said
Pattern not found
I think it is set as I can echo it -
m...@mick-desktop:~$ echo $LD_LIBRARY_PATH
:/opt/owfs/lib
m...@mick-desktop:~$
Have I
Hi Mick,
Am Mittwoch, den 10.03.2010, 21:06 + schrieb Mick Sulley:
Thanks for the link Marcus.
Sorry to sound dim but how do I install it? I have put it into a new
directory, un-tar'ed it and tried to run setup.py but I get an error -
m...@mick-desktop:~/tmp/pyowfs-0.1$ ./setup.py
No that's not the problem, I checked the file and it is correct. I
think it's just the way it displays the errors.
I think the problem is the previous error -
can't read /var/mail/distutils.core
I don't understand this at all. There is a line in setup.py
from distutils.core
Hi Paul,
Thanks for the info
I hit an error running temperature.py what I see is -
m...@mick-desktop:~/Documents/Controls/owfs_examples
$ ./temperature.py /dev/ttyD1
Exception RuntimeError: 'maximum recursion depth exceeded while calling
a Python object' in type 'exceptions.AttributeError'
and not to forget ...
4) http://priesch.co.at/pyowfs - a simple (and more complete) wrapper
around owcapi ...
have fun,
marcus.
Am Dienstag, den 09.03.2010, 20:26 -0500 schrieb Paul Alfille:
There are 3 ways to use python and OWFS.
1. run the FUSE virtual filesystem (program owfs) and
There are 3 ways to use python and OWFS.
1. run the FUSE virtual filesystem (program owfs) and just do standard read
and writes.
2. run owpython, which is a standalone program and embeds all of owlib. see
http://owfs.cvs.sourceforge.net/viewvc/owfs/owfs/module/swig/python/examples/
3. run
17 matches
Mail list logo