← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 865048] Re: on creating Question from survey : found Traceback

 

** Changed in: openerp-web
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/865048

Title:
  on creating Question from survey : found Traceback

Status in OpenERP Web:
  Fix Released

Bug description:
  Tools > Survey > Define Surveys > Survey > new > survey question new
  # There are different Traceback on gtk client adn web-client while performing same thing. when performing from web-client it says like name 'in_visible_rating_weight' is not defined and when performing from gtk-client it says like name 'answer_choice_ids' is not defined

  OpenERP WebClient Error
  Client Traceback (most recent call last):
    File "/home/han/rdtool/client-web/trunk/addons/web/common/dispatch.py", line 161, in dispatch
      response["result"] = method(controller, self, **self.params)
    File "/home/han/rdtool/client-web/trunk/addons/web/controllers/main.py", line 938, in load
      return self.fields_view_get(req, model, view_id, view_type, toolbar=toolbar)
    File "/home/han/rdtool/client-web/trunk/addons/web/controllers/main.py", line 794, in fields_view_get
      context = req.session.eval_context(req.context)
    File "/home/han/rdtool/client-web/trunk/addons/web/common/session.py", line 159, in eval_context
      return ccontext.evaluate(ctx)
    File "/home/han/rdtool/client-web/trunk/addons/web/common/nonliterals.py", line 257, in evaluate
      final_context.update(context_to_eval.evaluate(ctx))
    File "/home/han/rdtool/client-web/trunk/addons/web/common/nonliterals.py", line 257, in evaluate
      final_context.update(context_to_eval.evaluate(ctx))
    File "/home/han/rdtool/client-web/trunk/addons/web/common/nonliterals.py", line 179, in evaluate
      return eval(self.get_context_string(), SuperDict(ctx))
    File "<string>", line 1, in <module>
  NameError: name 'in_visible_rating_weight' is not defined

  
  GTK Trace on same thing

  ERROR:tools.expr_eval:{'line_order': page_ids}
  Traceback (most recent call last):
    File "/home/han/rdtool/client/trunk/bin/tools/__init__.py", line 52, in expr_eval
      temp = eval(string, context)
    File "<string>", line 1, in <module>
  NameError: name 'page_ids' is not defined
  ERROR:tools.expr_eval:{'line_order': question_ids}
  Traceback (most recent call last):
    File "/home/han/rdtool/client/trunk/bin/tools/__init__.py", line 52, in expr_eval
      temp = eval(string, context)
    File "<string>", line 1, in <module>
  NameError: name 'question_ids' is not defined
  ERROR:tools.expr_eval:{'line_order': answer_choice_ids}
  Traceback (most recent call last):
    File "/home/han/rdtool/client/trunk/bin/tools/__init__.py", line 52, in expr_eval
      temp = eval(string, context)
    File "<string>", line 1, in <module>
  NameError: name 'answer_choice_ids' is not defined

To manage notifications about this bug go to:
https://bugs.launchpad.net/openerp-web/+bug/865048/+subscriptions


References