{"action":"created","issue":{"url":"https://api.github.com/repos/makinacorpus/Geotrek/issues/1578","repository_url":"https://api.github.com/repos/makinacorpus/Geotrek","labels_url":"https://api.github.com/repos/makinacorpus/Geotrek/issues/1578/labels{/name}","comments_url":"https://api.github.com/repos/makinacorpus/Geotrek/issues/1578/comments","events_url":"https://api.github.com/repos/makinacorpus/Geotrek/issues/1578/events","html_url":"https://github.com/makinacorpus/Geotrek/issues/1578","id":131491607,"number":1578,"title":"2.8.1 - Error during PDF generation / Ref points","user":{"login":"camillemonchicourt","id":4418840,"avatar_url":"https://avatars.githubusercontent.com/u/4418840?v=3","gravatar_id":"","url":"https://api.github.com/users/camillemonchicourt","html_url":"https://github.com/camillemonchicourt","followers_url":"https://api.github.com/users/camillemonchicourt/followers","following_url":"https://api.github.com/users/camillemonchicourt/following{/other_user}","gists_url":"https://api.github.com/users/camillemonchicourt/gists{/gist_id}","starred_url":"https://api.github.com/users/camillemonchicourt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/camillemonchicourt/subscriptions","organizations_url":"https://api.github.com/users/camillemonchicourt/orgs","repos_url":"https://api.github.com/users/camillemonchicourt/repos","events_url":"https://api.github.com/users/camillemonchicourt/events{/privacy}","received_events_url":"https://api.github.com/users/camillemonchicourt/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/makinacorpus/Geotrek/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-02-04T22:26:31Z","updated_at":"2016-02-16T10:16:56Z","closed_at":null,"body":"Got a few errors like these when generation PDF files. Seems to be because he can't find info desk ? \r\n\r\nen api/en/treks/921158/tour-of-vieux-chaillol-stage-1-out-of-5.pdf ...ERROR 2016-02-04 23:16:41,450 mapentity.helpers Request on http://127.0.0.1:8001/?url=http%3A//XX.XX.XXX.XXX//trek/921158/%3Flang%3Den%26context%3D%257B%2522print%2522%253A%2520true%252C%2520%2522mapsize%2522%253A%2520%257B%2522width%2522%253A%2520800%252C%2520%2522height%2522%253A%2520624.113475177305%257D%257D&selector=.map-panel&waitfor=.poi_enum_loaded.services_loaded.info_desks_loaded.ref_points_loaded returned empty content\r\nTraceback (most recent call last):\r\n  File \"/home/sentiers/Geotrek/lib/eggs/mapentity-2.7.1-py2.7.egg/mapentity/helpers.py\", line 154, in download_to_stream\r\n    assert len(source.content) > 0, content_error\r\nAssertionError: Request on http://127.0.0.1:8001/?url=http%3A//XX.XX.XXX.XXX/trek/921158/%3Flang%3Den%26context%3D%257B%2522print%2522%253A%2520true%252C%2520%2522mapsize%2522%253A%2520%257B%2522width%2522%253A%2520800%252C%2520%2522height%2522%253A%2520624.113475177305%257D%257D&selector=.map-panel&waitfor=.poi_enum_loaded.services_loaded.info_desks_loaded.ref_points_loaded returned empty content\r\nfailed (Request on http://127.0.0.1:8001/?url=http%3A//XX.XX.XXX.XXX//trek/921158/%3Flang%3Den%26context%3D%257B%2522print%2522%253A%2520true%252C%2520%2522mapsize%2522%253A%2520%257B%2522width%2522%253A%2520800%252C%2520%2522height%2522%253A%2520624.113475177305%257D%257D&selector=.map-panel&waitfor=.poi_enum_loaded.services_loaded.info_desks_loaded.ref_points_loaded returned empty content)\r\n"},"comment":{"url":"https://api.github.com/repos/makinacorpus/Geotrek/issues/comments/184610072","html_url":"https://github.com/makinacorpus/Geotrek/issues/1578#issuecomment-184610072","issue_url":"https://api.github.com/repos/makinacorpus/Geotrek/issues/1578","id":184610072,"user":{"login":"gutard","id":1081106,"avatar_url":"https://avatars.githubusercontent.com/u/1081106?v=3","gravatar_id":"","url":"https://api.github.com/users/gutard","html_url":"https://github.com/gutard","followers_url":"https://api.github.com/users/gutard/followers","following_url":"https://api.github.com/users/gutard/following{/other_user}","gists_url":"https://api.github.com/users/gutard/gists{/gist_id}","starred_url":"https://api.github.com/users/gutard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gutard/subscriptions","organizations_url":"https://api.github.com/users/gutard/orgs","repos_url":"https://api.github.com/users/gutard/repos","events_url":"https://api.github.com/users/gutard/events{/privacy}","received_events_url":"https://api.github.com/users/gutard/received_events","type":"User","site_admin":false},"created_at":"2016-02-16T10:16:56Z","updated_at":"2016-02-16T10:16:56Z","body":"The only bug I know related to this is #1579 but it does not arise during a synchronization because the only published content is synchronized."}}