2010-10-19, 15:32
In my iPhoto plugin, when the user imports the library, it creates a temporary file first, removes the original file, and renames the temp file to the original.
Using XBMC Dharma beta 3 under WINE on my Linux box, this works:
os.remove(xbmc.translatePath(os.path.join(addon.getAddonInfo("Profile"), "iphoto.db")))
However, on a real Windows 7 machine, it silently fails. No exception is thrown, but the file does not get removed.
Any ideas?
-jingai
Using XBMC Dharma beta 3 under WINE on my Linux box, this works:
os.remove(xbmc.translatePath(os.path.join(addon.getAddonInfo("Profile"), "iphoto.db")))
However, on a real Windows 7 machine, it silently fails. No exception is thrown, but the file does not get removed.
Any ideas?
-jingai