Install UNO under Windows, configure Aeroo_report (Openoffice4 has been upgraded to Python2.7.5 version)

Source: Internet
Author: User

From: http://shine-it.net/index.php?topic=8019.msg22007

Recent units to a OE, but OE7 a new update a day, I do not know what year end. Idle nothing to write a little experience, not known as the tutorial.
Ubuntu is open source, the system is also stable, but for the novice, Liunix kernel has a lot of not adapt, but also learn oe to learn Ubuntu certainly trouble, suggest novice from windows, mature and then move value to Ubuntu under.
With OE7, Python must be installed in the system, typically using 2.7.
Aeroo_report relies on OpenOffice or LibreOffice. But LibreOffice 4 uses the python3.3, the previous version is 2.6, Openofice 3.4 uses 2.6. When importing Py-uno, the system Python must be the same as the OpenOffice Python, Therefore selected 2.6.X as a system Python version (note: Librefoffice when generating reports, significantly slower than OpenOffice 5 seconds, recommended installation openoffice3.4.x) OpenOffice try to install on a clean system, Do not remove the reload after installation, because there will be a variety of problems when installing the second time.
First, install OpenOffice 3.4.x
1. Start OpenOffice Python and view the system environment
>>>import OS
>>>print (os.environ[' ure_bootstrap ')) #3
Vnd.sun.star.pathname:d:\program files\openoffice.org 3\program\fundamental.ini
>>>print (os.environ[' Uno_path ')) #4
D:\Program files\openoffice.org 3\program\
>>>print (os.environ[' PATH ') #5
D:\Program files\openoffice.org 3\\ure\bin;d:\program files\openoffice.org 3\basis\program; C:\WINDOWS\system32; C:\WINDOWS; C:\WINDOWS\System32\Wbem
2. Configuring the System Environment (Windows7, 2008)
New or modified, environment variable, advanced system settings, properties----computer
1) New ure_bootstrap = Vnd.sun.star.pathname:d:\program files\openoffice.org 3\program\fundamental.ini
2) New Uno_path = D:\Program files\openoffice.org 3\program\
3) Modify PATH = D:\Program files\openoffice.org 3\\ure\bin;d:\program files\openoffice.org 3\basis\program; C:\WINDOWS\system32; C:\WINDOWS ......
Second, the production of OpenOffice No window start-up service
1. batch file Soffice.bat
Instsrv Openofficeuno "D:\openerp7\officeuno\srvany.exe"
(Instsrv.exe and Srvany.exe these 2 programs network is very easy to find)
2. Registry import File Soffice.reg
=======================================================
Windows Registry Editor Version 5.00
[Hkey_local_machine\system\currentcontrolset\services\openofficeuno\parameters]
"Application" = "D:\\Program files\\openoffice.org 3\\program\\soffice.exe"
"Appparameters" = "-nologo-nofirststartwizard-headless-norestore-invisible-accept=socket,host=localhost,port= 8100,tcpnodelay=1;urp; "
=======================================================
Note: The middle path is self-modifying according to the OpenOffice location you installed
3. Start the service
4. Verify that the installation is successful
telnet localhost 8100
Second, the system python26, the assumption is d:\python26
1. Tell the system where Uno Python26 is located
D:\Python26\Lib\site-packages\uno.pth
=================================
D:\\Program files\\openoffice.org 3\\basis\\program
=================================
3. Start the system Python26
D:\python26\python.exe
>>import Uno
The import succeeds if nothing is displayed. If the import is unsuccessful, restart the computer to import again, or you cannot import the settings are problematic.
Third, installation Aeroo_report
1. http://www.alistek.com/download Report_aeroo from here; report_aeroo_ooo; (Note OE Official online aeroo_report has the problem, tried once did not have the success, official website's no problem)
2. Installing the addons will no longer be able to find a hint for Uno.

Install UNO under Windows, configure Aeroo_report (Openoffice4 has been upgraded to Python2.7.5 version)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.