← Back to team overview

report-openoffice-team team mailing list archive

[Bug 669821] Re: 'NoneType' object has no attribute initialize

 

I upgraded the server to 5.0.14 under Ubuntu 10.04 with the openerp-
allinone-setup.sh tool and I have the same behaviour.

THese are fll details of the error screen:

Environment Information : 
System : Windows-XP-5.1.2600-SP3
OS Name : nt
Operating System Release : XP
Operating System Version : 5.1.2600
Operating System Architecture : 32bit
Operating System Locale : es_ES.cp1252
Python Version : 2.5.2
OpenERP-Client Version : 5.0.15
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 299, in dispatch
    result = LocalService(service_name)(method, *params)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/netsvc.py", line 77, in __call__
    return getattr(self, method)(*params)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/service/web_services.py", line 633, in execute
    return self._execute(db, uid, wiz_id, datas, action, context)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/service/web_services.py", line 613, in _execute
    return wiz.execute(db, uid, self.wiz_datas[wiz_id], action, context)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/wizard/__init__.py", line 178, in execute
    res = self.execute_cr(cr, uid, data, state, context)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/wizard/__init__.py", line 73, in execute_cr
    action_res = action(self, cr, uid, data, context)
  File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/report_openoffice_helper/wizard/configuration.py", line 69, in _load_data
    id = obj.search(cr, uid, [])
AttributeError: 'NoneType' object has no attribute 'search'


Regards,
Carlos Sprekelsen

-- 
'NoneType' object has no attribute initialize
https://bugs.launchpad.net/bugs/669821
You received this bug notification because you are a member of Report
OpenOffice Team, which is the registrant for Report OpenOffice.

Status in OpenOffice.org Reporting Engine for OpenObject: New

Bug description:
Hi Kaspars,
I build successfully server 5.0.14 with python2.6.5, for DocumentConverter add sys.path to point to openoffice, add good environment variable, and run soffice in headless mode, install report_openoffice and report_openoffice_helper.

but :
when i go to administration/low level/openoffice connexion
and clic save for localhost 8100 (openoffice headless mode run), I have this error :

'NoneType' object has no attribute initialize.

system vista openerp server and client 5.0.14.

perhaps define initialize with an import.
Thanks





References