{"action":"created","issue":{"url":"https://api.github.com/repos/wonder-sk/qgis-tile-server/issues/1","labels_url":"https://api.github.com/repos/wonder-sk/qgis-tile-server/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/wonder-sk/qgis-tile-server/issues/1/comments","events_url":"https://api.github.com/repos/wonder-sk/qgis-tile-server/issues/1/events","html_url":"https://github.com/wonder-sk/qgis-tile-server/issues/1","id":128011884,"number":1,"title":"No layers in my project","user":{"login":"Gustry","id":1609292,"avatar_url":"https://avatars.githubusercontent.com/u/1609292?v=3","gravatar_id":"","url":"https://api.github.com/users/Gustry","html_url":"https://github.com/Gustry","followers_url":"https://api.github.com/users/Gustry/followers","following_url":"https://api.github.com/users/Gustry/following{/other_user}","gists_url":"https://api.github.com/users/Gustry/gists{/gist_id}","starred_url":"https://api.github.com/users/Gustry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gustry/subscriptions","organizations_url":"https://api.github.com/users/Gustry/orgs","repos_url":"https://api.github.com/users/Gustry/repos","events_url":"https://api.github.com/users/Gustry/events{/privacy}","received_events_url":"https://api.github.com/users/Gustry/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-21T20:25:04Z","updated_at":"2016-01-22T00:45:09Z","closed_at":null,"body":"I'm trying to use this script but I get only grey tiles in my web browser.\r\nSo I tried to debug a little, I've added these lines to check if the script loads my project correctly : \r\n```\r\nprint os.path.isfile(project_file)\r\nprint QgsProject.instance().read()\r\nprint QgsProject.instance().title()\r\nprint QgsProject.instance().layerTreeRoot().dump()\r\nprint QgsProject.instance().layerTreeRoot().findLayerIds()\r\n```\r\nand unfortunately, I have only : \r\n```\r\nTrue\r\nTrue\r\nMy name\r\nGROUP:  visible=2 expanded=1\r\n[]\r\n```\r\nDo you have an idea why there is no layers ? The title is ok.\r\nWith QGIS desktop, I have 3 vectors layer in this project.\r\n\r\nThanks, regards"},"comment":{"url":"https://api.github.com/repos/wonder-sk/qgis-tile-server/issues/comments/173762930","html_url":"https://github.com/wonder-sk/qgis-tile-server/issues/1#issuecomment-173762930","issue_url":"https://api.github.com/repos/wonder-sk/qgis-tile-server/issues/1","id":173762930,"user":{"login":"wonder-sk","id":193367,"avatar_url":"https://avatars.githubusercontent.com/u/193367?v=3","gravatar_id":"","url":"https://api.github.com/users/wonder-sk","html_url":"https://github.com/wonder-sk","followers_url":"https://api.github.com/users/wonder-sk/followers","following_url":"https://api.github.com/users/wonder-sk/following{/other_user}","gists_url":"https://api.github.com/users/wonder-sk/gists{/gist_id}","starred_url":"https://api.github.com/users/wonder-sk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wonder-sk/subscriptions","organizations_url":"https://api.github.com/users/wonder-sk/orgs","repos_url":"https://api.github.com/users/wonder-sk/repos","events_url":"https://api.github.com/users/wonder-sk/events{/privacy}","received_events_url":"https://api.github.com/users/wonder-sk/received_events","type":"User","site_admin":false},"created_at":"2016-01-22T00:45:09Z","updated_at":"2016-01-22T00:45:09Z","body":"If you could attach some sample data and how you run it, it would be very helpful to find out the problem...."}}