Hi
Upgrading Canvas release 20-12-2014.
Proces: Compiled Assets
First error: --> Generating
Undumpable Exception -- #<RuntimeError: unwrappable content error on line 6. "multiple text nodes in html markup"
See below:
workaround (first error)
Second error: --> Starting: 'i18n:generate_js'
key as scope on line 15: "quizzes.quiz.moderate"
app/coffeescripts/ember/quizzes/templates/quiz/moderate.hbs
EnvironmentUbuntu 14.04
$ gem --version
1.8.23.2
$bundle --version
Bundler version 1.7.2
$ npm install
Succesful$ bundle exec rake canvas:compile_assets
> Executing file: /var/canvas/gems/canvas_i18nliner/node_modules/i18nliner-handlebars/dist/lib/pre_processor.js
> Source file:/var/canvas/public/app/coffeescripts/ember/quizzes/templates/quiz/statistics/questions/multiple_choice/discrimination_index_help.hbs
{{#message-dialog
fix-dialog-buttons=true
height=270
title=discriminationIndexHelpDialogTitle}}
{{#t 'discrimination_index_help'}}
<p>
This metric provides a measure of how well a single question can tell the
difference (or discriminate) between students who do well on an exam and
those who do not.
It divides students into three groups based on their score on the whole
quiz and displays those groups by who answered the question correctly.
</p>
<p>
More information is available <a target="_blank" href="
http://guides.instructure.com/m/4152/l/41484-once-i-publish-my-quiz-what-kinds-of-quiz-statistics-are-available">here</a>.
</p>
{{/t}}
{{/message-dialog}}
> Target js file:/var/canvas/public/javascripts/compiled/ember/quizzes/templates/quiz/statistics/questions/multiple_choice/discrimination_index_help.js
Workaround first error:When I removed the Achor tag 'generating' is succesfully.
Second error:--> Starting: 'i18n:generate_js'
key as scope on line 15: "quizzes.quiz.moderate"
app/coffeescripts/ember/quizzes/templates/quiz/moderate.hbs
Does not make sense to me
Can anyone give me some advice?Regards
Fred
++++++++++++++++++++++++++++
Stdout:fred@herft:/var/canvas$ bundle exec rake canvas:compile_assets
/var/canvas/gems/utf8_cleaner/lib/utf8_cleaner.rb:20:in `<top (required)>': iconv will be deprecated in the future, use String#encode instead.
DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this:
http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been-released. (called from <top (required)> at /var/canvas/Rakefile:11)
DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this:
http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been-released. (called from <top (required)> at /var/canvas/Rakefile:11)
DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this:
http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been-released. (called from <top (required)> at /var/canvas/Rakefile:11)
DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this:
http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been-released. (called from <top (required)> at /var/canvas/Rakefile:11)
DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this:
http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been-released. (called from <top (required)> at /var/canvas/Rakefile:11)
DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this:
http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been-released. (called from <top (required)> at /var/canvas/Rakefile:11)
DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this:
http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been-released. (called from <top (required)> at /var/canvas/Rakefile:11)
DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this:
http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been-released. (called from <top (required)> at /var/canvas/Rakefile:11)
DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this:
http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been-released. (called from <top (required)> at /var/canvas/Rakefile:11)
DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this:
http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been-released. (called from <top (required)> at /var/canvas/Rakefile:11)
DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this:
http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been-released. (called from <top (required)> at /var/canvas/Rakefile:11)
working in 4 processes
--> Starting: 'css:styleguide'--> Starting: 'compile coffee, js 18n, and run r.js optimizer'--> Starting: 'Compile sass and make jammit css bundles'
--> Starting: 'npm run compile-sass'--> Starting: 'js:generate'
--> creating styleguide
Building client app 'canvas_quiz_statistics'
Running 'npm install'...
--> Starting: 'Generate documentation [yardoc]'
> canva...@0.0.0 compile-sass /var/canvas
> node script/compile-sass.js
Running 'npm run build'...
Client app 'canvas_quiz_statistics' was built successfully.
--> Generating plugin extensions
--> Generating plugin extensions finished in 0.000952639
--> Creating ember app bundles
--> Pre-compiling ember handlebars templates
--> Compiling React JSX
--> Pre-compiling handlebars templates
--> Creating ember app bundles finished in 0.103471852
--> Compiling CoffeeScript with coffee-script gem
--> Compiling React JSX finished in 2.684813963
# writing file: app/views/info/styleguide.html.erb
--> Finished: 'css:styleguide' in 7.95417376
--> Pre-compiling handlebars templates finished in 14.362476081
Files: 91
Modules: 0 ( 0 undocumented)
Classes: 90 ( 26 undocumented)
Constants: 0 ( 0 undocumented)
Methods: 381 ( 7 undocumented)
92.99% documented
API Documentation successfully generated in public/doc/api
See public/doc/api/index.html
--> Finished: 'Generate documentation [yardoc]' in 43.557696235
--> Finished: 'npm run compile-sass' in 53.157307652
--> Starting: 'Jammit'
--> Finished: 'Jammit' in 0.634109798
--> Finished: 'Compile sass and make jammit css bundles' in 53.791600453
rake aborted!
Undumpable Exception -- #<RuntimeError: unwrappable content error on line firstLine=6 -- firstColumn=36 -- lastColumn=2 -- lastLine=18 -- type=content -- string=
Debug output:
<p>
This metric provides a measure of how well a single question can tell the
difference (or discriminate) between students who do well on an exam and
those who do not.
It divides students into three groups based on their score on the whole
quiz and displays those groups by who answered the question correctly.
</p>
<p>
More information is available <a target="_blank" href="http://guides.instructure.com/m/4152/l/41484-once-i-publish-my-quiz-what-kinds-of-quiz-statistics-are-available">here</a>.
</p> -- : "multiple text nodes in html markup">/var/canvas/vendor/bundle/ruby/1.9.1/gems/parallel-0.5.16/lib/parallel.rb:173:in `work_in_processes'
/var/canvas/vendor/bundle/ruby/1.9.1/gems/parallel-0.5.16/lib/parallel.rb:55:in `map'
/var/canvas/lib/tasks/canvas.rake:167:in `block (3 levels) in <top (required)>'
/var/canvas/lib/tasks/canvas.rake:166:in `block (2 levels) in <top (required)>'
Tasks: TOP => canvas:compile_assets
(See full trace by running task with --trace)
$