Roundup Tracker - Issues

Issue 1145822

classification
Now, creating a search called Read fails
Type: Severity: normal
Components: None Versions:
process
Status: closed
:
: : dickkarpinski, richard
Priority: normal :

Created on 2005-02-21 22:51 by dickkarpinski, last changed 2005-07-05 06:10 by richard.

Messages
msg1870 Author: [hidden] (dickkarpinski) Date: 2005-02-21 22:51
I had five searches named including Unresolved which
did not work right. Then when I made a search for Read,
it worked but was not saved for reuse, twice. Then I
removed Unresolved in case there was a limit of five
named searches. That failed, then on the second try it
worked just fine. Now when I name Read again and try to
run it (and thus save it as well) that operation fails
with:

 
TypeError: unsubscriptable object	Python 2.2.2
/usr/bin/python

A problem occurred while running a Python script. Here
is the sequence of function calls leading up to the
error, with the most recent (innermost) call first. The
exception attributes are:
      __doc__ = 'Inappropriate argument type.'
      __getitem__ = <bound method TypeError.__getitem__
of <exceptions.TypeError instance>>
      __init__ = <bound method TypeError.__init__ of
<exceptions.TypeError instance>>
      __module__ = 'exceptions'
      __str__ = <bound method TypeError.__str__ of
<exceptions.TypeError instance>>
      args = ('unsubscriptable object',)

/home/craskinc/public_html/cgi-bin/roundup/cgi/actions.py
in handle(self=<roundup.cgi.actions.SearchAction instance>)
  152             # The [1:] strips off the '?'
character, it isn't part of the
  153             # query string.
  154             url = req.indexargs_href('', {})[1:]
      url = undefined, req =
<roundup.cgi.templating.HTMLRequest instance>, global
indexargs_href = undefined
  155 
  156             key = self.db.query.getkey()

/home/craskinc/public_html/cgi-bin/roundup/cgi/actions.py
in execute(self=<roundup.cgi.actions.SearchAction
instance>)
   37         """Execute the action specified by this
object."""
   38         self.permission()
   39         return self.handle()
      self = <roundup.cgi.actions.SearchAction
instance>, global handle = undefined
   40 
   41     name = ''

/home/craskinc/public_html/cgi-bin/roundup/cgi/client.py
in handle_action(self=<roundup.cgi.client.Client instance>)
  752                 return getattr(self, action_klass)()
  753             else:
  754                 return action_klass(self).execute()
      action_klass = <class
roundup.cgi.actions.SearchAction>, self =
<roundup.cgi.client.Client instance>, global execute =
undefined
  755 
  756         except ValueError, err:

/home/craskinc/public_html/cgi-bin/roundup/cgi/client.py
in inner_main(self=<roundup.cgi.client.Client instance>)
  298         except:
  299             # everything else
  300            
self.write_html(cgitb.html(i18n=self.translator))
      self = <roundup.cgi.client.Client instance>,
global write_html = undefined, global cgitb = <module
'roundup.cgi.cgitb' from 'roundup/cgi/cgitb.pyc'>, html
= undefined, global i18n = undefined, global translator
= undefined
  301 
  302     def clean_sessions(self):

 What did I do wrong?

Dick
msg1871 Author: [hidden] (richard) Date: 2005-02-28 03:15
Logged In: YES 
user_id=6405

Please indicate which Roundup version and backend you are using. 
msg1872 Author: [hidden] (dickkarpinski) Date: 2005-02-28 14:20
Logged In: YES 
user_id=1223950

How do I tell what Roundup version and backend I am using? I
did not do the install (about one month back, no special
choices, I think) and I cannot see any indication of version.

I tried the Roundup FAQ to see if it said how and noted that
it tries but fails to show its own Version.
msg1873 Author: [hidden] (richard) Date: 2005-03-03 02:56
Logged In: YES 
user_id=6405

"roundup-admin -v" tells you the version 
 
Once you know the version, we can determine the backend by either: 
 
0.8+ 
  look in <tracker home>/db/backend_name 
0.7 or earlier 
  look in <tracker home>/select_db.py 
 
 
msg1874 Author: [hidden] (richard) Date: 2005-07-05 06:10
Logged In: YES 
user_id=6405

Closing, pending any feedback from OP.
History
Date User Action Args
2005-02-21 22:51:47dickkarpinskicreate