← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 672947] [NEW] survey : fill an answer crash

 

Public bug reported:

>> tools >> Surveys  >> answer a survey 
>> answer an random survey until the end 

get this message


Environment Information : 
System : Linux-2.6.35-22-generic-x86_64-with-Ubuntu-10.10-maverick
OS Name : posix
Distributor ID:	Ubuntu
Description:	Ubuntu 10.10
Release:	10.10
Codename:	maverick
Operating System Release : 2.6.35-22-generic
Operating System Version : #35-Ubuntu SMP Sat Oct 16 20:45:36 UTC 2010
Operating System Architecture : 64bit
Operating System Locale : fr_BE.UTF8
Python Version : 2.6.6
OpenERP-Client Version : 6.0.0-rc1-1
Last revision No. & ID :1675 launchpad_translations_on_behalf_of_openerp-20101109044756-3mjfecdutx8jmnaj
Traceback (most recent call last):
  File "/home/openerp/trunk/openobject-server/bin/netsvc.py", line 489, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/home/openerp/trunk/openobject-server/bin/service/web_services.py", line 586, in dispatch
    res = fn(db, uid, *params)
  File "/home/openerp/trunk/openobject-addons/audittrail/audittrail.py", line 504, in execute
    res = my_fct(db, uid, model, method, *args)
  File "/home/openerp/trunk/openobject-addons/audittrail/audittrail.py", line 488, in my_fct
    return fct_src(db, uid, model, method, *args)
  File "/home/openerp/trunk/openobject-server/bin/osv/osv.py", line 57, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/openerp/trunk/openobject-server/bin/osv/osv.py", line 140, in execute
    res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/openerp/trunk/openobject-server/bin/osv/osv.py", line 130, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/openerp/trunk/openobject-addons/survey/wizard/survey_answer.py", line 401, in fields_view_get
    report = self.create_report(cr, uid, [int(survey_id)], 'report.survey.browse.response', survey_data.title,context)
  File "/home/openerp/trunk/openobject-addons/survey/wizard/survey_answer.py", line 467, in create_report
    return (True, ret_file_name)
NameError: global name 'ret_file_name' is not defined

** Affects: openobject-addons
     Importance: Medium
     Assignee: OpenERP R&D Addons Team 1 (openerp-dev-addons1)
         Status: Confirmed

** Changed in: openobject-addons
       Status: New => Confirmed

** Changed in: openobject-addons
   Importance: Undecided => Medium

** Changed in: openobject-addons
     Assignee: (unassigned) => OpenERP R&D Addons Team 1 (openerp-dev-addons1)

** Changed in: openobject-addons
    Milestone: None => 6.0-rc2

** Changed in: openobject-addons
    Milestone: 6.0-rc2 => None

-- 
survey : fill an answer crash
https://bugs.launchpad.net/bugs/672947
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject Addons Modules: Confirmed

Bug description:
>> tools >> Surveys  >> answer a survey 
>> answer an random survey until the end 

get this message




Environment Information : 
System : Linux-2.6.35-22-generic-x86_64-with-Ubuntu-10.10-maverick
OS Name : posix
Distributor ID:	Ubuntu
Description:	Ubuntu 10.10
Release:	10.10
Codename:	maverick
Operating System Release : 2.6.35-22-generic
Operating System Version : #35-Ubuntu SMP Sat Oct 16 20:45:36 UTC 2010
Operating System Architecture : 64bit
Operating System Locale : fr_BE.UTF8
Python Version : 2.6.6
OpenERP-Client Version : 6.0.0-rc1-1
Last revision No. & ID :1675 launchpad_translations_on_behalf_of_openerp-20101109044756-3mjfecdutx8jmnaj
Traceback (most recent call last):
  File "/home/openerp/trunk/openobject-server/bin/netsvc.py", line 489, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/home/openerp/trunk/openobject-server/bin/service/web_services.py", line 586, in dispatch
    res = fn(db, uid, *params)
  File "/home/openerp/trunk/openobject-addons/audittrail/audittrail.py", line 504, in execute
    res = my_fct(db, uid, model, method, *args)
  File "/home/openerp/trunk/openobject-addons/audittrail/audittrail.py", line 488, in my_fct
    return fct_src(db, uid, model, method, *args)
  File "/home/openerp/trunk/openobject-server/bin/osv/osv.py", line 57, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/openerp/trunk/openobject-server/bin/osv/osv.py", line 140, in execute
    res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/openerp/trunk/openobject-server/bin/osv/osv.py", line 130, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/openerp/trunk/openobject-addons/survey/wizard/survey_answer.py", line 401, in fields_view_get
    report = self.create_report(cr, uid, [int(survey_id)], 'report.survey.browse.response', survey_data.title,context)
  File "/home/openerp/trunk/openobject-addons/survey/wizard/survey_answer.py", line 467, in create_report
    return (True, ret_file_name)
NameError: global name 'ret_file_name' is not defined





Follow ups

References