Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sprockets::FileNotFound in ResqueWeb::Overview#show :: couldn't find file 'poll.png' #67

Closed
jph opened this issue Aug 20, 2014 · 6 comments

Comments

@jph
Copy link

jph commented Aug 20, 2014

Ruby 2.1.1
Rails 4.1.4
Resque 1.25.1
Resque-Web 0.0.5

This is in the development environment.

Any direction here would be appreciated, as I'm more than happy to make a PR if this is not something on my end.

Error:

couldn't find file 'poll.png'
  (in /home/jph/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/resque-web-0.0.5/app/assets/stylesheets/resque_web/bootstrap_and_overrides.css.scss)

Offending line:

     <%= stylesheet_link_tag    "resque_web/application", :media => "all" %>

Full trace:

sprockets (2.11.0) lib/sprockets/base.rb:153:in `resolve'
sprockets (2.11.0) lib/sprockets/context.rb:108:in `resolve'
sprockets (2.11.0) lib/sprockets/context.rb:119:in `depend_on'
sprockets-rails (2.1.3) lib/sprockets/rails/helper.rb:174:in `check_dependencies!'
sprockets-rails (2.1.3) lib/sprockets/rails/helper.rb:66:in `compute_asset_path'
actionview (4.1.4) lib/action_view/helpers/asset_url_helper.rb:132:in `asset_path'
actionview (4.1.4) lib/action_view/helpers/asset_url_helper.rb:281:in `image_path'
sprockets (2.11.0) lib/sprockets/sass_functions.rb:18:in `image_url'
sass (3.2.19) lib/sass/script/funcall.rb:113:in `_perform'
sass (3.2.19) lib/sass/script/node.rb:40:in `perform'
sass (3.2.19) lib/sass/script/funcall.rb:99:in `block in _perform'
sass (3.2.19) lib/sass/script/funcall.rb:99:in `map'
sass (3.2.19) lib/sass/script/funcall.rb:99:in `_perform'
sass (3.2.19) lib/sass/script/node.rb:40:in `perform'
sass (3.2.19) lib/sass/script/list.rb:71:in `block in _perform'
sass (3.2.19) lib/sass/script/list.rb:71:in `map'
sass (3.2.19) lib/sass/script/list.rb:71:in `_perform'
sass (3.2.19) lib/sass/script/node.rb:40:in `perform'
sass (3.2.19) lib/sass/tree/visitors/perform.rb:298:in `visit_prop'
sass (3.2.19) lib/sass/tree/visitors/base.rb:37:in `visit'
sass (3.2.19) lib/sass/tree/visitors/perform.rb:100:in `visit'
sass (3.2.19) lib/sass/tree/visitors/base.rb:53:in `block in visit_children'
sass (3.2.19) lib/sass/tree/visitors/base.rb:53:in `map'
sass (3.2.19) lib/sass/tree/visitors/base.rb:53:in `visit_children'
sass (3.2.19) lib/sass/tree/visitors/perform.rb:109:in `block in visit_children'
sass (3.2.19) lib/sass/tree/visitors/perform.rb:121:in `with_environment'
sass (3.2.19) lib/sass/tree/visitors/perform.rb:108:in `visit_children'
sass (3.2.19) lib/sass/tree/visitors/base.rb:37:in `block in visit'
sass (3.2.19) lib/sass/tree/visitors/perform.rb:320:in `visit_rule'
sass (3.2.19) lib/sass/tree/visitors/base.rb:37:in `visit'
sass (3.2.19) lib/sass/tree/visitors/perform.rb:100:in `visit'
sass (3.2.19) lib/sass/tree/visitors/base.rb:53:in `block in visit_children'
sass (3.2.19) lib/sass/tree/visitors/base.rb:53:in `map'
sass (3.2.19) lib/sass/tree/visitors/base.rb:53:in `visit_children'
sass (3.2.19) lib/sass/tree/visitors/perform.rb:109:in `block in visit_children'
sass (3.2.19) lib/sass/tree/visitors/perform.rb:121:in `with_environment'
sass (3.2.19) lib/sass/tree/visitors/perform.rb:108:in `visit_children'
sass (3.2.19) lib/sass/tree/visitors/base.rb:37:in `block in visit'
sass (3.2.19) lib/sass/tree/visitors/perform.rb:128:in `visit_root'
sass (3.2.19) lib/sass/tree/visitors/base.rb:37:in `visit'
sass (3.2.19) lib/sass/tree/visitors/perform.rb:100:in `visit'
sass (3.2.19) lib/sass/tree/visitors/perform.rb:7:in `visit'
sass (3.2.19) lib/sass/tree/root_node.rb:20:in `render'
sass (3.2.19) lib/sass/engine.rb:315:in `_render'
sass (3.2.19) lib/sass/engine.rb:262:in `render'
sass-rails (4.0.3) lib/sass/rails/template.rb:22:in `evaluate'
tilt (1.4.1) lib/tilt/template.rb:103:in `render'
sprockets (2.11.0) lib/sprockets/context.rb:197:in `block in evaluate'
sprockets (2.11.0) lib/sprockets/context.rb:194:in `each'
sprockets (2.11.0) lib/sprockets/context.rb:194:in `evaluate'
sprockets (2.11.0) lib/sprockets/processed_asset.rb:12:in `initialize'
sprockets (2.11.0) lib/sprockets/base.rb:374:in `new'
sprockets (2.11.0) lib/sprockets/base.rb:374:in `block in build_asset'
sprockets (2.11.0) lib/sprockets/base.rb:395:in `circular_call_protection'
sprockets (2.11.0) lib/sprockets/base.rb:373:in `build_asset'
sprockets (2.11.0) lib/sprockets/index.rb:94:in `block in build_asset'
sprockets (2.11.0) lib/sprockets/caching.rb:58:in `cache_asset'
sprockets (2.11.0) lib/sprockets/index.rb:93:in `build_asset'
sprockets (2.11.0) lib/sprockets/base.rb:287:in `find_asset'
sprockets (2.11.0) lib/sprockets/index.rb:61:in `find_asset'
sprockets (2.11.0) lib/sprockets/processed_asset.rb:111:in `block in resolve_dependencies'
sprockets (2.11.0) lib/sprockets/processed_asset.rb:105:in `each'
sprockets (2.11.0) lib/sprockets/processed_asset.rb:105:in `resolve_dependencies'
sprockets (2.11.0) lib/sprockets/processed_asset.rb:97:in `build_required_assets'
sprockets (2.11.0) lib/sprockets/processed_asset.rb:16:in `initialize'
sprockets (2.11.0) lib/sprockets/base.rb:374:in `new'
sprockets (2.11.0) lib/sprockets/base.rb:374:in `block in build_asset'
sprockets (2.11.0) lib/sprockets/base.rb:395:in `circular_call_protection'
sprockets (2.11.0) lib/sprockets/base.rb:373:in `build_asset'
sprockets (2.11.0) lib/sprockets/index.rb:94:in `block in build_asset'
sprockets (2.11.0) lib/sprockets/caching.rb:58:in `cache_asset'
sprockets (2.11.0) lib/sprockets/index.rb:93:in `build_asset'
sprockets (2.11.0) lib/sprockets/base.rb:287:in `find_asset'
sprockets (2.11.0) lib/sprockets/index.rb:61:in `find_asset'
sprockets (2.11.0) lib/sprockets/bundled_asset.rb:16:in `initialize'
sprockets (2.11.0) lib/sprockets/base.rb:377:in `new'
sprockets (2.11.0) lib/sprockets/base.rb:377:in `build_asset'
sprockets (2.11.0) lib/sprockets/index.rb:94:in `block in build_asset'
sprockets (2.11.0) lib/sprockets/caching.rb:58:in `cache_asset'
sprockets (2.11.0) lib/sprockets/index.rb:93:in `build_asset'
sprockets (2.11.0) lib/sprockets/base.rb:287:in `find_asset'
sprockets (2.11.0) lib/sprockets/index.rb:61:in `find_asset'
sprockets (2.11.0) lib/sprockets/environment.rb:75:in `find_asset'
sprockets (2.11.0) lib/sprockets/base.rb:295:in `[]'
sprockets-rails (2.1.3) lib/sprockets/rails/helper.rb:214:in `lookup_asset_for_path'
sprockets-rails (2.1.3) lib/sprockets/rails/helper.rb:182:in `check_errors_for'
sprockets-rails (2.1.3) lib/sprockets/rails/helper.rb:156:in `block in stylesheet_link_tag'
sprockets-rails (2.1.3) lib/sprockets/rails/helper.rb:155:in `map'
sprockets-rails (2.1.3) lib/sprockets/rails/helper.rb:155:in `stylesheet_link_tag'
resque-web (0.0.5) app/views/layouts/resque_web/application.html.erb:9:in `__home_james__rbenv_versions_______lib_ruby_gems_______gems_resque_web_______app_views_layouts_resque_web_application_html_erb___4207381482870245977_23474880594800'
actionview (4.1.4) lib/action_view/template.rb:145:in `block in render'
activesupport (4.1.4) lib/active_support/notifications.rb:161:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:339:in `instrument'
actionview (4.1.4) lib/action_view/template.rb:143:in `render'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:67:in `render_with_layout'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:53:in `render_template'
actionview (4.1.4) lib/action_view/renderer/template_renderer.rb:17:in `render'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:42:in `render_template'
actionview (4.1.4) lib/action_view/renderer/renderer.rb:23:in `render'
actionview (4.1.4) lib/action_view/rendering.rb:99:in `_render_template'
actionpack (4.1.4) lib/action_controller/metal/streaming.rb:217:in `_render_template'
actionview (4.1.4) lib/action_view/rendering.rb:82:in `render_to_body'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:32:in `render_to_body'
actionpack (4.1.4) lib/action_controller/metal/renderers.rb:32:in `render_to_body'
actionpack (4.1.4) lib/abstract_controller/rendering.rb:25:in `render'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:16:in `render'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
activesupport (4.1.4) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
/home/james/.rbenv/versions/2.1.1/lib/ruby/2.1.0/benchmark.rb:294:in `realtime'
activesupport (4.1.4) lib/active_support/core_ext/benchmark.rb:12:in `ms'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:40:in `render'
resque-web (0.0.5) app/controllers/resque_web/overview_controller.rb:4:in `show'
actionpack (4.1.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:189:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
activesupport (4.1.4) lib/active_support/callbacks.rb:113:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:113:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:229:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:166:in `block in halting'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `call'
activesupport (4.1.4) lib/active_support/callbacks.rb:86:in `run_callbacks'
actionpack (4.1.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `block in instrument'
activesupport (4.1.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (4.1.4) lib/active_support/notifications.rb:159:in `instrument'
actionpack (4.1.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
actionpack (4.1.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
activerecord (4.1.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (4.1.4) lib/abstract_controller/base.rb:136:in `process'
actionview (4.1.4) lib/action_view/rendering.rb:30:in `process'
actionpack (4.1.4) lib/action_controller/metal.rb:196:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
actionpack (4.1.4) lib/action_controller/metal.rb:232:in `block in action'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:50:in `call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `each'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/railtie.rb:194:in `public_send'
railties (4.1.4) lib/rails/railtie.rb:194:in `method_missing'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `each'
actionpack (4.1.4) lib/action_dispatch/journey/router.rb:59:in `call'
actionpack (4.1.4) lib/action_dispatch/routing/route_set.rb:678:in `call'
warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
warden (1.2.3) lib/warden/manager.rb:34:in `catch'
warden (1.2.3) lib/warden/manager.rb:34:in `call'
rack (1.5.2) lib/rack/etag.rb:23:in `call'
rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
rack (1.5.2) lib/rack/head.rb:11:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/flash.rb:254:in `call'
rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
activerecord (4.1.4) lib/active_record/query_cache.rb:36:in `call'
activerecord (4.1.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call'
activerecord (4.1.4) lib/active_record/migration.rb:380:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (4.1.4) lib/active_support/callbacks.rb:82:in `run_callbacks'
actionpack (4.1.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
railties (4.1.4) lib/rails/engine.rb:514:in `call'
railties (4.1.4) lib/rails/application.rb:144:in `call'
rack (1.5.2) lib/rack/lock.rb:17:in `call'
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
/home/jph/.rbenv/versions/2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
/home/jph/.rbenv/versions/2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
/home/jph/.rbenv/versions/2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
@jph
Copy link
Author

jph commented Aug 20, 2014

Upon further investigation this error appears in #53.

I tested with this version and while it appears to work, there are still style-related issues on the Resque-Web page. Namely the links across the black bar at the top are missing, however I think #65 fixes this.

@mcfiredrill
Copy link

@jph I've merged #53, I'd like to merge #65 but I haven't tested it and I'm not sure if there are any other breaking changes with upgrading to bootstrap 3.

@jph
Copy link
Author

jph commented Aug 20, 2014

Right, makes perfect sense. Will keep an eye on it. :)

On 20/08/2014 11:14, Tony Miller wrote:

@jph I've merged #53, I'd like to merge #65 but I haven't tested it and I'm not sure if there are any other breaking changes with upgrading to bootstrap 3.


Reply to this email directly or view it on GitHub:
#67 (comment)

@mcfiredrill
Copy link

If some people test it and confirm nothing else breaks I will gladly merge
it. :)

On Wed, Aug 20, 2014 at 10:46 AM, jph notifications@github.com wrote:

Right, makes perfect sense. Will keep an eye on it. :)

On 20/08/2014 11:14, Tony Miller wrote:

@jph I've merged #53, I'd like to merge #65 but I haven't tested it and
I'm not sure if there are any other breaking changes with upgrading to
bootstrap 3.


Reply to this email directly or view it on GitHub:
#67 (comment)


Reply to this email directly or view it on GitHub
#67 (comment).

-Tony Miller
github.com/mcfiredrill
@freedrull
freedrool.us

@jph
Copy link
Author

jph commented Aug 20, 2014

First off if there's anything I've missed let me know.

I've done some testing (within Rails) and the styles look much better to me. It looks like the red background highlight on the buttons across the top menu are not working however this is still better than how it is currently.

I also cloned the PR and run the test suite without any errors:

[Coveralls] Set up the SimpleCov formatter.
[Coveralls] Using SimpleCov's 'rails' settings.
Run options: --seed 47860

# Running tests:

.................................

Finished tests in 0.526560s, 62.6709 tests/s, 110.1489 assertions/s.

33 tests, 58 assertions, 0 failures, 0 errors, 0 skips
[Coveralls] Outside the Travis environment, not sending data.

Current version Gemfile (resque-web 0.0.6):

gem 'resque-web', require: 'resque_web'

Current version screenshot:
screen shot 2014-08-20 at 13 09 31

#65 Gemfile:

gem 'resque-web', require: 'resque_web', git: "git://github.com/mobirobo/resque-web.git"

#65 screenshot
screen shot 2014-08-20 at 13 03 22

@darinkrauss
Copy link

FYI: PR #65 replaced by PR #68.

@jph jph closed this as completed Aug 22, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants