[Tracker-discuss] [issue148] 'Make a Copy' failed

Huang Peng metatracker at psf.upfronthosting.co.za
Tue Sep 4 04:36:00 CEST 2007


New submission from Huang Peng:

I want to 'make a copy' an issue (http://bugs.python.org/issue708374), but it
was failed. The error page is listed below.
=================================================================
Templating Error

psycopg.ProgrammingError: ERROR: current transaction is aborted, commands
ignored until end of transaction block select id from _user where
_username='akuchling' and __retired__ <> 1

Debugging information follows

   1. Looking for "nosy", current path:
   2. In path expression "nosy/field"
   3. While evaluating the standard:'context/nosy/field' expression on line 145
      Current variables:
      templates	<roundup.cgi.templating.Templates instance at 0x2b8f33f2efc8>
      repeat	<roundup.cgi.PageTemplates.TALES.SafeMapping instance at
0x2b8f3500f1b8>
      false	0
      context	<HTMLClass(0x2b8f3500f128) issue>
      utils	<roundup.cgi.templating.TemplatingUtils instance at 0x2b8f3500f0e0>
      db	<roundup.cgi.templating.HTMLDatabase instance at 0x2b8f3500f098>
      nothing	None
      i18n	<roundup.cgi.TranslationService.TranslationService instance at
0x2b8f35037c20>
      true	1
      default	<roundup.cgi.PageTemplates.TALES.Default instance at 0x2b8f33dbcb90>
      request	<HTMLRequest {'_context': None, 'startwith': 0, 'show':
<roundup.support.TruthDict instance at 0x2b8f3500cea8>, 'classname': 'issue',
'special_char': '@', 'dispname': None, 'group': [], '_client':
<roundup.cgi.client.Client instance at 0x2b8f35037b48>, 'template': 'item',
'input': <function input_xhtml at 0x2b8f33dc3758>, 'columns': [], 'sort': [],
'env': {'HTTP_AUTHORIZATION': None, 'SERVER_PORT': '8080', 'SERVER_NAME':
'localhost', 'HTTP_COOKIE':
'roundup_session_Tracker=MTE4ODQ0MTYyMS4zMTAuOTIzODA1MzYwMzA2',
'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5', 'SCRIPT_NAME': '', 'REQUEST_METHOD':
'GET', 'HTTP_HOST': 'localhost:8080', 'PATH_INFO': 'issue', 'CONTENT_TYPE':
'text/plain', 'QUERY_STRING':
'status=open&severity=normal&title=add%20offset%20to%20mmap&superseder=&versions=Python%202.6&resolution=&priority=normal&@note=Copy%20of%20issue%20708374&dependencies=&assignee=akuchling&nosy=akuchling%2C%20josiahcarlson%2C%20loewis%2C%20nnorwitz%2C%20phuang%2C%20rhettinger%2C%20yotam&components=Extension%20Modules&@template=item&keywords=patch&type=',
'TRACKER_NAME': 'tracker'}, 'form': FieldStorage(None, None,
[MiniFieldStorage('status', 'open'), MiniFieldStorage('severity', 'normal'),
MiniFieldStorage('title', 'add offset to mmap'), MiniFieldStorage('versions',
'Python 2.6'), MiniFieldStorage('priority', 'normal'), MiniFieldStorage('@note',
'Copy of issue 708374'), MiniFieldStorage('assignee', 'akuchling'),
MiniFieldStorage('nosy', 'akuchling, josiahcarlson, loewis, nnorwitz, phuang,
rhettinger, yotam'), MiniFieldStorage('components', 'Extension Modules'),
MiniFieldStorage('@template', 'item'), MiniFieldStorage('keywords', 'patch')]),
'nodeid': None, 'base': 'http://bugs.python.org/', 'user':
<HTMLItem(0x2b8f3500cfc8) user 3982>, 'search_text': None, 'pagesize': 50,
'filterspec': {}, 'filter': [], 'client': <roundup.cgi.client.Client instance at
0x2b8f35037b48>}>
      tracker	<roundup.instance.Tracker instance at 0x2b8f33f25cf8>
      template	<Roundup PageTemplate 'issue.item.html'>
      config	<roundup.configuration.CoreConfig instance at 0x2b8f33f25d40>
      options	{'ok_message': [], 'error_message': []}
      loop	<roundup.cgi.PageTemplates.TALES.SafeMapping instance at 0x2b8f3500f1b8>
      status_notresolved	'-1,1,3'
      columns_showall	'id,activity,title,creator,assignee,status'
      kw_create	0
      attrs	{'tal:replace': 'structure context/nosy/field'}
      columns	'id,activity,title,creator,status'
   4. A problem occurred in your template "issue.item.html".

Full traceback:

Traceback (most recent call last):
  File
"/home/roundup/roundup-production//lib/python2.4/site-packages/roundup/cgi/client.py",
line 770, in renderContext
    result = pt.render(self, None, None, **args)
  File
"/home/roundup/roundup-production//lib/python2.4/site-packages/roundup/cgi/templating.py",
line 323, in render
    getEngine().getContext(c), output, tal=1, strictinsert=0)()
  File
"/home/roundup/roundup-production//lib/python2.4/site-packages/roundup/cgi/TAL/TALInterpreter.py",
line 192, in __call__
    self.interpret(self.program)
  File
"/home/roundup/roundup-production//lib/python2.4/site-packages/roundup/cgi/TAL/TALInterpreter.py",
line 236, in interpret
    handlers[opcode](self, args)
  File
"/home/roundup/roundup-production//lib/python2.4/site-packages/roundup/cgi/TAL/TALInterpreter.py",
line 666, in do_useMacro
    self.interpret(macro)
  File
"/home/roundup/roundup-production//lib/python2.4/site-packages/roundup/cgi/TAL/TALInterpreter.py",
line 236, in interpret
    handlers[opcode](self, args)
  File
"/home/roundup/roundup-production//lib/python2.4/site-packages/roundup/cgi/TAL/TALInterpreter.py",
line 411, in do_optTag_tal
    self.do_optTag(stuff)
  File
"/home/roundup/roundup-production//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-production//lib/python2.4/site-packages/roundup/cgi/TAL/TALInterpreter.py",
line 391, in no_tag
    self.interpret(program)
  File
"/home/roundup/roundup-production//lib/python2.4/site-packages/roundup/cgi/TAL/TALInterpreter.py",
line 236, in interpret
    handlers[opcode](self, args)
  File
"/home/roundup/roundup-production//lib/python2.4/site-packages/roundup/cgi/TAL/TALInterpreter.py",
line 689, in do_defineSlot
    self.interpret(slot)
  File
"/home/roundup/roundup-production//lib/python2.4/site-packages/roundup/cgi/TAL/TALInterpreter.py",
line 236, in interpret
    handlers[opcode](self, args)
  File
"/home/roundup/roundup-production//lib/python2.4/site-packages/roundup/cgi/TAL/TALInterpreter.py",
line 632, in do_condition
    self.interpret(block)
  File
"/home/roundup/roundup-production//lib/python2.4/site-packages/roundup/cgi/TAL/TALInterpreter.py",
line 236, in interpret
    handlers[opcode](self, args)
  File
"/home/roundup/roundup-production//lib/python2.4/site-packages/roundup/cgi/TAL/TALInterpreter.py",
line 564, in do_insertStructure_tal
    structure = self.engine.evaluateStructure(expr)
  File
"/home/roundup/roundup-production//lib/python2.4/site-packages/roundup/cgi/PageTemplates/TALES.py",
line 227, in evaluate
    return expression(self)
  File
"/home/roundup/roundup-production//lib/python2.4/site-packages/roundup/cgi/PageTemplates/Expressions.py",
line 194, in __call__
    return self._eval(econtext)
  File
"/home/roundup/roundup-production//lib/python2.4/site-packages/roundup/cgi/PageTemplates/Expressions.py",
line 182, in _eval
    ob = self._subexprs[-1](econtext)
  File
"/home/roundup/roundup-production//lib/python2.4/site-packages/roundup/cgi/PageTemplates/Expressions.py",
line 138, in _eval
    ob = restrictedTraverse(ob, path, getSecurityManager())
  File
"/home/roundup/roundup-production//lib/python2.4/site-packages/roundup/cgi/PageTemplates/Expressions.py",
line 317, in restrictedTraverse
    o = guarded_getattr(object, name, M)
  File
"/home/roundup/roundup-production//lib/python2.4/site-packages/roundup/cgi/templating.py",
line 548, in __getattr__
    return self[attr]
  File
"/home/roundup/roundup-production//lib/python2.4/site-packages/roundup/cgi/templating.py",
line 524, in __getitem__
    handleListCGIValue(form[item]), fail_ok=1)
  File
"/home/roundup/roundup-production//lib/python2.4/site-packages/roundup/cgi/templating.py",
line 373, in lookupIds
    l.append(cl.lookup(entry))
  File
"/home/roundup/roundup-production//lib/python2.4/site-packages/roundup/backends/rdbms_common.py",
line 1876, in lookup
    self.db.sql(sql, (keyvalue, 1))
  File
"/home/roundup/roundup-production//lib/python2.4/site-packages/roundup/backends/rdbms_common.py",
line 154, in sql
    self.cursor.execute(sql, args)
ProgrammingError: ERROR:  current transaction is aborted, commands ignored until
end of transaction block

select id from _user where _username='akuchling' and __retired__ <> 1

----------
messages: 750
nosy: phuang
priority: bug
status: unread
title: 'Make a Copy' failed

_______________________________________________________
Meta Tracker <metatracker at psf.upfronthosting.co.za>
<http://psf.upfronthosting.co.za/roundup/meta/issue148>
_______________________________________________________


More information about the Tracker-discuss mailing list