← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 668041] Re: V6 Finishing a survey response

 

** Branch linked: lp:~pedro-zeghiche/openobject-addons/survey-
bugfix-668041

-- 
V6 Finishing a survey response
https://bugs.launchpad.net/bugs/668041
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: Fix Committed

Bug description:
Server : V6.0 RC1 on Ubuntu 9.10
Client  : V6 GTK on windows seven 32bts

After the last page on a survey [OpenErp Feed back in demo data] a receive this error

I think that a pdf is expected. The survey still in state "started" but not finished.

Environment Information :
System : Windows-32bit
OS Name : nt
Operating System Release :
Operating System Version : 32bit
Operating System Architecture : 32bit
Operating System Locale : fr_BE.cp1252
Python Version : 2.5.2
OpenERP-Client Version : 6.0.0-rc1-1
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/netsvc.py", line 489, in dispatch
    result = ExportService.getService(service_name).dispatch(method, auth, params)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/service/web_services.py", line 586, in dispatch
    res = fn(db, uid, *params)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 57, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 140, in execute
    res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 130, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/survey/wizard/survey_answer.py", line 388, in fields_view_get
    file = open(tools.config['addons_path'] + '/survey/report/' + survey_data.title + ".pdf")
IOError: [Errno 2] Aucun fichier ou dossier de ce type: u'/usr/local/lib/python2.6/dist-packages/openerp-server/addons/survey/report/OpenERP Feedback.pdf'







References