Skip to Content
Menu
This question has been flagged
2 Replies
6290 Rodiniai

I installed Aeroo Report to work a basic report but i am presented with a error and not been able to pass over the sample report.

I installed the python library, Genshi, and all others requirements of Aeroo, and could connecto to the headless libreoffice as suggested by the wiki. Installed the sample module and started studying the report, wich works correctly, downloads and all. I created a test report and upload it to Administration/Aeroo Reports/Reports. Then when i go to Administration/Technical/ Actions/Reports and try to open my report, or any other, i get the following traceback.

Traceback (most recent call last):
  File "/home/erp_user/openerp/test/server/openerp/netsvc.py", line 292, in dispatch_rpc
    result = ExportService.getService(service_name).dispatch(method, params)
  File "/home/erp_user/openerp/test/server/openerp/service/web_services.py", line 626, in dispatch
    res = fn(db, uid, *params)
  File "/home/erp_user/openerp/test/server/openerp/osv/osv.py", line 188, in execute_kw
    return self.execute(db, uid, obj, method, *args, **kw or {})
  File "/home/erp_user/openerp/test/server/openerp/osv/osv.py", line 131, in wrapper
    return f(self, dbname, *args, **kwargs)
  File "/home/erp_user/openerp/test/server/openerp/osv/osv.py", line 197, in execute
    res = self.execute_cr(cr, uid, obj, method, *args, **kw)
  File "/home/erp_user/openerp/test/server/openerp/osv/osv.py", line 185, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/erp_user/openerp/test/server/openerp/addons/report_aeroo/report_xml.py", line 387, in fields_view_get
    transfer_modifiers_to_node(modifiers, deferred_node[0])
IndexError: list index out of range

Does anybody else have this error? I am missing something in the requirements?

Portretas
Atmesti
Best Answer

You can simply comment the line 387 from report_xml.py without any problem.

I used this instructions for a production database, I confirm.

I always use Aeroo for the reporting purpose, and I can help you for other problem.

Regards

Portretas
Atmesti
Autorius

Great, i commented the line 387 and line 389 that raised the same error and now is working correctly. Thanks, really appreciate it. Now i just have to remember to comment those lines in all others installations of Aeroo that i make. Out of curiosity... any idea what those two lines do?

I also comment 387,389 But still error in 387. What will i do?

@Remya don't forget to restart server

it is i change it like this? ## transfer_modifiers_to_node(modifiers, deferred_node[0])

Best Answer

Thanks It works...

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
1
kov. 15
4527
1
vas. 24
2956
2
kov. 15
5011
1
kov. 15
5517
4
geg. 24
7366