[Pythonmac-SIG] macostools.copy()

Joseph J. Strout joe@strout.net
Mon, 8 Mar 1999 15:57:28 -0800


At 3:43 PM -0800 03/08/99, Chris Walker wrote:

>More questions...  I get the following exception when using macostools.copy()
>
>Traceback (innermost last):
>  File "Macintosh HD:Documents:Devel:Python:test.py", line 52, in visit
>    macostools.copy(fullpath, destFile)
>  File "::Mac:Lib:macostools.py", line 77, in copy
>    dstfss = macfs.FSSpec(dst)
>ValueError: (-50, 'error in user parameter list')
>
>Does anyone know what might be causing this?

It'd be easier to guess if you showed us what destFile is.  Most likely
it's not a valid pathname.

Cheers,
-- Joe
,------------------------------------------------------------------.
|    Joseph J. Strout           Biocomputing -- The Salk Institute |
|    joe@strout.net             http://www.strout.net              |
`------------------------------------------------------------------'