sourcecred/template-instance

CredRank doesn't run: need at least one interval

Opened this issue · 1 comments

After connecting successfully yarn load Discord doing a yarn start or low-level yarn sourcecred go I get this:

$ /Users/marc/Projects/sourcecred/node_modules/.bin/sourcecred go
  GO   load
  GO   loading sourcecred/discord
  GO   sourcecred/discord: discord/Haags Samenspel
Discord Rate limit reached. Waiting for 1.418 seconds (until 2021-8-19 15:22:59)
  GO   sourcecred/discord: discord/Haags Samenspel/#welkom-en-regels
 DONE  sourcecred/discord: discord/Haags Samenspel/#welkom-en-regels: 276ms
  GO   sourcecred/discord: discord/Haags Samenspel/#aankondigingen
 DONE  sourcecred/discord: discord/Haags Samenspel/#aankondigingen: 229ms
  GO   sourcecred/discord: discord/Haags Samenspel/#bronnen
 DONE  sourcecred/discord: discord/Haags Samenspel/#bronnen: 148ms
  GO   sourcecred/discord: discord/Haags Samenspel/#verhalen
 DONE  sourcecred/discord: discord/Haags Samenspel/#verhalen: 186ms
  GO   sourcecred/discord: discord/Haags Samenspel/#ontmoetingen
 DONE  sourcecred/discord: discord/Haags Samenspel/#ontmoetingen: 143ms
  GO   sourcecred/discord: discord/Haags Samenspel/#bouwlust-vrederust
 DONE  sourcecred/discord: discord/Haags Samenspel/#bouwlust-vrederust: 142ms
  GO   sourcecred/discord: discord/Haags Samenspel/#mijn-buren
 DONE  sourcecred/discord: discord/Haags Samenspel/#mijn-buren: 204ms
  GO   sourcecred/discord: discord/Haags Samenspel/#wijkagenda
 DONE  sourcecred/discord: discord/Haags Samenspel/#wijkagenda: 149ms
 DONE  sourcecred/discord: discord/Haags Samenspel: 3205ms
 DONE  loading sourcecred/discord: 3404ms
 DONE  load: 3407ms
  GO   graph
  GO   reference detector for sourcecred/discord
 DONE  reference detector for sourcecred/discord: 1ms
  GO   generating graph for sourcecred/discord
 DONE  generating graph for sourcecred/discord: 5ms
  GO   writing files
 DONE  writing files: 7ms
 DONE  graph: 16ms
  GO   credrank
  GO   load data
File not found at path: config/weights.json. Defaulting.
File not found at path: config/pluginBudgets.json. Defaulting.
File not found at path: config/personalAttributions.json. Defaulting.
 DONE  load data: 4ms
  GO   run CredRank
Error: need at least one interval
    at Function.new (webpack:///./src/core/credrank/markovProcessGraph.js?:83:431)
    at credrank (webpack:///./src/core/credrank/compute.js?:22:849)
    at credrank (webpack:///./src/api/main/credrank.js?:21:1253)
    at credrankCommand (webpack:///./src/cli/credrank.js?:14:1220)
    at async goCommand (webpack:///./src/cli/go.js?:7:817)
error Command failed with exit code 1.```

Could have something to do with the config files `weights.json` etc., but not sure how to fill them. Or the setup of Github Actions?

Same problem, you figure it out?