Re: [GRASS-dev] [GRASS-user] Error on opening workspace

2018-09-20 Thread Vaclav Petras
[Removing grass-user as this is more grass-dev or bug tracking thing.]

On Thu, Sep 20, 2018 at 12:27 PM Frank David  wrote:

> Hello,
>
> Grass 7.4 (and 7.5) failed to open a workspace (with many layers and
> folders). The waiting box stay open and the workspace is not fully loaded.
> If I try to save the current workspace, I got the following message :
>
> "Échec d'écriture des paramètres de l'espace de travail courant.
>

Hi, back translating using a po file, it says

"Writing current settings to workspace file failed."

So it looks like saving, not loading workspace. Based on the None for cmd
below and something I noticed in the past, I would say it is saving with a
layer dialog open, but OK or Apply was not pressed. Can you please test it
if that's it and open a ticket with steps to reproduce it?

Best,
Vaclav


>
> Raison: 'NoneType' object has no attribute 'GetCmd'
>
> Traceback (most recent call last):
>File "/usr/local/grass-7.5.svn/gui/wxpython/lmgr/frame.py", line
> 1656, in SaveToWorkspaceFile
>  WriteWorkspaceFile(lmgr=self, file=tmpfile)
>File "/usr/local/grass-7.5.svn/gui/wxpython/core/workspace.py", line
> 900, in __init__
>  self.__writeLayer(mapTree, item)
>File "/usr/local/grass-7.5.svn/gui/wxpython/core/workspace.py", line
> 959, in __writeLayer
>  item, key='maplayer').GetCmd(
> AttributeError: 'NoneType' object has no attribute 'GetCmd'"
>
> I run Grass on Debian9
>
> Regards
> ___
> grass-user mailing list
> grass-u...@lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/grass-user
___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] r.patch too many open files ( 432 files )

2018-09-20 Thread Yann Chemin
Thanks Markus



On Thu, 20 Sep 2018 at 13:00, Markus Neteler  wrote:

> On Thu, Sep 20, 2018 at 10:45 AM Yann Chemin 
> wrote:
> >
> > Hi I have to patch 432 files and it returns “Too many files opened”
> >
> > Is this a limit of my computer or of the code?
>
> You can modify that, see
> https://grass.osgeo.org/grass74/manuals/r.patch.html#notes
>
> HTH
> Markus
>
___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] r.patch too many open files ( 432 files )

2018-09-20 Thread Markus Neteler
On Thu, Sep 20, 2018 at 10:45 AM Yann Chemin  wrote:
>
> Hi I have to patch 432 files and it returns “Too many files opened”
>
> Is this a limit of my computer or of the code?

You can modify that, see
https://grass.osgeo.org/grass74/manuals/r.patch.html#notes

HTH
Markus
___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

[GRASS-dev] r.patch too many open files ( 432 files )

2018-09-20 Thread Yann Chemin
Hi I have to patch 432 files and it returns “Too many files opened”

Is this a limit of my computer or of the code?

Thanks,
Yann

Dr. Yann Chemin
+33 7 83 85 5234
3 Toulmelin, 56400 Plumergat, FR

___
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev