[udk-issues] [Issue 97629] Do not start OOo from PyUn o
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=97629 --- Additional comments from s...@openoffice.org Wed Apr 1 08:08:23 + 2009 --- I added UNO_PATH to the list of things in issue 90701 that need to be addressed to make system Python work. - 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...@udk.openoffice.org For additional commands, e-mail: issues-h...@udk.openoffice.org - To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org
[udk-issues] [Issue 97629] Do not start OOo from PyUn o
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=97629 --- Additional comments from r...@openoffice.org Tue Mar 31 08:02:40 + 2009 --- if you mean my patch, of course it's not. It's only suitable for Linux distro packages who install their stuff in /usr/lib/openoffice. No one claimed it was a correct patch for Windows nor in all other cases. It was just for reference :) - 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...@udk.openoffice.org For additional commands, e-mail: issues-h...@udk.openoffice.org - To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org
[udk-issues] [Issue 97629] Do not start OOo from PyUn o
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=97629 --- Additional comments from s...@openoffice.org Mon Mar 30 07:40:26 + 2009 --- @rene: See #desc5 for my doubts that using officehelper.py together with a system python executable ever worked at all. Certain environment variables need to be set/extended for that to work: PYTHONPATH always needed to be extended so that officehelper.py is found, now UNO_PATH additionally needs to be set so that officehelper.py finds the soffice executable. I would suggest you file a fresh issue to clarify how officehelper.py together with a system python executable is supposed to work. If we know what needs to be done to address the PYTHONPATH problem (which existed before the UNO_PATH problem), I am sure it is easy to extend that to also address the UNO_PATH problem. - 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...@udk.openoffice.org For additional commands, e-mail: issues-h...@udk.openoffice.org - To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org
[udk-issues] [Issue 97629] Do not start OOo from PyUn o
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=97629 User rene changed the following: What|Old value |New value CC|'aziem,jbu,sb'|'aziem,jbu,rene,sb' --- Additional comments from r...@openoffice.org Mon Mar 30 17:47:04 + 2009 --- @rene: See #desc5 for my doubts that using officehelper.py together with a system python executable ever worked at all. Certain environment variables need That can be. Surely I didn't have soffice in /usr/lib/python2.5/site-packages :) to be set/extended for that to work: PYTHONPATH always needed to be extended so so far I have it directly in site-packages. Though that probably breaks now in 3.1, too whereas it worked in 3.0.1 :( that officehelper.py is found, now UNO_PATH additionally needs to be set so that officehelper.py finds the soffice executable. I would suggest you file a fresh issue to clarify how officehelper.py together with a system python executable is supposed to work. If we know what needs to be done to address the PYTHONPATH Why me? I didn't break this and system-python is there since a long time... Besides that, you are the expert on UNO and what is allowed in the three-layer OOo and what not... - 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...@udk.openoffice.org For additional commands, e-mail: issues-h...@udk.openoffice.org - To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org
[udk-issues] [Issue 97629] Do not start OOo from PyUn o
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=97629 --- Additional comments from r...@openoffice.org Mon Mar 30 22:26:33 + 2009 --- But I think I'll just do that for now: --- scripting/source/pyprov/officehelper.py-old 2009-03-31 00:08:59.0 +0200 +++ scripting/source/pyprov/officehelper.py 2009-03-31 00:10:08.0 +0200 @@ -57,7 +57,7 @@ if UNO_PATH in os.environ: sOffice = os.environ[UNO_PATH] else: -sOffice = # lets hope for the best +sOffice = /usr/lib/openoffice/program sOffice = os.path.join(sOffice, soffice) if platform.startswith(win): sOffice += .exe since we know in our packages where OOo is. - 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...@udk.openoffice.org For additional commands, e-mail: issues-h...@udk.openoffice.org - To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org
[udk-issues] [Issue 97629] Do not start OOo from PyUn o
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=97629 --- Additional comments from to...@openoffice.org Tue Mar 31 04:05:31 + 2009 --- In Windows this patch incorrect. Default path for soffice is C:\Program Files\OpenOffice.org 3\program\. For officehelper.py is C:\Program Files\OpenOffice.org 3\Basis\program Relative from officehelper.py is [code] import os, os.path as osp dn = osp.dirname print osp.join(dn(dn(dn(__file__))), 'program') [/code] - 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...@udk.openoffice.org For additional commands, e-mail: issues-h...@udk.openoffice.org - To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org
[udk-issues] [Issue 97629] Do not start OOo from PyUn o
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=97629 --- Additional comments from r...@openoffice.org Sun Mar 29 22:25:49 + 2009 --- This of course only fixes the problem when the OOo-specific python executable (from the brand layer program directory) is used, not when a system-provided python executable is used instead (i.e., OOo is configured to not provide an own python executable). Bad. Will this one day also be fixed for system-python builds? (It makes no sense for distros to ship an ancient, security buggy python internally which disallows even the usage of standard external modules instead of just using the python it has already - and all the modules with it..) - 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...@udk.openoffice.org For additional commands, e-mail: issues-h...@udk.openoffice.org - To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org
[udk-issues] [Issue 97629] Do not start OOo from PyUn o
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=97629 User jsk changed the following: What|Old value |New value Status|VERIFIED |CLOSED --- Additional comments from j...@openoffice.org Fri Mar 20 10:19:17 + 2009 --- Closing, all good on MWS ooo310m6 - 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...@udk.openoffice.org For additional commands, e-mail: issues-h...@udk.openoffice.org - To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org
[udk-issues] [Issue 97629] Do not start OOo from PyUn o
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=97629 --- Additional comments from j...@openoffice.org Tue Jan 27 08:47:53 + 2009 --- I can confirm that there are now two messageboxes complaining about the missing file (as noted by SB above). However, i when using an installation path without spaces the office does not start. Is this intended? According to the statement above i should expect the office to open in backing mode. @SB: Please clarify - 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...@udk.openoffice.org For additional commands, e-mail: issues-h...@udk.openoffice.org - To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org
[udk-issues] [Issue 97629] Do not start OOo from PyUn o
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=97629 --- Additional comments from s...@openoffice.org Tue Jan 27 09:00:48 + 2009 --- @jsk the office does not start: The office should start (and continue running afterwards), but not display any windows (not even the start center). - 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...@udk.openoffice.org For additional commands, e-mail: issues-h...@udk.openoffice.org - To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org
[udk-issues] [Issue 97629] Do not start OOo from PyUn o
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=97629 User sb changed the following: What|Old value |New value CC|'aziem,jbu' |'aziem,jbu,sb' - 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...@udk.openoffice.org For additional commands, e-mail: issues-h...@udk.openoffice.org - To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org
[udk-issues] [Issue 97629] Do not start OOo from PyUn o
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=97629 User jsk changed the following: What|Old value |New value Status|RESOLVED |VERIFIED --- Additional comments from j...@openoffice.org Tue Jan 27 14:44:57 + 2009 --- Verified. - 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...@udk.openoffice.org For additional commands, e-mail: issues-h...@udk.openoffice.org - To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org
[udk-issues] [Issue 97629] Do not start OOo from PyUn o
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=97629 User sb changed the following: What|Old value |New value Assigned to|sb|jsk --- Additional comments from s...@openoffice.org Fri Jan 16 09:48:50 + 2009 --- @jsk: please verify - 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...@udk.openoffice.org For additional commands, e-mail: issues-h...@udk.openoffice.org - To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org
[udk-issues] [Issue 97629] Do not start OOo from PyUn o
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=97629 User sb changed the following: What|Old value |New value Status|STARTED |RESOLVED Resolution| |FIXED --- Additional comments from s...@openoffice.org Thu Jan 15 14:44:13 + 2009 --- fixed as cws/sb103/pyuno/zipcore/python@266375 cws/sb103/pyuno/zipcore/python...@266375 cws/sb103/scripting/source/pyprov/officehelper...@266375 cws/sb103/tools/source/misc/extendapplicationenvironment@266375 This of course only fixes the problem when the OOo-specific python executable (from the brand layer program directory) is used, not when a system-provided python executable is used instead (i.e., OOo is configured to not provide an own python executable). Executing the attached errUno.txt with the OOo-specific python executable (from the brand layer program directory) now no longer gives error messages (doing so leaves a running soffice executable showing no windows behind; that is expected and is due to what errUno.txt does). On Windows, the started soffice executable shows a message box that C:\3\program\soffice.exe does not exist. This is apparently due to a space in the path to the soffice executable (C:\OpenOffice.org 3\program\soffice.exe); probably the os.spawnv in officehelper.py causes soffice.exe to see the second part of the program path (3\program\soffice.exe) as an additional command line argument that soffice.exe makes absolute and interprets as a document to open. Older OOo 2.x versions on Windows exhibit similar behavior (and the problem disappears when OOo is installed in a path without spaces). - 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...@udk.openoffice.org For additional commands, e-mail: issues-h...@udk.openoffice.org - To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org
[udk-issues] [Issue 97629] Do not start OOo from PyUn o
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=97629 User kr changed the following: What|Old value |New value Assigned to|kr|sb --- Additional comments from k...@openoffice.org Wed Jan 7 16:23:00 + 2009 --- Stephan, please have a look ... - 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...@udk.openoffice.org For additional commands, e-mail: issues-h...@udk.openoffice.org - To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org
[udk-issues] [Issue 97629] Do not start OOo from PyUn o
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=97629 User sb changed the following: What|Old value |New value CC|'aziem' |'aziem,jbu' Ever confirmed| |1 Status|UNCONFIRMED |STARTED Target milestone|--- |OOo 3.1 --- Additional comments from s...@openoffice.org Wed Jan 7 16:56:49 + 2009 --- @jbu: officehelper.py (per default left in the basis layer program directory after the three layer split) expectes to find the soffice executable next to itself (which no longer works, as the soffice executable moved to the brand layer). When the OOo-specific python executable (from the brand layer program directory) is used, it already modifies PYTHONPATH so that files like officehelper.py are found in the first place (and code like from officehelper import bootstrap works at all). Something similar could be used to communicate from the OOo-specific python executable (which can know where soffice is located) to officehelper.py (which cannot know by itself, if it remains in the basis layer) where soffice is located. (For example, using the UNO_PATH environment variable that is already used, somewhat related, in cppuhelper_detail_findSofficePath.) However, when a system-provided python executable is used instead (i.e., OOo is configured to not provide an own python executable), I am unsure how such a mechanism could work, but I am also unsure whether code like from officehelper import bootstrap would work there in the first place, as PYTHONPATH would probably not be set accordingly (we already discussed that before, but I cannot remember that this general problem was solved). - 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...@udk.openoffice.org For additional commands, e-mail: issues-h...@udk.openoffice.org - To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org
[udk-issues] [Issue 97629] Do not start OOo from PyUn o
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=97629 --- Additional comments from k...@openoffice.org Tue Jan 6 16:28:10 + 2009 --- This seems to be related to having the brand factored out (three layer office), going to discuss this tomorrow with Stephan B. - 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...@udk.openoffice.org For additional commands, e-mail: issues-h...@udk.openoffice.org - To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org
[udk-issues] [Issue 97629] Do not start OOo from PyUn o
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=97629 User aziem changed the following: What|Old value |New value CC|''|'aziem' - 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...@udk.openoffice.org For additional commands, e-mail: issues-h...@udk.openoffice.org - To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org
[udk-issues] [Issue 97629] Do not start OOo from PyUn o
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=97629 Issue #|97629 Summary|Do not start OOo from PyUno Component|udk Version|OOo 3.0 Platform|All URL| OS/Version|Windows, all Status|UNCONFIRMED Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|code Assigned to|kr Reported by|tonal --- Additional comments from to...@openoffice.org Mon Dec 29 05:41:13 + 2008 --- Steps: 1. Save as file errUno.txt simple script: [code] from officehelper import bootstrap xContext = bootstrap() [/code] 2. Open cmd 3. Change current directory to directory contains errUno.txt (cd ...) 4. Run script: $(OOOInstallDir)\program\python.exe errUno.txt 5. See error log in console output. My error output: [code] C:\Lang\test\pythonC:\Program Files\OpenOffice.org\OpenOffice.org 3\program\python.exe text.py C:\Lang\test\pythonTraceback (most recent call last): File text.py, line 5, in ? xContext = bootstrap() File C:\Program Files\OpenOffice.org\OpenOffice.org 3\Basis\program\officehelper.py, line 91, in bootstrap raise BootstrapException(Caught exception + str(e), None) officehelper.BootstrapException: Caught exception [Errno 2] No such file or directory [/code] - 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...@udk.openoffice.org For additional commands, e-mail: issues-h...@udk.openoffice.org - To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org
[udk-issues] [Issue 97629] Do not start OOo from PyUn o
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=97629 --- Additional comments from to...@openoffice.org Mon Dec 29 05:44:07 + 2008 --- Created an attachment (id=59052) Test script - 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...@udk.openoffice.org For additional commands, e-mail: issues-h...@udk.openoffice.org - To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org