Hi, again.
Something strange happened in new version (0.5.0), when pnp import my plugin, my plugin fail to imports interface.
hugosenari@hugosenari:~/devel/git/dtc$ python -m dtc
DEBUG:root:no mainloop found
DEBUG:root:importing gobject
DEBUG:root:add dir: dtc/core/interfaces to path
DEBUG:root:add dir: dtc/core/interfaces/gui to path
DEBUG:root:add dir: dtc/modules to path
DEBUG:root:Set up plugnplay
DEBUG:root:Error loading plugin: logger
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/plugnplay-0.5.0-py2.7.egg/plugnplay/__init__.py", line 116, in _import_module
imported_module = _import_from_python_package(_mod_name, mod_name)
File "/usr/local/lib/python2.7/dist-packages/plugnplay-0.5.0-py2.7.egg/plugnplay/__init__.py", line 100, in _import_from_python_package
locals=locals(), fromlist=[module])
File "dtc/modules/logger.py", line 15, in <module>
from dtc.core.interfaces import loggable
ImportError: cannot import name loggable
DEBUG:root:execute modules
(sys.path)
['dtc', 'dtc/core', 'dtc/core', 'dtc/core/interfaces', 'dtc/core/interfaces', 'dtc/core', 'dtc', 'dtc/core/interfaces', 'dtc/core', '', '/usr/local/lib/python2.7/dist-packages/pyenchant-1.6.5-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/d_feet-0.1.14-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/plugnplay-0.5.0-py2.7.egg', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages/PIL', '/usr/lib/python2.7/dist-packages/gst-0.10', '/usr/lib/python2.7/dist-packages/gtk-2.0', '/usr/lib/pymodules/python2.7', '/usr/lib/python2.7/dist-packages/ubuntu-sso-client', '/usr/lib/python2.7/dist-packages/ubuntuone-client', '/usr/lib/python2.7/dist-packages/ubuntuone-control-panel', '/usr/lib/python2.7/dist-packages/ubuntuone-couch', '/usr/lib/python2.7/dist-packages/ubuntuone-installer', '/usr/lib/python2.7/dist-packages/ubuntuone-storage-protocol', '/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode']
Previous version (0.4.0) don't have this problem but have old problem that I can't import plugins with same file name. Then I update to this version (0.5.0 your trunk) and for some reason I can't import plugin because my plugin 'cant import interface.