web interface

Ivan Glushkov gli.work at gmail.com
Sun Mar 4 08:39:00 PST 2007


On Sat, 03 Mar 2007 04:59:26 +0300, Vlad Skvortsov <vss at 73rus.com> wrote:

> Hi!
>
> I've installed our basic web interface (i#78) to:
>
> http://issues.ditrack.org
>
> It's not yet updated automatically (will happen after i#125 gets  
> resolved).
>
> Please play a bit with it before I add links to the website.
>


Questions:
1. Filters "my", "0.5-my"  - my for whom? "0 issues found"

2. "Is supports only very basic features". Possibly, misprint. "It  
supports..."

3. Stress test. Jump to issue 2006 fails:

===============
A problem occurred in a Python script. Here is the sequence of function  
calls leading up to the error, in the order they occurred.  
/X/W/ditrack.org/issues/index.cgi
   178 if "issue" in form:
   179     # Viewing an issue
   180     do_view()
   181 else:
   182     do_list()
do_view = <function do_view>
  /X/W/ditrack.org/issues/index.cgi in do_view()
   118 def do_view():
   119     id = form["issue"].value
   120     issue = db[id]
   121
   122     data = {
issue undefined, global db = <DITrack.DB.Database instance>, id = '2006'
  /X/home/vss/ditrack/src/trunk/DITrack/DB.py in  
__getitem__(self=<DITrack.DB.Database instance>, key='2006')
  1511
  1512         try:
  1513             local = self.lma[key]
  1514         except KeyError:
  1515             if not issue:
local = None, self = <DITrack.DB.Database instance>, self.lma =  
<DITrack.DB.LocalModsArea instance>, key = '2006'
  /X/home/vss/ditrack/src/trunk/DITrack/DB.py in  
__getitem__(self=<DITrack.DB.LocalModsArea instance>, key='2006')
  1053
  1054     def __getitem__(self, key):
  1055         return self.data[key]
  1056
  1057     def __init__(self, path):
self = <DITrack.DB.LocalModsArea instance>, self.data = {}, key = '2006'
  /usr/local/lib/python2.4/shelve.py in __getitem__(self={}, key='2006')
   116             value = self.cache[key]
   117         except KeyError:
   118             f = StringIO(self.dict[key])
   119             value = Unpickler(f).load()
   120             if self.writeback:
f undefined, global StringIO = <built-in function StringIO>, self = {},  
self.dict = <dbm.dbm object>, key = '2006'


KeyError: '2006'
       args = ('2006',)
================

The same error occurs for negative numbers and letters sequence ("asdf")

4. Why there's no filters "soon", "later", "0.7"?

5. Filter "0.5" found 0 results.

6. May be we should have filters for every assignee?

Ivan.


More information about the Dev mailing list