{"action":"created","issue":{"url":"https://api.github.com/repos/jonfroehlich/makeabilitylabwebsite/issues/558","repository_url":"https://api.github.com/repos/jonfroehlich/makeabilitylabwebsite","labels_url":"https://api.github.com/repos/jonfroehlich/makeabilitylabwebsite/issues/558/labels{/name}","comments_url":"https://api.github.com/repos/jonfroehlich/makeabilitylabwebsite/issues/558/comments","events_url":"https://api.github.com/repos/jonfroehlich/makeabilitylabwebsite/issues/558/events","html_url":"https://github.com/jonfroehlich/makeabilitylabwebsite/issues/558","id":350185226,"node_id":"MDU6SXNzdWUzNTAxODUyMjY=","number":558,"title":"Running importpubs throws FileNotFoundError","user":{"login":"jonfroehlich","id":1621749,"node_id":"MDQ6VXNlcjE2MjE3NDk=","avatar_url":"https://avatars1.githubusercontent.com/u/1621749?v=4","gravatar_id":"","url":"https://api.github.com/users/jonfroehlich","html_url":"https://github.com/jonfroehlich","followers_url":"https://api.github.com/users/jonfroehlich/followers","following_url":"https://api.github.com/users/jonfroehlich/following{/other_user}","gists_url":"https://api.github.com/users/jonfroehlich/gists{/gist_id}","starred_url":"https://api.github.com/users/jonfroehlich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonfroehlich/subscriptions","organizations_url":"https://api.github.com/users/jonfroehlich/orgs","repos_url":"https://api.github.com/users/jonfroehlich/repos","events_url":"https://api.github.com/users/jonfroehlich/events{/privacy}","received_events_url":"https://api.github.com/users/jonfroehlich/received_events","type":"User","site_admin":false},"labels":[{"id":361418543,"node_id":"MDU6TGFiZWwzNjE0MTg1NDM=","url":"https://api.github.com/repos/jonfroehlich/makeabilitylabwebsite/labels/Priority:%20Very%20High","name":"Priority: Very High","color":"b60205","default":false},{"id":780844531,"node_id":"MDU6TGFiZWw3ODA4NDQ1MzE=","url":"https://api.github.com/repos/jonfroehlich/makeabilitylabwebsite/labels/Publications%20Page","name":"Publications Page","color":"f7410e","default":false},{"id":1079880912,"node_id":"MDU6TGFiZWwxMDc5ODgwOTEy","url":"https://api.github.com/repos/jonfroehlich/makeabilitylabwebsite/labels/importing-data","name":"importing-data","color":"c5def5","default":false}],"state":"open","locked":false,"assignee":{"login":"johnsonkuang","id":32982812,"node_id":"MDQ6VXNlcjMyOTgyODEy","avatar_url":"https://avatars0.githubusercontent.com/u/32982812?v=4","gravatar_id":"","url":"https://api.github.com/users/johnsonkuang","html_url":"https://github.com/johnsonkuang","followers_url":"https://api.github.com/users/johnsonkuang/followers","following_url":"https://api.github.com/users/johnsonkuang/following{/other_user}","gists_url":"https://api.github.com/users/johnsonkuang/gists{/gist_id}","starred_url":"https://api.github.com/users/johnsonkuang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnsonkuang/subscriptions","organizations_url":"https://api.github.com/users/johnsonkuang/orgs","repos_url":"https://api.github.com/users/johnsonkuang/repos","events_url":"https://api.github.com/users/johnsonkuang/events{/privacy}","received_events_url":"https://api.github.com/users/johnsonkuang/received_events","type":"User","site_admin":false},"assignees":[{"login":"johnsonkuang","id":32982812,"node_id":"MDQ6VXNlcjMyOTgyODEy","avatar_url":"https://avatars0.githubusercontent.com/u/32982812?v=4","gravatar_id":"","url":"https://api.github.com/users/johnsonkuang","html_url":"https://github.com/johnsonkuang","followers_url":"https://api.github.com/users/johnsonkuang/followers","following_url":"https://api.github.com/users/johnsonkuang/following{/other_user}","gists_url":"https://api.github.com/users/johnsonkuang/gists{/gist_id}","starred_url":"https://api.github.com/users/johnsonkuang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnsonkuang/subscriptions","organizations_url":"https://api.github.com/users/johnsonkuang/orgs","repos_url":"https://api.github.com/users/johnsonkuang/repos","events_url":"https://api.github.com/users/johnsonkuang/events{/privacy}","received_events_url":"https://api.github.com/users/johnsonkuang/received_events","type":"User","site_admin":false}],"milestone":null,"comments":10,"created_at":"2018-08-13T20:39:03Z","updated_at":"2018-12-27T18:55:01Z","closed_at":null,"author_association":"OWNER","body":"I was able to get importpubs to work before but now I cannot. The error thrown is:\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"manage.py\", line 10, in <module>\r\n    execute_from_command_line(sys.argv)\r\n  File \"/usr/local/lib/python3.6/site-packages/django/core/management/__init__.py\", line 371, in execute_from_command_line\r\n    utility.execute()\r\n  File \"/usr/local/lib/python3.6/site-packages/django/core/management/__init__.py\", line 365, in execute\r\n    self.fetch_command(subcommand).run_from_argv(self.argv)\r\n  File \"/usr/local/lib/python3.6/site-packages/django/core/management/base.py\", line 288, in run_from_argv\r\n    self.execute(*args, **cmd_options)\r\n  File \"/usr/local/lib/python3.6/site-packages/django/core/management/base.py\", line 335, in execute\r\n    output = self.handle(*args, **options)\r\n  File \"/code/website/management/commands/importpubs.py\", line 188, in handle\r\n    self.loadDatabase(bibtex_str)\r\n  File \"/code/website/management/commands/importpubs.py\", line 339, in loadDatabase\r\n    author_obj_list = get_authors(author_str_list)\r\n  File \"/code/website/management/commands/importpubs.py\", line 63, in get_authors\r\n    starwars = get_random_starwars(direc)\r\n  File \"/code/website/management/commands/importpubs.py\", line 48, in get_random_starwars\r\n    images = [f for f in os.listdir(direc) if isimage(f)]\r\nFileNotFoundError: [Errno 2] No such file or directory: 'import/images/StarWarsFiguresFullSquare/Rebels/'\r\n```"},"comment":{"url":"https://api.github.com/repos/jonfroehlich/makeabilitylabwebsite/issues/comments/450209822","html_url":"https://github.com/jonfroehlich/makeabilitylabwebsite/issues/558#issuecomment-450209822","issue_url":"https://api.github.com/repos/jonfroehlich/makeabilitylabwebsite/issues/558","id":450209822,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MDIwOTgyMg==","user":{"login":"jonfroehlich","id":1621749,"node_id":"MDQ6VXNlcjE2MjE3NDk=","avatar_url":"https://avatars1.githubusercontent.com/u/1621749?v=4","gravatar_id":"","url":"https://api.github.com/users/jonfroehlich","html_url":"https://github.com/jonfroehlich","followers_url":"https://api.github.com/users/jonfroehlich/followers","following_url":"https://api.github.com/users/jonfroehlich/following{/other_user}","gists_url":"https://api.github.com/users/jonfroehlich/gists{/gist_id}","starred_url":"https://api.github.com/users/jonfroehlich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonfroehlich/subscriptions","organizations_url":"https://api.github.com/users/jonfroehlich/orgs","repos_url":"https://api.github.com/users/jonfroehlich/repos","events_url":"https://api.github.com/users/jonfroehlich/events{/privacy}","received_events_url":"https://api.github.com/users/jonfroehlich/received_events","type":"User","site_admin":false},"created_at":"2018-12-27T18:55:01Z","updated_at":"2018-12-27T18:55:01Z","author_association":"OWNER","body":"I've also updated the priority level to 'Very High' for this Issue in general as we will have a set of new students working on the ML website in Winter'19 and getting this to work will greatly assist in setting up local dev environments."}}
{"actor":{"display_login":"jonfroehlich"}}