<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>Running v.out.ogr within a for loop of range greater than 230 in length produces this error…</div>
<div><br>
</div>
<div>“Too many open files: can’t open any pipes</div>
<div>Error: Unable to start driver <sqlite>”</div>
<div><br>
</div>
<div>Mac OS X Yosemite</div>
<div>GRASS 6.4.3</div>
<div><br>
</div>
<div>I have attempted to break apart the loop into smaller segments but still receive the error.  I have attempted to track down the open files during the process but cannot seem to find where the open files are located, assuming they are within GRASS.  I have
 included a file close command within the loop to check that the output files were indeed closed.  I also have tried manipulating the max files allowed on the Mac OS X side.</div>
<div><br>
</div>
<div>Does v.out.ogr keep a file open within the GRASS sqlite database during operation, if so how to close it?  </div>
<div><br>
</div>
<div>Finally, the goal of using v.out.ogr is to output .csv files for input into an external sqlite database.  Is there possibly a better way to go about that export?</div>
<div><br>
</div>
<div>
<div>Damon Grabow</div>
<div>ND State Water Commission</div>
<div>GIS Engineer</div>
<div>900 E Boulevard Ave Dept 770</div>
<div>701.328.4969</div>
</div>
</body>
</html>