Comment 2 for bug 234890

Revision history for this message
Prodigious Penguin (prodigiouspenguin) wrote :

I originally tried five-a-day 0.37 from the repositories, but updated revision to #79 from bzr.

Command line:
daniel@peng1:~$ 5-a-day --add 234260 234211 234099 201017 234487

~/.5-a-day:
prodigiouspenguin

~/.5-a-day-team did not exist when this bug was reported, but I added it and tried again, generating a different error:

daniel@peng1:~$ echo ubuntu-michigan > ~/.5-a-day-team
daniel@peng1:~$ 5-a-day --add 234260 234211 234099 201017 234487
Traceback (most recent call last):
  File "/usr/bin/5-a-day", line 39, in <module>
    sys.exit(main())
  File "/usr/bin/5-a-day", line 32, in main
    return bzr.add(args[1:])
  File "/usr/lib/python2.5/site-packages/fiveaday/bzr.py", line 81, in add
    update_team_file()
  File "/usr/lib/python2.5/site-packages/fiveaday/bzr.py", line 76, in update_team_file
    tof.add(files.get_lpid(), tf.teams)
  File "/usr/lib/python2.5/site-packages/fiveaday/files.py", line 74, in add
    f = open(tof_name, "a")
NameError: global name 'tof_name' is not defined