Cannot import module in new plugin
Asked by
Nicolas Chachereau
I'm trying to create a Kupfer plugin for the Hamster Time Tracking applet [1].
In order to avoid recreating a client class doing the D-Bus messaging, I wanted to import a module already existing in Hamster. However, I can't import this client class into my Kupfer plugin which fails because of this [2].
However, it works perfectly inside Python [3], which means Kupfer's custom import somehow restricts valid imports. Is this a feature (i.e. wanted behaviour) or a bug? If it isn't a bug, why can't I import this file, and what can I do instead? Do I really need to rewrite my own client class?
[1]: http://
[2]: http://
[3]: http://
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- kupfer Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Karol Będkowski
- Solved:
- Last query:
- Last reply:
To post a message you must log in.