Skip to content
This repository has been archived by the owner on Jan 20, 2021. It is now read-only.

Redo button works but causes an exception #43

Open
nilbus opened this issue Jan 12, 2015 · 5 comments
Open

Redo button works but causes an exception #43

nilbus opened this issue Jan 12, 2015 · 5 comments

Comments

@nilbus
Copy link
Owner

nilbus commented Jan 12, 2015

NoMethodError (undefined method `runs' for nil:NilClass):
  app/controllers/races_controller.rb:31:in `block in redo'
  app/controllers/races_controller.rb:29:in `redo'
@nilbus nilbus modified the milestone: Handoff Jan 15, 2015
@st-atila
Copy link

The workaround is to: 1) activate the 'redo' button, 2) ctrl-c the application, 3) restart the application; then the application will continue.

@nilbus
Copy link
Owner Author

nilbus commented Feb 23, 2015

Doesn't the application continue for you without restarting it?

@st-atila
Copy link

Doesn't the application continue for you without restarting it?
not exactly; the app webpage refreshes waiting for heat to proceed, but it does not report sensor data.
(linux [mint 13/ ubuntu 12], current version of pinewood-derby, mock-sensor or newbold derbystick)

the console output at error begins with:
13:52:24 web.1 | E, [2015-02-22T13:52:24.014706 #28524] ERROR -- : Actor crashed!
13:52:24 web.1 | ActiveRecord::StatementInvalid: SQLite3::BusyException: database is locked: UPDATE "single_values" SET "value" = ?, "updated_at" = ? WHERE "single_values"."id" = ?
13:52:24 web.1 | /home/trogdor/.rvm/gems/ruby-2.2.0/gems/sqlite3-1.3.10/lib/sqlite3/statement.rb:108:in `step'

@nilbus
Copy link
Owner Author

nilbus commented Feb 24, 2015

Oh! I'm glad you reported that. That had never happened on my end.

@nilbus nilbus added the bug label Feb 24, 2015
@nilbus
Copy link
Owner Author

nilbus commented Mar 1, 2015

@st-atila Does that error happen consistently every time you hit Redo, or just sometimes? I haven't been able to reproduce it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants