Issue272

Title Unable to add a new version to jython tracker
Priority bug Status chatting
Superseder Nosy List ajaksu2, draghuram
Assigned To Topics

Created on 2009-04-21.18:19:48 by draghuram, last changed 2009-04-22.14:32:16 by draghuram.

Files
File name Uploaded Type Edit Remove
class_list.diff ajaksu2, 2009-04-21.20:32:28 text/x-diff
Messages
msg1348 (view) Author: draghuram Date: 2009-04-22.14:32:16
On Tue, Apr 21, 2009 at 4:58 PM, Daniel Diniz
<metatracker@psf.upfronthosting.co.za> wrote:
> That's expected, sorry for not warning about it. The new version
> should still have been created if you had the rights to create it, so
> take a look at the options when you create a new issue.

Indeed. The new version is created. Thanks.
msg1347 (view) Author: ajaksu2 Date: 2009-04-21.20:58:00
Raghuram Devarakonda wrote:
> Thanks for looking into the problem. How ever, this link doesn't seem
> to work. I get a message that a problem is encountered.

That's expected, sorry for not warning about it. The new version
should still have been created if you had the rights to create it, so
take a look at the options when you create a new issue.
msg1346 (view) Author: draghuram Date: 2009-04-21.20:36:20
On Tue, Apr 21, 2009 at 4:35 PM, Raghuram Devarakonda
<draghuram@gmail.com> wrote:
> On Tue, Apr 21, 2009 at 4:32 PM, Daniel Diniz
> <metatracker@psf.upfronthosting.co.za> wrote:
>> I think you can create the new version by visiting
>> http://bugs.jython.org/version?@action=new&name=25b3 and then edit it at
>
> Thanks for looking into the problem. How ever, this link doesn't seem
> to work. I get a message that a problem is encountered.

Looks like the error is slightly different. It is now complaining about 'csv':

-----
File "/home/roundup/roundup/lib/python2.4/site-packages/roundup/cgi/PageTemplates/Expressions.py",
line 182, in _eval
   ob = self._subexprs[-1](econtext)

 File "/home/roundup/roundup/lib/python2.4/site-packages/roundup/cgi/PageTemplates/Expressions.py",
line 138, in _eval
   ob = restrictedTraverse(ob, path, getSecurityManager())

 File "/home/roundup/roundup/lib/python2.4/site-packages/roundup/cgi/PageTemplates/Expressions.py",
line 324, in restrictedTraverse
   o = object[name]

 File "/home/roundup/roundup/lib/python2.4/site-packages/roundup/cgi/templating.py",
line 825, in __getitem__
   prop = self._props[items[0]]

KeyError: 'csv'
-----
msg1345 (view) Author: draghuram Date: 2009-04-21.20:35:12
On Tue, Apr 21, 2009 at 4:32 PM, Daniel Diniz
<metatracker@psf.upfronthosting.co.za> wrote:
> I think you can create the new version by visiting
> http://bugs.jython.org/version?@action=new&name=25b3 and then edit it at

Thanks for looking into the problem. How ever, this link doesn't seem
to work. I get a message that a problem is encountered.
msg1344 (view) Author: ajaksu2 Date: 2009-04-21.20:32:28
This was introduced in Roundup 1.4.7 and fixed in 1.4.8, so the patch in issue
270 covers it. That 'row.append' line is bogus, the attached patch removes it.

I think you can create the new version by visiting
http://bugs.jython.org/version?@action=new&name=25b3 and then edit it at
http://bugs.jython.org/versionxx.
msg1343 (view) Author: draghuram Date: 2009-04-21.18:19:47
I tried to add a new version "25b3" to jython tracker but visiting the url
"http://bugs.jython.org/version" results in the following error:

-----
HTTP_AUTHORIZATION=None
SERVER_PORT=8080
SERVER_NAME=localhost
HTTP_COOKIE=roundup_session_Jythontracker=MTI0MDMzNzQ1MC42MzAuNTMzOTI1ODM2MTgy
HTTP_ACCEPT_LANGUAGE=en-us,en;q=0.5
SCRIPT_NAME=
REQUEST_METHOD=GET
HTTP_HOST=localhost:8080
PATH_INFO=version
CONTENT_TYPE=text/plain
TRACKER_NAME=jython
via=1.1 PROXY1, 1.0 bugs.jython.org
accept-language=en-us,en;q=0.5
accept-encoding=gzip,deflate
x-forwarded-host=bugs.jython.org
x-forwarded-for=198.62.239.132
connection=Keep-Alive
accept=text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
user-agent=Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1) Gecko/20061010
Firefox/2.0
accept-charset=ISO-8859-1,utf-8;q=0.7,*;q=0.7
host=localhost:8080
cookie=roundup_session_Jythontracker=MTI0MDMzNzQ1MC42MzAuNTMzOTI1ODM2MTgy
max-forwards=10
x-forwarded-server=bugs.jython.org
user:'draghuram'
Traceback (most recent call last):

 File "/home/roundup/roundup/lib/python2.4/site-packages/roundup/cgi/client.py",
line 469, in inner_main
   self.write_html(self.renderContext())

 File "/home/roundup/roundup/lib/python2.4/site-packages/roundup/cgi/client.py",
line 997, in renderContext
   result = pt.render(self, None, None, **args)

 File
"/home/roundup/roundup/lib/python2.4/site-packages/roundup/cgi/templating.py",
line 327, in render
   getEngine().getContext(c), output, tal=1, strictinsert=0)()

 File
"/home/roundup/roundup/lib/python2.4/site-packages/roundup/cgi/TAL/TALInterpreter.py",
line 192, in __call__
   self.interpret(self.program)

 File
"/home/roundup/roundup/lib/python2.4/site-packages/roundup/cgi/TAL/TALInterpreter.py",
line 236, in interpret
   handlers[opcode](self, args)

 File
"/home/roundup/roundup/lib/python2.4/site-packages/roundup/cgi/TAL/TALInterpreter.py",
line 666, in do_useMacro
   self.interpret(macro)

 File
"/home/roundup/roundup/lib/python2.4/site-packages/roundup/cgi/TAL/TALInterpreter.py",
line 236, in interpret
   handlers[opcode](self, args)

 File
"/home/roundup/roundup/lib/python2.4/site-packages/roundup/cgi/TAL/TALInterpreter.py",
line 411, in do_optTag_tal
   self.do_optTag(stuff)

 File
"/home/roundup/roundup/lib/python2.4/site-packages/roundup/cgi/TAL/TALInterpreter.py",
line 396, in do_optTag
   return self.no_tag(start, program)

 File
"/home/roundup/roundup/lib/python2.4/site-packages/roundup/cgi/TAL/TALInterpreter.py",
line 391, in no_tag
   self.interpret(program)

 File
"/home/roundup/roundup/lib/python2.4/site-packages/roundup/cgi/TAL/TALInterpreter.py",
line 236, in interpret
   handlers[opcode](self, args)

 File
"/home/roundup/roundup/lib/python2.4/site-packages/roundup/cgi/TAL/TALInterpreter.py",
line 689, in do_defineSlot
   self.interpret(slot)

 File
"/home/roundup/roundup/lib/python2.4/site-packages/roundup/cgi/TAL/TALInterpreter.py",
line 236, in interpret
   handlers[opcode](self, args)

 File
"/home/roundup/roundup/lib/python2.4/site-packages/roundup/cgi/TAL/TALInterpreter.py",
line 632, in do_condition
   self.interpret(block)

 File
"/home/roundup/roundup/lib/python2.4/site-packages/roundup/cgi/TAL/TALInterpreter.py",
line 236, in interpret
   handlers[opcode](self, args)

 File
"/home/roundup/roundup/lib/python2.4/site-packages/roundup/cgi/TAL/TALInterpreter.py",
line 411, in do_optTag_tal
   self.do_optTag(stuff)

 File
"/home/roundup/roundup/lib/python2.4/site-packages/roundup/cgi/TAL/TALInterpreter.py",
line 396, in do_optTag
   return self.no_tag(start, program)

 File
"/home/roundup/roundup/lib/python2.4/site-packages/roundup/cgi/TAL/TALInterpreter.py",
line 391, in no_tag
   self.interpret(program)

 File
"/home/roundup/roundup/lib/python2.4/site-packages/roundup/cgi/TAL/TALInterpreter.py",
line 236, in interpret
   handlers[opcode](self, args)

 File
"/home/roundup/roundup/lib/python2.4/site-packages/roundup/cgi/TAL/TALInterpreter.py",
line 486, in do_insertText_tal
   text = self.engine.evaluateText(stuff[0])

 File
"/home/roundup/roundup/lib/python2.4/site-packages/roundup/cgi/PageTemplates/TALES.py",
line 233, in evaluateText
   text = self.evaluate(expr)

 File
"/home/roundup/roundup/lib/python2.4/site-packages/roundup/cgi/PageTemplates/TALES.py",
line 227, in evaluate
   return expression(self)

 File
"/home/roundup/roundup/lib/python2.4/site-packages/roundup/cgi/PageTemplates/Expressions.py",
line 194, in __call__
   return self._eval(econtext)

 File
"/home/roundup/roundup/lib/python2.4/site-packages/roundup/cgi/PageTemplates/Expressions.py",
line 189, in _eval
   return render(ob, econtext.vars)

 File
"/home/roundup/roundup/lib/python2.4/site-packages/roundup/cgi/PageTemplates/Expressions.py",
line 95, in render
   ob = ob()

 File
"/home/roundup/roundup/lib/python2.4/site-packages/roundup/cgi/templating.py",
line 627, in csv
   row.append(str(klass.get(itemid, name)))

NameError: global name 'row' is not defined
-----
History
Date User Action Args
2009-04-22 14:32:17draghuramsetmessages: + msg1348
2009-04-21 20:58:01ajaksu2setmessages: + msg1347
2009-04-21 20:36:20draghuramsetmessages: + msg1346
2009-04-21 20:35:12draghuramsetmessages: + msg1345
2009-04-21 20:32:29ajaksu2setfiles: + class_list.diff
status: unread -> chatting
messages: + msg1344
nosy: + ajaksu2
2009-04-21 18:19:48draghuramcreate