[Erp5-dev] oood simple Excel files import problem

bartek bartek at erp5.pl
Mon May 5 11:46:32 CEST 2008


Łukasz Nowak wrote:
> Hello,
> 
> I'm using oood from revision 20841.
> 
> Attached file is .xls document made in OpenOffice.
> 
> OpenOffice version used is 2.3 (1:2.3.0-1ubuntu5.3).
> 
> While using python simple_cmdline_client.py OpenOfficeUx-2.1.0.xls
> I've got such problem in oood.log:

Thanks - I'll check it later today. I think it the problem is in the 
client, not in the oood.

Bartek

> 
> 2008/05/05 11:33:37 DEBUG    <Thread-11936> we acquired semaphore
> 2008/05/05 11:33:37 DEBUG    <Thread-11936> Thread-11938 is waiting for process to complete
> 2008/05/05 11:33:37 INFO     <Thread-11936> [worker] trying to load /home/shufla/tmp/tmp/oood/0_OpenOfficeUx2.1.0.xls
> 2008/05/05 11:33:38 ERROR    <Thread-11936> KeyError: 'MIMEType'
> 2008/05/05 11:33:38 ERROR    <Thread-11936>   File "/home/shufla/work/oood/worker.py", line 215, in _run
>     res = func(*args, **kwargs)
>   File "/home/shufla/work/oood/worker.py", line 149, in generate
>     return self.convert(kw)
>   File "/home/shufla/work/oood/worker.py", line 126, in convert
>     self._convert()
>   File "/home/shufla/work/oood/worker.py", line 316, in _convert
>     odf_format_info = mimemapper.getOdfInfo(self.metadata['MIMEType'])
> 
> 2008/05/05 11:33:38 INFO     <Thread-11936> [worker] resetting worker 0
> 2008/05/05 11:33:38 ERROR    <Thread-11936> KeyError: 'MIMEType'
> 2008/05/05 11:33:38 ERROR    <Thread-11936>   File "/home/shufla/work/oood/dispatcher.py", line 234, in do_dispatch
>     data = self._process(worker, funcname, request)
>   File "/home/shufla/work/oood/dispatcher.py", line 397, in _process
>     res = method(kw) # res is not used, method puts processed data back into kw
>   File "/home/shufla/work/oood/worker.py", line 215, in _run
>     res = func(*args, **kwargs)
>   File "/home/shufla/work/oood/worker.py", line 149, in generate
>     return self.convert(kw)
>   File "/home/shufla/work/oood/worker.py", line 126, in convert
>     self._convert()
>   File "/home/shufla/work/oood/worker.py", line 316, in _convert
>     odf_format_info = mimemapper.getOdfInfo(self.metadata['MIMEType'])
> 
> 2008/05/05 11:33:38 INFO     <Thread-11936> Instance #0 - Kill requested
> 2008/05/05 11:33:38 INFO     <Thread-11936> Instance #0 - Is still running and span on several processes: 20552, 20568
> 2008/05/05 11:33:38 INFO     <Thread-11936> Instance #0 - Killing process 20552...
> 2008/05/05 11:33:38 INFO     <Thread-11936> Instance #0 - Killing process 20568...
> 2008/05/05 11:33:38 INFO     <Thread-11936> Instance #0 - Killed
> 2008/05/05 11:33:38 INFO     <Thread-11936> Instance #0 - Cleaned
> 2008/05/05 11:33:38 INFO     <Thread-11936> Instance #0 - Starting...
> 2008/05/05 11:33:38 INFO     <Thread-11936> Instance #0 - Listening at localhost:4060
> 2008/05/05 11:33:38 INFO     <Thread-11936> Instance #0 - Starting waiting thread for process 21449
> 2008/05/05 11:33:38 INFO     <Thread-11936> Instance #0 - Started as process  21449
> 2008/05/05 11:34:38 WARNING  <Thread-11936> [factory] building worker for 0
> 2008/05/05 11:34:38 INFO     <Thread-11936> [worker] resetting worker 0
> 2008/05/05 11:34:38 INFO     <Thread-11936> [factory] worker for 0 created
> 2008/05/05 11:34:38 INFO     <Thread-11936> [worker] trying to load /home/shufla/tmp/tmp/oood/0_OpenOfficeUx2.1.0.xls
> 2008/05/05 11:34:38 ERROR    <Thread-11936> [worker] /home/shufla/tmp/tmp/oood/0_OpenOfficeUx2.1.0.xls could not be loaded into OpenOffice
> 2008/05/05 11:34:38 ERROR    <Thread-11936> NotLoaded: /home/shufla/tmp/tmp/oood/0_OpenOfficeUx2.1.0.xls could not be loaded into OpenOffice
> 2008/05/05 11:34:38 ERROR    <Thread-11936>   File "/home/shufla/work/oood/worker.py", line 215, in _run
>     res = func(*args, **kwargs)
>   File "/home/shufla/work/oood/worker.py", line 149, in generate
>     return self.convert(kw)
>   File "/home/shufla/work/oood/worker.py", line 125, in convert
>     self._loadFile(kw['filename'], kw)
>   File "/home/shufla/work/oood/worker.py", line 260, in _loadFile
>     raise lib.NotLoaded(fname + ' could not be loaded into OpenOffice')
> 
> 2008/05/05 11:34:38 INFO     <Thread-11936> [worker] resetting worker 0
> 2008/05/05 11:34:38 ERROR    <Thread-11936> NotLoaded: /home/shufla/tmp/tmp/oood/0_OpenOfficeUx2.1.0.xls could not be loaded into OpenOffice
> 2008/05/05 11:34:38 ERROR    <Thread-11936>   File "/home/shufla/work/oood/dispatcher.py", line 246, in do_dispatch
>     data = self._process(worker, funcname, request)
>   File "/home/shufla/work/oood/dispatcher.py", line 422, in _process
>     return method(request)
>   File "/home/shufla/work/oood/worker.py", line 215, in _run
>     res = func(*args, **kwargs)
>   File "/home/shufla/work/oood/worker.py", line 149, in generate
>     return self.convert(kw)
>   File "/home/shufla/work/oood/worker.py", line 125, in convert
>     self._loadFile(kw['filename'], kw)
>   File "/home/shufla/work/oood/worker.py", line 260, in _loadFile
>     raise lib.NotLoaded(fname + ' could not be loaded into OpenOffice')
> 
> 2008/05/05 11:34:38 INFO     <Thread-11936> 402
> 
> Regards,
> Luke
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Erp5-dev mailing list
> Erp5-dev at erp5.org
> http://mail.nexedi.com/mailman/listinfo/erp5-dev


-- 
"feelings affect productivity. (...) unhappy people write worse 
software, and less of it."
Karl Fogel, "Producing Open Source Software"



More information about the Erp5-dev mailing list