Edgewall Software
Modify

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#10624 closed defect (cantfix)

TypeError: add_notice() takes at least 2 arguments (1 given)

Reported by: juan.montoya Owned by:
Priority: normal Milestone:
Component: general Version: 0.11.7
Severity: normal Keywords:
Cc: support@… Branch:
Release Notes:
API Changes:
Internal Changes:

Description

How to Reproduce

While doing a POST operation on /agilo-import, Trac issued an internal error.

(please provide additional details here)

Request parameters:

{'__FORM_TOKEN': u'e9bf3519a49a69cc1cf663cc',
 'attachment': FieldStorage('attachment', 'Requerimientos.csv', 'id,summary,reporter,owner,description,type,status,milestone,resolution,keywords,businessvalue\r\n3390,REGISTRAR CASO DE V\xcdCTIMAS DE JUSTICIA Y PAZ,juan.montoya,,,requirement,new,Milestone Sprint 19,,,100\r\n3390,VINCULAR PROCESOS JUDICIALES A CASO DE JUSTICIA Y PAZ,juan.montoya,,,requirement,new,Milestone Sprint 19,,,100\r\n3390,REGISTRAR V\xcdCTIMAS DIRECTAS DE JUSTICIA Y PAZ,juan.montoya,,,requirement,new,Milestone Sprint 19,,,100\r\n3390,CONSULTAR CASO DE V\xcdCTIMAS DE JUSTICIA Y PAZ,juan.montoya,,,requirement,new,Milestone Sprint 19,,,100\r\n3390,REGISTRAR PARTICIPACI\xd3N DE POSTULADOS,juan.montoya,,,requirement,new,Milestone Sprint 19,,,100\r\n3390,CONTROL PARA EL POPUP DEL CASO DE USO ADB006_07,juan.montoya,,,requirement,new,Milestone Sprint 19,,,100\r\n3390,REGISTRAR V\xcdCTIMAS INDIRECTAS - BENEFICIARIOS,juan.montoya,,,requirement,new,Milestone Sprint 19,,,100\r\n3390,REGISTRAR INCIDENTE DE REPARACI\xd3N,juan.montoya,,,requirement,new,Milestone Sprint 19,,,100\r\n3390,VINCULAR V\xcdCTIMAS A INCIDENTE DE REPARACI\xd3N,juan.montoya,,,requirement,new,Milestone Sprint 19,,,100\r\n3390,REGISTRAR DATOS DE PARTICIPACI\xd3N DE V\xcdCTIMAS EN INCIDENTE,juan.montoya,,,requirement,new,Milestone Sprint 19,,,100\r\n3390,REGISTRAR PRETENSIONES DE V\xcdCTIMAS,juan.montoya,,,requirement,new,Milestone Sprint 19,,,100\r\n3390,REGISTRAR INFORMACI\xd3N DE INCIDENTE DE REPARACI\xd3N,juan.montoya,,,requirement,new,Milestone Sprint 19,,,100\r\n3390,REGISTRAR DOCUMENTOS DE INCIDENTE DE REPARACI\xd3N,juan.montoya,,,requirement,new,Milestone Sprint 19,,,100\r\n3390,CONSULTAR INCIDENTE DE REPARACI\xd3N,juan.montoya,,,requirement,new,Milestone Sprint 19,,,100\r\n3390,CONSULTA DE NAVEGACI\xd3N - RUTA,juan.montoya,,,requirement,new,Milestone Sprint 19,,,100\r\n3390,CONSULTA DE NAVEGACI\xd3N - PAR\xc1METROS DE SELECCI\xd3N,juan.montoya,,,requirement,new,Milestone Sprint 19,,,100\r\n3390,CONSULTA DE NAVEGACI\xd3N - RESULTADOS DE CONSULTA,juan.montoya,,,requirement,new,Milestone Sprint 19,,,100\r\n3390,CONSULTA DE NAVEGACI\xd3N - DETALLE DE NAVEGACI\xd3N,juan.montoya,,,requirement,new,Milestone Sprint 19,,,100\r\n3390,AUDITOR\xcdA DE NAVEGACI\xd3N,juan.montoya,,,requirement,new,Milestone Sprint 19,,,100\r\n3390,ALERTAS DE SEGURIDAD,juan.montoya,,,requirement,new,Milestone Sprint 19,,,100\r\n3390,GENERAR ESTAD\xcdSTICAS DE SEGURIDAD,juan.montoya,,,requirement,new,Milestone Sprint 19,,,100\r\n3390,REPORTE DE ESTAD\xcdSTICAS DE SEGURIDAD,juan.montoya,,,requirement,new,Milestone Sprint 19,,,100\r\n3390,PROCEDIMIENTO DE DESCARGUE ANUAL DE REGISTROS DE AUDITOR\xcdA,juan.montoya,,,requirement,new,Milestone Sprint 19,,,100\r\n3390,CONSULTA GENERAL DE ALERTAS DE AUDITOR\xcdA,juan.montoya,,,requirement,new,Milestone Sprint 19,,,100\r\n3390,CONSULTA DE DETALLE DE ALERTA DE AUDITOR\xcdA,juan.montoya,,,requirement,new,Milestone Sprint 19,,,100\r\n3390,RELACI\xd3N PESTA\xd1A - TABLAS DEL SISTEMA,juan.montoya,,,requirement,new,Milestone Sprint 19,,,100\r\n3390,CREACI\xd3N BASE DE DATOS M\xd3DULO DE POSTULADOS,juan.montoya,,,requirement,new,Milestone Sprint 19,,,100\r\n3390,CREACI\xd3N BASE DE DATOS M\xd3DULO DIVULGACI\xd3N,juan.montoya,,,requirement,new,Milestone Sprint 19,,,100\r\n'),
 'do_import': u'1',
 'file_encoding': u''}

User Agent was: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20100101 Firefox/10.0.2

System Information

Trac 0.11.7
Python 2.4.3 (#1, Jan 21 2009, 01:10:13)
[GCC 4.1.2 20071124 (Red Hat 4.1.2-42)]
setuptools 0.6c9
SQLite 3.3.6
pysqlite 2.3.3
Genshi 0.5.1
mod_wsgi 2.5 (WSGIProcessGroup trac WSGIApplicationGroup %{GLOBAL})
Pygments 1.0
Agilo 0.9.3
RPC 1.0.6
FullBlog 0.1.1-r0
Subversion 1.6.2 (r37639)
jQuery: 1.2.6

Python Traceback

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/Trac-0.11.7-py2.4.egg/trac/web/main.py", line 450, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.4/site-packages/Trac-0.11.7-py2.4.egg/trac/web/main.py", line 206, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.4/site-packages/agilo-0.9.3-py2.4.egg/agilo/csv_import/web_ui.py", line 225, in process_request
    encoding_guess = self._guess_encoding(upload_fp)
  File "/usr/lib/python2.4/site-packages/agilo-0.9.3-py2.4.egg/agilo/csv_import/web_ui.py", line 116, in _guess_encoding
    add_notice(msg)
TypeError: add_notice() takes at least 2 arguments (1 given)

Attachments (0)

Change History (2)

comment:1 by Remy Blank, 12 years ago

Cc: support@… added
Release Notes: modified (diff)
Resolution: cantfix
Status: newclosed

comment:2 by stefano.rago@…, 12 years ago

@rblank: thanks for the cc @juan.montoya: please upgrade to latest version (www.agilofortrac.com)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.