c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #18950
[Bug 731294] Re: Traceback occurs at the time of Answering a survey.
** Changed in: openobject-addons
Status: In Progress => Fix Committed
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/731294
Title:
Traceback occurs at the time of Answering a survey.
Status in OpenERP Modules (addons):
Fix Committed
Bug description:
Steps to reproduce the bug.
1) Install survey module.
2) Go to "OpenERP Partner Feedback" survey and send the invitation.
3) New user has been created login with this user and answer the survey.
I faced the traceback on server side.
Traceback (most recent call last):
File "/home/tiny/workspace/openobject-server/openerp/osv/osv.py", line 122, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/tiny/workspace/openobject-server/openerp/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/tiny/workspace/openobject-server/openerp/osv/osv.py", line 167, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/tiny/workspace/openobject-addons/survey/wizard/survey_answer.py", line 405, in fields_view_get
file = open(addons.get_module_resource('survey', 'report') + survey_data.title + ".pdf")
IOError: [Errno 2] No such file or directory: u'/home/tiny/workspace/openobject-addons/survey/reportOpenERP Partner Feedback.pdf'
References