~/.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
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 exit(main( )) python2. 5/site- packages/ fiveaday/ bzr.py" , line 81, in add team_file( ) python2. 5/site- packages/ fiveaday/ bzr.py" , line 76, in update_team_file add(files. get_lpid( ), tf.teams) python2. 5/site- packages/ fiveaday/ files.py" , line 74, in add
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.
File "/usr/bin/5-a-day", line 32, in main
return bzr.add(args[1:])
File "/usr/lib/
update_
File "/usr/lib/
tof.
File "/usr/lib/
f = open(tof_name, "a")
NameError: global name 'tof_name' is not defined