Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1037363
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T14:50:37+00:00 2026-05-16T14:50:37+00:00

stack trace is not showing like it should (in the browser). Instead I get

  • 0

stack trace is not showing like it should (in the browser). Instead I get public/500.html rendered. The problem seems to be recreated when I created a new rails project and apply the haml plugin. Originally I though it was this ruby script causing the problem:

class ToHaml
  def initialize(path)
    @path = path
  end

  def convert!
    Dir["#{@path}/**/*.erb"].each do |file|
    `html2haml -rx #{file} #{file.gsub(/\.erb$/, '.haml')}`
    `rm #{file}`
    end
  end
end

path = File.join(File.dirname(__FILE__), 'app', 'views')
ToHaml.new(path).convert!

I though it might have deleted an erb template used to show the stack trace. That doesn’t appear to be the case because I can’t find any template for that in app/views.

So it must be the haml plugin which is causing the problem

haml --rails MyRubyApp

Not sure how, but after I run this stack traces no longer display in the browser (just the 500.html). I’ve tried explicitly launching the server in development mode without any effect.

Anybody have insight on this? Thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T14:50:38+00:00Added an answer on May 16, 2026 at 2:50 pm

    The solution was to download an http sniffer and have a look at the post data. turns out there was a syntactic problem (although valid) in some of my view code (a pair of “[]” appended to a string which shouldn’t have been there).

    Hope this helps anyone experiencing the same kind of issue.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Why does this code not print an exception stack trace? public class Playground {
How do I get the current stack trace in Java, like how in .NET
I have the following stack trace from valgrind. But it does not give me
Line numbers are not showing in stack traces This is a .Net 4.0 web
I want to have stack trace not for my exceptions only but also for
The stack trace I have does not contain any reference to my code. I'm
error not firing. but its showing on firebug HTTP 500 error : jQuery15105771912402844872_1324698623378({Message:Master Order
Printing the stack trace is not so difficult when using System.Diagnostics . I am
Stack Trace Picture of stack trace here Values aren't being passed to the other
I want to retrieve stack trace from a user dump file programmatically . There

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.