Hi all,<div>I have this error when I try to use Manager() from python multiprocessing library. </div><div>(Just start QGIS open Python console and execute the two following lines)</div><div><br></div><div><p style="margin:0px">
>>> import multiprocessing</p>
<p style="margin:0px">>>> mgr = multiprocessing.Manager()</p>
<p style="margin:0px">Traceback (most recent call last):</p>
<p style="margin:0px">  File "<input>", line 1, in <module></p>
<p style="margin:0px">  File "C:\DEV\osgeo4w_dev\apps\Python27\lib\multiprocessing\__init__.py", line 99, in Manager</p>
<p style="margin:0px">    m.start()</p>
<p style="margin:0px">  File "C:\DEV\osgeo4w_dev\apps\Python27\lib\multiprocessing\managers.py", line 524, in start</p>
<p style="margin:0px">    self._process.start()</p>
<p style="margin:0px">  File "C:\DEV\osgeo4w_dev\apps\Python27\lib\multiprocessing\process.py", line 130, in start</p>
<p style="margin:0px">    self._popen = Popen(self)</p>
<p style="margin:0px">  File "C:\DEV\osgeo4w_dev\apps\Python27\lib\multiprocessing\forking.py", line 252, in __init__</p>
<p style="margin:0px">    cmd = get_command_line() + [rhandle]</p>
<p style="margin:0px">  File "C:\DEV\osgeo4w_dev\apps\Python27\lib\multiprocessing\forking.py", line 339, in get_command_line</p>
<p style="margin:0px">    if process.current_process()._identity==() and is_forking(sys.argv):</p>
<p style="margin:0px">AttributeError: 'module' object has no attribute 'argv'</p>
<p style="margin:0px">>>></p><p style="margin:0px"><br></p><p style="margin:0px">It happens in both 1.8 and 1.9 dev version on Windows X. Of course everything is ok using QGIS on Linux!... :P</p><p style="margin:0px">
<br></p><p style="margin:0px">It seems something related to the main Python/QGis process startup and the way the library tries to start a new process.... but I can't figure out any workaround.</p><p style="margin:0px">
<br></p><p style="margin:0px">Any idea?</p><p style="margin:0px"><br></p><p style="margin:0px">Saverio</p></div>