#2 next_badge.py not working
Closed: Fixed Opened by fale.

After running

./download.sh fale

it tells me to run

python next_badge.py fale/messages.json fale/awarded.json fale/badges.json next-badge.html

When I do, the following error pops out:

Traceback (most recent call last):
  File "next_badge.py", line 14, in <module>
    from utils import get_progress, get_series_name
  File "/home/fale/my-next-badge/my-next-badge/utils.py", line 14, in <module>
    from fedbadges.rules import DatanommerCriteria
  File "/home/fale/my-next-badge/lib/python2.7/site-packages/fedbadges/rules.py", line 69, in <module>
    fedmsg_config = fedmsg.config.load_config()
  File "/home/fale/my-next-badge/lib/python2.7/site-packages/fedmsg/config.py", line 162, in load_config
    raise ValueError("No config value 'endpoints' found.")
ValueError: No config value 'endpoints' found.

Good catch. I added dummy configuration that should keep it happy. Can you try with current master? As long as you run the script in the root of the git repo, it should not be necessary to copy the fedmsg.d directory anywhere else.

Thanks, it works now :)

@lsedlar changed the status to Fixed

Metadata