Read more

Debugging "INTERNAL ERROR!!! wrong argument type StringIO (expected File)"

Dominik Schöler
February 03, 2015Software engineer at makandra GmbH

If you're getting this strange error message when setting debugging breakpoints, probably HAML is the culprit.

Cause

Illustration UI/UX Design

UI/UX Design by makandra brand

We make sure that your target audience has the best possible experience with your digital product. You get:

  • Design tailored to your audience
  • Proven processes customized to your needs
  • An expert team of experienced designers
Read more Show archive.org snapshot

As far as I could find out, the error is the result of setting a breakpoint (debugger) in a helper method that's called from a haml partial.

Suggestions

Try putting the breakpoint into the HAML view.

Posted by Dominik Schöler to makandra dev (2015-02-03 10:51)