ODK Build Failing to export to XLSForm

Hi,

I recently installed ODK Build from source (https://github.com/opendatakit/build) on my Linux desktop (Ubuntu 18.04). The machine has plenty of resources - 24gb RAM, i5 quad core. Everything works swimmingly until I try to "Export to XLSForm". The export fails and the error and stacktrace below appear in the server logs:

NoMethodError: undefined method join' for #String:0x0000557faf0a36e0 /media/storage/install/build-master/vendor/bundle/ruby/2.5.0/gems/sinatra-1.2.6/lib/sinatra/showexceptions.rb:37:in rescue in call'
/media/storage/install/build-master/vendor/bundle/ruby/2.5.0/gems/sinatra-1.2.6/lib/sinatra/showexceptions.rb:20:in call' /media/storage/install/build-master/vendor/bundle/ruby/2.5.0/gems/rack-1.6.5/lib/rack/methodoverride.rb:22:in call'
/media/storage/install/build-master/vendor/bundle/ruby/2.5.0/gems/sinatra-1.2.6/lib/sinatra/base.rb:1272:in block in call' /media/storage/install/build-master/vendor/bundle/ruby/2.5.0/gems/sinatra-1.2.6/lib/sinatra/base.rb:1303:in synchronize'
/media/storage/install/build-master/vendor/bundle/ruby/2.5.0/gems/sinatra-1.2.6/lib/sinatra/base.rb:1272:in call' /media/storage/install/build-master/vendor/bundle/ruby/2.5.0/gems/rack-1.6.5/lib/rack/static.rb:124:in call'
/media/storage/install/build-master/vendor/bundle/ruby/2.5.0/gems/warden-1.0.6/lib/warden/manager.rb:35:in block in call' /media/storage/install/build-master/vendor/bundle/ruby/2.5.0/gems/warden-1.0.6/lib/warden/manager.rb:34:in catch'
/media/storage/install/build-master/vendor/bundle/ruby/2.5.0/gems/warden-1.0.6/lib/warden/manager.rb:34:in call' /media/storage/install/build-master/server/model/connection_manager.rb:16:in call'
/media/storage/install/build-master/vendor/bundle/ruby/2.5.0/gems/rack-1.6.5/lib/rack/session/abstract/id.rb:225:in context' /media/storage/install/build-master/vendor/bundle/ruby/2.5.0/gems/rack-1.6.5/lib/rack/session/abstract/id.rb:220:in call'
/media/storage/install/build-master/vendor/bundle/ruby/2.5.0/gems/rack-1.6.5/lib/rack/commonlogger.rb:33:in call' /media/storage/install/build-master/vendor/bundle/ruby/2.5.0/gems/rack-1.6.5/lib/rack/tempfile_reaper.rb:15:in call'
/media/storage/install/build-master/vendor/bundle/ruby/2.5.0/gems/rack-1.6.5/lib/rack/lint.rb:49:in _call' /media/storage/install/build-master/vendor/bundle/ruby/2.5.0/gems/rack-1.6.5/lib/rack/lint.rb:37:in call'
/media/storage/install/build-master/vendor/bundle/ruby/2.5.0/gems/rack-1.6.5/lib/rack/showexceptions.rb:24:in call' /media/storage/install/build-master/vendor/bundle/ruby/2.5.0/gems/rack-1.6.5/lib/rack/commonlogger.rb:33:in call'
/media/storage/install/build-master/vendor/bundle/ruby/2.5.0/gems/rack-1.6.5/lib/rack/chunked.rb:54:in call' /media/storage/install/build-master/vendor/bundle/ruby/2.5.0/gems/rack-1.6.5/lib/rack/content_length.rb:15:in call'
/media/storage/install/build-master/vendor/bundle/ruby/2.5.0/gems/thin-1.7.0/lib/thin/connection.rb:86:in block in pre_process' /media/storage/install/build-master/vendor/bundle/ruby/2.5.0/gems/thin-1.7.0/lib/thin/connection.rb:84:in catch'
/media/storage/install/build-master/vendor/bundle/ruby/2.5.0/gems/thin-1.7.0/lib/thin/connection.rb:84:in pre_process' /media/storage/install/build-master/vendor/bundle/ruby/2.5.0/gems/thin-1.7.0/lib/thin/connection.rb:53:in process'
/media/storage/install/build-master/vendor/bundle/ruby/2.5.0/gems/thin-1.7.0/lib/thin/connection.rb:39:in receive_data' /media/storage/install/build-master/vendor/bundle/ruby/2.5.0/gems/eventmachine-1.2.1/lib/eventmachine.rb:194:in run_machine'
/media/storage/install/build-master/vendor/bundle/ruby/2.5.0/gems/eventmachine-1.2.1/lib/eventmachine.rb:194:in run' /media/storage/install/build-master/vendor/bundle/ruby/2.5.0/gems/thin-1.7.0/lib/thin/backends/base.rb:73:in start'
/media/storage/install/build-master/vendor/bundle/ruby/2.5.0/gems/thin-1.7.0/lib/thin/server.rb:162:in start' /media/storage/install/build-master/vendor/bundle/ruby/2.5.0/gems/rack-1.6.5/lib/rack/handler/thin.rb:19:in run'
/media/storage/install/build-master/vendor/bundle/ruby/2.5.0/gems/rack-1.6.5/lib/rack/server.rb:286:in start' /media/storage/install/build-master/vendor/bundle/ruby/2.5.0/gems/rack-1.6.5/lib/rack/server.rb:147:in start'
/media/storage/install/build-master/vendor/bundle/ruby/2.5.0/gems/rack-1.6.5/bin/rackup:4:in <top (required)>' /media/storage/install/build-master/vendor/bundle/ruby/2.5.0/bin/rackup:23:in load'
/media/storage/install/build-master/vendor/bundle/ruby/2.5.0/bin/rackup:23:in `

'
and the message: "Something went wrong while exporting. Please try again later." in the browser

I have tried stopping and restarting the server several times. The server version given at startup is:

/media/storage/install/build-master/vendor/bundle/ruby/2.5.0/gems/thin-1.7.0/lib/thin/server.rb:107: warning: constant ::Fixnum is deprecated
Thin web server (v1.7.0 codename Dunder Mifflin)

When I open the same survey on https://build.opendatakit.org/ I can export the survey to XLSForm. Kindly assist.

Regards,

For those who may stumble on this topic here later on. I got the solution via GitHub - thanks @clint-tseng. See: https://github.com/opendatakit/build/issues/201.

1 Like