{"action":"created","issue":{"url":"https://api.github.com/repos/makinacorpus/Geotrek/issues/1331","labels_url":"https://api.github.com/repos/makinacorpus/Geotrek/issues/1331/labels{/name}","comments_url":"https://api.github.com/repos/makinacorpus/Geotrek/issues/1331/comments","events_url":"https://api.github.com/repos/makinacorpus/Geotrek/issues/1331/events","html_url":"https://github.com/makinacorpus/Geotrek/issues/1331","id":50829193,"number":1331,"title":"0.28.4 - Unable to generate maps ?","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"},{"url":"https://api.github.com/repos/makinacorpus/Geotrek/labels/severity:%20fatal","name":"severity: fatal","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2014-12-03T12:05:30Z","updated_at":"2015-09-15T12:49:11Z","closed_at":null,"body":"Je ne sais pas si c'est lié à la 0.28 ?\r\n\r\nJe n'arrive plus rien à synchroniser Geotrek-rando avec Geotrek-admin depuis une petite semaine.\r\nMon répertoire `/home/sentiers/Geotrek/var/media/maps` est vide car j'avais tout supprimé pour voir si ça pouvait régler le problème.\r\nQuand je lance un `MAKE SYNC`, il bloque toujours sur la génération du premier PDF : \r\n\r\n```\r\n/fr/api/trek/trek-903486.pdf ... 504 (Failed)\r\nFailed to retrieve http://XX.XX.XXX.147/api/trek/trek-903486.pdf (code: 504)\r\nFailed!\r\n```\r\n\r\nIl envoie un email : [Geotrek] ERROR: Request on http://127.0.0.1:6543/?url=http%3A//XX.XX.XXX.147/document/print-trek-903486.odt&to=application/pdf failed (status=504)\r\n\r\n```\r\nTraceback (most recent call last):\r\n\r\n  File \"/home/sentiers/Geotrek/lib/eggs/mapentity-1.10.1-py2.7.egg/mapentity/helpers.py\", line 148, in download_to_stream\r\n    assert source.status_code == 200, status_error\r\n\r\nAssertionError: Request on http://127.0.0.1:6543/?url=http%3A//XX.XX.XXX.147/document/print-trek-903486.odt&to=application/pdf failed (status=504)\r\n```\r\n\r\nEt un autre email : [Geotrek] CRITICAL: WORKER TIMEOUT (pid:5815)\r\n\r\nEt il créé un fichier `trek-903486.png` de 0 Ko dans `/home/sentiers/Geotrek/var/media/maps`\r\n\r\nSi j'essaie de lancer la génération des cartes en commande :\r\n\r\n```\r\nxxxx@xxxx:~$ cd Geotrek\r\nxxxx@xxxx:~/Geotrek$ bin/django prepare_map_images --url=http://XX.XX.XXX.147 \r\n```\r\n\r\nIl créé un premier fichier `path-2758.png` de 0 Ko dans `/home/sentiers/Geotrek/var/media/maps`\r\n\r\nDans Putty, il reste sur : \r\n\r\n```\r\nINFO 2014-12-03 12:51:32,380 mapentity Generate map images for model <class 'geotrek.core.models.Path'>\r\nINFO 2014-12-03 12:51:32,475 mapentity.helpers Request to: http://127.0.0.1:8001/?url=http%3A//XX.XX.XXX.147/path/2758/%3Fcontext%3D%257B%2522print%2522%253A%2520true%252C%2520%2522mapsize%2522%253A%2520%257B%2522width%2522%253A%2520555.0078388920704%252C%2520%2522height%2522%253A%2520800%257D%257D&selector=.map-panel&waitfor=.leaflet-tile-loaded\r\nINFO 2014-12-03 12:51:32,488 requests.packages.urllib3.connectionpool Starting new HTTP connection (1): 127.0.0.1\r\n```\r\n\r\nMême depuis Geotrek-admin, impossible d'exporter quelconque fiche car il arrive pas à générer les images des cartes.\r\nUn aménagement par exemple.\r\nMon répertoire `/home/sentiers/Geotrek/var/media/maps` est vide. Il créé un fichier de 0 ko (exemple `infrastructure-920082.png`) quand je demande un export. "},"comment":{"url":"https://api.github.com/repos/makinacorpus/Geotrek/issues/comments/140378236","html_url":"https://github.com/makinacorpus/Geotrek/issues/1331#issuecomment-140378236","issue_url":"https://api.github.com/repos/makinacorpus/Geotrek/issues/1331","id":140378236,"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},"created_at":"2015-09-15T12:49:11Z","updated_at":"2015-09-15T12:49:11Z","body":"Fixed ?"}}