{"action":"created","issue":{"url":"https://api.github.com/repos/tritonas00/system-tar-and-restore/issues/5","repository_url":"https://api.github.com/repos/tritonas00/system-tar-and-restore","labels_url":"https://api.github.com/repos/tritonas00/system-tar-and-restore/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/tritonas00/system-tar-and-restore/issues/5/comments","events_url":"https://api.github.com/repos/tritonas00/system-tar-and-restore/issues/5/events","html_url":"https://github.com/tritonas00/system-tar-and-restore/issues/5","id":190546351,"number":5,"title":"Ubuntu 16.04: GUI wrapper can't find functions","user":{"login":"lolo120916","id":22134240,"avatar_url":"https://avatars.githubusercontent.com/u/22134240?v=3","gravatar_id":"","url":"https://api.github.com/users/lolo120916","html_url":"https://github.com/lolo120916","followers_url":"https://api.github.com/users/lolo120916/followers","following_url":"https://api.github.com/users/lolo120916/following{/other_user}","gists_url":"https://api.github.com/users/lolo120916/gists{/gist_id}","starred_url":"https://api.github.com/users/lolo120916/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lolo120916/subscriptions","organizations_url":"https://api.github.com/users/lolo120916/orgs","repos_url":"https://api.github.com/users/lolo120916/repos","events_url":"https://api.github.com/users/lolo120916/events{/privacy}","received_events_url":"https://api.github.com/users/lolo120916/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-11-20T08:31:52Z","updated_at":"2016-11-21T20:08:27Z","closed_at":null,"body":"OS: Ubuntu 16.04.1 Arch: Amd64 gtkdialog: 0.8.3\r\n\r\nGtkdialog windows can't call functions exported by star-gui.sh (scan_disks hide_used_parts set_default_pass set_default_opts set_default_multi set_args status_bar run_main).\r\n\r\nOne solution, as reported by the developer of multisystem (https://forum.ubuntu-fr.org/viewtopic.php?id=1987488), consists in putting functions in a separate script that can be sourced by gtkdialog at every function call. This does work.\r\n\r\nThis problem seems related specifically to Ubuntu 16.04. As I am not a shell expert, I have no clue about where it steams from.\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/tritonas00/system-tar-and-restore/issues/comments/262052208","html_url":"https://github.com/tritonas00/system-tar-and-restore/issues/5#issuecomment-262052208","issue_url":"https://api.github.com/repos/tritonas00/system-tar-and-restore/issues/5","id":262052208,"user":{"login":"lolo120916","id":22134240,"avatar_url":"https://avatars.githubusercontent.com/u/22134240?v=3","gravatar_id":"","url":"https://api.github.com/users/lolo120916","html_url":"https://github.com/lolo120916","followers_url":"https://api.github.com/users/lolo120916/followers","following_url":"https://api.github.com/users/lolo120916/following{/other_user}","gists_url":"https://api.github.com/users/lolo120916/gists{/gist_id}","starred_url":"https://api.github.com/users/lolo120916/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lolo120916/subscriptions","organizations_url":"https://api.github.com/users/lolo120916/orgs","repos_url":"https://api.github.com/users/lolo120916/repos","events_url":"https://api.github.com/users/lolo120916/events{/privacy}","received_events_url":"https://api.github.com/users/lolo120916/received_events","type":"User","site_admin":false},"created_at":"2016-11-21T20:08:27Z","updated_at":"2016-11-21T20:08:27Z","body":"Thanks for your answer and having taken the time to characterize the origin of the problem. \r\nChanging the default shell impacts system scripts speed. So I won't touch it. As you stated, there is no clean solution. So, I will live with the solution of moving the functions in a separate script, which works.\r\n\r\nMany thanks for your very useful backup/restore scripts, and also very valuable as advanced shell scripting examples. Best regards."}}
{"actor":{"display_login":"lolo120916"}}