{"action":"closed","issue":{"url":"https://api.github.com/repos/fieldtrip/fieldtrip/issues/727","repository_url":"https://api.github.com/repos/fieldtrip/fieldtrip","labels_url":"https://api.github.com/repos/fieldtrip/fieldtrip/issues/727/labels{/name}","comments_url":"https://api.github.com/repos/fieldtrip/fieldtrip/issues/727/comments","events_url":"https://api.github.com/repos/fieldtrip/fieldtrip/issues/727/events","html_url":"https://github.com/fieldtrip/fieldtrip/issues/727","id":333057012,"node_id":"MDU6SXNzdWUzMzMwNTcwMTI=","number":727,"title":"new \"isfolder\" function not found when using Octave","user":{"login":"nno","id":1453927,"node_id":"MDQ6VXNlcjE0NTM5Mjc=","avatar_url":"https://avatars1.githubusercontent.com/u/1453927?v=4","gravatar_id":"","url":"https://api.github.com/users/nno","html_url":"https://github.com/nno","followers_url":"https://api.github.com/users/nno/followers","following_url":"https://api.github.com/users/nno/following{/other_user}","gists_url":"https://api.github.com/users/nno/gists{/gist_id}","starred_url":"https://api.github.com/users/nno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nno/subscriptions","organizations_url":"https://api.github.com/users/nno/orgs","repos_url":"https://api.github.com/users/nno/repos","events_url":"https://api.github.com/users/nno/events{/privacy}","received_events_url":"https://api.github.com/users/nno/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-06-17T11:53:36Z","updated_at":"2018-08-20T06:56:59Z","closed_at":"2018-08-20T06:56:59Z","author_association":"CONTRIBUTOR","body":"When using Octave, running ``ft_version`` gives an error:\r\n```\r\nft_version\r\nerror: 'isfolder' undefined near line 66 column 11\r\nerror: called from\r\n    ft_version at line 66 column 9\r\n```\r\nThis is the case even after running ``ft_defaults`` was run. Can it be that ft_defaults does not properly add the required directories from ``compat/`` to the search path when using Octave? \r\n\r\nSee also https://travis-ci.org/nno/fieldtrip/jobs/393283620 with relevant snippet:\r\n```\r\nThe command \"TEST_TEST_CMD=\"ft_defaults;[unused,ft_path]=ft_version();mo_ft_path=fullfile(ft_path,'contrib','MOxUnit_fieldtrip');addpath(mo_ft_path);success=moxunit_runtests(fullfile(mo_ft_path,'tests'));exit(~success);\";\" exited with 0.\r\n0.64s$ octave --eval \"${TEST_TEST_CMD}\"\r\noctave: X11 DISPLAY environment variable not set\r\noctave: disabling GUI features\r\nwarning: FieldTrip is not yet on your MATLAB path, adding /home/travis/build/nno/fieldtrip\r\nwarning: called from\r\n    ft_defaults at line 109 column 3\r\nwarning: function /home/travis/build/nno/fieldtrip/external/signal/hanning.m shadows a core library function\r\nwarning: function /home/travis/build/nno/fieldtrip/external/stats/tinv.m shadows a core library function\r\nwarning: function /home/travis/build/nno/fieldtrip/external/stats/tcdf.m shadows a core library function\r\nwarning: function /home/travis/build/nno/fieldtrip/external/stats/finv.m shadows a core library function\r\nwarning: function /home/travis/build/nno/fieldtrip/external/stats/common_size.m shadows a core library function\r\nwarning: function /home/travis/build/nno/fieldtrip/external/stats/betainv.m shadows a core library function\r\nwarning: function /home/travis/build/nno/fieldtrip/external/stats/betapdf.m shadows a core library function\r\nwarning: function /home/travis/build/nno/fieldtrip/external/stats/binocdf.m shadows a core library function\r\nwarning: function /home/travis/build/nno/fieldtrip/external/stats/range.m shadows a core library function\r\nwarning: function /home/travis/build/nno/fieldtrip/external/stats/betacdf.m shadows a core library function\r\nwarning: function /home/travis/build/nno/fieldtrip/external/stats/binopdf.m shadows a core library function\r\nwarning: function /home/travis/build/nno/fieldtrip/external/images/rgb2hsv.m shadows a core library function\r\nerror: 'isfolder' undefined near line 66 column 11\r\n```"}}
{"actor":{"display_login":"robertoostenveld"}}