Message4186
This is a copy of
http://sourceforge.net/mailarchive/forum.php?thread_name=4CCB409C.5020103%40sympatico.ca&forum_name=roundup-devel
I've just created from trunk@4546
python setup.py sdist
and installed that locally via
python setup.py install --prefix=/some/dir
Then I created a new tracker and chose "devel" template.
Unfortunately, the initialise command complained.
I first tried to copy over the nosyreaction.py from the classic template
in order to get rid of the DeprecationWarning.
But that didn't help. So I've looked up schema.py. And voila, there is
nothing defined that is called "issue". Instead there is bug and task
and milestone. So the nosyreaction.py script must fail.
That should be cleaned up before the next release...
And please, please, please... add more documentation. It's a pain if one
must read the source code in order to understand what the devel template
is for.
In fact, the same comment applies to the classic template. I had to look
into detectors/statusauditor.py in order to learn that replying to a
"resolved" issue reopens it. Well, nice feature, but where is it documented?
Ralf
=====================================================================
>python --version
Python 2.6.6
>roundup-admin -i $TINSTANCE initialise secretpasswd
<string>:1: DeprecationWarning: the sets module is deprecated
Traceback (most recent call last):
File "/home/hemmecke/scratch/roundup-tmp//local/bin/roundup-admin",
line 6, in <module>
run()
File
"/home/hemmecke/scratch/roundup-tmp//local/lib/python2.6/site-packages/roundup/scripts/roundup_admin.py",
line 38, in run
sys.exit(tool.main())
File
"/home/hemmecke/scratch/roundup-tmp//local/lib/python2.6/site-packages/roundup/admin.py",
line 1577, in main
ret = self.run_command(args)
File
"/home/hemmecke/scratch/roundup-tmp//local/lib/python2.6/site-packages/roundup/admin.py",
line 1455, in run_command
return self.do_initialise(self.tracker_home, args)
File
"/home/hemmecke/scratch/roundup-tmp//local/lib/python2.6/site-packages/roundup/admin.py",
line 514, in do_initialise
tracker.init(password.Password(adminpw))
File
"/home/hemmecke/scratch/roundup-tmp//local/lib/python2.6/site-packages/roundup/instance.py",
line 203, in init
db = self.open('admin')
File
"/home/hemmecke/scratch/roundup-tmp//local/lib/python2.6/site-packages/roundup/instance.py",
line 140, in open
detector(db)
File
"/home/hemmecke/scratch/roundup-tmp//trackers/mytrac/detectors/nosyreaction.py",
line 119, in init
db.issue.react('create', nosyreaction)
File
"/home/hemmecke/scratch/roundup-tmp//local/lib/python2.6/site-packages/roundup/backends/back_anydbm.py",
line 143, in __getattr__
raise AttributeError, classname
AttributeError: issue |
|
Date |
User |
Action |
Args |
2010-10-30 04:47:33 | hemmecke | set | messageid: <1288414053.3.0.581453333426.issue2550679@psf.upfronthosting.co.za> |
2010-10-30 04:47:33 | hemmecke | set | recipients:
+ hemmecke |
2010-10-30 04:47:32 | hemmecke | link | issue2550679 messages |
2010-10-30 04:47:27 | hemmecke | create | |
|