{"action":"created","issue":{"url":"https://api.github.com/repos/iiab/iiab/issues/1830","repository_url":"https://api.github.com/repos/iiab/iiab","labels_url":"https://api.github.com/repos/iiab/iiab/issues/1830/labels{/name}","comments_url":"https://api.github.com/repos/iiab/iiab/issues/1830/comments","events_url":"https://api.github.com/repos/iiab/iiab/issues/1830/events","html_url":"https://github.com/iiab/iiab/issues/1830","id":464929462,"node_id":"MDU6SXNzdWU0NjQ5Mjk0NjI=","number":1830,"title":"Lokole admin user \"settings\" page does not work","user":{"login":"m-anish","id":5288668,"node_id":"MDQ6VXNlcjUyODg2Njg=","avatar_url":"https://avatars3.githubusercontent.com/u/5288668?v=4","gravatar_id":"","url":"https://api.github.com/users/m-anish","html_url":"https://github.com/m-anish","followers_url":"https://api.github.com/users/m-anish/followers","following_url":"https://api.github.com/users/m-anish/following{/other_user}","gists_url":"https://api.github.com/users/m-anish/gists{/gist_id}","starred_url":"https://api.github.com/users/m-anish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/m-anish/subscriptions","organizations_url":"https://api.github.com/users/m-anish/orgs","repos_url":"https://api.github.com/users/m-anish/repos","events_url":"https://api.github.com/users/m-anish/events{/privacy}","received_events_url":"https://api.github.com/users/m-anish/received_events","type":"User","site_admin":false},"labels":[{"id":614833248,"node_id":"MDU6TGFiZWw2MTQ4MzMyNDg=","url":"https://api.github.com/repos/iiab/iiab/labels/bug","name":"bug","color":"ee0701","default":true},{"id":614833253,"node_id":"MDU6TGFiZWw2MTQ4MzMyNTM=","url":"https://api.github.com/repos/iiab/iiab/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/iiab/iiab/milestones/5","html_url":"https://github.com/iiab/iiab/milestone/5","labels_url":"https://api.github.com/repos/iiab/iiab/milestones/5/labels","id":3460349,"node_id":"MDk6TWlsZXN0b25lMzQ2MDM0OQ==","number":5,"title":"7.0","description":"<a href=https://github.com/iiab/iiab/wiki/IIAB-7.0-Release-Notes>Internet-in-a-Box (IIAB) 7.0</a> will build on <a href=https://github.com/iiab/iiab/wiki/IIAB-6.7-Release-Notes>IIAB 6.7</a>. Expected in mid-2019, in service of DIY digital libraries everywhere &mdash; <i><a href=https://github.com/iiab/iiab/wiki/IIAB-6.7-Release-Notes#what-might-future-versions-bring>possibly adding many new things</a> (: </i>  Consider installing an <a href=http://download.iiab.io/>IIAB 7.0 pre-release</a> today! :100:","creator":{"login":"holta","id":2458907,"node_id":"MDQ6VXNlcjI0NTg5MDc=","avatar_url":"https://avatars1.githubusercontent.com/u/2458907?v=4","gravatar_id":"","url":"https://api.github.com/users/holta","html_url":"https://github.com/holta","followers_url":"https://api.github.com/users/holta/followers","following_url":"https://api.github.com/users/holta/following{/other_user}","gists_url":"https://api.github.com/users/holta/gists{/gist_id}","starred_url":"https://api.github.com/users/holta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/holta/subscriptions","organizations_url":"https://api.github.com/users/holta/orgs","repos_url":"https://api.github.com/users/holta/repos","events_url":"https://api.github.com/users/holta/events{/privacy}","received_events_url":"https://api.github.com/users/holta/received_events","type":"User","site_admin":false},"open_issues":31,"closed_issues":252,"state":"open","created_at":"2018-06-28T17:20:42Z","updated_at":"2019-07-08T02:44:59Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2019-07-07T08:43:05Z","updated_at":"2019-07-08T05:52:05Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"### Expected behavior and actual behavior.\r\n\r\nAdmin settings page for lokole does not work. \r\n\r\n### Steps to reproduce the problem.\r\n\r\n* Install `lokole` as part of IIAB install\r\n* Login as administrator with Admin/changeme\r\n* Access the Settings tab\r\n* You get `Unexpected error. Please contact your administrator. ` message\r\n* Output of systemctl status lokole is below\r\n```\r\n\r\n● lokole.service - Provides the Lokole Server\r\n   Loaded: loaded (/etc/systemd/system/lokole.service; enabled; vendor preset: enabled)\r\n   Active: active (running) since Sat 2019-07-06 13:40:11 IST; 24h ago\r\n Main PID: 1144 (bash)\r\n    Tasks: 6 (limit: 4915)\r\n   CGroup: /system.slice/lokole.service\r\n           ├─1144 /bin/bash /home/lokole/state/webapp.sh\r\n           ├─1202 /library/lokole/venv/bin/python3 /library/lokole/venv/bin/gunicorn --timeout=300 --workers=4 --bind=unix:/home/lokole/state/lokole_gunicorn.sock --log-level=error opwen_email_client.webapp:app\r\n           ├─2020 /library/lokole/venv/bin/python3 /library/lokole/venv/bin/gunicorn --timeout=300 --workers=4 --bind=unix:/home/lokole/state/lokole_gunicorn.sock --log-level=error opwen_email_client.webapp:app\r\n           ├─2034 /library/lokole/venv/bin/python3 /library/lokole/venv/bin/gunicorn --timeout=300 --workers=4 --bind=unix:/home/lokole/state/lokole_gunicorn.sock --log-level=error opwen_email_client.webapp:app\r\n           ├─2042 /library/lokole/venv/bin/python3 /library/lokole/venv/bin/gunicorn --timeout=300 --workers=4 --bind=unix:/home/lokole/state/lokole_gunicorn.sock --log-level=error opwen_email_client.webapp:app\r\n           └─2155 /library/lokole/venv/bin/python3 /library/lokole/venv/bin/gunicorn --timeout=300 --workers=4 --bind=unix:/home/lokole/state/lokole_gunicorn.sock --log-level=error opwen_email_client.webapp:app\r\n\r\nJul 06 13:40:11 box systemd[1]: Started Provides the Lokole Server.\r\nJul 07 14:05:19 box bash[1144]: [2019-07-07 14:05:19 +0530] [2020] [ERROR] TypeError: expected str, bytes or os.PathLike object, not NoneType\r\nJul 07 14:05:24 box bash[1144]: [2019-07-07 14:05:24 +0530] [2042] [ERROR] TypeError: expected str, bytes or os.PathLike object, not NoneType\r\nJul 07 14:05:52 box bash[1144]: [2019-07-07 14:05:52 +0530] [2042] [ERROR] TypeError: expected str, bytes or os.PathLike object, not NoneType\r\nJul 07 14:06:03 box bash[1144]: [2019-07-07 14:06:03 +0530] [2034] [ERROR] TypeError: expected str, bytes or os.PathLike object, not NoneType\r\n\r\n```\r\n\r\n### Specifications like the version of the IIAB, operating system version, or hardware details.\r\n\r\nUbuntu 18.04.2 LTS, IIAB from Master branch, Intel NUC hardware, Gateway mode"},"comment":{"url":"https://api.github.com/repos/iiab/iiab/issues/comments/509088360","html_url":"https://github.com/iiab/iiab/issues/1830#issuecomment-509088360","issue_url":"https://api.github.com/repos/iiab/iiab/issues/1830","id":509088360,"node_id":"MDEyOklzc3VlQ29tbWVudDUwOTA4ODM2MA==","user":{"login":"aidan-fitz","id":2768977,"node_id":"MDQ6VXNlcjI3Njg5Nzc=","avatar_url":"https://avatars3.githubusercontent.com/u/2768977?v=4","gravatar_id":"","url":"https://api.github.com/users/aidan-fitz","html_url":"https://github.com/aidan-fitz","followers_url":"https://api.github.com/users/aidan-fitz/followers","following_url":"https://api.github.com/users/aidan-fitz/following{/other_user}","gists_url":"https://api.github.com/users/aidan-fitz/gists{/gist_id}","starred_url":"https://api.github.com/users/aidan-fitz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aidan-fitz/subscriptions","organizations_url":"https://api.github.com/users/aidan-fitz/orgs","repos_url":"https://api.github.com/users/aidan-fitz/repos","events_url":"https://api.github.com/users/aidan-fitz/events{/privacy}","received_events_url":"https://api.github.com/users/aidan-fitz/received_events","type":"User","site_admin":false},"created_at":"2019-07-08T05:52:05Z","updated_at":"2019-07-08T05:52:05Z","author_association":"CONTRIBUTOR","body":"Okay, I could not reproduce the bug in the standalone version of Lokole, but I do see it in Lokole with IIAB. Doing a `git bisect` to find the commit where the bug first occurs."}}
{"actor":{"display_login":"aidan-fitz"}}