GithubHelp home page GithubHelp logo

opensourcepolitics / decidim-module-budgets_enhanced Goto Github PK

View Code? Open in Web Editor NEW
1.0 4.0 3.0 191 KB

License: GNU Affero General Public License v3.0

Shell 0.10% Ruby 81.48% HTML 14.60% JavaScript 2.17% CSS 1.66%

decidim-module-budgets_enhanced's People

Contributors

ahukkanen avatar armandfardeau avatar kmhentto avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

decidim-module-budgets_enhanced's Issues

ArgumentError in Decidim::Devise::RegistrationsController#create

ArgumentError in Decidim::Devise::RegistrationsController#create

unknown keyword: :links

Error Logs:
vendor/bundle/ruby/2.7.0/bundler/gems/decidim-module-budgets_enhanced-e70aab11b64d/lib/decidim/content_renderers/project_renderer.rb:20:in 'render' vendor/bundle/ruby/2.7.0/gems/decidim-core-0.24.0/lib/decidim/content_processor.rb:119:in 'block in render_without_format' vendor/bundle/ruby/2.7.0/gems/decidim-core-0.24.0/lib/decidim/content_processor.rb:118:in 'each' vendor/bundle/ruby/2.7.0/gems/decidim-core-0.24.0/lib/decidim/content_processor.rb:118:in 'reduce' vendor/bundle/ruby/2.7.0/gems/decidim-core-0.24.0/lib/decidim/content_processor.rb:118:in 'render_without_format' vendor/bundle/ruby/2.7.0/gems/decidim-core-0.24.0/lib/decidim/search_resource_fields_mapper.rb:137:in 'block in read_i18n_field' vendor/bundle/ruby/2.7.0/gems/decidim-core-0.24.0/lib/decidim/search_resource_fields_mapper.rb:129:in 'collect' vendor/bundle/ruby/2.7.0/gems/decidim-core-0.24.0/lib/decidim/search_resource_fields_mapper.rb:129:in 'read_i18n_field' vendor/bundle/ruby/2.7.0/gems/decidim-core-0.24.0/lib/decidim/search_resource_fields_mapper.rb:116:in 'block in map_i18n_fields' vendor/bundle/ruby/2.7.0/gems/decidim-core-0.24.0/lib/decidim/search_resource_fields_mapper.rb:115:in 'each' vendor/bundle/ruby/2.7.0/gems/decidim-core-0.24.0/lib/decidim/search_resource_fields_mapper.rb:115:in 'map_i18n_fields' vendor/bundle/ruby/2.7.0/gems/decidim-core-0.24.0/lib/decidim/search_resource_fields_mapper.rb:59:in 'mapped' vendor/bundle/ruby/2.7.0/gems/decidim-core-0.24.0/lib/decidim/searchable.rb:75:in 'add_to_index_as_search_resource' vendor/bundle/ruby/2.7.0/gems/decidim-core-0.24.0/lib/decidim/searchable.rb:70:in 'try_add_to_index_as_search_resource' vendor/bundle/ruby/2.7.0/gems/activesupport-5.2.4.5/lib/active_support/callbacks.rb:426:in 'block in make_lambda' vendor/bundle/ruby/2.7.0/gems/activesupport-5.2.4.5/lib/active_support/callbacks.rb:236:in 'block in halting_and_conditional' vendor/bundle/ruby/2.7.0/gems/activesupport-5.2.4.5/lib/active_support/callbacks.rb:517:in 'block in invoke_after' vendor/bundle/ruby/2.7.0/gems/activesupport-5.2.4.5/lib/active_support/callbacks.rb:517:in 'each' vendor/bundle/ruby/2.7.0/gems/activesupport-5.2.4.5/lib/active_support/callbacks.rb:517:in 'invoke_after' vendor/bundle/ruby/2.7.0/gems/activesupport-5.2.4.5/lib/active_support/callbacks.rb:133:in 'run_callbacks' vendor/bundle/ruby/2.7.0/gems/activesupport-5.2.4.5/lib/active_support/callbacks.rb:816:in '_run_create_callbacks' vendor/bundle/ruby/2.7.0/gems/activerecord-5.2.4.5/lib/active_record/callbacks.rb:346:in '_create_record' vendor/bundle/ruby/2.7.0/gems/activerecord-5.2.4.5/lib/active_record/timestamp.rb:102:in '_create_record' vendor/bundle/ruby/2.7.0/gems/activerecord-5.2.4.5/lib/active_record/persistence.rb:705:in 'create_or_update' vendor/bundle/ruby/2.7.0/gems/activerecord-5.2.4.5/lib/active_record/callbacks.rb:342:in 'block in create_or_update' vendor/bundle/ruby/2.7.0/gems/activesupport-5.2.4.5/lib/active_support/callbacks.rb:132:in 'run_callbacks' vendor/bundle/ruby/2.7.0/gems/activesupport-5.2.4.5/lib/active_support/callbacks.rb:816:in '_run_save_callbacks' vendor/bundle/ruby/2.7.0/gems/activerecord-5.2.4.5/lib/active_record/callbacks.rb:342:in 'create_or_update' vendor/bundle/ruby/2.7.0/gems/activerecord-5.2.4.5/lib/active_record/persistence.rb:308:in 'save!' vendor/bundle/ruby/2.7.0/gems/activerecord-5.2.4.5/lib/active_record/validations.rb:52:in 'save!' vendor/bundle/ruby/2.7.0/gems/activerecord-5.2.4.5/lib/active_record/transactions.rb:315:in 'block in save!' vendor/bundle/ruby/2.7.0/gems/activerecord-5.2.4.5/lib/active_record/transactions.rb:387:in 'block in with_transaction_returning_status' vendor/bundle/ruby/2.7.0/gems/activerecord-5.2.4.5/lib/active_record/connection_adapters/abstract/database_statements.rb:267:in 'block in transaction' vendor/bundle/ruby/2.7.0/gems/activerecord-5.2.4.5/lib/active_record/connection_adapters/abstract/transaction.rb:239:in 'block in within_new_transaction' vendor/bundle/ruby/2.7.0/gems/activerecord-5.2.4.5/lib/active_record/connection_adapters/abstract/transaction.rb:236:in 'synchronize' vendor/bundle/ruby/2.7.0/gems/activerecord-5.2.4.5/lib/active_record/connection_adapters/abstract/transaction.rb:236:in 'within_new_transaction' vendor/bundle/ruby/2.7.0/gems/activerecord-5.2.4.5/lib/active_record/connection_adapters/abstract/database_statements.rb:267:in 'transaction' vendor/bundle/ruby/2.7.0/gems/activerecord-5.2.4.5/lib/active_record/transactions.rb:212:in 'transaction' vendor/bundle/ruby/2.7.0/gems/activerecord-5.2.4.5/lib/active_record/transactions.rb:385:in 'with_transaction_returning_status' vendor/bundle/ruby/2.7.0/gems/activerecord-5.2.4.5/lib/active_record/transactions.rb:315:in 'save!' vendor/bundle/ruby/2.7.0/gems/activerecord-5.2.4.5/lib/active_record/suppressor.rb:48:in 'save!' vendor/bundle/ruby/2.7.0/gems/activerecord-5.2.4.5/lib/active_record/persistence.rb:53:in 'create!' vendor/bundle/ruby/2.7.0/bundler/gems/decidim-module-extra_user_fields-bf931131e078/app/commands/concerns/decidim/extra_user_fields/commands_overrides.rb:14:in 'create_user' vendor/bundle/ruby/2.7.0/gems/decidim-core-0.24.0/app/commands/decidim/create_registration.rb:26:in 'call' vendor/bundle/ruby/2.7.0/gems/rectify-0.13.0/lib/rectify/command.rb:30:in 'call' vendor/bundle/ruby/2.7.0/gems/decidim-core-0.24.0/app/controllers/decidim/devise/registrations_controller.rb:26:in 'create' vendor/bundle/ruby/2.7.0/gems/actionpack-5.2.4.5/lib/action_controller/metal/basic_implicit_render.rb:6:in 'send_action' vendor/bundle/ruby/2.7.0/gems/actionpack-5.2.4.5/lib/abstract_controller/base.rb:194:in 'process_action' vendor/bundle/ruby/2.7.0/gems/actionpack-5.2.4.5/lib/action_controller/metal/rendering.rb:30:in 'process_action' vendor/bundle/ruby/2.7.0/gems/actionpack-5.2.4.5/lib/abstract_controller/callbacks.rb:42:in 'block in process_action' vendor/bundle/ruby/2.7.0/gems/activesupport-5.2.4.5/lib/active_support/callbacks.rb:109:in 'block in run_callbacks' vendor/bundle/ruby/2.7.0/gems/i18n-1.8.9/lib/i18n.rb:314:in 'with_locale' vendor/bundle/ruby/2.7.0/gems/decidim-core-0.24.0/app/controllers/concerns/decidim/locale_switcher.rb:24:in 'switch_locale' vendor/bundle/ruby/2.7.0/gems/activesupport-5.2.4.5/lib/active_support/callbacks.rb:118:in 'block in run_callbacks' vendor/bundle/ruby/2.7.0/gems/activesupport-5.2.4.5/lib/active_support/callbacks.rb:136:in 'run_callbacks' vendor/bundle/ruby/2.7.0/gems/actionpack-5.2.4.5/lib/abstract_controller/callbacks.rb:41:in 'process_action' vendor/bundle/ruby/2.7.0/gems/actionpack-5.2.4.5/lib/action_controller/metal/rescue.rb:22:in 'process_action' vendor/bundle/ruby/2.7.0/gems/actionpack-5.2.4.5/lib/action_controller/metal/instrumentation.rb:34:in 'block in process_action' vendor/bundle/ruby/2.7.0/gems/activesupport-5.2.4.5/lib/active_support/notifications.rb:168:in 'block in instrument' vendor/bundle/ruby/2.7.0/gems/activesupport-5.2.4.5/lib/active_support/notifications/instrumenter.rb:23:in 'instrument' vendor/bundle/ruby/2.7.0/gems/activesupport-5.2.4.5/lib/active_support/notifications.rb:168:in 'instrument' vendor/bundle/ruby/2.7.0/gems/actionpack-5.2.4.5/lib/action_controller/metal/instrumentation.rb:32:in 'process_action' vendor/bundle/ruby/2.7.0/gems/actionpack-5.2.4.5/lib/action_controller/metal/params_wrapper.rb:256:in 'process_action' vendor/bundle/ruby/2.7.0/gems/activerecord-5.2.4.5/lib/active_record/railties/controller_runtime.rb:24:in 'process_action' vendor/bundle/ruby/2.7.0/gems/actionpack-5.2.4.5/lib/abstract_controller/base.rb:134:in 'process' vendor/bundle/ruby/2.7.0/gems/actionview-5.2.4.5/lib/action_view/rendering.rb:32:in 'process' vendor/bundle/ruby/2.7.0/gems/actionpack-5.2.4.5/lib/action_controller/metal.rb:191:in 'dispatch' vendor/bundle/ruby/2.7.0/gems/actionpack-5.2.4.5/lib/action_controller/metal.rb:252:in 'dispatch' vendor/bundle/ruby/2.7.0/gems/actionpack-5.2.4.5/lib/action_dispatch/routing/route_set.rb:52:in 'dispatch' vendor/bundle/ruby/2.7.0/gems/actionpack-5.2.4.5/lib/action_dispatch/routing/route_set.rb:34:in 'serve' vendor/bundle/ruby/2.7.0/gems/actionpack-5.2.4.5/lib/action_dispatch/routing/mapper.rb:18:in 'block in <class:Constraints>' vendor/bundle/ruby/2.7.0/gems/actionpack-5.2.4.5/lib/action_dispatch/routing/mapper.rb:48:in 'serve' vendor/bundle/ruby/2.7.0/gems/actionpack-5.2.4.5/lib/action_dispatch/journey/router.rb:52:in 'block in serve' vendor/bundle/ruby/2.7.0/gems/actionpack-5.2.4.5/lib/action_dispatch/journey/router.rb:35:in 'each' vendor/bundle/ruby/2.7.0/gems/actionpack-5.2.4.5/lib/action_dispatch/journey/router.rb:35:in 'serve' vendor/bundle/ruby/2.7.0/gems/actionpack-5.2.4.5/lib/action_dispatch/routing/route_set.rb:840:in 'call' vendor/bundle/ruby/2.7.0/gems/railties-5.2.4.5/lib/rails/engine.rb:524:in 'call' vendor/bundle/ruby/2.7.0/gems/railties-5.2.4.5/lib/rails/railtie.rb:190:in 'public_send' vendor/bundle/ruby/2.7.0/gems/railties-5.2.4.5/lib/rails/railtie.rb:190:in 'method_missing' vendor/bundle/ruby/2.7.0/gems/actionpack-5.2.4.5/lib/action_dispatch/routing/mapper.rb:19:in 'block in <class:Constraints>' vendor/bundle/ruby/2.7.0/gems/actionpack-5.2.4.5/lib/action_dispatch/routing/mapper.rb:48:in 'serve' vendor/bundle/ruby/2.7.0/gems/actionpack-5.2.4.5/lib/action_dispatch/journey/router.rb:52:in 'block in serve' vendor/bundle/ruby/2.7.0/gems/actionpack-5.2.4.5/lib/action_dispatch/journey/router.rb:35:in 'each' vendor/bundle/ruby/2.7.0/gems/actionpack-5.2.4.5/lib/action_dispatch/journey/router.rb:35:in 'serve' vendor/bundle/ruby/2.7.0/gems/actionpack-5.2.4.5/lib/action_dispatch/routing/route_set.rb:840:in 'call' vendor/bundle/ruby/2.7.0/gems/batch-loader-1.5.0/lib/batch_loader/middleware.rb:11:in 'call' vendor/bundle/ruby/2.7.0/gems/omniauth-1.9.1/lib/omniauth/strategy.rb:192:in 'call!' vendor/bundle/ruby/2.7.0/gems/omniauth-1.9.1/lib/omniauth/strategy.rb:169:in 'call' vendor/bundle/ruby/2.7.0/gems/omniauth-1.9.1/lib/omniauth/builder.rb:45:in 'call' vendor/bundle/ruby/2.7.0/gems/warden-1.2.9/lib/warden/manager.rb:36:in 'block in call' vendor/bundle/ruby/2.7.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in 'catch' vendor/bundle/ruby/2.7.0/gems/warden-1.2.9/lib/warden/manager.rb:34:in 'call' vendor/bundle/ruby/2.7.0/gems/decidim-core-0.24.0/app/middleware/decidim/strip_x_forwarded_host.rb:11:in 'call' vendor/bundle/ruby/2.7.0/bundler/gems/decidim-module-combined_budgeting-39265842b18c/lib/decidim/combined_budgeting/middleware/authorization_redirect.rb:28:in 'call' vendor/bundle/ruby/2.7.0/gems/decidim-core-0.24.0/app/middleware/decidim/current_organization.rb:21:in 'call' vendor/bundle/ruby/2.7.0/gems/rack-2.2.3/lib/rack/tempfile_reaper.rb:15:in 'call' vendor/bundle/ruby/2.7.0/gems/rack-2.2.3/lib/rack/etag.rb:27:in 'call' vendor/bundle/ruby/2.7.0/gems/rack-2.2.3/lib/rack/conditional_get.rb:40:in 'call' vendor/bundle/ruby/2.7.0/gems/rack-2.2.3/lib/rack/head.rb:12:in 'call' vendor/bundle/ruby/2.7.0/gems/actionpack-5.2.4.5/lib/action_dispatch/http/content_security_policy.rb:18:in 'call' vendor/bundle/ruby/2.7.0/gems/rack-2.2.3/lib/rack/session/abstract/id.rb:266:in 'context' vendor/bundle/ruby/2.7.0/gems/rack-2.2.3/lib/rack/session/abstract/id.rb:260:in 'call' vendor/bundle/ruby/2.7.0/gems/actionpack-5.2.4.5/lib/action_dispatch/middleware/cookies.rb:670:in 'call' vendor/bundle/ruby/2.7.0/gems/activerecord-5.2.4.5/lib/active_record/migration.rb:559:in 'call' vendor/bundle/ruby/2.7.0/gems/actionpack-5.2.4.5/lib/action_dispatch/middleware/callbacks.rb:28:in 'block in call' vendor/bundle/ruby/2.7.0/gems/activesupport-5.2.4.5/lib/active_support/callbacks.rb:98:in 'run_callbacks' vendor/bundle/ruby/2.7.0/gems/actionpack-5.2.4.5/lib/action_dispatch/middleware/callbacks.rb:26:in 'call' vendor/bundle/ruby/2.7.0/gems/actionpack-5.2.4.5/lib/action_dispatch/middleware/executor.rb:14:in 'call' vendor/bundle/ruby/2.7.0/gems/actionpack-5.2.4.5/lib/action_dispatch/middleware/debug_exceptions.rb:61:in 'call' vendor/bundle/ruby/2.7.0/gems/web-console-3.7.0/lib/web_console/middleware.rb:135:in 'call_app' vendor/bundle/ruby/2.7.0/gems/web-console-3.7.0/lib/web_console/middleware.rb:30:in 'block in call' vendor/bundle/ruby/2.7.0/gems/web-console-3.7.0/lib/web_console/middleware.rb:20:in 'catch' vendor/bundle/ruby/2.7.0/gems/web-console-3.7.0/lib/web_console/middleware.rb:20:in 'call' vendor/bundle/ruby/2.7.0/gems/actionpack-5.2.4.5/lib/action_dispatch/middleware/show_exceptions.rb:33:in 'call' vendor/bundle/ruby/2.7.0/gems/railties-5.2.4.5/lib/rails/rack/logger.rb:38:in 'call_app' vendor/bundle/ruby/2.7.0/gems/railties-5.2.4.5/lib/rails/rack/logger.rb:26:in 'block in call' vendor/bundle/ruby/2.7.0/gems/activesupport-5.2.4.5/lib/active_support/tagged_logging.rb:71:in 'block in tagged' vendor/bundle/ruby/2.7.0/gems/activesupport-5.2.4.5/lib/active_support/tagged_logging.rb:28:in 'tagged' vendor/bundle/ruby/2.7.0/gems/activesupport-5.2.4.5/lib/active_support/tagged_logging.rb:71:in 'tagged' vendor/bundle/ruby/2.7.0/gems/railties-5.2.4.5/lib/rails/rack/logger.rb:26:in 'call' vendor/bundle/ruby/2.7.0/gems/sprockets-rails-3.2.2/lib/sprockets/rails/quiet_assets.rb:13:in 'call' vendor/bundle/ruby/2.7.0/gems/actionpack-5.2.4.5/lib/action_dispatch/middleware/remote_ip.rb:81:in 'call' vendor/bundle/ruby/2.7.0/gems/request_store-1.5.0/lib/request_store/middleware.rb:19:in 'call' vendor/bundle/ruby/2.7.0/gems/actionpack-5.2.4.5/lib/action_dispatch/middleware/request_id.rb:27:in 'call' vendor/bundle/ruby/2.7.0/gems/rack-2.2.3/lib/rack/method_override.rb:24:in 'call' vendor/bundle/ruby/2.7.0/gems/activesupport-5.2.4.5/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in 'call' vendor/bundle/ruby/2.7.0/gems/actionpack-5.2.4.5/lib/action_dispatch/middleware/executor.rb:14:in 'call' vendor/bundle/ruby/2.7.0/gems/actionpack-5.2.4.5/lib/action_dispatch/middleware/static.rb:127:in 'call' vendor/bundle/ruby/2.7.0/gems/rack-2.2.3/lib/rack/sendfile.rb:110:in 'call' vendor/bundle/ruby/2.7.0/gems/rack-cors-1.1.1/lib/rack/cors.rb:100:in 'call' vendor/bundle/ruby/2.7.0/gems/railties-5.2.4.5/lib/rails/engine.rb:524:in 'call' vendor/bundle/ruby/2.7.0/gems/puma-5.1.1/lib/puma/configuration.rb:246:in 'call' vendor/bundle/ruby/2.7.0/gems/puma-5.1.1/lib/puma/request.rb:76:in 'block in handle_request' vendor/bundle/ruby/2.7.0/gems/puma-5.1.1/lib/puma/thread_pool.rb:337:in 'with_force_shutdown' vendor/bundle/ruby/2.7.0/gems/puma-5.1.1/lib/puma/request.rb:75:in 'handle_request' vendor/bundle/ruby/2.7.0/gems/puma-5.1.1/lib/puma/server.rb:431:in 'process_client' vendor/bundle/ruby/2.7.0/gems/puma-5.1.1/lib/puma/thread_pool.rb:145:in 'block in spawn_thread'

Error with installing

When using
gem 'decidim-budgets_enhanced'
in Gemfile I get this error:
Could not find gem 'decidim-budgets_enhanced' in any of the gem sources listed in your Gemfile.

When Using
gem 'decidim-budgets_enhanced', git: "https://github.com/OpenSourcePolitics/decidim-module-budgets_enhanced.git"
I Get error with version:


Bundler could not find compatible versions for gem "decidim-budgets":
  In snapshot (Gemfile.lock):
    decidim-budgets (= 0.23.1)

  In Gemfile:
    decidim-dev (= 0.23.1) was resolved to 0.23.1, which depends on
      decidim (= 0.23.1) was resolved to 0.23.1, which depends on
        decidim-budgets (= 0.23.1)

    decidim-budgets_enhanced was resolved to 0.19.0, which depends on
      decidim-budgets (= 0.19.0)

Running `bundle update` will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.

I have tried with bundle update and got the same error.

ActionView::Template::Error: super: no superclass method `color' for #<Decidim::Category:0x00007efff18bd678>

Sentry Issue: WELSH-1

NoMethodError: super: no superclass method `color' for #<Decidim::Category:0x00007efff18bd678>
  active_model/attribute_methods.rb:427:in `method_missing'
    super
  decidim/category.rb:28:in `color'
    return super unless super.nil?
  decidim/budgets/projects_helper.rb:49:in `border_helper'
    return "" if project.category.color.blank?
  /home/mako/.rbenv/versions/2.6.3/lib/ruby/gems/2.6.0/bundler/gems/decidim-module-budgets_enhanced-06149b896c04/app/views/decidim/budgets/projects/_project.html.erb:2:in `__home_mako__rbenv_versions_______lib_ruby_gems_______bundler_gems_decidim_module_budgets_enhanced______b___c___app_views_decidim_budgets_projects__project_html_erb__982197229709163123_47105012675380'
    style="<%= border_helper(project) %>">
  action_view/template.rb:159:in `block in render'
    view.send(method_name, locals, buffer, &block)
...
(214 additional frame(s) were not displayed)

ActionView::Template::Error: super: no superclass method `color' for #<Decidim::Category:0x00007efff18bd678>

ActionView::Template::Error: super: no superclass method `color' for #<Decidim::Category:0x00007efff18bd678>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.