tclaus
(Thorsten Claus)
August 29, 2021, 4:34pm
1
By running cucumber on latest dev, every feature has lots of errors:
Unexpected inner loop exception: unknown keyword: type: unknown keyword: type: ["/Users/thorstenclaus/.rvm/gems/ruby-2.6.6@diaspora/gems/apparition-0.6.0/lib/capybara/apparition/page.rb:466:in `block in register_event_handlers'", "/Users/thorstenclaus/.rvm/gems/ruby-2.6.6@diaspora/gems/apparition-0.6.0/lib/capybara/apparition/driver/chrome_client.rb:209:in `block in process_handlers'", "/Users/thorstenclaus/.rvm/gems/ruby-2.6.6@diaspora/gems/apparition-0.6.0/lib/capybara/apparition/driver/chrome_client.rb:207:in `each'", "/Users/thorstenclaus/.rvm/gems/ruby-2.6.6@diaspora/gems/apparition-0.6.0/lib/capybara/apparition/driver/chrome_client.rb:207:in `process_handlers'", "/Users/thorstenclaus/.rvm/gems/ruby-2.6.6@diaspora/gems/apparition-0.6.0/lib/capybara/apparition/driver/chrome_client.rb:185:in `block in process_messages'", "/Users/thorstenclaus/.rvm/gems/ruby-2.6.6@diaspora/gems/apparition-0.6.0/lib/capybara/apparition/driver/chrome_client.rb:175:in `loop'", "/Users/thorstenclaus/.rvm/gems/ruby-2.6.6@diaspora/gems/apparition-0.6.0/lib/capybara/apparition/driver/chrome_client.rb:175:in `process_messages'", "/Users/thorstenclaus/.rvm/gems/ruby-2.6.6@diaspora/gems/apparition-0.6.0/lib/capybara/apparition/driver/chrome_client.rb:215:in `block in start_threads'", "/Users/thorstenclaus/.rvm/gems/ruby-2.6.6@diaspora/gems/logging-2.3.0/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'"]
Is it just me or has any other developer similar problem?
I got literally hundreds of this messages between the tests
flaburgan
(Flaburgan)
August 29, 2021, 4:35pm
2
2 Likes
tclaus
(Thorsten Claus)
August 29, 2021, 5:30pm
3
yes, I did (it again now) but it seems not be a missing template or wrong environment. I guess something between cucumber-apparition… No clue.
I ignore it in the meantime.
flaburgan
(Flaburgan)
August 29, 2021, 5:30pm
4
can you launch one single test and paste the full output here?
tclaus
(Thorsten Claus)
August 29, 2021, 8:39pm
5
The line I posted is the message between Tests.
I’ve uploaded a full cycle here:
A single Test
diaspora % cucumber features/desktop/activity_stream.feature
WARNING: Namespace test not found in /Users/thorstenclaus/Documents/develop/web-projects/diaspora/config/diaspora.toml
WARNING: Sidekiq::Web.sessions= is no longer relevant and will be removed in Sidekiq 7.0. /Users/thorstenclaus/.rvm/gems/ruby-2.6.6@diaspora/gems/sidekiq-6.2.1/lib/sidekiq/web.rb:75:in `set'
WARNING: Sidekiq::Web.sessions= is no longer relevant and will be removed in Sidekiq 7.0. /Users/thorstenclaus/.rvm/gems/ruby-2.6.6@diaspora/gems/sidekiq-6.2.1/lib/sidekiq/web.rb:75:in `set'
["pretty", Cucumber::Formatter::Pretty]
Factory: Cucumber::Formatter::Pretty
Formatter_options: {}
Path: #<IO:0x00007fcb49084d20>
Using the default profile...
@javascript
This file has been truncated. show original
flaburgan
(Flaburgan)
August 29, 2021, 9:48pm
6
Yeah I also have this, I don’t know where this is coming from
flaburgan
(Flaburgan)
August 29, 2021, 9:50pm
7
1 Like
flaburgan
(Flaburgan)
September 20, 2021, 8:48am
8
So for the record, this is a problem in the Apparition lib: https://github.com/twalpole/apparition/issues/80
It has been fixed and merged, but no new version released yet. This has been requested there: https://github.com/twalpole/apparition/issues/81
I posted a “up”, if we have no news in the coming weeks, we may want to apply the patch in the diaspora* codebase.
flaburgan
(Flaburgan)
November 2, 2021, 1:43pm
9
I saw people using gem 'apparition', github: 'twalpole/apparition', ref: 'ca86be4d54af835d531dbcd2b86e7b2c77f85f34'
in there gem file to load the last commit fixing the problem even if there is no new release. Is this something we should do? Or as we’re hosting some gems ourselves, push a version there?
flaburgan
(Flaburgan)
December 19, 2021, 2:29pm
10