{"action":"created","issue":{"url":"https://api.github.com/repos/niieani/bash-oo-framework/issues/7","labels_url":"https://api.github.com/repos/niieani/bash-oo-framework/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/niieani/bash-oo-framework/issues/7/comments","events_url":"https://api.github.com/repos/niieani/bash-oo-framework/issues/7/events","html_url":"https://github.com/niieani/bash-oo-framework/issues/7","id":119734700,"number":7,"title":"Cannot import lib/types/base/Var.sh","user":{"login":"avdv","id":3471749,"avatar_url":"https://avatars.githubusercontent.com/u/3471749?v=3","gravatar_id":"","url":"https://api.github.com/users/avdv","html_url":"https://github.com/avdv","followers_url":"https://api.github.com/users/avdv/followers","following_url":"https://api.github.com/users/avdv/following{/other_user}","gists_url":"https://api.github.com/users/avdv/gists{/gist_id}","starred_url":"https://api.github.com/users/avdv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avdv/subscriptions","organizations_url":"https://api.github.com/users/avdv/orgs","repos_url":"https://api.github.com/users/avdv/repos","events_url":"https://api.github.com/users/avdv/events{/privacy}","received_events_url":"https://api.github.com/users/avdv/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-01T15:02:08Z","updated_at":"2015-12-01T15:05:30Z","closed_at":null,"body":"I'm using Bash 4.3.42(1)-release and just checked out the project.\r\n\r\nTrying to call `./oo.sh` results in:\r\n\r\n```\r\n ✘ UNCAUGHT EXCEPTION: Manually invoked\r\n## 58\r\n    ➦ Cannot import /src/bash-oo-framework/lib/types/base/Var.sh [06_system.sh:53]\r\n    ✘ [ ! -e \"$libPath\" ] && throw \"Cannot import $libPath\" && return 1 [06_system.sh:53]\r\n## 1\r\n       import Var [Array.sh:1]\r\n## 19\r\n          ➦ source \"$libPath\" || throw \"Unable to load $libPath\" [06_system.sh:19]\r\n## 66\r\n             ➦ System.LoadFile \"$file\" [06_system.sh:66]\r\n## 9\r\n                ➦ System.Import [oo.sh:4]\r\n                ✘ import lib/types/base [oo.sh:4]\r\n\r\n ⚡ Press [CTRL+C] to exit or [Return] to continue execution.\r\n\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/niieani/bash-oo-framework/issues/comments/160994186","html_url":"https://github.com/niieani/bash-oo-framework/issues/7#issuecomment-160994186","issue_url":"https://api.github.com/repos/niieani/bash-oo-framework/issues/7","id":160994186,"user":{"login":"niieani","id":563469,"avatar_url":"https://avatars.githubusercontent.com/u/563469?v=3","gravatar_id":"","url":"https://api.github.com/users/niieani","html_url":"https://github.com/niieani","followers_url":"https://api.github.com/users/niieani/followers","following_url":"https://api.github.com/users/niieani/following{/other_user}","gists_url":"https://api.github.com/users/niieani/gists{/gist_id}","starred_url":"https://api.github.com/users/niieani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niieani/subscriptions","organizations_url":"https://api.github.com/users/niieani/orgs","repos_url":"https://api.github.com/users/niieani/repos","events_url":"https://api.github.com/users/niieani/events{/privacy}","received_events_url":"https://api.github.com/users/niieani/received_events","type":"User","site_admin":false},"created_at":"2015-12-01T15:05:30Z","updated_at":"2015-12-01T15:05:30Z","body":"Is the cloned bash-oo-framework in /src/bash-oo-framework? If so, do you have permissions to all the cloned files (i.e. if you cloned as root / sudo, are you running as root / sudo?). "}}