[Erp5-report] r37817 gabriel - in /erp5/trunk/utils/cloudooo: README cloudooo/README setup.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Fri Aug 13 19:20:21 CEST 2010
Author: gabriel
Date: Fri Aug 13 19:20:20 2010
New Revision: 37817
URL: http://svn.erp5.org?rev=37817&view=rev
Log:
sorry. missing this change in r37816. Add README in cloudooo package and update version
Added:
erp5/trunk/utils/cloudooo/cloudooo/README
- copied unchanged from r37799, erp5/trunk/utils/cloudooo/README
Removed:
erp5/trunk/utils/cloudooo/README
Modified:
erp5/trunk/utils/cloudooo/setup.py
Removed: erp5/trunk/utils/cloudooo/README
URL: http://svn.erp5.org/erp5/trunk/utils/cloudooo/README?rev=37816&view=auto
==============================================================================
--- erp5/trunk/utils/cloudooo/README [utf8] (original)
+++ erp5/trunk/utils/cloudooo/README (removed)
@@ -1,103 +0,0 @@
-Install Cloudooo
-================
-
- $ python2.6 setup.py install
-
- Warning: you must have installed setuptools>=0.6c11 in this python.
-
-Install Dependencies in Mandriva
-================================
-
- $ urpmi xvfb # System Dependencies
-
-Install OpenOffice.org
-======================
-
- Was used for testing the package's official openoffice.org. Follow these steps to install:
-
- Download Package from the official site
- ---------------------------------------
-
- x86_32
- ----
- $ wget http://download.services.openoffice.org/files/stable/3.2.0/OOo_3.2.0_LinuxIntel_install_wJRE_en-US.tar.gz
-
- x86_64
- ------
- $ wget http://download.services.openoffice.org/files/stable/3.2.0/OOo_3.2.0_LinuxX86-64_install_wJRE_en-US.tar.gz
-
- Unpack the tar.gz and Install
- -----------------------------
- $ tar zxvf OOo_3.2.0_LinuxX86-64_install_wJRE_en-US.tar.gz
- $ cd OOO320_m12_native_packed-1_en-US.9483/RPMS
- $ rpm -i *.rpm # install all packages together
-
- The instalation is in /opt
-
-Create Configuration File
-=========================
-
- The configuration file is used to start the application using paster.
- $ cp ./cloudooo/samples/cloudooo.conf . # Copy to current folder
- $ cp ./cloudooo/cloudooo ./cloudooo.sh
-
- The next step is define some attributes in cloudooo.conf:
-
- - uno and soffice path;
- - python path;
- - unomimemapper.py and unoconverter.py paths;# This files are created when setup.py is executed;
-
- After setting all configuration, need pass to cloudooo script the paster and configutation file path.
- So, replace $CONF_PATH and $PASTER_PATH to your machine paths.
-
-Run Application
-===============
-
- $ ./cloudooo.sh start
-
-
-Description of Daemon
----------------------
-
-- XMLRPC + WSGI will be one bridge for easy access OpenOffice.org. This will implement one XMLRPC server into WSGI (Paster).
-
-- PyUno is used to connect to OpenOffice.org stated with open socket. The features will be handled all by pyuno.
-
-- Xvfb is used to run Openoffice.org. This is controlled by Daemon(cloudooo).
-
-- Only a process will have access to OpenOffice.org by time.
-
-- All clients receive the same object(proxy) when connects with XMLRPC Server.
-
-Xvfb and OpenOffice
-
- - configure and start Xvfb;
- - Use a single Xvfb;
- - the xvfb will be started with the XMLRPC Server;
- - When start the Daemon(cloudooo), it configures Xvfb, next opens the openoffice(with pyuno) and start XMLRPC Server;
- - control Xvfb;
- - start openoffice;
- - Pyuno start the openoffice processes and the communication is through sockets;
- - Openoffice processes run in brackground and in virtual display;
- - control openoffice;
- - The socket can't lose the connection, if this occurs should kill the process and submit again the file;
-
-XMLRPC Server - XMLRPC + WSGI
------------------------------
-
- - Send document to openoffice and return the document converted with metadata;
- - XMLRPC receives a file and connects to a openoffice by pyuno;
- - The pyuno opens a new openoffice, write, add metadata and returns the document edited or converted to xmlrpc and it return the document to the user;
- - When finalize the use of openoffice, should make sure that it was finalized;
- - Export to another format;
- - Invite document and return metadata only;
- - Edit metadata of the document;
- - Problems and possible solution
- - OpenOffice is stalled;
- - finalize the process, start openoffice and submit the document again(without restart the cloudooo);
- - Openoffice is crashed;
- - finalize the process, verify if all the process was killed, start openoffice and submit the document again(without restart the cloudooo)
- - OpenOffice received the document and stalled;
- - if openoffice isn't responding, kill the process and start
- - The document that was sent is corrupt;
- - write in log the error and verify that the process aren't in memory
Modified: erp5/trunk/utils/cloudooo/setup.py
URL: http://svn.erp5.org/erp5/trunk/utils/cloudooo/setup.py?rev=37817&r1=37816&r2=37817&view=diff
==============================================================================
--- erp5/trunk/utils/cloudooo/setup.py [utf8] (original)
+++ erp5/trunk/utils/cloudooo/setup.py [utf8] Fri Aug 13 19:20:20 2010
@@ -1,6 +1,6 @@
from setuptools import setup, find_packages
-version = '1.0.3'
+version = '1.0.4'
setup(name='cloudooo',
version=version,
More information about the Erp5-report
mailing list