1 message in org.python.python-bugs-list[ python-Bugs-912747 ] Unable to over...
FromSent OnAttachments
SourceForge.netMar 9, 2004 11:02 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:[ python-Bugs-912747 ] Unable to overwrite file with findertools.moveActions...
From:SourceForge.net (nore@sourceforge.net)
Date:Mar 9, 2004 11:02:12 am
List:org.python.python-bugs-list

Bugs item #912747, was opened at 2004-03-09 09:19 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=912747&group_id=5470

Category: Macintosh Group: Python 2.3 Status: Open Resolution: None Priority: 5 Submitted By: Benjamin Schollnick (bscholln) Assigned to: Jack Jansen (jackjansen) Summary: Unable to overwrite file with findertools.move

Initial Comment: I am revising a application that was working on MOSX 10.2, but Python v2.3 appears to have subtle broke a few items...

if mac_mode: findertools.move (old_path + filename, new_path)

Is dying with the following error...

Main, filename : 01_100_QTSKINS_L_12.JPG Moving ------------------------------------- Traceback (most recent call last): File "Panther:Users:benjamin:Desktop:Python:finders:re-dup- file.py", line 102, in ? move_file ( pathname, new_dir, filename ) File "Panther:Users:benjamin:Desktop:Python:finders:re-dup- file.py", line 53, in move_file findertools.move (old_path + filename, new_path) File "mac:Applications:Python 2.2.2:Mac:Lib:findertools.py", line 74, in move return finder.move(src_fss, to=dst_fss) File "mac:Applications:Python 2.2.2:Mac:Lib:lib-scriptpackages: Finder:Standard_Suite.py", line 294, in move raise aetools.Error, aetools.decodeerror(_arguments) aetools.Error: (-10000, 'errAEEventFailed', None)

As far as I can tell, the move command is not allowing a overwrite situation...

If this is expected behavior, is there any way we could add a flag for allowing overwrite?

----------------------------------------------------------------------