Page 1 of 1

ReloadPlugin() caught exception: FileIOError -- cannot move:

PostPosted: Tue Mar 20, 2018 4:43 pm
by qcvictor
After Disable HBB plugin for installing HomeKit Bridge and re-enable HBB, got this error :
ReloadPlugin() caught exception: FileIOError -- cannot move: destination file exists

I tried to update latest release same behavior
Upgrading plugin EPS - Homebridge Buddy to newer version 1.0.6 (previous version moved to trash)
Error ReloadPlugin() caught exception: FileIOError -- cannot move: destination file exists

Annoying

Re: ReloadPlugin() caught exception: FileIOError -- cannot m

PostPosted: Tue Mar 20, 2018 4:49 pm
by Colorado4Wheeler
Sounds like it could be a file system issue. Have you tried just installing the new version by hand? It's pretty simple, just paste the new plugin over the old one, done and done.

Re: ReloadPlugin() caught exception: FileIOError -- cannot m

PostPosted: Tue Mar 20, 2018 4:55 pm
by jay (support)
That means you have two copies of the plugin: one in the Plugins folder and the other in the Plugins (Disabled) folder in your install folder:

Code: Select all
/Library/Application Support/Perceptive Automation/Indigo 7/


So when you try to disable the plugin, it fails (because a disable moves from one folder to the other).

Re: ReloadPlugin() caught exception: FileIOError -- cannot m

PostPosted: Tue Mar 20, 2018 4:57 pm
by Colorado4Wheeler
jay (support) wrote:
That means you have two copies of the plugin: one in the Plugins folder and the other in the Plugins (Disabled) folder in your install folder:

Awesome to know that, it's not the first time I've read a post about that, now I have a definitive answer!

Re: ReloadPlugin() caught exception: FileIOError -- cannot m

PostPosted: Tue Mar 20, 2018 5:01 pm
by qcvictor
Ok that's mean I have to flush this one in the Plugins (Disabled) or the other location ?

Re: ReloadPlugin() caught exception: FileIOError -- cannot m

PostPosted: Tue Mar 20, 2018 5:03 pm
by Colorado4Wheeler
Well you could just move it out of one or the other so that the file error doesn't happen, you don't have to delete it. But why are you worried about deleting it? All of the devices are saved in Indigo, not the plugin file.

Re: ReloadPlugin() caught exception: FileIOError -- cannot m

PostPosted: Tue Mar 20, 2018 5:03 pm
by Colorado4Wheeler
Or did you mean to not say "that's mean"? :shock:

Re: ReloadPlugin() caught exception: FileIOError -- cannot m

PostPosted: Tue Mar 20, 2018 6:30 pm
by DaveL17
You may find it necessary to stop the Indigo server for the change to take effect. If you stop the server, delete one of the two files and restart the server, you should be good to go.

Re: ReloadPlugin() caught exception: FileIOError -- cannot m

PostPosted: Fri Mar 23, 2018 3:12 pm
by qcvictor
Finally migrate everything to this fantastic plugin "HomeKit Bridge", even my cheap Chinese cameras work, awesome work Guys thanks for all contributors.