{"record":{"id":"f1d602a1c4a5d497","repo":"deivid-rodriguez/byebug","slug":"can-t-find-part-path-path","errorCode":null,"errorMessage":"Can't find part path '#{path}'","messagePattern":"Can't find part path '#(.+?)'","errorType":"exception","errorClass":"Byebug::Printers::Base::MissedPath","httpStatus":null,"severity":"error","filePath":"lib/byebug/printers/base.rb","lineNumber":30,"sourceCode":"      class MissedArgument < StandardError; end\n\n      SEPARATOR = \".\"\n\n      def type\n        self.class.name.split(\"::\").last.downcase\n      end\n\n      private\n\n      def locate(path)\n        result = nil\n        contents.each_value do |contents|\n          result = parts(path).reduce(contents) do |r, part|\n            r&.key?(part) ? r[part] : nil\n          end\n          break if result\n        end\n        raise MissedPath, \"Can't find part path '#{path}'\" unless result\n\n        result\n      end\n\n      def translate(string, args = {})\n        # they may contain #{} string interpolation\n        string.gsub(/\\|\\w+$/, \"\").gsub(/([^#]?){([^}]*)}/) do\n          key = Regexp.last_match[2].to_s\n          raise MissedArgument, \"Missed argument #{key} for '#{string}'\" unless args.key?(key.to_sym)\n\n          \"#{Regexp.last_match[1]}#{args[key.to_sym]}\"\n        end\n      end\n\n      def parts(path)\n        path.split(SEPARATOR)\n      end\n","sourceCodeStart":12,"sourceCodeEnd":48,"githubUrl":"https://github.com/deivid-rodriguez/byebug/blob/25476b18d97172fecd61056d36255f311aa4a73c/lib/byebug/printers/base.rb#L12-L48","documentation":"Error \"Can't find part path '#{path}'\" thrown in deivid-rodriguez/byebug.","triggerScenarios":"Thrown at lib/byebug/printers/base.rb:30 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Verify the dotted part path exists in the printer YAML contents file (e.g. printers/texts/base.yml).","Add the missing key to the YAML file or correct the path segments separated by '.'."],"exampleFix":"print('info.breakpoints')   # ensure the 'info' -> 'breakpoints' keys exist in the printer YAML file","handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"25476b18d97172fecd61056d36255f311aa4a73c","analyzedAt":"2026-08-23T12:31:57.934Z","schemaVersion":2},"datasetVersion":"2026-08-23T16:17:53.355Z"}