Re: [Owfs-developers] python-ow failure with new Raspbian Stretch

2017-12-17 Thread HW
Stefano and the others who also responded,

Thanks very much for your clarification of this problem and especially for the 
detailed suggestions on how to move forward!


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


Re: [Owfs-developers] python-ow failure with new Raspbian Stretch

2017-12-17 Thread Matthias Urlichs via Owfs-developers
On 17.12.2017 17:45, Gregg Levine wrote:
> Of course the merely obvious question is why the swig bindings are not
> under active development.

Because they're mosty useless, IMHO. In any sort off production
environment I want a way to access the actual bus and check which data
is actually out there before I restart my Python script under a
debugger. Thus I require owserver, thus any of the direct bindings is a
no-go.

Also, owserver is long-running; connecting to it is nearly instantaneous
and does not require privileges. Starting a script that loads owlib in
order to access the bus directly, not so much.

Also², async usage of owlib requires multithreading AFAIK, or at least
specialized code. With owserver I can write a reasonably-simple protocol
handler, throw the request packet to owserver, and process the answer
whenever I feel like doing so.

NB: Python3 support has landed in SWIG 1.3.37, sometime in 2008 …
obviously those were the days before Semantic Versioning got any kind of
traction, but that's a different problem. :-P

-- 
-- Matthias Urlichs


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


Re: [Owfs-developers] python-ow failure with new Raspbian Stretch

2017-12-17 Thread Tomasz Torcz ️
On Sun, Dec 17, 2017 at 04:58:15PM +0100, Matthias Urlichs via Owfs-developers 
wrote:
> On 17.12.2017 00:19, Stefano Miccoli wrote:
> > Unfortunately owpython (the swig bindings) is not under active
> > development.
> 
> I'd go a step further and remove them from the next release.

  +1 from me! Those bindings are not python3 compatible even.
In Fedora, I suggested people should use pyownet.

-- 
Tomasz TorczThere exists no separation between gods and men:
xmpp: zdzich...@chrome.pl   one blends softly casual into the other.


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


Re: [Owfs-developers] python-ow failure with new Raspbian Stretch

2017-12-17 Thread Jan Kandziora
Am 17.12.2017 um 17:45 schrieb Gregg Levine:
> Hello!
> I'd go a bigger step further and make them optional by way of how the
> configure script is managed. I manage three platforms here. My desktop
> a 32 bit machine running Slackware 11.0 Linux, and this laptop, that
> also runs Slackware 14.2 in 64 bit mode. And of course any number of
> Raspberry Pi platforms.
> 
> We'd a poll of some kind asking how many people use Python in the OWFS
> community, and even TCL and then PHP. Once we've got those numbers,
> we'd have some idea of what to do next.
> 
> Of course the merely obvious question is why the swig bindings are not
> under active development. The incredibly obvious question then is who
> was performing that task.
>
The tcl binding does not use swig but a native binding. Works with
Tcl-8.5 (my production environment), have to test with Tcl-8.6.

If anyone has problems compiling it, it's mostly because tclConfig.sh
isn't found automatically, which can easily be fixed by using the

./configure --with-tcl=...

Kind regards

Jan

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


Re: [Owfs-developers] python-ow failure with new Raspbian Stretch

2017-12-17 Thread Colin Reese
I do exclusively. I was using my own wrapper reading directories but now use 
pyownet. 

C

> On Dec 17, 2017, at 8:45 AM, Gregg Levine  wrote:
> 
> Hello!
> I'd go a bigger step further and make them optional by way of how the
> configure script is managed. I manage three platforms here. My desktop
> a 32 bit machine running Slackware 11.0 Linux, and this laptop, that
> also runs Slackware 14.2 in 64 bit mode. And of course any number of
> Raspberry Pi platforms.
> 
> We'd a poll of some kind asking how many people use Python in the OWFS
> community, and even TCL and then PHP. Once we've got those numbers,
> we'd have some idea of what to do next.
> 
> Of course the merely obvious question is why the swig bindings are not
> under active development. The incredibly obvious question then is who
> was performing that task.
> -
> Gregg C Levine gregg.drw...@gmail.com
> "This signature fought the Time Wars, time and again."
> 
> 
> On Sun, Dec 17, 2017 at 10:58 AM, Matthias Urlichs via Owfs-developers
>  wrote:
>> On 17.12.2017 00:19, Stefano Miccoli wrote:
>>> Unfortunately owpython (the swig bindings) is not under active
>>> development.
>> 
>> I'd go a step further and remove them from the next release.
>> 
>> --
>> -- Matthias Urlichs
>> 
>> 
>> --
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> ___
>> Owfs-developers mailing list
>> Owfs-developers@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/owfs-developers
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Owfs-developers mailing list
> Owfs-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


Re: [Owfs-developers] python-ow failure with new Raspbian Stretch

2017-12-17 Thread Gregg Levine
Hello!
I'd go a bigger step further and make them optional by way of how the
configure script is managed. I manage three platforms here. My desktop
a 32 bit machine running Slackware 11.0 Linux, and this laptop, that
also runs Slackware 14.2 in 64 bit mode. And of course any number of
Raspberry Pi platforms.

We'd a poll of some kind asking how many people use Python in the OWFS
community, and even TCL and then PHP. Once we've got those numbers,
we'd have some idea of what to do next.

Of course the merely obvious question is why the swig bindings are not
under active development. The incredibly obvious question then is who
was performing that task.
-
Gregg C Levine gregg.drw...@gmail.com
"This signature fought the Time Wars, time and again."


On Sun, Dec 17, 2017 at 10:58 AM, Matthias Urlichs via Owfs-developers
 wrote:
> On 17.12.2017 00:19, Stefano Miccoli wrote:
>> Unfortunately owpython (the swig bindings) is not under active
>> development.
>
> I'd go a step further and remove them from the next release.
>
> --
> -- Matthias Urlichs
>
>
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Owfs-developers mailing list
> Owfs-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers


Re: [Owfs-developers] python-ow failure with new Raspbian Stretch

2017-12-17 Thread Matthias Urlichs via Owfs-developers
On 17.12.2017 00:19, Stefano Miccoli wrote:
> Unfortunately owpython (the swig bindings) is not under active
> development.

I'd go a step further and remove them from the next release.

-- 
-- Matthias Urlichs


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers