Yadoms / yadoms

Yadoms is open source, simple, powerfull, flexible and multiplatforms domotic solution.
https://www.yadoms.com
Other
63 stars 17 forks source link

Cannot delete invalid plugin #457

Closed jmberhault closed 6 years ago

jmberhault commented 6 years ago

When a plugin is invalid, it is displayed like this :

invalidplugin

This would say, that a main file is missing.

But, when missing the package.json file, the icon.png file, a plugin could not be deleted, and theses errors are returned. Yadoms crash after try to delete it !

21:30:03 : Websocket connection : [Information] : New websocket client 21:30:07 : : [Error] : Global catch Poco::Exception : File not found: plugins/Sigfox/package.json in thread : TCPServerConnection (default[#3])

21:30:07 : : [Error] : Global catch Poco::Exception : File not found: plugins/Sigfox/icon.png in thread : TCPServerConnection (default[#4])

The plugin should be deleted in the database anyway.

sgallou commented 6 years ago

Unable to reproduce : try with FreeMobileSms plugin :

Please give more info

jmberhault commented 6 years ago

Unable to reproduce with SystemInformation and Sigfox plugins with Windows and Linux with Yadoms v2.2.0-beta.1 => close.