Issue 838086
Created on 2003-11-07 19:10 by tepperly, last changed 2003-11-11 00:48 by richard.
msg1046 |
Author: [hidden] (tepperly) |
Date: 2003-11-07 19:10 |
|
Can I completely remove an issue and all related
material? I thought roundup-admin might do this, but it
traceback'ed. I am using a MySQL backend. In my
environment, it's important to be able to completely
remove inappropriate material that was posted
accidently or maliciously.
bash-2.05b$ /usr/local/roundup/bin/roundup-admin retire
issue3
Enter tracker home: /var/round/trackers/babel
Traceback (most recent call last):
File "/usr/local/roundup/bin/roundup-admin", line 6, in ?
run()
File
"/usr/local/roundup-0.6.2/lib/python2.2/site-packages/roundup/scripts/roundup_admin.py",
line 34, in run
sys.exit(tool.main())
File
"/usr/local/roundup-0.6.2/lib/python2.2/site-packages/roundup/admin.py",
line 1402, in main
ret = self.run_command(args)
File
"/usr/local/roundup-0.6.2/lib/python2.2/site-packages/roundup/admin.py",
line 1299, in run_command
tracker = roundup.instance.open(self.tracker_home)
File
"/usr/local/roundup-0.6.2/lib/python2.2/site-packages/roundup/instance.py",
line 102, in open
return Tracker(tracker_home)
File
"/usr/local/roundup-0.6.2/lib/python2.2/site-packages/roundup/instance.py",
line 34, in __init__
self.select_db = self._load_python('select_db.py')
AttributeError: Tracker instance has no attribute
'_load_python'
bash-2.05b$
|
msg1047 |
Author: [hidden] (richard) |
Date: 2003-11-11 00:48 |
|
Logged In: YES
user_id=6405
Erm, that code shouldn't be run for any current trackers. Did you by any
chance remove the "dbinit.py" file from your tracker home?
In answer to your question (which belongs on the roundup-users list,
please :), yes you may retire any issue. You may never "delete"
anything from the roundup database, as it might result in broken
references. There is no "recursive" retirement option yet, though one
could be written pretty easily.
|
msg1048 |
Author: [hidden] (tepperly) |
Date: 2003-11-11 03:12 |
|
Logged In: YES
user_id=94539
For whatever reason, it's working now.
bash-2.05b$ ls -al
total 120
drwxr-xr-x 6 root babel-bugs 4096 Nov 7 08:47 .
drwxr-xr-x 3 root root 4096 Nov 5 10:39 ..
-rw-r--r-- 1 root babel-bugs 5268 Nov 6 15:00
config.py
-rw-r--r-- 1 root babel-bugs 5280 Nov 5 15:03
config.py~
-rw-r--r-- 1 root babel-bugs 1803 Nov 5 20:12
config.pyo
drwxrwxr-x 4 babel-bugs babel-bugs 4096 Nov 5 13:56 db
-rw-r--r-- 1 root babel-bugs 7837 Apr 16 2003
dbinit.py
-rw-r--r-- 1 root babel-bugs 4611 Nov 5 11:17
dbinit.pyo
drwxr-xr-x 2 root babel-bugs 4096 Nov 5 13:53
detectors
drwxr-xr-x 2 root babel-bugs 4096 Nov 5 10:39 html
-rw-r--r-- 1 root babel-bugs 13216 Apr 16 2003
htmlbase.py
-rw-r--r-- 1 root babel-bugs 13372 Nov 5 20:13
htmlbase.pyo
-rw-r--r-- 1 root babel-bugs 1113 Apr 16 2003
__init__.py
-rw-r--r-- 1 root babel-bugs 338 Nov 5 11:17
__init__.pyo
-rw-r--r-- 1 root babel-bugs 1568 Apr 16 2003
interfaces.py
-rw-r--r-- 1 root babel-bugs 1279 Nov 5 11:17
interfaces.pyo
drwxr-xr-x 2 babel-bugs babel-bugs 4096 Nov 7 09:30 log
-rw-r--r-- 1 root babel-bugs 115 Nov 5 10:39
select_db.py
-rw-r--r-- 1 root babel-bugs 334 Nov 5 11:17
select_db.pyo
-rw-r--r-- 1 root babel-bugs 345 Apr 16 2003
TEMPLATE-INFO.txt
bash-2.05b$ /usr/local/roundup/bin/roundup-admin retire issue3
Enter tracker home: /var/roundup/trackers/babel
bash-2.05b$
|
|
Date |
User |
Action |
Args |
2003-11-07 19:10:36 | tepperly | create | |
|