Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.rc > #283775 > unrolled thread
| Started by | Pirate Praveen <praveen@onenetbeyond.org> |
|---|---|
| First post | 2020-08-03 16:50 +0200 |
| Last post | 2020-08-03 21:00 +0200 |
| Articles | 4 — 2 participants |
Back to article view | Back to linux.debian.bugs.rc
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Bug#967007: Now dependencies are satisfied Pirate Praveen <praveen@onenetbeyond.org> - 2020-08-03 16:50 +0200
Bug#967007: Now dependencies are satisfied Pirate Praveen <praveen@onenetbeyond.org> - 2020-08-03 20:10 +0200
Bug#967007: Now dependencies are satisfied Pirate Praveen <praveen@onenetbeyond.org> - 2020-08-03 21:00 +0200
Processed: Re: Now dependencies are satisfied "Debian Bug Tracking System" <owner@bugs.debian.org> - 2020-08-03 21:00 +0200
| From | Pirate Praveen <praveen@onenetbeyond.org> |
|---|---|
| Date | 2020-08-03 16:50 +0200 |
| Subject | Bug#967007: Now dependencies are satisfied |
| Message-ID | <AzJWN-4dn-1@gated-at.bofh.it> |
Once ruby-webpacker and ruby-webdrivers clears NEW creating new rails
app will work.
Now some tests for the newly created app fails. I think running rails
webpacker:install will fix it.
+ rake test
/usr/lib/ruby/vendor_ruby/capybara/selector/filter_set.rb:115: warning:
Using the last argument as keyword parameters is deprecated; maybe **
should be added to the call
/usr/lib/ruby/vendor_ruby/capybara/selector/filters/node_filter.rb:9:
warning: The called method `initialize' is defined here
/usr/lib/ruby/vendor_ruby/capybara/selector/filter_set.rb:19: warning:
Using the last argument as keyword parameters is deprecated; maybe **
should be added to the call
/usr/lib/ruby/vendor_ruby/capybara/selector/filter_set.rb:111: warning:
The called method `add_filter' is defined here
/usr/lib/ruby/vendor_ruby/capybara/selector/filter_set.rb:115: warning:
Using the last argument as keyword parameters is deprecated; maybe **
should be added to the call
/usr/lib/ruby/vendor_ruby/capybara/selector/filters/base.rb:7: warning:
The called method `initialize' is defined here
/usr/lib/ruby/vendor_ruby/capybara/selector/selector.rb:361: warning:
Using the last argument as keyword parameters is deprecated; maybe **
should be added to the call
/usr/lib/ruby/vendor_ruby/capybara/selector/filters/locator_filter.rb:9:
warning: The called method `initialize' is defined here
/usr/lib/ruby/vendor_ruby/capybara/selector/filters/locator_filter.rb:10:
warning: Using the last argument as keyword parameters is deprecated;
maybe ** should be added to the call
/usr/lib/ruby/vendor_ruby/capybara/selector/filters/node_filter.rb:9:
warning: The called method `initialize' is defined here
DEPRECATION WARNING: Single arity template handlers are deprecated.
Template handlers must
now accept two parameters, the view object and the source for the view
object.
Change:
>> JbuilderHandler.call(template)
To:
>> JbuilderHandler.call(template, source)
(called from block (2 levels) in <class:Railtie> at
/usr/lib/ruby/vendor_ruby/jbuilder/railtie.rb:8)
RAILS_ENV=test environment is not defined in config/webpacker.yml,
falling back to production environment
/usr/lib/ruby/vendor_ruby/capybara/selector/filter_set.rb:115: warning:
Using the last argument as keyword parameters is deprecated; maybe **
should be added to the call
/usr/lib/ruby/vendor_ruby/capybara/selector/filters/node_filter.rb:9:
warning: The called method `initialize' is defined here
/usr/lib/ruby/vendor_ruby/capybara/selector/filter_set.rb:19: warning:
Using the last argument as keyword parameters is deprecated; maybe **
should be added to the call
/usr/lib/ruby/vendor_ruby/capybara/selector/filter_set.rb:111: warning:
The called method `add_filter' is defined here
/usr/lib/ruby/vendor_ruby/capybara/selector/filter_set.rb:115: warning:
Using the last argument as keyword parameters is deprecated; maybe **
should be added to the call
/usr/lib/ruby/vendor_ruby/capybara/selector/filters/base.rb:7: warning:
The called method `initialize' is defined here
/usr/lib/ruby/vendor_ruby/capybara/selector/selector.rb:361: warning:
Using the last argument as keyword parameters is deprecated; maybe **
should be added to the call
/usr/lib/ruby/vendor_ruby/capybara/selector/filters/locator_filter.rb:9:
warning: The called method `initialize' is defined here
/usr/lib/ruby/vendor_ruby/capybara/selector/filters/locator_filter.rb:10:
warning: Using the last argument as keyword parameters is deprecated;
maybe ** should be added to the call
/usr/lib/ruby/vendor_ruby/capybara/selector/filters/node_filter.rb:9:
warning: The called method `initialize' is defined here
DEPRECATION WARNING: Single arity template handlers are deprecated.
Template handlers must
now accept two parameters, the view object and the source for the view
object.
Change:
>> JbuilderHandler.call(template)
To:
>> JbuilderHandler.call(template, source)
(called from block (2 levels) in <class:Railtie> at
/usr/lib/ruby/vendor_ruby/jbuilder/railtie.rb:8)
RAILS_ENV=test environment is not defined in config/webpacker.yml,
falling back to production environment
Run options: --seed 61677
# Running:
...E
Error:
ProductsControllerTest#test_should_get_edit:
ActionView::Template::Error: Webpacker configuration file not found
/tmp/autopkgtest-lxc.60lhwj6z/downtmp/autopkgtest_tmp/foo/config/webpacker.yml.
Please run rails webpacker:install Error: No such file or directory @
rb_sysopen -
/tmp/autopkgtest-lxc.60lhwj6z/downtmp/autopkgtest_tmp/foo/config/webpacker.yml
app/views/layouts/application.html.erb:9
test/controllers/products_controller_test.rb:32:in `block in
<class:ProductsControllerTest>'
rails test test/controllers/products_controller_test.rb:31
E
Error:
ProductsControllerTest#test_should_get_new:
ActionView::Template::Error: Webpacker configuration file not found
/tmp/autopkgtest-lxc.60lhwj6z/downtmp/autopkgtest_tmp/foo/config/webpacker.yml.
Please run rails webpacker:install Error: No such file or directory @
rb_sysopen -
/tmp/autopkgtest-lxc.60lhwj6z/downtmp/autopkgtest_tmp/foo/config/webpacker.yml
app/views/layouts/application.html.erb:9
test/controllers/products_controller_test.rb:14:in `block in
<class:ProductsControllerTest>'
rails test test/controllers/products_controller_test.rb:13
E
Error:
ProductsControllerTest#test_should_get_index:
ActionView::Template::Error: Webpacker configuration file not found
/tmp/autopkgtest-lxc.60lhwj6z/downtmp/autopkgtest_tmp/foo/config/webpacker.yml.
Please run rails webpacker:install Error: No such file or directory @
rb_sysopen -
/tmp/autopkgtest-lxc.60lhwj6z/downtmp/autopkgtest_tmp/foo/config/webpacker.yml
app/views/layouts/application.html.erb:9
test/controllers/products_controller_test.rb:9:in `block in
<class:ProductsControllerTest>'
rails test test/controllers/products_controller_test.rb:8
E
Error:
ProductsControllerTest#test_should_show_product:
ActionView::Template::Error: Webpacker configuration file not found
/tmp/autopkgtest-lxc.60lhwj6z/downtmp/autopkgtest_tmp/foo/config/webpacker.yml.
Please run rails webpacker:install Error: No such file or directory @
rb_sysopen -
/tmp/autopkgtest-lxc.60lhwj6z/downtmp/autopkgtest_tmp/foo/config/webpacker.yml
app/views/layouts/application.html.erb:9
test/controllers/products_controller_test.rb:27:in `block in
<class:ProductsControllerTest>'
rails test test/controllers/products_controller_test.rb:26
Finished in 0.596654s, 11.7321 runs/s, 8.3801 assertions/s.
7 runs, 5 assertions, 0 failures, 4 errors, 0 skips
autopkgtest [19:51:39]: test newapp: ---------------
[toc] | [next] | [standalone]
| From | Pirate Praveen <praveen@onenetbeyond.org> |
|---|---|
| Date | 2020-08-03 20:10 +0200 |
| Message-ID | <AzN4o-6ic-29@gated-at.bofh.it> |
| In reply to | #283775 |
On Mon, Aug 3, 2020 at 21:43, Pirate Praveen <praveen@onenetbeyond.org>
wrote:
> This seems strange as rails metapackage has a dependency on webpack,
> and yarnpkg which should pull nodejs.
After skipping check for nodejs and yarn version checks in
ruby-webpacker, I get this error. This looks like a bug in
ruby-webpacker, it may be missing the required files in the binary
package.
+ rake --trace webpacker:install
** Invoke webpacker:install (first_time)
** Invoke webpacker:check_node (first_time)
** Execute webpacker:check_node
Node.js version is v12.18.2
** Invoke webpacker:check_yarn (first_time)
** Execute webpacker:check_yarn
Yarn version is 1.22.4
** Execute webpacker:install
identical config/webpacker.yml
Copying webpack core config
exist config/webpack
identical config/webpack/development.js
identical config/webpack/environment.js
identical config/webpack/production.js
identical config/webpack/test.js
Copying postcss.config.js to app root directory
identical postcss.config.js
Copying babel.config.js to app root directory
identical babel.config.js
Copying .browserslistrc to app root directory
rails aborted!
Thor::Error: Could not find
"/usr/share/rubygems-integration/all/gems/webpacker-4.2.2/lib/install/config/.browserslistrc"
in any of your source paths.
[toc] | [prev] | [next] | [standalone]
| From | Pirate Praveen <praveen@onenetbeyond.org> |
|---|---|
| Date | 2020-08-03 21:00 +0200 |
| Message-ID | <AzNQK-6A1-7@gated-at.bofh.it> |
| In reply to | #283802 |
Control: tags -1 pending On Mon, Aug 3, 2020 at 23:31, Pirate Praveen <praveen@onenetbeyond.org> wrote: > After skipping check for nodejs and yarn version checks in > ruby-webpacker, I get this error. This looks like a bug in > ruby-webpacker, it may be missing the required files in the binary > package. This was fixed in ruby-webpacker 4.2.2-3. Now the autopkgtest is passing. It took almost a whole day to troubleshoot and fix this.
[toc] | [prev] | [next] | [standalone]
| From | "Debian Bug Tracking System" <owner@bugs.debian.org> |
|---|---|
| Date | 2020-08-03 21:00 +0200 |
| Subject | Processed: Re: Now dependencies are satisfied |
| Message-ID | <AzNQK-6A1-9@gated-at.bofh.it> |
| In reply to | #283804 |
Processing control commands: > tags -1 pending Bug #967007 [rails] rails: package new gem dependencies for autopkgtests Added tag(s) pending. -- 967007: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=967007 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.bugs.rc
csiph-web