To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=100492





------- Additional comments from m...@openoffice.org Mon Mar 23 23:04:27 +0000 
2009 -------
My QA result

> what needs to be done:
> * checkout python26 cws
done
> * configure ( PYTHONHOME env variable is removed from set_soenv.in)
yes, it was removed.
> * in case you reuse a dev300_m41 original build, ensure, that all python
> * stuff is erased from solver (python.exe, inc/python, lib/python, etc.)
i did a clean build.
> * otherwise you will get strange errors
> * build the cws. You will probably get problems during building the
done.
> * python module. Solve them.
done. patch-python26
> * after that, build the rest (you may get additional problems in the
> * pyuno module, solve them)
done.
> * QA-1:
> build the testtools module and switch to
> testtools/source/bridgetest/pyuno and run
>
> dmake runtest
dmake runtest
start test with  dmake runtest
-------------
cd ../../../unxfbsdi.pro/lib && setenv FOO 
file:///work/python26/openoffice.org-3-
devel/work/python26/testt\
ools/source/bridgetest/pyuno/../../../unxfbsdi.pro/lib &&            setenv 
UNO_TYPES 
pyuno_regcomp.rdb && \
setenv UNO_SERVICES pyuno_regcomp.rdb && python main.py
testStandard (importer.ImporterTestCase) ... ok
testDynamicComponentRegistration (importer.ImporterTestCase) ... ok
testErrors (core.TestCase) ... ok
testBaseTypes (core.TestCase) ... ok
testOutparam (core.TestCase) ... ok
testStruct (core.TestCase) ... ok
testType (core.TestCase) ... ok
testEnum (core.TestCase) ... ok
testBool (core.TestCase) ... ok
testChar (core.TestCase) ... ok
testUnicode (core.TestCase) ... ok
testConstant (core.TestCase) ... ok
testExceptions (core.TestCase) ... ok
testInterface (core.TestCase) ... ok
testByteSequence (core.TestCase) ... ok
testInvoke (core.TestCase) ... ok
testStandard (impl.TestCase) ... ok
testUrlHelper (impl.TestHelperCase) ... ok
testInspect (impl.TestHelperCase) ... ok
testListener (impl.TestHelperCase) ... ok
testCurrentContext (impl.TestHelperCase) ... ok

----------------------------------------------------------------------
Ran 21 tests in 0.084s

OK
cd ../../../unxfbsdi.pro/lib && setenv FOO 
file:///work/python26/openoffice.org-3-
devel/work/python26/testt\
ools/source/bridgetest/pyuno/../../../unxfbsdi.pro/lib &&            setenv 
UNO_TYPES 
pyuno_regcomp.rdb && \
setenv UNO_SERVICES pyuno_regcomp.rdb &&  regcomp -register -br 
pyuno_regcomp.rdb -r 
dummy.rdb \
                        -l com.sun.star.loader.Python -c 
vnd.openoffice.pymodule:samplecomponent
vnd.openoffice.pymodule:samplecomponent
register component 'vnd.openoffice.pymodule:samplecomponent' in registry 
'dummy.rdb' succesful!
cd ../../../unxfbsdi.pro/lib && setenv FOO 
file:///work/python26/openoffice.org-3-
devel/work/python26/testt\
ools/source/bridgetest/pyuno/../../../unxfbsdi.pro/lib &&            setenv 
UNO_TYPES 
pyuno_regcomp.rdb && \
setenv UNO_SERVICES pyuno_regcomp.rdb &&  regcomp -register -br 
pyuno_regcomp.rdb -r 
dummy2.rdb \
                        -l com.sun.star.loader.Python -c 
vnd.sun.star.expand:\$FOO/samplecomponent.py
vnd.sun.star.expand:$FOO/samplecomponent.py
register component 'vnd.sun.star.expand:$FOO/samplecomponent.py' in registry 
'dummy2.rdb' 
succesful!

> * QA-2:
> install the office, start python from the program directory and type
>
> import uno

% ./openoffice.org3/program/python
Python 2.6.1 (r261:67515, Mar 23 2009, 21:39:00)
[GCC 4.2.1 20070719  [FreeBSD]] on freebsd7
Type "help", "copyright", "credits" or "license" for more information.
>>> import uno
>>>

> * QA-3:
> Start the office, choose Tools/Macros/Run macro ..., click on
> "OpenOffice.org Macros", you should then have a pythonSamples Library
> at the bottom of the list.
I found it, so it's okay.



---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@porting.openoffice.org
For additional commands, e-mail: issues-h...@porting.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org

Reply via email to