{"action":"created","issue":{"url":"https://api.github.com/repos/wdebeaum/WebParser/issues/4","repository_url":"https://api.github.com/repos/wdebeaum/WebParser","labels_url":"https://api.github.com/repos/wdebeaum/WebParser/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/wdebeaum/WebParser/issues/4/comments","events_url":"https://api.github.com/repos/wdebeaum/WebParser/issues/4/events","html_url":"https://github.com/wdebeaum/WebParser/issues/4","id":212608378,"number":4,"title":"KQML.pm not loading","user":{"login":"dpdoughe","id":23531138,"avatar_url":"https://avatars1.githubusercontent.com/u/23531138?v=3","gravatar_id":"","url":"https://api.github.com/users/dpdoughe","html_url":"https://github.com/dpdoughe","followers_url":"https://api.github.com/users/dpdoughe/followers","following_url":"https://api.github.com/users/dpdoughe/following{/other_user}","gists_url":"https://api.github.com/users/dpdoughe/gists{/gist_id}","starred_url":"https://api.github.com/users/dpdoughe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpdoughe/subscriptions","organizations_url":"https://api.github.com/users/dpdoughe/orgs","repos_url":"https://api.github.com/users/dpdoughe/repos","events_url":"https://api.github.com/users/dpdoughe/events{/privacy}","received_events_url":"https://api.github.com/users/dpdoughe/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-03-08T01:09:49Z","updated_at":"2017-03-08T15:19:45Z","closed_at":"2017-03-08T15:19:45Z","body":"The \r\n`use KQML` \r\n\r\nline in both drum and parse CGI scripts seemed to cause an error due to being unable to load the KQML.pm Perl module in the same folder (cgi).  Adding lines like:\r\n```\r\nrequire './KQML.pm';\r\nKQML->import();\r\n```\r\nat the top of each script seemed to fix the issue.  FYI, I'm running Perl v5.22.1 for x86_64-linux-gnu-thread-multi"},"comment":{"url":"https://api.github.com/repos/wdebeaum/WebParser/issues/comments/285069550","html_url":"https://github.com/wdebeaum/WebParser/issues/4#issuecomment-285069550","issue_url":"https://api.github.com/repos/wdebeaum/WebParser/issues/4","id":285069550,"user":{"login":"wdebeaum","id":13337812,"avatar_url":"https://avatars0.githubusercontent.com/u/13337812?v=3","gravatar_id":"","url":"https://api.github.com/users/wdebeaum","html_url":"https://github.com/wdebeaum","followers_url":"https://api.github.com/users/wdebeaum/followers","following_url":"https://api.github.com/users/wdebeaum/following{/other_user}","gists_url":"https://api.github.com/users/wdebeaum/gists{/gist_id}","starred_url":"https://api.github.com/users/wdebeaum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wdebeaum/subscriptions","organizations_url":"https://api.github.com/users/wdebeaum/orgs","repos_url":"https://api.github.com/users/wdebeaum/repos","events_url":"https://api.github.com/users/wdebeaum/events{/privacy}","received_events_url":"https://api.github.com/users/wdebeaum/received_events","type":"User","site_admin":false},"created_at":"2017-03-08T15:19:45Z","updated_at":"2017-03-08T15:19:45Z","body":"I'm guessing your web server is running the perl CGI scripts in taint mode, which removes `'.'` from `@INC` (among other things), meaning it wouldn't load `KQML` from `./KQML.pm` without the path being explicitly given. I didn't know about removing `'.'`, and had thought our own web servers were also enabling taint mode, but I guess I was mistaken. So I added the `-T` option to the perl shebang lines to explicitly enable taint mode, and for `cgi-kqml-bridge.pl.in` I also added `-I.` to add `'.'` back to `@INC` so it can still `use KQML` normally. Even if taint mode wasn't the issue, `-I.` should still make `use KQML` work for you, so I'm closing the ticket."}}
{"actor":{"display_login":"wdebeaum"}}