- summary: Error Parsing modules option under Windows --> Error Parsing modules option onWindows
First i need to say: EPYDOC rocks!
Using a configfile with multible modules, which are in a comma-separated string (look@: http://epydoc.sourceforge.net/manual-reference.html#sample-configuration-file\), containing space within the path names, produces warnings and errors like this on a windows platform:
configfile:
modules: c:\foo\foo bar\fool.py, c:\foo\foo bar\fooles.py
CommandLine Output:
Warning: Name 'C:\\foo\\foo' given
multiple times
Warning: Name 'C:\\foo\\foo' given
multiple times
Error: Could not find a file or object named bar\fool.py
Error: Could not find a file or object named bar\fooles.py
--------------------------------------------------------
I've found a possible cause in cli.py, Line 638:
def _str_to_list(val):
return val.replace(',', ' ').split()
and modified to:
def _str_to_list(val):
return val.replace(',', ' ').split(' ')
afterwards it works, without errors and warnings.
Maybe it's useful to find a more robust implementation to increase platform independency.