Re: [lttng-dev] Babeltrace python bindings documentation is no up-to-date

2016-11-01 Thread Jean Spector
I couldn't reproduce the issues I had when building from source on my VM and don't have a vanilla RHEL 7.2 now to reproduce :-( Regarding documentation, current changes look all right. Adding a note regarding software collections will certainly help. There's another minor issue I see in the

Re: [lttng-dev] Babeltrace python bindings documentation is no up-to-date

2016-10-31 Thread Philippe Proulx
On Mon, Oct 31, 2016 at 4:38 PM, Philippe Proulx wrote: > On Mon, Oct 31, 2016 at 4:02 PM, Jean Spector wrote: >> Thank you Philippe. >> >> Adding a different documentation page for older versions (it's the latest >> package on RHEL 7.2 - so I'd

Re: [lttng-dev] Babeltrace python bindings documentation is no up-to-date

2016-10-31 Thread Jean Spector
Hi Michael, That's where I got python33 from eventually :-) What I called out-of-the-box is actually EPEL. I could just run "yum install python34" on my RHEL 7.2 (while the same wouldn't work for python33), so for me it was the natural version to use. Software Collections, though, required

Re: [lttng-dev] Babeltrace python bindings documentation is no up-to-date

2016-10-31 Thread Michael Jeanson
On 2016-10-31 17:20, Jean Spector wrote: > Hi Michael, > > That's where I got python33 from eventually :-) > What I called out-of-the-box is actually EPEL. > I could just run "yum install python34" on my RHEL 7.2 (while the same > wouldn't work for python33), so for me it was the natural version

Re: [lttng-dev] Babeltrace python bindings documentation is no up-to-date

2016-10-31 Thread Michael Jeanson
On 2016-10-31 16:44, Jean Spector wrote: > It's a matter of rpm dependencies. > Once installed, it might work fine with python 3.4 - but yum just > refuses to install it on RHEL 7.2 RHEL 7 doesn't ship with python 3 out of the box, you'll need to get it from a software collection, have a look at

Re: [lttng-dev] Babeltrace python bindings documentation is no up-to-date

2016-10-31 Thread Jean Spector
On Mon, Oct 31, 2016 at 10:38 PM, Philippe Proulx wrote: > On Mon, Oct 31, 2016 at 4:02 PM, Jean Spector > wrote: > > Thank you Philippe. > > > > Adding a different documentation page for older versions (it's the latest > > package on RHEL 7.2 -

Re: [lttng-dev] Babeltrace python bindings documentation is no up-to-date

2016-10-31 Thread Philippe Proulx
On Mon, Oct 31, 2016 at 4:02 PM, Jean Spector wrote: > Thank you Philippe. > > Adding a different documentation page for older versions (it's the latest > package on RHEL 7.2 - so I'd expect more newbies to encounter this issue) > could help anyone trying the Python

Re: [lttng-dev] Babeltrace python bindings documentation is no up-to-date

2016-10-31 Thread Jean Spector
Thank you Philippe. Adding a different documentation page for older versions (it's the latest package on RHEL 7.2 - so I'd expect more newbies to encounter this issue) could help anyone trying the Python bindings for the first time. I'm sure you realize that trying the official example and

Re: [lttng-dev] Babeltrace python bindings documentation is no up-to-date

2016-10-31 Thread Philippe Proulx
On Sat, Oct 29, 2016 at 9:55 AM, Jean Spector wrote: > When trying to use the example from > http://diamon.org/babeltrace/docs/python/examples/ (pointed to via > http://lttng.org/viewers/), the code is not up-to-date. > > For instance, the first line in the example (import

[lttng-dev] Babeltrace python bindings documentation is no up-to-date

2016-10-31 Thread Jean Spector
When trying to use the example from http://diamon.org/babeltrace/docs/python/examples/ (pointed to via http://lttng.org/viewers/), the code is not up-to-date. For instance, the first line in the example (import babeltrace.reader) fails as there's no 'reader' to import. I've managed to get over