Skip to content

[production][request#changes_diff] undefined method 'webui_sourcediff' for nil #17686

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

Open
hennevogel opened this issue Apr 9, 2025 · 1 comment
Labels
Bug Frontend Things related to the OBS RoR app request-redesign Things about the request redesign beta feature

Comments

@hennevogel
Copy link
Member

See this exception on Errbit

undefined method 'webui_sourcediff' for nil

Summary

URL

https://build.opensuse.org/requests/1256456/actions/3460222/changes/python-numpy1.changes?file_index=0"

Where

request#changes_diff

Occured

Mar 29 7:49pm

Similar

3

Params

{
  "action" => "changes_diff",
  "controller" => "webui/request",
  "file_index" => "0",
  "filename" => "python-numpy1.changes",
  "number" => "1256456",
  "request_action_id" => "3460222"
}

Session

{
  "_csrf_token" => "kffrWiyAJ_WuYVOgpFCRiTyPSLnHTqOlKOel7IbdEKM",
  "session_id" => "60c3642ccf6801a3775517d86b16f289"
}

Backtrace

314:  app/controllers/webui/request_controller.rb -> **'Webui::RequestController#changes_diff'**
6:  /GEM_ROOT/gems/actionpack-7.0.8.1/lib/action_controller/metal/basic_implicit_render.rb -> **'ActionController::BasicImplicitRender#send_action'**
215:  /GEM_ROOT/gems/actionpack-7.0.8.1/lib/abstract_controller/base.rb -> **'AbstractController::Base#process_action'**
165:  /GEM_ROOT/gems/actionpack-7.0.8.1/lib/action_controller/metal/rendering.rb -> **'ActionController::Rendering#process_action'**
234:  /GEM_ROOT/gems/actionpack-7.0.8.1/lib/abstract_controller/callbacks.rb -> **'block in AbstractController::Callbacks#process_action'**
118:  /GEM_ROOT/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb -> **'block in ActiveSupport::Callbacks#run_callbacks'**
24:  /GEM_ROOT/gems/turbo-rails-2.0.12/lib/turbo-rails.rb -> **'Turbo.with_request_id'**
10:  /GEM_ROOT/gems/turbo-rails-2.0.12/app/controllers/concerns/turbo/request_id_tracking.rb -> **'Turbo::RequestIdTracking#turbo_tracking_request_id'**
127:  /GEM_ROOT/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb -> **'block in ActiveSupport::Callbacks#run_callbacks'**
138:  /GEM_ROOT/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb -> **'ActiveSupport::Callbacks#run_callbacks'**
233:  /GEM_ROOT/gems/actionpack-7.0.8.1/lib/abstract_controller/callbacks.rb -> **'AbstractController::Callbacks#process_action'**
23:  /GEM_ROOT/gems/actionpack-7.0.8.1/lib/action_controller/metal/rescue.rb -> **'ActionController::Rescue#process_action'**
67:  /GEM_ROOT/gems/actionpack-7.0.8.1/lib/action_controller/metal/instrumentation.rb -> **'block in ActionController::Instrumentation#process_action'**
206:  /GEM_ROOT/gems/activesupport-7.0.8.1/lib/active_support/notifications.rb -> **'block in ActiveSupport::Notifications.instrument'**
24:  /GEM_ROOT/gems/activesupport-7.0.8.1/lib/active_support/notifications/instrumenter.rb -> **'ActiveSupport::Notifications::Instrumenter#instrument'**
206:  /GEM_ROOT/gems/activesupport-7.0.8.1/lib/active_support/notifications.rb -> **'ActiveSupport::Notifications.instrument'**
66:  /GEM_ROOT/gems/actionpack-7.0.8.1/lib/action_controller/metal/instrumentation.rb -> **'ActionController::Instrumentation#process_action'**
259:  /GEM_ROOT/gems/actionpack-7.0.8.1/lib/action_controller/metal/params_wrapper.rb -> **'ActionController::ParamsWrapper#process_action'**
27:  /GEM_ROOT/gems/activerecord-7.0.8.1/lib/active_record/railties/controller_runtime.rb -> **'ActiveRecord::Railties::ControllerRuntime#process_action'**
151:  /GEM_ROOT/gems/actionpack-7.0.8.1/lib/abstract_controller/base.rb -> **'AbstractController::Base#process'**
39:  /GEM_ROOT/gems/actionview-7.0.8.1/lib/action_view/rendering.rb -> **'ActionView::Rendering#process'**
188:  /GEM_ROOT/gems/actionpack-7.0.8.1/lib/action_controller/metal.rb -> **'ActionController::Metal#dispatch'**
251:  /GEM_ROOT/gems/actionpack-7.0.8.1/lib/action_controller/metal.rb -> **'ActionController::Metal.dispatch'**
49:  /GEM_ROOT/gems/actionpack-7.0.8.1/lib/action_dispatch/routing/route_set.rb -> **'ActionDispatch::Routing::RouteSet::Dispatcher#dispatch'**
32:  /GEM_ROOT/gems/actionpack-7.0.8.1/lib/action_dispatch/routing/route_set.rb -> **'ActionDispatch::Routing::RouteSet::Dispatcher#serve'**
18:  /GEM_ROOT/gems/actionpack-7.0.8.1/lib/action_dispatch/routing/mapper.rb -> **'block in <class:Constraints>'**
48:  /GEM_ROOT/gems/actionpack-7.0.8.1/lib/action_dispatch/routing/mapper.rb -> **'ActionDispatch::Routing::Mapper::Constraints#serve'**
50:  /GEM_ROOT/gems/actionpack-7.0.8.1/lib/action_dispatch/journey/router.rb -> **'block in ActionDispatch::Journey::Router#serve'**
32:  /GEM_ROOT/gems/actionpack-7.0.8.1/lib/action_dispatch/journey/router.rb -> **'Array#each'**
32:  /GEM_ROOT/gems/actionpack-7.0.8.1/lib/action_dispatch/journey/router.rb -> **'ActionDispatch::Journey::Router#serve'**
852:  /GEM_ROOT/gems/actionpack-7.0.8.1/lib/action_dispatch/routing/route_set.rb -> **'ActionDispatch::Routing::RouteSet#call'**
87:  /GEM_ROOT/gems/flipper-1.3.4/lib/flipper/middleware/memoizer.rb -> **'Flipper::Middleware::Memoizer#memoized_call'**
45:  /GEM_ROOT/gems/flipper-1.3.4/lib/flipper/middleware/memoizer.rb -> **'Flipper::Middleware::Memoizer#call'**
15:  config/initializers/prefer_xml_over_html.rb -> **'PreferXmlOverHtml#call'**
44:  /GEM_ROOT/gems/rack-2.2.13/lib/rack/deflater.rb -> **'Rack::Deflater#call'**
15:  /GEM_ROOT/gems/rack-2.2.13/lib/rack/tempfile_reaper.rb -> **'Rack::TempfileReaper#call'**
27:  /GEM_ROOT/gems/rack-2.2.13/lib/rack/etag.rb -> **'Rack::ETag#call'**
27:  /GEM_ROOT/gems/rack-2.2.13/lib/rack/conditional_get.rb -> **'Rack::ConditionalGet#call'**
12:  /GEM_ROOT/gems/rack-2.2.13/lib/rack/head.rb -> **'Rack::Head#call'**
38:  /GEM_ROOT/gems/actionpack-7.0.8.1/lib/action_dispatch/http/permissions_policy.rb -> **'ActionDispatch::PermissionsPolicy::Middleware#call'**
36:  /GEM_ROOT/gems/actionpack-7.0.8.1/lib/action_dispatch/http/content_security_policy.rb -> **'ActionDispatch::ContentSecurityPolicy::Middleware#call'**
266:  /GEM_ROOT/gems/rack-2.2.13/lib/rack/session/abstract/id.rb -> **'Rack::Session::Abstract::Persisted#context'**
260:  /GEM_ROOT/gems/rack-2.2.13/lib/rack/session/abstract/id.rb -> **'Rack::Session::Abstract::Persisted#call'**
704:  /GEM_ROOT/gems/actionpack-7.0.8.1/lib/action_dispatch/middleware/cookies.rb -> **'ActionDispatch::Cookies#call'**
27:  /GEM_ROOT/gems/actionpack-7.0.8.1/lib/action_dispatch/middleware/callbacks.rb -> **'block in ActionDispatch::Callbacks#call'**
99:  /GEM_ROOT/gems/activesupport-7.0.8.1/lib/active_support/callbacks.rb -> **'ActiveSupport::Callbacks#run_callbacks'**
26:  /GEM_ROOT/gems/actionpack-7.0.8.1/lib/action_dispatch/middleware/callbacks.rb -> **'ActionDispatch::Callbacks#call'**
32:  /GEM_ROOT/gems/airbrake-9.4.3/lib/airbrake/rack/middleware.rb -> **'Airbrake::Rack::Middleware#call!'**
21:  /GEM_ROOT/gems/airbrake-9.4.3/lib/airbrake/rack/middleware.rb -> **'Airbrake::Rack::Middleware#call'**
28:  /GEM_ROOT/gems/actionpack-7.0.8.1/lib/action_dispatch/middleware/debug_exceptions.rb -> **'ActionDispatch::DebugExceptions#call'**
29:  /GEM_ROOT/gems/actionpack-7.0.8.1/lib/action_dispatch/middleware/show_exceptions.rb -> **'ActionDispatch::ShowExceptions#call'**
18:  /GEM_ROOT/gems/lograge-0.14.0/lib/lograge/rails_ext/rack/logger.rb -> **'Rails::Rack::Logger#call_app'**
25:  /GEM_ROOT/gems/railties-7.0.8.1/lib/rails/rack/logger.rb -> **'block in Rails::Rack::Logger#call'**
99:  /GEM_ROOT/gems/activesupport-7.0.8.1/lib/active_support/tagged_logging.rb -> **'block in ActiveSupport::TaggedLogging#tagged'**
37:  /GEM_ROOT/gems/activesupport-7.0.8.1/lib/active_support/tagged_logging.rb -> **'ActiveSupport::TaggedLogging::Formatter#tagged'**
99:  /GEM_ROOT/gems/activesupport-7.0.8.1/lib/active_support/tagged_logging.rb -> **'ActiveSupport::TaggedLogging#tagged'**
25:  /GEM_ROOT/gems/railties-7.0.8.1/lib/rails/rack/logger.rb -> **'Rails::Rack::Logger#call'**
93:  /GEM_ROOT/gems/actionpack-7.0.8.1/lib/action_dispatch/middleware/remote_ip.rb -> **'ActionDispatch::RemoteIp#call'**
93:  /GEM_ROOT/gems/actionpack-7.0.8.1/lib/action_dispatch/middleware/remote_ip.rb -> **'ActionDispatch::RemoteIp#call'**
19:  /GEM_ROOT/gems/request_store-1.7.0/lib/request_store/middleware.rb -> **'RequestStore::Middleware#call'**
26:  /GEM_ROOT/gems/actionpack-7.0.8.1/lib/action_dispatch/middleware/request_id.rb -> **'ActionDispatch::RequestId#call'**
24:  /GEM_ROOT/gems/rack-2.2.13/lib/rack/method_override.rb -> **'Rack::MethodOverride#call'**
22:  /GEM_ROOT/gems/rack-2.2.13/lib/rack/runtime.rb -> **'Rack::Runtime#call'**
29:  /GEM_ROOT/gems/activesupport-7.0.8.1/lib/active_support/cache/strategy/local_cache_middleware.rb -> **'ActiveSupport::Cache::Strategy::LocalCache::Middleware#call'**
14:  /GEM_ROOT/gems/actionpack-7.0.8.1/lib/action_dispatch/middleware/executor.rb -> **'ActionDispatch::Executor#call'**
18:  /GEM_ROOT/gems/rack-2.2.13/lib/rack/lock.rb -> **'Rack::Lock#call'**
110:  /GEM_ROOT/gems/rack-2.2.13/lib/rack/sendfile.rb -> **'Rack::Sendfile#call'**
131:  /GEM_ROOT/gems/actionpack-7.0.8.1/lib/action_dispatch/middleware/host_authorization.rb -> **'ActionDispatch::HostAuthorization#call'**
530:  /GEM_ROOT/gems/railties-7.0.8.1/lib/rails/engine.rb -> **'Rails::Engine#call'**
226:  /GEM_ROOT/gems/railties-7.0.8.1/lib/rails/railtie.rb -> **'Kernel#public_send'**
226:  /GEM_ROOT/gems/railties-7.0.8.1/lib/rails/railtie.rb -> **'Rails::Railtie.method_missing'**
74:  /GEM_ROOT/gems/rack-2.2.13/lib/rack/urlmap.rb -> **'block in Rack::URLMap#call'**
58:  /GEM_ROOT/gems/rack-2.2.13/lib/rack/urlmap.rb -> **'Array#each'**
58:  /GEM_ROOT/gems/rack-2.2.13/lib/rack/urlmap.rb -> **'Rack::URLMap#call'**
107:  /usr/lib64/ruby/gems/3.4.0/gems/passenger-6.0.20/src/ruby_supportlib/phusion_passenger/rack/thread_handler_extension.rb -> **'PhusionPassenger::Rack::ThreadHandlerExtension#process_request'**
149:  /usr/lib64/ruby/gems/3.4.0/gems/passenger-6.0.20/src/ruby_supportlib/phusion_passenger/request_handler/thread_handler.rb -> **'PhusionPassenger::RequestHandler::ThreadHandler#accept_and_process_next_request'**
110:  /usr/lib64/ruby/gems/3.4.0/gems/passenger-6.0.20/src/ruby_supportlib/phusion_passenger/request_handler/thread_handler.rb -> **'PhusionPassenger::RequestHandler::ThreadHandler#main_loop'**
419:  /usr/lib64/ruby/gems/3.4.0/gems/passenger-6.0.20/src/ruby_supportlib/phusion_passenger/request_handler.rb -> **'block (3 levels) in PhusionPassenger::RequestHandler#start_threads'**
113:  /usr/lib64/ruby/gems/3.4.0/gems/passenger-6.0.20/src/ruby_supportlib/phusion_passenger/utils.rb -> **'block in PhusionPassenger::Utils#create_thread_and_abort_on_exception'**

Environment

Key Value
program_name Passenger RubyApp: /srv/www/obs/api (production)
HTTP_USER_AGENT Mozilla/5.0 (X11; Linux x86_64; rv:136.0) Gecko/20100101 Firefox/136.0
@hennevogel hennevogel added Bug Frontend Things related to the OBS RoR app request-redesign Things about the request redesign beta feature labels Apr 9, 2025
@hennevogel
Copy link
Member Author

happens when visiting that URL while logged out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Frontend Things related to the OBS RoR app request-redesign Things about the request redesign beta feature
Projects
None yet
Development

No branches or pull requests

1 participant