[Erp5-dev] Error When Export File. Type Error: Key Error, Error Value: Mime

Muhamad Reza muhamad.reza at infi-nity.com
Wed Nov 18 03:57:50 CET 2009


Hi,

On Tue, Nov 17, 2009 at 7:02 PM, Boris Kocherov <bk at raskon.org> wrote:

> we are using odf_fortmat for export not ods as you.
> may be problem in this.
> On 11/17/09 13:59, Muhamad Reza wrote:
> > Hello,
> >
> > I need to export my data into OpenOffice Spreadsheet format. When I
> > export my data. I get this following error.
> > I used OOOD from Ubuntu Repository by doing "sudo aptitude install oood".
> >
>

Actually, ods is erp5_ods_style. This is business template that i used for
export/import.

ODF Spreadsheet, pdf, OpenOffice, and etc (Which is Export Format) that can
be found in import/export.

So, my problem is i cannot export my ERP5's data into ODF Spreadsheet
format, OpenOffice format, and etc format.
Each time i try to export my data i get error.


> > This is my traceback:
> >
> > Traceback (innermost last):
> >   Module ZPublisher.Publish, line 114, in publish
> >   Module ZPublisher.mapply, line 88, in mapply
> >   Module ZPublisher.Publish, line 40, in call_object
> >   Module Shared.DC.Scripts.Bindings, line 311, in __call__
> >   Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
> >   Module Products.PythonScripts.PythonScript, line 325, in _exec
> >   Module None, line 13, in Base_viewAsODS
> >    - <PythonScript at /erp5/Base_viewAsODS used for /erp5/person_module>
> >    - Line 13
> >   Module Products.ERP5Form.Form, line 617, in __call__
> >   Module Products.ERP5OOo.OOoTemplate, line 528, in pt_render
> >   Module Products.ERP5OOo.OOoTemplate, line 592, in _asFormat
> >   Module Products.ERP5Type.Document.OOoDocument, line 425, in convert
> >   Module Products.ERP5Type.Document.OOoDocument, line 348, in _convert
> > KeyError: 'mime'
> >
> >
> > Best Regards,
> >
> > Reza
> >
> > --
> > exodream - beyond a dream
> > Everyone has rights to get what they expect.
> >
> > i n f i n i t y . s o l u t i o n (www.infi-nity.com) - pt. vikasa
> infinity
> > anugrah
> > bsd city sektor 14 - ruko golden madrid g/9 - tangerang 15321 - indonesia
> > t: +62 (21) 5316 4796  f: +62 (21) 5316 4797 m:+62 816 956207
> > Contact me at + 62 878 3229 5036
>
> --
> Crisis had come unexpectedly, just as winter comes unexpectedly to
> Russia every year.
>



-- 
exodream - beyond a dream
Everyone has rights to get what they expect.

i n f i n i t y . s o l u t i o n (www.infi-nity.com) - pt. vikasa infinity
anugrah
bsd city sektor 14 - ruko golden madrid g/9 - tangerang 15321 - indonesia
t: +62 (21) 5316 4796  f: +62 (21) 5316 4797 m:+62 816 956207
Contact me at + 62 878 3229 5036
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.tiolive.com/pipermail/erp5-dev/attachments/20091118/40814317/attachment.htm>


More information about the Erp5-dev mailing list