Content
bundle exec rake db:migrate failes with "LoadError: cannot load such file -- roar/json/hal" when openproject-costs is enabled.
Added by Shane Chambers over 9 years ago
Hello all,
I’ve ran into a situation with OpenProject 4.0.8, when I try to add the openproject-costs plugin. I’m hoping that someone can point me in the right direction.
Gemfile.plugins:
gem "openproject-pdf_export", git: "https://github.com/finnlabs/openproject-pdf_export.git", :branch => "stable" gem "openproject-backlogs", git: "https://github.com/finnlabs/openproject-backlogs.git", :branch => "stable" gem 'openproject-my_project_page', :git => 'https://github.com/finnlabs/openproject-my_project_page.git', :branch => 'stable' gem 'openproject-global_roles', :git => 'https://github.com/finnlabs/openproject-global_roles.git', :branch => 'stable' gem 'openproject-documents', :git => 'https://github.com/opf/openproject-documents.git', :branch => 'stable' gem 'reporting_engine', :git => 'https://github.com/finnlabs/reporting_engine.git', :branch => 'stable' gem 'openproject-costs', :git => 'https://github.com/finnlabs/openproject-costs.git', :branch => 'stable' gem 'openproject-reporting', :git => 'https://github.com/finnlabs/openproject-reporting.git', :branch => 'stable'
#
bundle install
(see attached)
#
bower install
#
#
RAILS_ENV=“development” bundle exec rake db:migrate —trace
(production fails the same as development)
require 'rails/all'... 0.640s Bundler.require... 2.050s ** Invoke db:migrate (first_time) ** Invoke environment (first_time) ** Execute environment Application.initialize!... [deprecated] I18n.enforce_available_locales will default to true in the future. If you really want to skip validation of your locale you can set I18n.enforce_available_locales = false to avoid this message. rake aborted! LoadError: cannot load such file -- roar/json/hal /home/openproject/.rvm/gems/ruby-2.1.5/gems/activesupport-3.2.21/lib/active_support/dependencies.rb:251:in `require' /home/openproject/.rvm/gems/ruby-2.1.5/gems/activesupport-3.2.21/lib/active_support/dependencies.rb:251:in `block in require' /home/openproject/.rvm/gems/ruby-2.1.5/gems/activesupport-3.2.21/lib/active_support/dependencies.rb:234:in `block in load_dependency' /home/openproject/.rvm/gems/ruby-2.1.5/gems/activesupport-3.2.21/lib/active_support/dependencies.rb:639:in `new_constants_in' /home/openproject/.rvm/gems/ruby-2.1.5/gems/activesupport-3.2.21/lib/active_support/dependencies.rb:234:in `load_dependency' /home/openproject/.rvm/gems/ruby-2.1.5/gems/activesupport-3.2.21/lib/active_support/dependencies.rb:251:in `require' /home/openproject/.rvm/gems/ruby-2.1.5/bundler/gems/openproject-costs-995528824c2b/lib/api/v3/cost_objects/cost_object_representer.rb:21:in `<top (required)>' /home/openproject/.rvm/gems/ruby-2.1.5/gems/activesupport-3.2.21/lib/active_support/dependencies.rb:469:in `load' /home/openproject/.rvm/gems/ruby-2.1.5/gems/activesupport-3.2.21/lib/active_support/dependencies.rb:469:in `block in load_file' /home/openproject/.rvm/gems/ruby-2.1.5/gems/activesupport-3.2.21/lib/active_support/dependencies.rb:639:in `new_constants_in' /home/openproject/.rvm/gems/ruby-2.1.5/gems/activesupport-3.2.21/lib/active_support/dependencies.rb:468:in `load_file' /home/openproject/.rvm/gems/ruby-2.1.5/gems/activesupport-3.2.21/lib/active_support/dependencies.rb:353:in `require_or_load' /home/openproject/.rvm/gems/ruby-2.1.5/gems/activesupport-3.2.21/lib/active_support/dependencies.rb:502:in `load_missing_constant' /home/openproject/.rvm/gems/ruby-2.1.5/gems/activesupport-3.2.21/lib/active_support/dependencies.rb:192:in `block in const_missing' /home/openproject/.rvm/gems/ruby-2.1.5/gems/activesupport-3.2.21/lib/active_support/dependencies.rb:190:in `each' /home/openproject/.rvm/gems/ruby-2.1.5/gems/activesupport-3.2.21/lib/active_support/dependencies.rb:190:in `const_missing' /home/openproject/.rvm/gems/ruby-2.1.5/bundler/gems/openproject-costs-995528824c2b/lib/open_project/costs/engine.rb:129:in `block in <class:Engine>' /home/openproject/openproject/lib/open_project/plugins/acts_as_op_engine.rb:139:in `instance_eval' /home/openproject/openproject/lib/open_project/plugins/acts_as_op_engine.rb:139:in `block (2 levels) in included' /home/openproject/.rvm/gems/ruby-2.1.5/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:561:in `_run__1615765278425265630__prepare__943185597270169400__callbacks' /home/openproject/.rvm/gems/ruby-2.1.5/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:405:in `__run_callback' /home/openproject/.rvm/gems/ruby-2.1.5/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:385:in `_run_prepare_callbacks' /home/openproject/.rvm/gems/ruby-2.1.5/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:81:in `run_callbacks' /home/openproject/.rvm/gems/ruby-2.1.5/gems/actionpack-3.2.21/lib/action_dispatch/middleware/reloader.rb:74:in `prepare!' /home/openproject/.rvm/gems/ruby-2.1.5/gems/actionpack-3.2.21/lib/action_dispatch/middleware/reloader.rb:48:in `prepare!' /home/openproject/.rvm/gems/ruby-2.1.5/gems/railties-3.2.21/lib/rails/application/finisher.rb:47:in `block in <module:Finisher>' /home/openproject/.rvm/gems/ruby-2.1.5/gems/railties-3.2.21/lib/rails/initializable.rb:30:in `instance_exec' /home/openproject/.rvm/gems/ruby-2.1.5/gems/railties-3.2.21/lib/rails/initializable.rb:30:in `run' /home/openproject/.rvm/gems/ruby-2.1.5/gems/railties-3.2.21/lib/rails/initializable.rb:55:in `block in run_initializers' /home/openproject/.rvm/gems/ruby-2.1.5/gems/railties-3.2.21/lib/rails/initializable.rb:54:in `each' /home/openproject/.rvm/gems/ruby-2.1.5/gems/railties-3.2.21/lib/rails/initializable.rb:54:in `run_initializers' /home/openproject/.rvm/gems/ruby-2.1.5/gems/railties-3.2.21/lib/rails/application.rb:136:in `initialize!' /home/openproject/.rvm/gems/ruby-2.1.5/gems/railties-3.2.21/lib/rails/railtie/configurable.rb:30:in `method_missing' /home/openproject/openproject/config/environment.rb:36:in `block in <top (required)>' /home/openproject/openproject/config/application.rb:44:in `block in bench' /home/openproject/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/benchmark.rb:279:in `measure' /home/openproject/openproject/config/application.rb:43:in `bench' /home/openproject/openproject/config/environment.rb:34:in `<top (required)>' /home/openproject/.rvm/gems/ruby-2.1.5/gems/activesupport-3.2.21/lib/active_support/dependencies.rb:251:in `require' /home/openproject/.rvm/gems/ruby-2.1.5/gems/activesupport-3.2.21/lib/active_support/dependencies.rb:251:in `block in require' /home/openproject/.rvm/gems/ruby-2.1.5/gems/activesupport-3.2.21/lib/active_support/dependencies.rb:236:in `load_dependency' /home/openproject/.rvm/gems/ruby-2.1.5/gems/activesupport-3.2.21/lib/active_support/dependencies.rb:251:in `require' /home/openproject/.rvm/gems/ruby-2.1.5/gems/railties-3.2.21/lib/rails/application.rb:103:in `require_environment!' /home/openproject/.rvm/gems/ruby-2.1.5/gems/railties-3.2.21/lib/rails/application.rb:305:in `block (2 levels) in initialize_tasks' /home/openproject/.rvm/gems/ruby-2.1.5/gems/rake-10.4.2/lib/rake/task.rb:240:in `call' /home/openproject/.rvm/gems/ruby-2.1.5/gems/rake-10.4.2/lib/rake/task.rb:240:in `block in execute' /home/openproject/.rvm/gems/ruby-2.1.5/gems/rake-10.4.2/lib/rake/task.rb:235:in `each' /home/openproject/.rvm/gems/ruby-2.1.5/gems/rake-10.4.2/lib/rake/task.rb:235:in `execute' /home/openproject/.rvm/gems/ruby-2.1.5/gems/rake-10.4.2/lib/rake/task.rb:179:in `block in invoke_with_call_chain' /home/openproject/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/monitor.rb:211:in `mon_synchronize' /home/openproject/.rvm/gems/ruby-2.1.5/gems/rake-10.4.2/lib/rake/task.rb:172:in `invoke_with_call_chain' /home/openproject/.rvm/gems/ruby-2.1.5/gems/rake-10.4.2/lib/rake/task.rb:201:in `block in invoke_prerequisites' /home/openproject/.rvm/gems/ruby-2.1.5/gems/rake-10.4.2/lib/rake/task.rb:199:in `each' /home/openproject/.rvm/gems/ruby-2.1.5/gems/rake-10.4.2/lib/rake/task.rb:199:in `invoke_prerequisites' /home/openproject/.rvm/gems/ruby-2.1.5/gems/rake-10.4.2/lib/rake/task.rb:178:in `block in invoke_with_call_chain' /home/openproject/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/monitor.rb:211:in `mon_synchronize' /home/openproject/.rvm/gems/ruby-2.1.5/gems/rake-10.4.2/lib/rake/task.rb:172:in `invoke_with_call_chain' /home/openproject/.rvm/gems/ruby-2.1.5/gems/rake-10.4.2/lib/rake/task.rb:165:in `invoke' /home/openproject/.rvm/gems/ruby-2.1.5/gems/rake-10.4.2/lib/rake/application.rb:150:in `invoke_task' /home/openproject/.rvm/gems/ruby-2.1.5/gems/rake-10.4.2/lib/rake/application.rb:106:in `block (2 levels) in top_level' /home/openproject/.rvm/gems/ruby-2.1.5/gems/rake-10.4.2/lib/rake/application.rb:106:in `each' /home/openproject/.rvm/gems/ruby-2.1.5/gems/rake-10.4.2/lib/rake/application.rb:106:in `block in top_level' /home/openproject/.rvm/gems/ruby-2.1.5/gems/rake-10.4.2/lib/rake/application.rb:115:in `run_with_threads' /home/openproject/.rvm/gems/ruby-2.1.5/gems/rake-10.4.2/lib/rake/application.rb:100:in `top_level' /home/openproject/openproject/config/application.rb:43:in `bench' /home/openproject/openproject/config/environment.rb:34:in `<top (required)>' /home/openproject/.rvm/gems/ruby-2.1.5/gems/activesupport-3.2.21/lib/active_support/dependencies.rb:251:in `require' /home/openproject/.rvm/gems/ruby-2.1.5/gems/activesupport-3.2.21/lib/active_support/dependencies.rb:251:in `block in require' /home/openproject/.rvm/gems/ruby-2.1.5/gems/activesupport-3.2.21/lib/active_support/dependencies.rb:236:in `load_dependency' /home/openproject/.rvm/gems/ruby-2.1.5/gems/activesupport-3.2.21/lib/active_support/dependencies.rb:251:in `require' /home/openproject/.rvm/gems/ruby-2.1.5/gems/railties-3.2.21/lib/rails/application.rb:103:in `require_environment!' /home/openproject/.rvm/gems/ruby-2.1.5/gems/railties-3.2.21/lib/rails/application.rb:305:in `block (2 levels) in initialize_tasks' /home/openproject/.rvm/gems/ruby-2.1.5/gems/rake-10.4.2/lib/rake/task.rb:240:in `call' /home/openproject/.rvm/gems/ruby-2.1.5/gems/rake-10.4.2/lib/rake/task.rb:240:in `block in execute' /home/openproject/.rvm/gems/ruby-2.1.5/gems/rake-10.4.2/lib/rake/task.rb:235:in `each' /home/openproject/.rvm/gems/ruby-2.1.5/gems/rake-10.4.2/lib/rake/task.rb:235:in `execute' /home/openproject/.rvm/gems/ruby-2.1.5/gems/rake-10.4.2/lib/rake/task.rb:179:in `block in invoke_with_call_chain' /home/openproject/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/monitor.rb:211:in `mon_synchronize' /home/openproject/.rvm/gems/ruby-2.1.5/gems/rake-10.4.2/lib/rake/task.rb:172:in `invoke_with_call_chain' /home/openproject/.rvm/gems/ruby-2.1.5/gems/rake-10.4.2/lib/rake/task.rb:201:in `block in invoke_prerequisites' /home/openproject/.rvm/gems/ruby-2.1.5/gems/rake-10.4.2/lib/rake/task.rb:199:in `each' /home/openproject/.rvm/gems/ruby-2.1.5/gems/rake-10.4.2/lib/rake/task.rb:199:in `invoke_prerequisites' /home/openproject/.rvm/gems/ruby-2.1.5/gems/rake-10.4.2/lib/rake/task.rb:178:in `block in invoke_with_call_chain' /home/openproject/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/monitor.rb:211:in `mon_synchronize' /home/openproject/.rvm/gems/ruby-2.1.5/gems/rake-10.4.2/lib/rake/task.rb:172:in `invoke_with_call_chain' /home/openproject/.rvm/gems/ruby-2.1.5/gems/rake-10.4.2/lib/rake/task.rb:165:in `invoke' /home/openproject/.rvm/gems/ruby-2.1.5/gems/rake-10.4.2/lib/rake/application.rb:150:in `invoke_task' /home/openproject/.rvm/gems/ruby-2.1.5/gems/rake-10.4.2/lib/rake/application.rb:106:in `block (2 levels) in top_level' /home/openproject/.rvm/gems/ruby-2.1.5/gems/rake-10.4.2/lib/rake/application.rb:106:in `each' /home/openproject/.rvm/gems/ruby-2.1.5/gems/rake-10.4.2/lib/rake/application.rb:106:in `block in top_level' /home/openproject/.rvm/gems/ruby-2.1.5/gems/rake-10.4.2/lib/rake/application.rb:115:in `run_with_threads' /home/openproject/.rvm/gems/ruby-2.1.5/gems/rake-10.4.2/lib/rake/application.rb:100:in `top_level' /home/openproject/.rvm/gems/ruby-2.1.5/gems/rake-10.4.2/lib/rake/application.rb:78:in `block in run' /home/openproject/.rvm/gems/ruby-2.1.5/gems/rake-10.4.2/lib/rake/application.rb:176:in `standard_exception_handling' /home/openproject/.rvm/gems/ruby-2.1.5/gems/rake-10.4.2/lib/rake/application.rb:75:in `run' /home/openproject/.rvm/gems/ruby-2.1.5/gems/rake-10.4.2/bin/rake:33:in `<top (required)>' /home/openproject/.rvm/gems/ruby-2.1.5/bin/rake:23:in `load' /home/openproject/.rvm/gems/ruby-2.1.5/bin/rake:23:in `<main>' /home/openproject/.rvm/gems/ruby-2.1.5/bin/ruby_executable_hooks:15:in `eval' /home/openproject/.rvm/gems/ruby-2.1.5/bin/ruby_executable_hooks:15:in `<main>' Tasks: TOP => db:migrate => environment
Digging through the forums, I found a similar problem here: [[https://community.openproject.org/topics/3378]]
On the advice of that thread, I tried changing the branch from “stable” to “v4.0.1” (I tried it both with “v4.0.1” and “v4.0.8” achieving the same results). That enabled me to complete the db:migrate/db:seed/assets:precompile successfully. However when I restarted OpenProject, it died with these errors;
Warning. Error encountered while saving cache 7c63d05f831ca35fbe21ccfb6c70690ee05692d8/default.css.sassc: can't dump anonymous class #<Class:0x00000004c54ff0> Warning. Error encountered while saving cache 8e3c84ade5ab605011e98cef96158e607bf4051b/_bourbon.scssc: can't dump anonymous class #<Class:0x00000004c54ff0> Warning. Error encountered while saving cache 8a191dd312268c5ae2a9320c49a4c74ac0886b16/_prefixer.scssc: can't dump anonymous class #<Class:0x00000004c54ff0> Warning. Error encountered while saving cache 8a191dd312268c5ae2a9320c49a4c74ac0886b16/_px-to-em.scssc: can't dump anonymous class #<Class:0x00000004c54ff0> Warning. Error encountered while saving cache 8a191dd312268c5ae2a9320c49a4c74ac0886b16/_asset-pipeline.scssc: can't dump anonymous class #<Class:0x00000004c54ff0> Warning. Error encountered while saving cache 5e8b1f91dafa3ee6f6b1d262a360851273668550/_convert-units.scssc: can't dump anonymous class #<Class:0x00000004c54ff0> Warning. Error encountered while saving cache 5e8b1f91dafa3ee6f6b1d262a360851273668550/_gradient-positions-parser.scssc: can't dump anonymous class #<Class:0x00000004c54ff0> Warning. Error encountered while saving cache 5e8b1f91dafa3ee6f6b1d262a360851273668550/_is-num.scssc: can't dump anonymous class #<Class:0x00000004c54ff0> Warning. Error encountered while saving cache 5e8b1f91dafa3ee6f6b1d262a360851273668550/_linear-angle-parser.scssc: can't dump anonymous class #<Class:0x00000004c54ff0> Warning. Error encountered while saving cache 5e8b1f91dafa3ee6f6b1d262a360851273668550/_linear-gradient-parser.scssc: can't dump anonymous class #<Class:0x00000004c54ff0> Warning. Error encountered while saving cache 5e8b1f91dafa3ee6f6b1d262a360851273668550/_linear-positions-parser.scssc: can't dump anonymous class #<Class:0x00000004c54ff0> Warning. Error encountered while saving cache 5e8b1f91dafa3ee6f6b1d262a360851273668550/_linear-side-corner-parser.scssc: can't dump anonymous class #<Class:0x00000004c54ff0> Warning. Error encountered while saving cache 5e8b1f91dafa3ee6f6b1d262a360851273668550/_radial-arg-parser.scssc: can't dump anonymous class #<Class:0x00000004c54ff0> Warning. Error encountered while saving cache 5e8b1f91dafa3ee6f6b1d262a360851273668550/_radial-positions-parser.scssc: can't dump anonymous class #<Class:0x00000004c54ff0> Warning. Error encountered while saving cache 5e8b1f91dafa3ee6f6b1d262a360851273668550/_radial-gradient-parser.scssc: can't dump anonymous class #<Class:0x00000004c54ff0> Warning. Error encountered while saving cache 5e8b1f91dafa3ee6f6b1d262a360851273668550/_render-gradients.scssc: can't dump anonymous class #<Class:0x00000004c54ff0> Warning. Error encountered while saving cache 5e8b1f91dafa3ee6f6b1d262a360851273668550/_shape-size-stripper.scssc: can't dump anonymous class #<Class:0x00000004c54ff0> Warning. Error encountered while saving cache 5e8b1f91dafa3ee6f6b1d262a360851273668550/_str-to-num.scssc: can't dump anonymous class #<Class:0x00000004c54ff0> Warning. Error encountered while saving cache 2d52c52e4cfe51922bb29860d3a7056fdeff2e9b/_assign.scssc: can't dump anonymous class #<Class:0x00000004c54ff0> Warning. Error encountered while saving cache 2d52c52e4cfe51922bb29860d3a7056fdeff2e9b/_color-lightness.scssc: can't dump anonymous class #<Class:0x00000004c54ff0> Warning. Error encountered while saving cache 2d52c52e4cfe51922bb29860d3a7056fdeff2e9b/_flex-grid.scssc: can't dump anonymous class #<Class:0x00000004c54ff0> Warning. Error encountered while saving cache 2d52c52e4cfe51922bb29860d3a7056fdeff2e9b/_golden-ratio.scssc: can't dump anonymous class #<Class:0x00000004c54ff0> Warning. Error encountered while saving cache 2d52c52e4cfe51922bb29860d3a7056fdeff2e9b/_grid-width.scssc: can't dump anonymous class #<Class:0x00000004c54ff0> Warning. Error encountered while saving cache 2d52c52e4cfe51922bb29860d3a7056fdeff2e9b/_modular-scale.scssc: can't dump anonymous class #<Class:0x00000004c54ff0> Warning. Error encountered while saving cache 2d52c52e4cfe51922bb29860d3a7056fdeff2e9b/_px-to-em.scssc: can't dump anonymous class #<Class:0x00000004c54ff0> Warning. Error encountered while saving cache 2d52c52e4cfe51922bb29860d3a7056fdeff2e9b/_px-to-rem.scssc: can't dump anonymous class #<Class:0x00000004c54ff0> Warning. Error encountered while saving cache 2d52c52e4cfe51922bb29860d3a7056fdeff2e9b/_strip-units.scssc: can't dump anonymous class #<Class:0x00000004c54ff0> Warning. Error encountered while saving cache 2d52c52e4cfe51922bb29860d3a7056fdeff2e9b/_tint-shade.scssc: can't dump anonymous class #<Class:0x00000004c54ff0> Warning. Error encountered while saving cache 2d52c52e4cfe51922bb29860d3a7056fdeff2e9b/_transition-property-name.scssc: can't dump anonymous class #<Class:0x00000004c54ff0> Warning. Error encountered while saving cache 2d52c52e4cfe51922bb29860d3a7056fdeff2e9b/_unpack.scssc: can't dump anonymous class #<Class:0x00000004c54ff0> Warning. Error encountered while saving cache 95e04a84b32d83a04d14e0ef57a9e1d0df751caa/_animation.scssc: can't dump anonymous class #<Class:0x00000004c54ff0> Warning. Error encountered while saving cache 95e04a84b32d83a04d14e0ef57a9e1d0df751caa/_appearance.scssc: can't dump anonymous class #<Class:0x00000004c54ff0> Warning. Error encountered while saving cache 95e04a84b32d83a04d14e0ef57a9e1d0df751caa/_backface-visibility.scssc: can't dump anonymous class #<Class:0x00000004c54ff0> Warning. Error encountered while saving cache 95e04a84b32d83a04d14e0ef57a9e1d0df751caa/_background.scssc: can't dump anonymous class #<Class:0x00000004c54ff0> Warning. Error encountered while saving cache 95e04a84b32d83a04d14e0ef57a9e1d0df751caa/_background-image.scssc: can't dump anonymous class #<Class:0x00000004c54ff0> Warning. Error encountered while saving cache 95e04a84b32d83a04d14e0ef57a9e1d0df751caa/_border-image.scssc: can't dump anonymous class #<Class:0x00000004c54ff0> Warning. Error encountered while saving cache 95e04a84b32d83a04d14e0ef57a9e1d0df751caa/_border-radius.scssc: can't dump anonymous class #<Class:0x00000004c54ff0> Warning. Error encountered while saving cache 95e04a84b32d83a04d14e0ef57a9e1d0df751caa/_box-sizing.scssc: can't dump anonymous class #<Class:0x00000004c54ff0> Warning. Error encountered while saving cache 95e04a84b32d83a04d14e0ef57a9e1d0df751caa/_calc.scssc: can't dump anonymous class #<Class:0x00000004c54ff0> Warning. Error encountered while saving cache 95e04a84b32d83a04d14e0ef57a9e1d0df751caa/_columns.scssc: can't dump anonymous class #<Class:0x00000004c54ff0> Warning. Error encountered while saving cache 95e04a84b32d83a04d14e0ef57a9e1d0df751caa/_filter.scssc: can't dump anonymous class #<Class:0x00000004c54ff0> Warning. Error encountered while saving cache 95e04a84b32d83a04d14e0ef57a9e1d0df751caa/_flex-box.scssc: can't dump anonymous class #<Class:0x00000004c54ff0> Warning. Error encountered while saving cache 95e04a84b32d83a04d14e0ef57a9e1d0df751caa/_font-face.scssc: can't dump anonymous class #<Class:0x00000004c54ff0> Warning. Error encountered while saving cache 95e04a84b32d83a04d14e0ef57a9e1d0df751caa/_font-feature-settings.scssc: can't dump anonymous class #<Class:0x00000004c54ff0> Warning. Error encountered while saving cache 95e04a84b32d83a04d14e0ef57a9e1d0df751caa/_hyphens.scssc: can't dump anonymous class #<Class:0x00000004c54ff0> Warning. Error encountered while saving cache 95e04a84b32d83a04d14e0ef57a9e1d0df751caa/_hidpi-media-query.scssc: can't dump anonymous class #<Class:0x00000004c54ff0> Warning. Error encountered while saving cache 95e04a84b32d83a04d14e0ef57a9e1d0df751caa/_image-rendering.scssc: can't dump anonymous class #<Class:0x00000004c54ff0> Warning. Error encountered while saving cache 95e04a84b32d83a04d14e0ef57a9e1d0df751caa/_keyframes.scssc: can't dump anonymous class #<Class:0x00000004c54ff0> Warning. Error encountered while saving cache 95e04a84b32d83a04d14e0ef57a9e1d0df751caa/_linear-gradient.scssc: can't dump anonymous class #<Class:0x00000004c54ff0> Warning. Error encountered while saving cache 95e04a84b32d83a04d14e0ef57a9e1d0df751caa/_perspective.scssc: can't dump anonymous class #<Class:0x00000004c54ff0> Warning. Error encountered while saving cache 95e04a84b32d83a04d14e0ef57a9e1d0df751caa/_radial-gradient.scssc: can't dump anonymous class #<Class:0x00000004c54ff0> Warning. Error encountered while saving cache 95e04a84b32d83a04d14e0ef57a9e1d0df751caa/_transform.scssc: can't dump anonymous class #<Class:0x00000004c54ff0> Warning. Error encountered while saving cache 95e04a84b32d83a04d14e0ef57a9e1d0df751caa/_transition.scssc: can't dump anonymous class #<Class:0x00000004c54ff0> Warning. Error encountered while saving cache 95e04a84b32d83a04d14e0ef57a9e1d0df751caa/_user-select.scssc: can't dump anonymous class #<Class:0x00000004c54ff0> Warning. Error encountered while saving cache 95e04a84b32d83a04d14e0ef57a9e1d0df751caa/_placeholder.scssc: can't dump anonymous class #<Class:0x00000004c54ff0> Warning. Error encountered while saving cache a2a13be836e4b8753a9fb4c0a59c6ef51e83b11b/_button.scssc: can't dump anonymous class #<Class:0x00000004c54ff0> Warning. Error encountered while saving cache a2a13be836e4b8753a9fb4c0a59c6ef51e83b11b/_clearfix.scssc: can't dump anonymous class #<Class:0x00000004c54ff0> Warning. Error encountered while saving cache a2a13be836e4b8753a9fb4c0a59c6ef51e83b11b/_directional-values.scssc: can't dump anonymous class #<Class:0x00000004c54ff0> Warning. Error encountered while saving cache a2a13be836e4b8753a9fb4c0a59c6ef51e83b11b/_ellipsis.scssc: can't dump anonymous class #<Class:0x00000004c54ff0> Warning. Error encountered while saving cache a2a13be836e4b8753a9fb4c0a59c6ef51e83b11b/_font-family.scssc: can't dump anonymous class #<Class:0x00000004c54ff0> Warning. Error encountered while saving cache a2a13be836e4b8753a9fb4c0a59c6ef51e83b11b/_hide-text.scssc: can't dump anonymous class #<Class:0x00000004c54ff0> Warning. Error encountered while saving cache a2a13be836e4b8753a9fb4c0a59c6ef51e83b11b/_html5-input-types.scssc: can't dump anonymous class #<Class:0x00000004c54ff0> Warning. Error encountered while saving cache a2a13be836e4b8753a9fb4c0a59c6ef51e83b11b/_position.scssc: can't dump anonymous class #<Class:0x00000004c54ff0> Warning. Error encountered while saving cache a2a13be836e4b8753a9fb4c0a59c6ef51e83b11b/_prefixer.scssc: can't dump anonymous class #<Class:0x00000004c54ff0> Warning. Error encountered while saving cache a2a13be836e4b8753a9fb4c0a59c6ef51e83b11b/_retina-image.scssc: can't dump anonymous class #<Class:0x00000004c54ff0> Warning. Error encountered while saving cache a2a13be836e4b8753a9fb4c0a59c6ef51e83b11b/_size.scssc: can't dump anonymous class #<Class:0x00000004c54ff0> Warning. Error encountered while saving cache a2a13be836e4b8753a9fb4c0a59c6ef51e83b11b/_timing-functions.scssc: can't dump anonymous class #<Class:0x00000004c54ff0> Warning. Error encountered while saving cache a2a13be836e4b8753a9fb4c0a59c6ef51e83b11b/_triangle.scssc: can't dump anonymous class #<Class:0x00000004c54ff0> Warning. Error encountered while saving cache a2a13be836e4b8753a9fb4c0a59c6ef51e83b11b/_word-wrap.scssc: can't dump anonymous class #<Class:0x00000004c54ff0> Warning. Error encountered while saving cache 8e3c84ade5ab605011e98cef96158e607bf4051b/_bourbon-deprecated-upcoming.scssc: can't dump anonymous class #<Class:0x00000004c54ff0> Warning. Error encountered while saving cache 5abc5c1617e6a4159800b8c7336be28ed2e2d08b/all.sassc: can't dump anonymous class #<Class:0x00000004c54ff0> Warning. Error encountered while saving cache 5abc5c1617e6a4159800b8c7336be28ed2e2d08b/_accessibility.sassc: can't dump anonymous class #<Class:0x00000004c54ff0> Warning. Error encountered while saving cache 5abc5c1617e6a4159800b8c7336be28ed2e2d08b/_variables.sassc: can't dump anonymous class #<Class:0x00000004c54ff0> WARNING on line 143 of /home/openproject/openproject/app/assets/stylesheets/global/_mixins.sass: This selector doesn't have any properties and will not be rendered. Warning. Error encountered while saving cache 5abc5c1617e6a4159800b8c7336be28ed2e2d08b/_mixins.sassc: can't dump anonymous class #<Class:0x00000004c54ff0> Warning. Error encountered while saving cache cb7d1bc68a6a3ea1b4986d8f0892abbc24a07a7f/_lato.sassc: can't dump anonymous class #<Class:0x00000004c54ff0> Warning. Error encountered while saving cache cb7d1bc68a6a3ea1b4986d8f0892abbc24a07a7f/_openproject_icon_font.sassc: can't dump anonymous class #<Class:0x00000004c54ff0> Warning. Error encountered while saving cache 5abc5c1617e6a4159800b8c7336be28ed2e2d08b/all.sassc: can't dump anonymous class #<Class:0x00000004c54ff0> Warning. Error encountered while saving cache 5abc5c1617e6a4159800b8c7336be28ed2e2d08b/_accessibility.sassc: can't dump anonymous class #<Class:0x00000004c54ff0> Warning. Error encountered while saving cache 5abc5c1617e6a4159800b8c7336be28ed2e2d08b/_variables.sassc: can't dump anonymous class #<Class:0x00000004c54ff0> WARNING on line 143 of /home/openproject/openproject/app/assets/stylesheets/global/_mixins.sass:
The last bit repeats several times.
Can anyone at least point me in the right direction? Unfortunately this plugin is required both directly by my client, and by one of the other plugins (reporting) that they wish to use also.
Thanks,
Shane Chambers
Replies (4)
I forgot to mention that I currently have reporting_engine, openproject-reporting, and openproject-costs commented out, and everything has returned to working again.
Thanks again,
Shane Chambers
Hello Shane,
thanks for your question.
Could you position the costs plugin before the backlogs plugin in the Gemfile.plugins?
There is unfortunately a dependency which prevents OpenProject from working properly when costs is before backlogs.
Example:
Could you check if it works correctly with the following order?:
Please let me know, if this does not solve the issue.
Best regards,
Robin
Robin Wagner wrote:
Unfortunately it appears to produce the same error. This is the outcome of using the exact Gemfile.plugins order you listed above.
Thanks for your help!
Shane Chambers
Hello Shane,
the problem originates from a version mismatch between the costs plugin and your OpenProject core.
unfortunately the current stable version of the costs plugin (which is 4.0.10) is not compatible with OpenProject core 4.0.8.
The fix should be easy, you have two options:
4.0.10
.Gemfile.plugins
byv4.0.8
.You should reference OpenProject plugins explicitly by their version number to avoid such kinds of mismatches. OpenProject plugins follow the corresponding core version in lock step.
For a core of
4.0.8
yourGemfile.plugins
should probably look like this:The reporting engine plugin is the only exception here, because the initial thought was that it could be reused independently of OpenProject and would therefore follow its own versioning scheme.
I can’t really give you any better advice than that:
For OpenProject 4.0.x use
release/1.0
of the reporting engine.For all later versions use the
dev
branch of the reporting engine.We will have to improve our versioning of the reporting engine in the future.
Best regards
Jan