[augeas-devel] Simple pyGTK Augeas viewer
David Malcolm
dmalcolm at redhat.com
Wed Mar 18 14:01:18 UTC 2009
On Wed, 2009-03-18 at 14:47 +0100, Raphaël Pinson wrote:
> Hi,
>
>
> I tried the script, but didn't get anything out of it... I get a cross
> pointer, and when I click, I get :
>
> $ ./augview.py
> from: can't read /var/mail/augeas
> ./augview.py: line 3: syntax error near unexpected token `'2.0''
> ./augview.py: line 3: `pygtk.require('2.0')'
The script doesn't have a shebang line indicating python; is your shell
trying to interpret it as shell, rather than python?
Do you get better results running it thus:
$ python augview.py
(What's the best cross-platform shebang line for python scripts these
days?)
>
>
> I'm using :
> python-gtk2 2.13.0-0ubuntu8
> augeas-lenses 0.4.1-~intrepid~ppa0
> augeas-tools 0.4.1-~intrepid~ppa0
> libaugeas0 0.4.1-~intrepid~ppa0
> python-augeas 0.2.0-1
>
>
>
> Any idea ?
>
>
> Raphaël
>
>
>
> On Wed, Mar 18, 2009 at 12:23 AM, David Lutterkort <lutter at redhat.com>
> wrote:
> On Fri, 2009-03-13 at 13:24 -0400, David Malcolm wrote:
> > > Do you have any plans what you want to use augview for ?
> > No, I was just playing with the API.
>
>
> Cool nonetheless .. do you want this committed anywhere ?
> Maybe as an
> example for python-augeas ?
>
> David
>
>
>
> _______________________________________________
> augeas-devel mailing list
> augeas-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/augeas-devel
>
>
More information about the augeas-devel
mailing list