<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi list,<br>
<br>
Does anyone have any idea why the following python error might pop up:<br>
<br>
<pre wrap="">An error has occured while executing Python code:

Traceback (most recent call last):
  File
"<i class="moz-txt-slash"><span class="moz-txt-tag">/</span>home/_user_name_<span
 class="moz-txt-tag">/</span></i>.qgis/python/plugins/fTools/tools/doGeoprocessing.py",
line 58, in outFile
    ( self.shapefileName, self.encoding ) =
ftools_utils.saveDialog( self )
  File
"<i class="moz-txt-slash"><span class="moz-txt-tag">/</span>home/_user_name_<span
 class="moz-txt-tag">/</span></i>.qgis/python/plugins/fTools/tools/ftools_utils.py", line
292, in saveDialog
    shapefileName = unicode(fileDialog.selectedFiles().first())
MemoryError</pre>
<br>
<br>
The associated code is essentially as follows:<br>
<br>
<meta name="qrichtext" content="1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
p, li { white-space: pre-wrap; }
</style>
<p style="margin: 0px; text-indent: 0px;"><!--StartFragment--><span
 style="font-weight: 600;">fileDialog = QgsEncodingFileDialog()<br>
</span><!--EndFragment--></p>
<meta name="qrichtext" content="1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
p, li { white-space: pre-wrap; }
</style>
<p style="margin: 0px; text-indent: 0px;"><!--StartFragment--><span
 style="font-weight: 600;">fileDialog.setDefaultSuffix(QString("shp"))<br>
</span>
<meta name="qrichtext" content="1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
p, li { white-space: pre-wrap; }
</style>
</p>
<p style="margin: 0px; text-indent: 0px;"><!--StartFragment--><span
 style="font-weight: 600;">fileDialog.setFileMode(QFileDialog.AnyFile)</span><!--EndFragment--></p>
<meta name="qrichtext" content="1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
p, li { white-space: pre-wrap; }
</style>
<p style="margin: 0px; text-indent: 0px;"><!--StartFragment--><span
 style="font-weight: 600;">fileDialog.setAcceptMode(QFileDialog.AcceptSave)</span><!--EndFragment--></p>
<!--EndFragment-->
<meta name="qrichtext" content="1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
p, li { white-space: pre-wrap; }
</style>
<p style="margin: 0px; text-indent: 0px;"><!--StartFragment--><span
 style="font-weight: 600;">fileDialog.exec_()<br>
</span>
<meta name="qrichtext" content="1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
p, li { white-space: pre-wrap; }
</style>
</p>
<p style="margin: 0px; text-indent: 0px;"><!--StartFragment--><span
 style="font-weight: 600;">shapefileName =
unicode(fileDialog.selectedFiles().first())</span><!--EndFragment--></p>
<br>
I can't actually seem to get this behaviour myself, but many others do.<br>
<p style="margin: 0px; text-indent: 0px;">Any thoughts?<br>
<br>
</p>
<p style="margin: 0px; text-indent: 0px;">Cheers,<br>
<br>
</p>
<p style="margin: 0px; text-indent: 0px;">Carson<br>
<!--EndFragment--></p>
<br>
<br>
</body>
</html>