{"action":"created","issue":{"url":"https://api.github.com/repos/offenesdresden/ParkAPI/issues/117","repository_url":"https://api.github.com/repos/offenesdresden/ParkAPI","labels_url":"https://api.github.com/repos/offenesdresden/ParkAPI/issues/117/labels{/name}","comments_url":"https://api.github.com/repos/offenesdresden/ParkAPI/issues/117/comments","events_url":"https://api.github.com/repos/offenesdresden/ParkAPI/issues/117/events","html_url":"https://github.com/offenesdresden/ParkAPI/issues/117","id":154916819,"number":117,"title":"PgSQL connection fails","user":{"login":"henningvs","id":5406293,"avatar_url":"https://avatars.githubusercontent.com/u/5406293?v=3","gravatar_id":"","url":"https://api.github.com/users/henningvs","html_url":"https://github.com/henningvs","followers_url":"https://api.github.com/users/henningvs/followers","following_url":"https://api.github.com/users/henningvs/following{/other_user}","gists_url":"https://api.github.com/users/henningvs/gists{/gist_id}","starred_url":"https://api.github.com/users/henningvs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henningvs/subscriptions","organizations_url":"https://api.github.com/users/henningvs/orgs","repos_url":"https://api.github.com/users/henningvs/repos","events_url":"https://api.github.com/users/henningvs/events{/privacy}","received_events_url":"https://api.github.com/users/henningvs/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-15T16:25:30Z","updated_at":"2016-05-15T16:56:12Z","closed_at":null,"body":"When calling `bin/parkapi-server` the following error occurs:\r\n\r\n```\r\n(venv) hvonsee@UX51VZH:~/Quellcode/Github/ParkAPI$ bin/parkapi-server Traceback (most recent call last):\r\n  File \"bin/parkapi-server\", line 6, in <module>\r\n    main()\r\n  File \"/home/hvonsee/Quellcode/Github/ParkAPI/park_api/server.py\", line 23, in main\r\n    db.setup()\r\n  File \"/home/hvonsee/Quellcode/Github/ParkAPI/park_api/db.py\", line 17, in setup\r\n    port=u.port)\r\n  File \"/home/hvonsee/Quellcode/Github/ParkAPI/venv/lib/python3.5/site-packages/psycopg2/pool.py\", line 156, in __init__\r\n    self, minconn, maxconn, *args, **kwargs)\r\n  File \"/home/hvonsee/Quellcode/Github/ParkAPI/venv/lib/python3.5/site-packages/psycopg2/pool.py\", line 58, in __init__\r\n    self._connect()\r\n  File \"/home/hvonsee/Quellcode/Github/ParkAPI/venv/lib/python3.5/site-packages/psycopg2/pool.py\", line 62, in _connect\r\n    conn = psycopg2.connect(*self._args, **self._kwargs)\r\n  File \"/home/hvonsee/Quellcode/Github/ParkAPI/venv/lib/python3.5/site-packages/psycopg2/__init__.py\", line 164, in connect\r\n    conn = _connect(dsn, connection_factory=connection_factory, async=async)\r\npsycopg2.OperationalError: FATAL:  role \"hvonsee\" does not exist\r\n```\r\n\r\nI used the content of `config_travis.ini` for the needed config.ini (as I did not find about what is necessary for the `config.ini`). I previously did all steps listed in the README.\r\nI also checked and the user park_api (which I did not set a password for) is the owner of my local database called park_api."},"comment":{"url":"https://api.github.com/repos/offenesdresden/ParkAPI/issues/comments/219297163","html_url":"https://github.com/offenesdresden/ParkAPI/issues/117#issuecomment-219297163","issue_url":"https://api.github.com/repos/offenesdresden/ParkAPI/issues/117","id":219297163,"user":{"login":"kiliankoe","id":2625584,"avatar_url":"https://avatars.githubusercontent.com/u/2625584?v=3","gravatar_id":"","url":"https://api.github.com/users/kiliankoe","html_url":"https://github.com/kiliankoe","followers_url":"https://api.github.com/users/kiliankoe/followers","following_url":"https://api.github.com/users/kiliankoe/following{/other_user}","gists_url":"https://api.github.com/users/kiliankoe/gists{/gist_id}","starred_url":"https://api.github.com/users/kiliankoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kiliankoe/subscriptions","organizations_url":"https://api.github.com/users/kiliankoe/orgs","repos_url":"https://api.github.com/users/kiliankoe/repos","events_url":"https://api.github.com/users/kiliankoe/events{/privacy}","received_events_url":"https://api.github.com/users/kiliankoe/received_events","type":"User","site_admin":false},"created_at":"2016-05-15T16:56:11Z","updated_at":"2016-05-15T16:56:11Z","body":"It's been a while since I've touched the db connection, @Mic92 do you know what's going on here?\r\n\r\nMy first guess would be that your current user (\"hvonsee\") is not allowed to access the db or unknown to Postgres? But as I said, it's been a while and I'm definitely not sure^^"}}