Skip to content

Cannot load graph

EDIT: I just forgot to uncompress the *.zstd files for the first case. There is still an issue with the history-hosting graph though.


I tried the export-readmes on different graph and got the following error at the beginning, during the loading phase.

  • 2025-05-18, compressed graph (14TiB)
$ cargo run --features="deprecated-binaries" --bin export-readmes -- --graph /share/garandri/2025-05-18/compressed/graph --outdir /share/garandri/outdir
...
Error: Cannot load graph

Caused by:
    0: Could not load graph
    1: Could not graph file /share/garandri/2025-05-18/compressed/graph.graph
    2: Cannot stat /share/garandri/2025-05-18/compressed/graph.graph
    3: No such file or directory (os error 2)

Here is what happens when I justs give the path to the directory without mentioning 'graph':

$ cargo run --features="deprecated-binaries" --bin export-readmes -- --graph /share/garandri/2025-05-18/compressed --outdir /share/garandri/outdir
...
Error: Cannot load graph

Caused by:
    0: Could not load graph
    1: Could not load properties file /share/garandri/2025-05-18/compressed.properties
    2: Cannot open property file /share/garandri/2025-05-18/compressed.properties
    3: No such file or directory (os error 2)
  • 2025-05-18, “History and hosting” Compressed graph (1,5TiB)
$ cargo run --features="deprecated-binaries" --bin export-readmes -- --graph /share/garandri/2025-05-18-history-hosting/compressed/graph --outdir /share/garandri/outdir
...
Error: Cannot load graph

Caused by:
    0: Could not load properties
    1: /share/garandri/2025-05-18-history-hosting/compressed/graph.property.content.is_skipped.bits cannot be loaded: No such file
    2: No such file
  • The program only works with this graph: 2025-05-18-popular-1k, Compressed graph (202 GiB)
Edited by RANDRIANAINA Georges Aaron