[GRASS-user] wxpython gui: error while loding avevry first layer

Hi,
I'm playing with the new gui. I've tried it yesterday for the first
time: it rocks!
There are some warning and little errors the come raised with some
tasks, but everything seems to work fine.
The first error I've experimented is:

23:57:44: Can not enumerate files in directory
'/home/giova/.kde/share/mimelnk/text' (error 13: Permesso negato)
23:57:46: Can not enumerate files in directory
'/home/giova/.local/share/applications' (error 13: Permesso negato)

It happens when I launch d.vect or d.rast the very first time. I click
ok and the d.vect (d.rast) window opens correctly. The subsequent
times I do it, it doesn't happen...

Great work!
Thanks,
Giovanni

As Martin Landa has suggested me, it's a problem related to wxpython
and KDE, not Grass.

Giovanni

2008/2/25, G. Allegri <giohappy@gmail.com>:

Hi,
I'm playing with the new gui. I've tried it yesterday for the first
time: it rocks!
There are some warning and little errors the come raised with some
tasks, but everything seems to work fine.
The first error I've experimented is:

23:57:44: Can not enumerate files in directory
'/home/giova/.kde/share/mimelnk/text' (error 13: Permesso negato)
23:57:46: Can not enumerate files in directory
'/home/giova/.local/share/applications' (error 13: Permesso negato)

It happens when I launch d.vect or d.rast the very first time. I click
ok and the d.vect (d.rast) window opens correctly. The subsequent
times I do it, it doesn't happen...

Great work!
Thanks,
Giovanni

Ciao,

can you try to add

wx.LogNull()

instance to wxgui.py (launch d.vect/d.rast from GUI) or menuform.py
(launch for CLI)?

See

http://aspn.activestate.com/ASPN/Mail/Message/wxPython-users/3609948

Regards, Martin

2008/2/25, G. Allegri <giohappy@gmail.com>:

As Martin Landa has suggested me, it's a problem related to wxpython
and KDE, not Grass.

Giovanni

2008/2/25, G. Allegri <giohappy@gmail.com>:

> Hi,
> I'm playing with the new gui. I've tried it yesterday for the first
> time: it rocks!
> There are some warning and little errors the come raised with some
> tasks, but everything seems to work fine.
> The first error I've experimented is:
>
> 23:57:44: Can not enumerate files in directory
> '/home/giova/.kde/share/mimelnk/text' (error 13: Permesso negato)
> 23:57:46: Can not enumerate files in directory
> '/home/giova/.local/share/applications' (error 13: Permesso negato)
>
> It happens when I launch d.vect or d.rast the very first time. I click
> ok and the d.vect (d.rast) window opens correctly. The subsequent
> times I do it, it doesn't happen...
>
> Great work!
> Thanks,
> Giovanni
>
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

--
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa *

Using wx.LogNull() has solved the problem.
I've added it both in wxgui.py and menuform.py, gust before
app.MainLoop() in the main routine.
The GUI appears to load faster too...

Giovanni

2008/2/25, Martin Landa <landa.martin@gmail.com>:

Ciao,

can you try to add

wx.LogNull()

instance to wxgui.py (launch d.vect/d.rast from GUI) or menuform.py
(launch for CLI)?

See

http://aspn.activestate.com/ASPN/Mail/Message/wxPython-users/3609948

Regards, Martin

2008/2/25, G. Allegri <giohappy@gmail.com>:
> As Martin Landa has suggested me, it's a problem related to wxpython
> and KDE, not Grass.
>
> Giovanni
>
> 2008/2/25, G. Allegri <giohappy@gmail.com>:
>
> > Hi,
> > I'm playing with the new gui. I've tried it yesterday for the first
> > time: it rocks!
> > There are some warning and little errors the come raised with some
> > tasks, but everything seems to work fine.
> > The first error I've experimented is:
> >
> > 23:57:44: Can not enumerate files in directory
> > '/home/giova/.kde/share/mimelnk/text' (error 13: Permesso negato)
> > 23:57:46: Can not enumerate files in directory
> > '/home/giova/.local/share/applications' (error 13: Permesso negato)
> >
> > It happens when I launch d.vect or d.rast the very first time. I click
> > ok and the d.vect (d.rast) window opens correctly. The subsequent
> > times I do it, it doesn't happen...
> >
> > Great work!
> > Thanks,
> > Giovanni
> >

> _______________________________________________
> grass-user mailing list
> grass-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>

--
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa *

To be exact, I0ve added q=wx.LogNull()

- before app.MainLoop inside wxgui.py
- before GrassGUIApp( task ).MainLoop() inside menuform.py

2008/2/25, G. Allegri <giohappy@gmail.com>:

Using wx.LogNull() has solved the problem.
I've added it both in wxgui.py and menuform.py, gust before
app.MainLoop() in the main routine.
The GUI appears to load faster too...

Giovanni

2008/2/25, Martin Landa <landa.martin@gmail.com>:

> Ciao,
>
> can you try to add
>
> wx.LogNull()
>
> instance to wxgui.py (launch d.vect/d.rast from GUI) or menuform.py
> (launch for CLI)?
>
> See
>
> http://aspn.activestate.com/ASPN/Mail/Message/wxPython-users/3609948
>
> Regards, Martin
>
>
> 2008/2/25, G. Allegri <giohappy@gmail.com>:
> > As Martin Landa has suggested me, it's a problem related to wxpython
> > and KDE, not Grass.
> >
> > Giovanni
> >
> > 2008/2/25, G. Allegri <giohappy@gmail.com>:
> >
> > > Hi,
> > > I'm playing with the new gui. I've tried it yesterday for the first
> > > time: it rocks!
> > > There are some warning and little errors the come raised with some
> > > tasks, but everything seems to work fine.
> > > The first error I've experimented is:
> > >
> > > 23:57:44: Can not enumerate files in directory
> > > '/home/giova/.kde/share/mimelnk/text' (error 13: Permesso negato)
> > > 23:57:46: Can not enumerate files in directory
> > > '/home/giova/.local/share/applications' (error 13: Permesso negato)
> > >
> > > It happens when I launch d.vect or d.rast the very first time. I click
> > > ok and the d.vect (d.rast) window opens correctly. The subsequent
> > > times I do it, it doesn't happen...
> > >
> > > Great work!
> > > Thanks,
> > > Giovanni
> > >
>
> > _______________________________________________
> > grass-user mailing list
> > grass-user@lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/grass-user
> >
>
>
>
> --
> Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa *
>