with Not_found ->
let ouri = NUri.ouri_of_nuri u in
let o,_ =
- CicEnvironment.get_cooked_obj ~trust:false CicUniv.oblivion_ugraph ouri
+ try
+ CicEnvironment.get_obj CicUniv.oblivion_ugraph ouri
+ with exn -> prerr_endline (UriManager.string_of_uri ouri); raise exn
in
(* FIX: add all objects to the environment and give back the last one *)
let l = OCic2NCic.convert_obj ouri o in
(* in th final implementation should get it from disk *)
let ouri = NUri.ouri_of_nuri u in
let o,_ =
- CicEnvironment.get_cooked_obj ~trust:true CicUniv.oblivion_ugraph ouri
+ CicEnvironment.get_obj CicUniv.oblivion_ugraph ouri
in
let l = OCic2NCic.convert_obj ouri o in
List.iter (fun (u,_,_,_,_ as o) ->