Re: [Owfs-developers] Problem running Python examples

2010-08-12 Thread Paul Alfille
Applied. It will be in 2.8p1 Thanks, Paul Alfille On Wed, Aug 11, 2010 at 4:37 PM, Joshua J. Kugler wrote: > On Wednesday 11 August 2010, Jim Kusznir elucidated thus: > > Yep, your file... > > Caught that...and felt silly when I did. > > > Our python guys aren't as good as you :) > > Thanks fo

Re: [Owfs-developers] Problem running Python examples

2010-08-11 Thread Joshua J. Kugler
On Wednesday 11 August 2010, Jim Kusznir elucidated thus: > Yep, your file... Caught that...and felt silly when I did. > Our python guys aren't as good as you :) Thanks for the compliment, but quite frankly I don't consider myself a Python guru. This time around the ability to fix it so "easi

Re: [Owfs-developers] Problem running Python examples

2010-08-11 Thread Jim Kusznir
Yep, your file...Our python guys aren't as good as you :) --Jim On Tue, Aug 10, 2010 at 2:24 PM, Joshua J. Kugler wrote: > On Tuesday 10 August 2010, Joshua J. Kugler elucidated thus: >> On Tuesday 10 August 2010, Jim Kusznir elucidated thus: >> > The attached patch file did the job, I recommend

Re: [Owfs-developers] Problem running Python examples

2010-08-10 Thread Joshua J. Kugler
On Tuesday 10 August 2010, Joshua J. Kugler elucidated thus: > On Tuesday 10 August 2010, Jim Kusznir elucidated thus: > > The attached patch file did the job, I recommend it be applied to > > the main branch! > > erm...no patch file attached. :) > > j Oh! You mean the file *I* attached to my e-ma

Re: [Owfs-developers] Problem running Python examples

2010-08-10 Thread Joshua J. Kugler
On Tuesday 10 August 2010, Jim Kusznir elucidated thus: > The attached patch file did the job, I recommend it be applied to the > main branch! erm...no patch file attached. :) j -- Joshua J. Kugler - Fairbanks, Alaska Azariah Enterprises - Programming and Website Design jos...@azariah.com - Jab

Re: [Owfs-developers] Problem running Python examples

2010-08-10 Thread Jim Kusznir
The attached patch file did the job, I recommend it be applied to the main branch! Thanks! (Sorry for the delay; I lost my dev platform for a while; just got it back up) --Jim On Tue, Aug 3, 2010 at 10:19 PM, Joshua J. Kugler wrote: > On Saturday 31 July 2010, Paul Alfille elucidated thus: >>

Re: [Owfs-developers] Problem running Python examples

2010-08-03 Thread Joshua J. Kugler
On Saturday 31 July 2010, Paul Alfille elucidated thus: > If you find a solution, I'll add it to the next release. OK, I found the solution. What was happening was this: 1. Class had defined a custom __getattr__ 2. Then in __getattr__, the class tried to access an attribute via self._attribute_

Re: [Owfs-developers] Problem running Python examples

2010-08-02 Thread ziggy
OK, I had to do a bunch of stuff to get an owfs package built for my current system (Seagate DockStar - an ARM5 PogoPlug variant), so am using the new 2.8p0, along with Python 2.6.5. Try making this change to /usr/lib/python2.6/site-packages/ow/__init__.py (or wherever your's lives): The change

Re: [Owfs-developers] Problem running Python examples

2010-08-02 Thread Jim Kusznir
We bumped ours up pretty huge, but it still hit it. When we did some debugging, there was an infinite recursion at the point I pointed out in the previously-cited thread. --Jim On Mon, Aug 2, 2010 at 7:04 AM, Paul Davis wrote: > My python is a bit rusty (actually kind of like the shock absorber

Re: [Owfs-developers] Problem running Python examples

2010-08-02 Thread Paul Davis
My python is a bit rusty (actually kind of like the shock absorber bolts on my truck, but that's another story...), but what value does sys.getrecursionlimit() give you? And does sys.setrecursionlimit(something_alot_bigger) help, cause a different error, crash python, etc.? On Aug 2, 201

Re: [Owfs-developers] Problem running Python examples

2010-08-01 Thread Joshua J. Kugler
On Saturday 31 July 2010, Paul Alfille elucidated thus: > If you find a solution, I'll add it to the next release. I'm certainly going to take a crack at it, and if I do, I'll post a diff. If I can't fix it, I'll give Marcus Priesch's pyowfs a look. j > > On Fri, Jul 30, 2010 at 3:44 PM, Joshu

Re: [Owfs-developers] Problem running Python examples

2010-08-01 Thread Marcus Priesch
Hi, You could try pyowfs instead - it uses the owfs libs (namely owcapi) directly - but is in no means compatible to the original python bindings ... but overcomes some of their limitations ... ;) read more at: http://priesch.co.at/pyowfs install by: easy_install pyowfs this d

Re: [Owfs-developers] Problem running Python examples

2010-07-31 Thread Paul Alfille
If you find a solution, I'll add it to the next release. On Fri, Jul 30, 2010 at 3:44 PM, Joshua J. Kugler wrote: > On Friday 30 July 2010, Jim Kusznir elucidated thus: > > http://sourceforge.net/mailarchive/forum.php?thread_name=AANLkTinEDKB > >bYgPDmMDiS_CtjsHzS6B6MpQ3NzHuLb3L%40mail.gmail.com&

Re: [Owfs-developers] Problem running Python examples

2010-07-30 Thread Joshua J. Kugler
On Friday 30 July 2010, Jim Kusznir elucidated thus: > http://sourceforge.net/mailarchive/forum.php?thread_name=AANLkTinEDKB >bYgPDmMDiS_CtjsHzS6B6MpQ3NzHuLb3L%40mail.gmail.com&forum_name=owfs-dev >elopers Thanks Jim. That was the day before I signed up for the list. :) j -- Joshua J. Kugler -

Re: [Owfs-developers] Problem running Python examples

2010-07-30 Thread Joshua J. Kugler
On Friday 30 July 2010, Jim Kusznir elucidated thus: > I've been seeing the same problem. It showed up when I switched from > Python2.5 to Python2.6. After spending some time working with some > Python experts, it appears there's some incompatibilities with > python2.6 in the libraries. A previo

Re: [Owfs-developers] Problem running Python examples

2010-07-30 Thread Jim Kusznir
I've been seeing the same problem. It showed up when I switched from Python2.5 to Python2.6. After spending some time working with some Python experts, it appears there's some incompatibilities with python2.6 in the libraries. A previous post of mine on this list shows the line that the python e

[Owfs-developers] Problem running Python examples

2010-07-29 Thread Joshua J. Kugler
So I compiled and installed owfs 2.7p38 and am trying to use the Python scripts in the examples/ directory, but I'm getting some odd errors. ~/src/owfs-2.7p38/module/swig/python/examples$ ./temperature.py u DEFAULT: ow_ds9490.c:DS9490_detect(457) Unclear what <> means in USB specification, will