{"action":"created","issue":{"url":"https://api.github.com/repos/Kozea/pygal/issues/294","labels_url":"https://api.github.com/repos/Kozea/pygal/issues/294/labels{/name}","comments_url":"https://api.github.com/repos/Kozea/pygal/issues/294/comments","events_url":"https://api.github.com/repos/Kozea/pygal/issues/294/events","html_url":"https://github.com/Kozea/pygal/issues/294","id":127109483,"number":294,"title":"2.1.0 cause apache mod_wsgi infinite loop during import","user":{"login":"razerraz","id":12051205,"avatar_url":"https://avatars.githubusercontent.com/u/12051205?v=3","gravatar_id":"","url":"https://api.github.com/users/razerraz","html_url":"https://github.com/razerraz","followers_url":"https://api.github.com/users/razerraz/followers","following_url":"https://api.github.com/users/razerraz/following{/other_user}","gists_url":"https://api.github.com/users/razerraz/gists{/gist_id}","starred_url":"https://api.github.com/users/razerraz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/razerraz/subscriptions","organizations_url":"https://api.github.com/users/razerraz/orgs","repos_url":"https://api.github.com/users/razerraz/repos","events_url":"https://api.github.com/users/razerraz/events{/privacy}","received_events_url":"https://api.github.com/users/razerraz/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2016-01-17T17:21:49Z","updated_at":"2016-01-18T20:47:01Z","closed_at":"2016-01-18T19:38:28Z","body":"I regret to have nothing to show as debug trace, simply because my system give me nothing except a gateway timeout even with debug mode everywhere...\r\n\r\nThe only thing I have after 7 hours lost investigating why my django project was not working anymore after system upgrate are symptoms for conditions below :\r\nI run a django instance via apache mod_wsgi, calling somewhere a \"view\" (django term) with import pygal in there, nothing else. The host is ARMv7 beaglebone running archlinux.\r\nThe thing is working fine with pygal 2.0.12, failing with 2.1.0 with absolutly no logs and exception running import command. State seems to be something looping indefinitly until timeout is reached by apache caller process\r\nThe thing is always working when using standalone django server\r\nThe thing is always working when using the python django shell\r\nThe charts composing is fine for the 2 last conditions\r\n\r\nI'm a little confused with this, with no clue or ideas. \r\nThe only thing I'm sure, after downgrading all upgraded packages and upgrade one by one until a failure occurs, is that pygal 2.1.0 is the cause.\r\n\r\nAfter so much time investigating every corner of my installation, cannot pass without reporting this here\r\n\r\nThanks for support\r\n\r\nPS : I'm using pygal for my graph generation of datas from IOT, and I'm quite happy with it and have to thank and congrats for the job done, real great stuff...\r\n"},"comment":{"url":"https://api.github.com/repos/Kozea/pygal/issues/comments/172649176","html_url":"https://github.com/Kozea/pygal/issues/294#issuecomment-172649176","issue_url":"https://api.github.com/repos/Kozea/pygal/issues/294","id":172649176,"user":{"login":"razerraz","id":12051205,"avatar_url":"https://avatars.githubusercontent.com/u/12051205?v=3","gravatar_id":"","url":"https://api.github.com/users/razerraz","html_url":"https://github.com/razerraz","followers_url":"https://api.github.com/users/razerraz/followers","following_url":"https://api.github.com/users/razerraz/following{/other_user}","gists_url":"https://api.github.com/users/razerraz/gists{/gist_id}","starred_url":"https://api.github.com/users/razerraz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/razerraz/subscriptions","organizations_url":"https://api.github.com/users/razerraz/orgs","repos_url":"https://api.github.com/users/razerraz/repos","events_url":"https://api.github.com/users/razerraz/events{/privacy}","received_events_url":"https://api.github.com/users/razerraz/received_events","type":"User","site_admin":false},"created_at":"2016-01-18T20:47:00Z","updated_at":"2016-01-18T20:47:00Z","body":"Last thing\r\nI take a look at your patch and I am in doubt\r\nAt one stage or another, the problem will occur nevertheless, with nothing to investigate but a dead loop...\r\nThe cause is a mod_php limitation that can be solved in general cases by a simple settings options, details in link above. I'm just sceptic about this option, since it is a celery task that use pygal and not the wsgi process...\r\nIt is not pygal related.  \r\nQ&A or Warning section of pygal documentation about that should be a better patch imho."}}