{"record":{"id":"0876f626ad6b1e2d","repo":"ytti/oxidized","slug":"source-returns-no-usable-nodes","errorCode":null,"errorMessage":"source returns no usable nodes","messagePattern":"source returns no usable nodes","errorType":"exception","errorClass":"NoNodesFound","httpStatus":null,"severity":"error","filePath":"lib/oxidized/core.rb","lineNumber":17,"sourceCode":"module Oxidized\n  class << self\n    def new(*args)\n      Core.new args\n    end\n  end\n\n  class Core\n    include SemanticLogger::Loggable\n\n    class NoNodesFound < OxidizedError; end\n\n    def initialize(_args)\n      Oxidized.mgr = Manager.new\n      Oxidized.hooks = HookManager.from_config(Oxidized.config)\n      nodes = Nodes.new\n      raise NoNodesFound, 'source returns no usable nodes' if nodes.empty?\n\n      @worker = Worker.new nodes\n      @need_reload = false\n\n      # If we receive a SIGHUP, queue a reload of the state\n      reload_proc = proc do\n        @need_reload = true\n      end\n      Signals.register_signal('HUP', reload_proc)\n\n      # Load extensions, currently only oxidized-web\n      # We have different namespaces for oxidized-web, which needs to be\n      # adressed if we need a generic way to load extensions:\n      # - gem: oxidized-web\n      # - module: Oxidized::API\n      # - path: oxidized/web\n      # - entrypoint: Oxidized::API::Web.new(nodes, configuration)\n","sourceCodeStart":1,"sourceCodeEnd":35,"githubUrl":"https://github.com/ytti/oxidized/blob/687ed4262d9d21e54662e872e2383386d8498f7b/lib/oxidized/core.rb#L1-L35","documentation":"Error \"source returns no usable nodes\" thrown in ytti/oxidized.","triggerScenarios":"Thrown at lib/oxidized/core.rb:17 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"687ed4262d9d21e54662e872e2383386d8498f7b","analyzedAt":"2026-08-23T11:19:42.084Z","schemaVersion":2},"datasetVersion":"2026-08-23T16:17:53.355Z"}