← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 689488] Re: "NameError: name 'partner_id' is not defined" when doing a fresh install

 

On Monday 13 December 2010, you wrote:
> Public bug reported:
> 
> This bug follows on from the same procedure used to create bugs #689485
> and #689484, i.e. did a fresh install of the latest server from trunk on
> Centos 5.5 with Python 2.6 and Postgresql 8.4; created a new database
> and installed modules, and got the following error reported in the
> server's log file:
> 

> 14:51:45,112][openerp6trunk1] INFO:init:module crm_claim: loading
> crm_claim_view.xml [2010-12-13 14:51:45,222][openerp6trunk1]
> DEBUG:init:Context value ({'default_partner_id': partner_id}) for element
> with id "act_claim_partner_address" or its data node does not parse at
> server-side, *keeping original string, in case it's meant for client side*
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> only Traceback (most recent call last):
>   File "/home/philu/work/openerp6/trunk/bin/tools/convert.py", line 247, in
> get_context ctx_res = unsafe_eval(ctx, eval_dict)
>   File "<string>", line 1, in <module>
> NameError: name 'partner_id' is not defined


Please read the logs more carefully. 
Server first tries with server side, and then leaves it for the client-side. 


** Changed in: openobject-server
       Status: New => Invalid

-- 
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/689488

Title:
  "NameError: name 'partner_id' is not defined" when doing a fresh install

Status in OpenObject Server:
  Invalid

Bug description:
  This bug follows on from the same procedure used to create bugs #689485 and #689484, i.e. did a fresh install of the latest server from trunk on Centos 5.5 with Python 2.6 and Postgresql 8.4; created a new database and installed modules, and got the following error reported in the server's log file:


[2010-12-13 14:51:43,930][openerp6trunk1] INFO:init:module wiki: loading security/ir.model.access.csv
[2010-12-13 14:51:44,008][openerp6trunk1] INFO:init:module analytic: no quality certificate
[2010-12-13 14:51:44,009][openerp6trunk1] INFO:init:module document: loading security/document_security.xml
[2010-12-13 14:51:44,043][openerp6trunk1] INFO:init:module document: loading document_view.xml
[2010-12-13 14:51:44,300][openerp6trunk1] INFO:init:module document: loading document_data.xml
[2010-12-13 14:51:44,398][openerp6trunk1] INFO:init:module document: loading wizard/document_configuration_view.xml
[2010-12-13 14:51:44,427][openerp6trunk1] INFO:init:module document: loading security/ir.model.access.csv
[2010-12-13 14:51:44,592][openerp6trunk1] INFO:init:module document: loading report/document_report_view.xml
[2010-12-13 14:51:44,752][openerp6trunk1] INFO:init:module document: loading board_document_view.xml
[2010-12-13 14:51:44,947][openerp6trunk1] INFO:init:module resource: no quality certificate
[2010-12-13 14:51:44,948][openerp6trunk1] INFO:init:module wiki_faq: no quality certificate
[2010-12-13 14:51:44,948][openerp6trunk1] INFO:init:module wiki_faq: loading wiki_faq.xml
[2010-12-13 14:51:45,011][openerp6trunk1] INFO:i18n:module wiki_faq: loading translation file for language en_US
[2010-12-13 14:51:45,012][openerp6trunk1] INFO:i18n:loading /home/philu/work/openerp6/openobject-addons/wiki_faq/i18n/en_US.po
[2010-12-13 14:51:45,062][openerp6trunk1] INFO:init:module crm_claim: no quality certificate
[2010-12-13 14:51:45,062][openerp6trunk1] INFO:init:module crm_claim: loading crm_claim_data.xml
[2010-12-13 14:51:45,112][openerp6trunk1] INFO:init:module crm_claim: loading crm_claim_view.xml
[2010-12-13 14:51:45,222][openerp6trunk1] DEBUG:init:Context value ({'default_partner_id': partner_id}) for element with id "act_claim_partner_address" or its data node does not parse at server-side, keeping original string, in case it's meant for client side only
Traceback (most recent call last):
  File "/home/philu/work/openerp6/trunk/bin/tools/convert.py", line 247, in get_context
    ctx_res = unsafe_eval(ctx, eval_dict)
  File "<string>", line 1, in <module>
NameError: name 'partner_id' is not defined
[2010-12-13 14:51:45,231][openerp6trunk1] INFO:init:module crm_claim: loading crm_claim_menu.xml
[2010-12-13 14:51:45,279][openerp6trunk1] INFO:init:module crm_claim: loading security/ir.model.access.csv
[2010-12-13 14:51:45,301][openerp6trunk1] INFO:init:module crm_claim: loading report/crm_claim_report_view.xml
[2010-12-13 14:51:45,410][openerp6trunk1] INFO:i18n:module crm_claim: loading translation file for language en_US
[2010-12-13 14:51:45,410][openerp6trunk1] INFO:i18n:loading /home/philu/work/openerp6/openobject-addons/crm_claim/i18n/en_US.po
[2010-12-13 14:51:47,809][openerp6trunk1] INFO:init:module account_accountant: no quality certificate
[2010-12-13 14:51:47,812][openerp6trunk1] INFO:init:module crm_helpdesk: no quality certificate
[2010-12-13 14:51:47,812][openerp6trunk1] INFO:init:module crm_helpdesk: loading crm_helpdesk_data.xml

This came after the question to "Configure your CRM Application", where these four options were ticked:
- Claims
- Helpdesk
- Sale FAQ
- Opportunity to Quotation
and then the Configure button was pressed, and then observed this error in the log file.





References