Closed delandtj closed 5 years ago
if an installation of a plugin is ever moved (its absolute path changed) the json plugin file will contain the OLD absolute paths:
[ { "j.clients": { "git": [ "/opt/code/github/threefoldtech/jumpscale_core/Jumpscale/clients/git/GitFactory.py", "GitFactory", [] ], .... ....
to fix this the absolute path at the front needs to be stripped off and "reconstituted" at runtime from the plugin directories.
if an installation of a plugin is ever moved (its absolute path changed) the json plugin file will contain the OLD absolute paths:
to fix this the absolute path at the front needs to be stripped off and "reconstituted" at runtime from the plugin directories.