running on macbook pro 10.9.5, except for Config

Support Ticket

+status
acknowledged
+tags
 

Got it running - see below - but the configuration link hangs the server http://localhost:3000/Config

any idea?

  • Okay, using the instructions on http://wagn.org/get_started
  • with a bunch of false starts i got it to run on my macbook pro 10.9.5
  • using the wagn server, it all seems to work!
  • except: the configuration link just hangs: http://localhost:3000/Config
  • Since you don't have a mac section, here is what i used to get it running (using homebrew)
  • ruby (installed already, ruby 2.0.0p481)
  • $ brew install curl
  • $ gem install bundler
  • $ brew install imagemagick
  • $ brew link imagemagick
  • $ brew install mysql
  • $ gem install mysql2
  • # lots of problems with
  • $ mysql.server start
  • # resulted in a lot of: ERROR! The server quit without updating PID file (/usr/local/var/mysql/data/my-iMac.local.pid)
  • # i tried a bunch of different solutions, changing permissions on /usr/local/var/mysql
  • # but restarting computer was the thing that seemed to fix it!
  • # then could run the following:
  • $ mysql.server restart
  • $ gem install wagn
  • $ wagn new mysite
  • # then find the right socket for mysql
  • $ mysqladmin variables | grep socket
  • # and edit "mysite/config/database.yml"
  • # to change all the "socket: " to point to the right place
  • # in my case from: "/private/tmp/mysql.sock" to "/tmp/mysql.sock"
  • # also good to set mysql password and change it in database.yml
  • $ cd mysite
  • $ wagn seed
  • $ wagn server
  • # working! (except for /Config)
  • # now to get running on apache....
 

Interesting. Are you getting anything in the log ( [deck root]/log/production.log )?

 

Here's what the page is supposed to look like: http://template.decko.org/Config

 

I wonder if any given card nested in that page would hang. Like *all?

--Ethan McCutchen.....2015-08-24 21:54:41 +0000

just to be sure, i created, seeded, and started server on a new site and the first thing i did was click on Config. It hung. here is the tail of the log:

 

===

Started GET "/" for ::1 at 2015-08-24 19:36:18 -0700

Processing by CardController#read as HTML

Rendered text template (0.0ms)

Completed 200 OK in 133ms (Views: 0.4ms | ActiveRecord: 7.9ms)

Started GET "/Config" for ::1 at 2015-08-24 19:36:24 -0700

Processing by CardController#read as HTML

Parameters: {"id"=>"Config"}

Completed 500 Internal Server Error in 528ms (ActiveRecord: 17.6ms)

 

SystemStackError (stack level too deep):

activerecord (4.2.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:661

===

 

It's a repeatable error.

--JoeDumit.....2015-08-25 02:46:56 +0000

I've been trying and failing to reproduce this on my own macbook pro.

 

The "stack level too deep" doesn't tell us much. Is there any chance you'd be willing to create a file named "config/environments/production.rb" with the following content:

Wagn.application.class.configure do
config.log_level = :debug
end

....and see if it tells us anything more helpful in the logs?

--Ethan McCutchen.....2015-08-25 19:45:53 +0000