ec2 (ami-fd4aa494) pyhton/soffice connection slow

Bug #600199 reported by Alex
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openoffice.org (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Version: ubuntu 10.04
Steps to reproduce:
1.Start an m1.large instance using the AMI ami-fd4aa494
2. apt-get update; apt-get upgrade
3. apt-get install openoffice.org-writer
4. wget http://www.artofsolving.com/files/DocumentConverter.py
5. copy an odt file in /tmp/test.odt
6. run: python DocumentConverter.py test.odt test.pdf

This last step should take less than 1 second and should report : ERROR! failed to connect to OpenOffice.org on port 8100
On an m1.large this takes 10 seconds.
I did the same steps on a c1.xlarge machine and everything was ok (less then 1 sec response time). I created an ami and when I tried to start on a m1.large machine it took 10 seconds. Even on c1.xlarge is not always fast. For some instances takes also 10 seconds.

If you start soffice: /usr/lib/openoffice/program/soffice.bin -nofirststartwizard -headless -nologo -norestore "-accept=socket,host=127.0.0.1,port=8100;urp;StarOffice.ServiceManager"
the conversion time will be 30 seconds while on a local machine or on a c1.xlarge is less than 1 second.

This is not a bug of python because I tried to do the conversion using java. The connection between java and soffice is faster but still it takes 20 seconds for conversion.

Revision history for this message
Mohamed Amine Ilidrissi (ilidrissi.amine) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This bug did not have a package associated with it, which is important for ensuring that it gets looked at by the proper developers. You can learn more about finding the right package at https://wiki.ubuntu.com/Bugs/FindRightPackage. I have classified this bug as a bug in openoffice.org.
For future reference you might be interested to know that a lot of applications have bug reporting functionality built in to them. This can be accessed via the Report a Problem option in the Help menu for the application with which you are having an issue. You can learn more about this feature at https://wiki.ubuntu.com/ReportingBugs.

Additionally, can you provide us with more information about:
- Whether this works only with odt files and Writer, or also with OpenDocument files?
- Whether this bug is still affecting you? It would be nice if you could test on Maverick (10.10).

Thank you for your efforts!

affects: ubuntu → openoffice.org (Ubuntu)
Changed in openoffice.org (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for openoffice.org (Ubuntu) because there has been no activity for 60 days.]

Changed in openoffice.org (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.