{"action":"opened","issue":{"url":"https://api.github.com/repos/tvdzwan/hyperion/issues/427","labels_url":"https://api.github.com/repos/tvdzwan/hyperion/issues/427/labels{/name}","comments_url":"https://api.github.com/repos/tvdzwan/hyperion/issues/427/comments","events_url":"https://api.github.com/repos/tvdzwan/hyperion/issues/427/events","html_url":"https://github.com/tvdzwan/hyperion/issues/427","id":121896648,"number":427,"title":"Python script includes don't work inside Hyperion","user":{"login":"roblcampbell","id":3968119,"avatar_url":"https://avatars.githubusercontent.com/u/3968119?v=3","gravatar_id":"","url":"https://api.github.com/users/roblcampbell","html_url":"https://github.com/roblcampbell","followers_url":"https://api.github.com/users/roblcampbell/followers","following_url":"https://api.github.com/users/roblcampbell/following{/other_user}","gists_url":"https://api.github.com/users/roblcampbell/gists{/gist_id}","starred_url":"https://api.github.com/users/roblcampbell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roblcampbell/subscriptions","organizations_url":"https://api.github.com/users/roblcampbell/orgs","repos_url":"https://api.github.com/users/roblcampbell/repos","events_url":"https://api.github.com/users/roblcampbell/events{/privacy}","received_events_url":"https://api.github.com/users/roblcampbell/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-13T03:53:30Z","updated_at":"2015-12-13T03:53:30Z","closed_at":null,"body":"I am new to both Python and C++, so I can't seem to figure this out myself. I created some effects in the effect development kit, and I created a script called ledutils.py with a bunch of common utility functions and classes used by the scripts I am creating.\r\n\r\nThe scripts run fine in the GUI simulator, but when I copy them to my Pi running hyperion, they don't work. I took out the 'import ledutils' line and copied over the common code right into each script and it works fine then. So I'd like to know why the python engine running inside Hyperion won't pick up includes from the working directory of the effects.\r\n\r\nI'd really like to be able to keep my common code in the included script, so please let me know if there is a way to get this to work. Keep up the great work. I am really enjoying using Hyperion. Thanks!\r\nRob"}}