Hi Mick,
congratulations !!!
however it would be very interesting why the LD_LIBRARY_PATH thing didnt
work for you ...
regards,
marcus.
--
Download IntelĀ® Parallel Studio Eval
Try the new software tools for yourself.
On Sun, Mar 21, 2010 at 7:12 PM, Mick Sulley 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 will play w
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 h
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 co
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,
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 -xzv
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 -
Thanks Marcus, I am away at the moment but will be home over the weekend
and I will try to test it out.
Mick
On Thu, 2010-03-18 at 19:24 +0100, Marcus Priesch wrote:
> Hi Mick,
>
> sorry for beeing lazy the last days, but fortunately i now have a
> solution for you ...
>
> after testing out a
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
ctypes.c
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 done
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")
> T
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 "", line 1, in
File "/usr/lib/python2.6/dist-packages/pyowfs/owfs.py"
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
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 imp
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.
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
from: can't read /var/mail/distutils.core
./setup.py: line 36: syntax error near
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)
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 ignored
/10.0D54A9010800 18.562
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 owserve
19 matches
Mail list logo