!vVcsnwMNPHhwWsmXST:matrix.org

📣 Support Devs

244 Members
technical staff here!9 Servers

Load older messages


SenderMessageTime
1 Aug 2024
@sdelcroix:matrix.orgsdelcroixYou may clean webpacker compiled assets with this command : bundle exec rails webpacker:clobber07:24:25
@sdelcroix:matrix.orgsdelcroixThen try running : RAILS_ENV= production bin/rails assets:precompile07:25:08
@sdelcroix:matrix.orgsdelcroix
In reply to @telegram_8141311:t2bot.io
After you set up the vapid keys correctly, you need to enable them in the participant notifications settings
Hi Andres Pereira de Lucena Notifications are working in Chrome and Firefox, the thing that I've missed was to enable them in macOS for these applications ;)
08:39:33
@sdelcroix:matrix.orgsdelcroixThe issue I saw btw is a wrong encoding for quotes. Single are encoded to ' et doubles to &quote; I'll check if there is an issue on Github for that.08:44:59
@alonsorossi:matrix.orgalonsorossi
In reply to @sdelcroix:matrix.org
You may clean webpacker compiled assets with this command : bundle exec rails webpacker:clobber
I've done what you told me, and in the developer console of my browser, it says Uncaught ReferenceError: Decidim is not defined.
09:03:09
@sdelcroix:matrix.orgsdelcroixHere are the quote issues I have in push notifications when using conversations : 09:54:26
@sdelcroix:matrix.orgsdelcroixdecidim quotes in push notifications.png
Download decidim quotes in push notifications.png
09:54:35
@ralfi:hasihome.ddnss.de@ralfi:hasihome.ddnss.de joined the room.14:36:18
13 Aug 2024
@piotrsikora:pol.socialPiotr Sikora set a profile picture.11:40:38
14 Aug 2024
@xavier.v:matrix.orgXavier von A. set a profile picture.08:42:41
27 Aug 2024
@cviudez:matrix.orgcviudezRedacted or Malformed Event09:27:14
@cviudez:matrix.orgcviudezHello everyone, We have installed decidim for a local association and we wonder if there is a "contact form" component or a module to setup a contact form or shall we make our own contact classical form on rails ? Regards09:34:24
@telegram_8141311:t2bot.ioAndrés Pereira de Lucena
In reply to @cviudez:matrix.org
Hello everyone,
We have installed decidim for a local association and we wonder if there is a "contact form" component or a module to setup a contact form or shall we make our own contact classical form on rails ?
Regards
As far as I know there isn't a module that does that. With a classical rails form in the application should work of course
09:40:52
@cviudez:matrix.orgcviudezOk, many thanks Andrés09:50:10
@sdelcroix:matrix.orgsdelcroixHi everyone :) Hope you('ve) enjoy(ed) your summer ! I've just upgraded from 0.26.10 to 0.27.8 (step by step). The process was rather fine, but I had some errors on two post-install tasks.15:46:05
@sdelcroix:matrix.orgsdelcroix

Moderated content can now be removed from search index :

bin/rails decidim:upgrade:moderation:remove_from_search

Found 10 hidden resources that needs to be handled
Could not process moderation id 2 : Decidim::Comments::Comment#organization delegated to commentable.organization, but commentable is nil: #<Decidim::Comments::Comment id: 18, decidim_commentable_type: "Decidim::Blogs::Post", decidim_commentable_id: 7, decidim_author_id: 6, created_at: "2022-02-07 15:21:09.034573000 +0000", updated_at: "2022-10-28 09:19:34.820281000 +0000", depth: 0, alignment: 0, decidim_user_group_id: nil, decidim_root_commentable_type: "Decidim::Blogs::Post", decidim_root_commentable_id: 7, decidim_author_type: "Decidim::UserBaseEntity", body: {"fr"=>"https://www.ville-raismes.fr/\n"}, comments_count: 0, decidim_participatory_space_type: nil, decidim_participatory_space_id: nil, deleted_at: nil>
15:46:35
@sdelcroix:matrix.orgsdelcroixAnd15:46:40
@sdelcroix:matrix.orgsdelcroix

New Comments statistics structure :

bin/rails decidim_comments:update_participatory_process_in_comments

Updating comments...
0 comments updated.
5 errors found. Check the file 'log/update_participatory_process_in_comments.log' for more information.
15:47:11
@sdelcroix:matrix.orgsdelcroix *

Moderated content can now be removed from search index :

bin/rails decidim:upgrade:moderation:remove_from_search

Found 10 hidden resources that needs to be handled
Could not process moderation id 2 : Decidim::Comments::Comment#organization delegated to commentable.organization, but commentable is nil: #<Decidim::Comments::Comment id: 18, decidim_commentable_type: "Decidim::Blogs::Post", decidim_commentable_id: 7, decidim_author_id: 6, created_at: "2022-02-07 15:21:09.034573000 +0000", updated_at: "2022-10-28 09:19:34.820281000 +0000", depth: 0, alignment: 0, decidim_user_group_id: nil, decidim_root_commentable_type: "Decidim::Blogs::Post", decidim_root_commentable_id: 7, decidim_author_type: "Decidim::UserBaseEntity", body: {"fr"=>"https://www.ville-raismes.fr/\n"}, comments_count: 0, decidim_participatory_space_type: nil, decidim_participatory_space_id: nil, deleted_at: nil>
15:47:19
@sdelcroix:matrix.orgsdelcroix

The log contains the following errors :

Error updating comment #15: Decidim::Comments::Comment#organization delegated to commentable.organization, but commentable is nil: #<Decidim::Comments::Comment id: 15, decidim_commentable_type: "Decidim::Blogs::Post", decidim_commentable_id: 7, decidim_author_id: 7, created_at: "2022-02-07 15:17:44.426751000 +0000", updated_at: "2022-02-07 15:17:44.426751000 +0000", depth: 0, alignment: 0, decidim_user_group_id: nil, decidim_root_commentable_type: "Decidim::Blogs::Post", decidim_root_commentable_id: 7, decidim_author_type: "Decidim::UserBaseEntity", body: {"fr"=>"Premier commentaire"}, comments_count: 0, decidim_participatory_space_type: nil, decidim_participatory_space_id: nil, deleted_at: nil>
Error updating comment #16: Decidim::Comments::Comment#organization delegated to commentable.organization, but commentable is nil: #<Decidim::Comments::Comment id: 16, decidim_commentable_type: "Decidim::Blogs::Post", decidim_commentable_id: 7, decidim_author_id: 6, created_at: "2022-02-07 15:19:30.083885000 +0000", updated_at: "2022-02-07 15:19:30.083885000 +0000", depth: 0, alignment: 0, decidim_user_group_id: nil, decidim_root_commentable_type: "Decidim::Blogs::Post", decidim_root_commentable_id: 7, decidim_author_type: "Decidim::UserBaseEntity", body: {"fr"=>"Trop bien ça !\n"}, comments_count: 0, decidim_participatory_space_type: nil, decidim_participatory_space_id: nil, deleted_at: nil>
Error updating comment #17: Decidim::Comments::Comment#organization delegated to commentable.organization, but commentable is nil: #<Decidim::Comments::Comment id: 17, decidim_commentable_type: "Decidim::Blogs::Post", decidim_commentable_id: 7, decidim_author_id: 7, created_at: "2022-02-07 15:20:22.089469000 +0000", updated_at: "2022-02-07 15:20:22.089469000 +0000", depth: 0, alignment: 0, decidim_user_group_id: nil, decidim_root_commentable_type: "Decidim::Blogs::Post", decidim_root_commentable_id: 7, decidim_author_type: "Decidim::UserBaseEntity", body: {"fr"=>"Normalement ça se rafraichit tout seul si tu touches à rien"}, comments_count: 0, decidim_participatory_space_type: nil, decidim_participatory_space_id: nil, deleted_at: nil>
Error updating comment #18: Decidim::Comments::Comment#organization delegated to commentable.organization, but commentable is nil: #<Decidim::Comments::Comment id: 18, decidim_commentable_type: "Decidim::Blogs::Post", decidim_commentable_id: 7, decidim_author_id: 6, created_at: "2022-02-07 15:21:09.034573000 +0000", updated_at: "2022-10-28 09:19:34.820281000 +0000", depth: 0, alignment: 0, decidim_user_group_id: nil, decidim_root_commentable_type: "Decidim::Blogs::Post", decidim_root_commentable_id: 7, decidim_author_type: "Decidim::UserBaseEntity", body: {"fr"=>"https://www.ville-raismes.fr/\n"}, comments_count: 0, decidim_participatory_space_type: nil, decidim_participatory_space_id: nil, deleted_at: nil>
Error updating comment #19: Decidim::Comments::Comment#organization delegated to commentable.organization, but commentable is nil: #<Decidim::Comments::Comment id: 19, decidim_commentable_type: "Decidim::Meetings::Meeting", decidim_commentable_id: 13, decidim_author_id: 7, created_at: "2022-02-07 15:46:48.268255000 +0000", updated_at: "2022-02-07 15:46:48.268255000 +0000", depth: 0, alignment: 0, decidim_user_group_id: nil, decidim_root_commentable_type: "Decidim::Meetings::Meeting", decidim_root_commentable_id: 13, decidim_author_type: "Decidim::UserBaseEntity", body: {"fr"=>"Premier commentaire sur l'atelier 3"}, comments_count: 0, decidim_participatory_space_type: nil, decidim_participatory_space_id: nil, deleted_at: nil>
15:48:30
@sdelcroix:matrix.orgsdelcroix *

Moderated content can now be removed from search index :

bin/rails decidim:upgrade:moderation:remove_from_search

Found 10 hidden resources that needs to be handled
Could not process moderation id 2 : Decidim::Comments::Comment#organization delegated to commentable.organization, but commentable is nil: #<Decidim::Comments::Comment id: 18, decidim_commentable_type: "Decidim::Blogs::Post", decidim_commentable_id: 7, decidim_author_id: 6, created_at: "2022-02-07 15:21:09.034573000 +0000", updated_at: "2022-10-28 09:19:34.820281000 +0000", depth: 0, alignment: 0, decidim_user_group_id: nil, decidim_root_commentable_type: "Decidim::Blogs::Post", decidim_root_commentable_id: 7, decidim_author_type: "Decidim::UserBaseEntity", body: {"fr"=>"https://www.xxxxxxx.fr/\n"}, comments_count: 0, decidim_participatory_space_type: nil, decidim_participatory_space_id: nil, deleted_at: nil>
15:49:28
@sdelcroix:matrix.orgsdelcroix *

The log contains the following errors :

Error updating comment #15: Decidim::Comments::Comment#organization delegated to commentable.organization, but commentable is nil: #<Decidim::Comments::Comment id: 15, decidim_commentable_type: "Decidim::Blogs::Post", decidim_commentable_id: 7, decidim_author_id: 7, created_at: "2022-02-07 15:17:44.426751000 +0000", updated_at: "2022-02-07 15:17:44.426751000 +0000", depth: 0, alignment: 0, decidim_user_group_id: nil, decidim_root_commentable_type: "Decidim::Blogs::Post", decidim_root_commentable_id: 7, decidim_author_type: "Decidim::UserBaseEntity", body: {"fr"=>"Premier commentaire"}, comments_count: 0, decidim_participatory_space_type: nil, decidim_participatory_space_id: nil, deleted_at: nil>
Error updating comment #16: Decidim::Comments::Comment#organization delegated to commentable.organization, but commentable is nil: #<Decidim::Comments::Comment id: 16, decidim_commentable_type: "Decidim::Blogs::Post", decidim_commentable_id: 7, decidim_author_id: 6, created_at: "2022-02-07 15:19:30.083885000 +0000", updated_at: "2022-02-07 15:19:30.083885000 +0000", depth: 0, alignment: 0, decidim_user_group_id: nil, decidim_root_commentable_type: "Decidim::Blogs::Post", decidim_root_commentable_id: 7, decidim_author_type: "Decidim::UserBaseEntity", body: {"fr"=>"Trop bien ça !\n"}, comments_count: 0, decidim_participatory_space_type: nil, decidim_participatory_space_id: nil, deleted_at: nil>
Error updating comment #17: Decidim::Comments::Comment#organization delegated to commentable.organization, but commentable is nil: #<Decidim::Comments::Comment id: 17, decidim_commentable_type: "Decidim::Blogs::Post", decidim_commentable_id: 7, decidim_author_id: 7, created_at: "2022-02-07 15:20:22.089469000 +0000", updated_at: "2022-02-07 15:20:22.089469000 +0000", depth: 0, alignment: 0, decidim_user_group_id: nil, decidim_root_commentable_type: "Decidim::Blogs::Post", decidim_root_commentable_id: 7, decidim_author_type: "Decidim::UserBaseEntity", body: {"fr"=>"Normalement ça se rafraichit tout seul si tu touches à rien"}, comments_count: 0, decidim_participatory_space_type: nil, decidim_participatory_space_id: nil, deleted_at: nil>
Error updating comment #18: Decidim::Comments::Comment#organization delegated to commentable.organization, but commentable is nil: #<Decidim::Comments::Comment id: 18, decidim_commentable_type: "Decidim::Blogs::Post", decidim_commentable_id: 7, decidim_author_id: 6, created_at: "2022-02-07 15:21:09.034573000 +0000", updated_at: "2022-10-28 09:19:34.820281000 +0000", depth: 0, alignment: 0, decidim_user_group_id: nil, decidim_root_commentable_type: "Decidim::Blogs::Post", decidim_root_commentable_id: 7, decidim_author_type: "Decidim::UserBaseEntity", body: {"fr"=>"https://www.xxxxxxxx.fr/\n"}, comments_count: 0, decidim_participatory_space_type: nil, decidim_participatory_space_id: nil, deleted_at: nil>
Error updating comment #19: Decidim::Comments::Comment#organization delegated to commentable.organization, but commentable is nil: #<Decidim::Comments::Comment id: 19, decidim_commentable_type: "Decidim::Meetings::Meeting", decidim_commentable_id: 13, decidim_author_id: 7, created_at: "2022-02-07 15:46:48.268255000 +0000", updated_at: "2022-02-07 15:46:48.268255000 +0000", depth: 0, alignment: 0, decidim_user_group_id: nil, decidim_root_commentable_type: "Decidim::Meetings::Meeting", decidim_root_commentable_id: 13, decidim_author_type: "Decidim::UserBaseEntity", body: {"fr"=>"Premier commentaire sur l'atelier 3"}, comments_count: 0, decidim_participatory_space_type: nil, decidim_participatory_space_id: nil, deleted_at: nil>
15:49:46
@viktorsmar:matrix.orgViktor Smári

Hi there! 👋

Has anyone here recently tried to install Decidim using the recommended method:
gem install decidim
decidim decidim_application

I keep getting errors with StringIO versions.
Should I be using ruby 3.1.1 or should it also work with 3.3.4 ?

17:27:28
@viktorsmar:matrix.orgViktor Smári
Using decidim 0.28.2
Using decidim-dev 0.28.2
Bundle complete! 15 Gemfile dependencies, 255 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
2 installed gems you directly depend on are looking for funding.
  Run `bundle fund` for details
bin/rails:3: warning: already initialized constant APP_PATH
/home/viktor/dev/decidim_application3/bin/rails:3: warning: previous definition of APP_PATH was here
/home/viktor/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/bundler-2.4.6/lib/bundler/runtime.rb:304:in `check_for_activated_spec!': You have already activated stringio 3.1.1, but your Gemfile requires stringio 3.1.0. Prepending `bundle exec` to your command may solve this. (Gem::LoadError)
	from /home/viktor/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/bundler-2.4.6/lib/bundler/runtime.rb:25:in `block in setup'
	from /home/viktor/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/bundler-2.4.6/lib/bundler/spec_set.rb:155:in `each'
	from /home/viktor/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/bundler-2.4.6/lib/bundler/spec_set.rb:155:in `each'
	from /home/viktor/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/bundler-2.4.6/lib/bundler/runtime.rb:24:in `map'
	from /home/viktor/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/bundler-2.4.6/lib/bundler/runtime.rb:24:in `setup'
	from /home/viktor/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/bundler-2.4.6/lib/bundler.rb:170:in `setup'
	from /home/viktor/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/bundler-2.4.6/lib/bundler/setup.rb:10:in `block in <top (required)>'
	from /home/viktor/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/bundler-2.4.6/lib/bundler/ui/shell.rb:159:in `with_level'
	from /home/viktor/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/bundler-2.4.6/lib/bundler/ui/shell.rb:111:in `silence'
	from /home/viktor/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/bundler-2.4.6/lib/bundler/setup.rb:10:in `<top (required)>'
	from <internal:/home/viktor/.rbenv/versions/3.1.1/lib/ruby/site_ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
	from <internal:/home/viktor/.rbenv/versions/3.1.1/lib/ruby/site_ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
	from /home/viktor/dev/decidim_application3/config/boot.rb:3:in `<top (required)>'
	from bin/rails:4:in `require_relative'
	from bin/rails:4:in `<main>'
17:29:36
@viktorsmar:matrix.orgViktor Smári *

This is on ruby 3.1.1

Using decidim 0.28.2
Using decidim-dev 0.28.2
Bundle complete! 15 Gemfile dependencies, 255 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
2 installed gems you directly depend on are looking for funding.
  Run `bundle fund` for details
bin/rails:3: warning: already initialized constant APP_PATH
/home/viktor/dev/decidim_application3/bin/rails:3: warning: previous definition of APP_PATH was here
/home/viktor/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/bundler-2.4.6/lib/bundler/runtime.rb:304:in `check_for_activated_spec!': You have already activated stringio 3.1.1, but your Gemfile requires stringio 3.1.0. Prepending `bundle exec` to your command may solve this. (Gem::LoadError)
	from /home/viktor/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/bundler-2.4.6/lib/bundler/runtime.rb:25:in `block in setup'
	from /home/viktor/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/bundler-2.4.6/lib/bundler/spec_set.rb:155:in `each'
	from /home/viktor/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/bundler-2.4.6/lib/bundler/spec_set.rb:155:in `each'
	from /home/viktor/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/bundler-2.4.6/lib/bundler/runtime.rb:24:in `map'
	from /home/viktor/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/bundler-2.4.6/lib/bundler/runtime.rb:24:in `setup'
	from /home/viktor/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/bundler-2.4.6/lib/bundler.rb:170:in `setup'
	from /home/viktor/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/bundler-2.4.6/lib/bundler/setup.rb:10:in `block in <top (required)>'
	from /home/viktor/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/bundler-2.4.6/lib/bundler/ui/shell.rb:159:in `with_level'
	from /home/viktor/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/bundler-2.4.6/lib/bundler/ui/shell.rb:111:in `silence'
	from /home/viktor/.rbenv/versions/3.1.1/lib/ruby/gems/3.1.0/gems/bundler-2.4.6/lib/bundler/setup.rb:10:in `<top (required)>'
	from <internal:/home/viktor/.rbenv/versions/3.1.1/lib/ruby/site_ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
	from <internal:/home/viktor/.rbenv/versions/3.1.1/lib/ruby/site_ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
	from /home/viktor/dev/decidim_application3/config/boot.rb:3:in `<top (required)>'
	from bin/rails:4:in `require_relative'
	from bin/rails:4:in `<main>'
17:31:08
@telegram_500738289:t2bot.ioAlexandru LupuIt should be simple if u upgrade on hour gemfile ( ex bundle update stringio )17:32:27
@viktorsmar:matrix.orgViktor Smári
In reply to @telegram_500738289:t2bot.io
It should be simple if u upgrade on hour gemfile ( ex bundle update stringio )
What do you mean? I am creating a new app from scratch.
17:33:40
@viktorsmar:matrix.orgViktor Smári
In reply to @telegram_500738289:t2bot.io
It should be simple if u upgrade on hour gemfile ( ex bundle update stringio )
* What do you mean? I am creating a new app from scratch. I don't have an existing project (so I don't have a Gemfile or anything yet)
17:34:23
@viktorsmar:matrix.orgViktor SmáriWhat is the recommended ruby version?17:42:50
@telegram_500738289:t2bot.ioAlexandru LupuTbh, if you start now, try running using decidim 0.29 ( with ruby 3.2.x) ( decidim 0.29.0.rc4 is available now, and in ~2 weeks we may have the stable version released )17:46:08

Show newer messages


Back to Room ListRoom Version: 6