[framework-issues] [Issue 54695] python : sys.path contains incorrect and useless paths

2008-11-06 Thread mechtilde
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=54695


User mechtilde changed the following:

What|Old value |New value

  Status|RESOLVED  |CLOSED





--- Additional comments from [EMAIL PROTECTED] Thu Nov  6 21:11:43 + 
2008 ---
close the invalid issue

-
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[framework-issues] [Issue 54695] python : sys.path contains incorrect and useless paths

2007-06-02 Thread bmarcelly
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=54695





--- Additional comments from [EMAIL PROTECTED] Sat Jun  2 07:01:03 + 
2007 ---
yes, it is a bug, but the only negative side effect is from my point of view a
slower pythonpath lookup.
Sub-directory lib-tk is not correctly described in sys.path.

Here is a correction proposal. It works on the MS-Windows version, maybe it can 
work 
on other OS. This correction uses and contains the proposed correction for 
Issue 55037

Module uno.py
Insert before the line:
# don't use any functions beyond this point, private section, likely to change
This means line 254 on the version used for OOo 2.2.0

Insert code :
sys.prefix = fileUrlToSystemPath(sys.prefix)
import os
sys.path = os.getenv(PYTHONPATH).split(;) +[sys.prefix+\\lib\\lib-tk]

Close entirely OpenOffice. Reopen it with a blank Writer document and run 
demoSysPath.py to 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[framework-issues] [Issue 54695] python : sys.path contains incorrect and useless paths

2007-06-01 Thread jbu
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=54695


User jbu changed the following:

What|Old value |New value

  Status|NEW   |RESOLVED

  Resolution|  |WONTFIX





--- Additional comments from [EMAIL PROTECTED] Fri Jun  1 18:46:42 + 
2007 ---
Hi,

yes, it is a bug, but the only negative side effect is from my point of view a
slower pythonpath lookup. 

So I wont fix it, because it will be 

- difficult to analyze
- probably more difficult to fix
- it will be another patch to the pythonruntime, which already has a larger
number of patches that make these very difficult to maintain (e.g during a
python runtime upgrade).

So I set it to wontfix, but feel free to find someone else to fix and integrate 
it.

Bye,

Joerg

-
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[framework-issues] [Issue 54695] python : sys.path contains incorrect and useless paths

2007-05-21 Thread bmarcelly
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=54695





--- Additional comments from [EMAIL PROTECTED] Mon May 21 07:24:10 + 
2007 ---
As could be expected, not yet corrected in OOo 2.2.0.
Next attachment demoSysPath.py writes sys.path on a Writer document.
The same routine also writes sys.prefix for checking Issue 55037

Copy demoSysPath.py into user/Scripts/python/
Open OpenOffice Writer, preferably with landscape page orientation
Run routine writeSysPath()

Here is the result for sys.path:

C:\Program Files\OpenOffice.org 2.2\program
C:\Program Files\OpenOffice.org 
2.2\program\file:\C:\Program%20Files\OpenOffice.org%202.2\program\python-core-
2.3.4\DLLs
C:\Program Files\OpenOffice.org 
2.2\program\file:\C:\Program%20Files\OpenOffice.org%202.2\program\python-core-
2.3.4\lib
C:\Program Files\OpenOffice.org 
2.2\program\file:\C:\Program%20Files\OpenOffice.org%202.2\program\python-core-
2.3.4\lib\lib-tk
C:\Program Files\OpenOffice.org 
2.2\program\file:\C:\Program%20Files\OpenOffice.org%202.2\program\python-core-
2.3.4\lib\plat-win
C:\Program Files\OpenOffice.org 2.2\program\python-core-2.3.4\lib
C:\Program Files\OpenOffice.org 2.2\program\python-core-2.3.4\lib\site-packages
C:\Program Files\OpenOffice.org 2.2\program\python23.zip

line 1 is OK
line 2 is a mix of Win address and an inexistent URL address
lines 3,4,5 are a mix of Win address and URL address
lines 6, 7 are OK
line 8 points to an inexistent file


-
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[framework-issues] [Issue 54695] python : sys.path contains incorrect and useless paths

2007-05-21 Thread bmarcelly
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=54695





--- Additional comments from [EMAIL PROTECTED] Mon May 21 07:31:20 + 
2007 ---
Created an attachment (id=45279)
Python script to reproduce 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[framework-issues] [Issue 54695] python : sys.path contains incorrect and useless paths

2007-05-21 Thread kpalagin
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=54695


User kpalagin changed the following:

What|Old value |New value

  Ever confirmed|  |1

  Status|UNCONFIRMED   |NEW





--- Additional comments from [EMAIL PROTECTED] Mon May 21 15:27:56 + 
2007 ---
Confirming with 2.3m211 on WinXP - as described. Repro steps:
1. Copy attached demoSysPath.py to share\Scripts\python\.
2. Start Writer.
3. Tools - Macros - Orginize - Python - OOo-dev - demoSysPath - WriteSysPath - 
Run.

-
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[framework-issues] [Issue 54695] python : sys.path contains incorrect and useless paths

2007-05-20 Thread kpalagin
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=54695


User kpalagin changed the following:

What|Old value |New value

  CC|'maxweber'|'kpalagin,maxweber'

Keywords|  |needmoreinfo





--- Additional comments from [EMAIL PROTECTED] Sun May 20 18:09:35 + 
2007 ---
bmarcelly,
please see if problem is there in version 2.2.

If it is, please specify how I can see the problem.
Thanks.

-
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]