Render requests with format=svg hang when running under mod_wsgi

Bug #1013803 reported by Michael Leinartas
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Graphite
Won't Fix
Medium
Unassigned

Bug Description

This happens under mod_wsgi but not under gunicorn or uWSGI.

A clue from dannyla from the answers thread:

I just ran into this problem, I enabled a quick fix to get this working on my system.

/webapp/graphite/render/glyph.py: line 479

 # LP199778 - svgData = svgData.replace('</g><g data-header','<g data-header',1) + "</g>"
 svgData = svgData.replace('</g><g data-header','<g data-header',1)

The change that i made was just to remove ' + </g>' from the 479

Changed in graphite:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Thomas (thomasfalkenberg) wrote :

This workaround did not work for me, still the same behavior.

Revision history for this message
Cody Stevens (cody-stevens) wrote :

Just to add some more "hints". I was experiencing this same hanging behavior. I started digging into the code and troubleshooting using the workaround mentioned above. That was producing svg output that the browser would render up until the error. With it partially working I put the original code back in just out of curiousity and now it is working just fine. It made me feel like I was taking crazy pills. I saw in some other bug submissions that for some users if they let it time out subsequent requests would work. Not sure if that is what I am seeing here or not but thought it may be useful information.

Revision history for this message
Michael Leinartas (mleinartas) wrote :
Changed in graphite:
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.