[script-issues] [Issue 86251] Python systemPathToFileUrl does not like national characters - approved

2008-04-29 Thread ul
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=86251


User ul changed the following:

What|Old value |New value

 Summary|Python systemPathToFileUrl|Python systemPathToFileUrl
| does not like national ch| does not like national ch
|aracters  |aracters - approved





--- Additional comments from [EMAIL PROTECTED] Tue Apr 29 12:16:05 + 
2008 ---
added "approved" to the title, because it will be easier to work with the 2.4.1 
meta issue 
during release status meetings.

-
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]



[script-issues] [Issue 86251] Python systemPathToFileUrl does not like national characters

2008-04-29 Thread jsk
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=86251


User jsk changed the following:

What|Old value |New value

  CC|'cyhawk,fs,laurentgodard' |'cyhawk,fs,jsk,laurentgoda
|  |rd'





--- Additional comments from [EMAIL PROTECTED] Tue Apr 29 11:12:26 + 
2008 ---
CC myself, this issue can be automated


-
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]



[script-issues] [Issue 86251] Python systemPathToFileUrl does not like national characters

2008-04-24 Thread jbu
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=86251


User jbu changed the following:

What|Old value |New value

  Status|RESOLVED  |VERIFIED





--- Additional comments from [EMAIL PROTECTED] Thu Apr 24 19:44:56 + 
2008 ---
installation sets work fine for me on both platforms -> verified. 

Will set the cws to approved for qa on 27th April in case no additional negative
comments are raised.

-
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]



[script-issues] [Issue 86251] Python systemPathToFileUrl does not like national characters

2008-04-24 Thread fs
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=86251


User fs changed the following:

What|Old value |New value

Target milestone|---   |OOo 2.4.1





--- Additional comments from [EMAIL PROTECTED] Thu Apr 24 09:03:22 + 
2008 ---
targeting to 2.4.1, subject to the approval of the Release Status Team.

fs->jbu: please verify in CWS pyunosystempaths. Installation sets can be found
at
http://ooo.services.openoffice.org/pub/OpenOffice.org/cws/upload/pyunosystempaths/.

If anybody else involved in the issue is willing to verify the issue - by
downloading and installing the CWS build from the above location, and checking
the bug is indeed fixed -, then this would be welcome, too. In this case, please
set the issue to VERIFIED in case you have the permissions to do so. 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]



[script-issues] [Issue 86251] Python systemPathToFileUrl does not like national characters

2008-04-23 Thread fs
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=86251


User fs changed the following:

What|Old value |New value

  CC|'cyhawk,laurentgodard'|'cyhawk,fs,laurentgodard'





-
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]



[script-issues] [Issue 86251] Python systemPathToFileUrl does not like national characters

2008-04-23 Thread fs
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=86251


User fs changed the following:

What|Old value |New value

  Status|STARTED   |RESOLVED

  Resolution|  |FIXED





--- Additional comments from [EMAIL PROTECTED] Wed Apr 23 20:06:51 + 
2008 ---
fix committed to CWS pyunosystempaths, on behalf of jbu

-
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]



[script-issues] [Issue 86251] Python systemPathToFileUrl does not like national characters

2008-04-22 Thread fs
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=86251


User fs changed the following:

What|Old value |New value

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


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



[script-issues] [Issue 86251] Python systemPathToFileUrl does not like national characters

2008-04-21 Thread jbu
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=86251





--- Additional comments from [EMAIL PROTECTED] Mon Apr 21 19:15:54 + 
2008 ---
@cyhawk: checking the standard sample script will be enough. It both checks the 
changes in pythonloader.py (can a python component be loaded ?) and 
pythonscript.py (can the sample script be executed ?). Both files are loaded 
from absolute pathes, so no reason to force the qa people to have a certain 
localized operating system installed. Let me know by mail when u disagree. If 
this works, it will work on a localized os either.

-
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]



[script-issues] [Issue 86251] Python systemPathToFileUrl does not like national characters

2008-04-21 Thread cyhawk
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=86251





--- Additional comments from [EMAIL PROTECTED] Mon Apr 21 08:34:19 + 
2008 ---
jbu: It is not just the path to OpenOffice.org that matters. QA should also try
installing a Python language extension when their user name have special
characters. I think this exercises a different code-path.

-
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]



[script-issues] [Issue 86251] Python systemPathToFileUrl does not like national characters

2008-04-16 Thread jbu
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=86251





--- Additional comments from [EMAIL PROTECTED] Wed Apr 16 17:24:31 + 
2008 ---
so just to summarize, the following files in source tree need to be patched

* pyuno/source/loader/pythonloader.py  (with
http://www.openoffice.org/nonav/issues/showattachment.cgi/52590/pythonloader.py 
)

* scripting/source/pyprov/pythonscript.py ( with
http://www.openoffice.org/nonav/issues/showattachment.cgi/52484/pythonscript.py 
)

@QA: The patches can be tested this way
- Install office to a path with non-ascii characters
- Start writer
- Tools/Macro.../Run Macro...
- Choose OpenOffice.org Macros/TableSample
- If in the "Macro name" box appears a createTable(), the test succeeded.

-
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]



[script-issues] [Issue 86251] Python systemPathToFileUrl does not like national characters

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


User cyhawk changed the following:

What|Old value |New value

  CC|'laurentgodard'   |'cyhawk,laurentgodard'





-
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]



[script-issues] [Issue 86251] Python systemPathToFileUrl does not like national characters

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





--- Additional comments from [EMAIL PROTECTED] Sun Apr  6 10:04:00 + 
2008 ---
Created an attachment (id=52590)
version with "checkForPythonPathBesideComponent" patched


-
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]



[script-issues] [Issue 86251] Python systemPathToFileUrl does not like national characters

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


User cyhawk changed the following:

What|Old value |New value

 Attachment is patch|  |Created an attachment (id=
|  |52589)
function "checkForP
|  |ythonPathBesideComponent" 
|  |also needs encfile






--- Additional comments from [EMAIL PROTECTED] Sun Apr  6 10:01:28 + 
2008 ---
Created an attachment (id=52589)
function "checkForPythonPathBesideComponent" also needs encfile


-
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]



[script-issues] [Issue 86251] Python systemPathToFileUrl does not like national characters

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





--- Additional comments from [EMAIL PROTECTED] Sun Apr  6 10:00:35 + 
2008 ---
Dear Joerg,

Thank you for this quick fix. As developers of several Python extensions, this
bug hit us quite hard :).

However a user has reported that the fix does not work for him, and now that I
took a look at it, it is indeed not complete. Let me attach one more patch
(applying to the already patched version) and a version with this patch.

-
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]



[script-issues] [Issue 86251] Python systemPathToFileUrl does not like national characters

2008-04-03 Thread laurentgodard
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=86251


User laurentgodard changed the following:

What|Old value |New value

  CC|''|'laurentgodard'





-
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]



[script-issues] [Issue 86251] Python systemPathToFileUrl does not like national characters

2008-04-03 Thread jbu
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=86251





--- Additional comments from [EMAIL PROTECTED] Thu Apr  3 07:07:30 + 
2008 ---
added patched versions of pythonscript.py and pythonloader.py to make it easier
for users to update an OO-2.4.0 installation. Simply replace the files in the
program directory of the office installation.

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]



[script-issues] [Issue 86251] Python systemPathToFileUrl does not like national characters

2008-04-03 Thread jbu
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=86251





--- Additional comments from [EMAIL PROTECTED] Thu Apr  3 07:05:37 + 
2008 ---
Created an attachment (id=52485)
Patched version pythonloader.py in case you installed OOo to a path with 
non-ascii charcters for OOo-2.4.0


-
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]



[script-issues] [Issue 86251] Python systemPathToFileUrl does not like national characters

2008-04-03 Thread jbu
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=86251





--- Additional comments from [EMAIL PROTECTED] Thu Apr  3 07:04:33 + 
2008 ---
Created an attachment (id=52484)
Patched version for pythonscript.py for OOo-2.4.0


-
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]



[script-issues] [Issue 86251] Python systemPathToFileUrl does not like national characters

2008-03-17 Thread bmarcelly
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=86251





--- Additional comments from [EMAIL PROTECTED] Mon Mar 17 15:42:08 + 
2008 ---
Hi,
Sorry for the late answer, no time left.

Tested the patch with a user script, OK for me.

-
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]



[script-issues] [Issue 86251] Python systemPathToFileUrl does not like national characters

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


User jbu changed the following:

What|Old value |New value

 Attachment is patch|  |Created an attachment (id=
|  |52039)
patch for pythonscr
|  |ipt.py






--- Additional comments from [EMAIL PROTECTED] Tue Mar 11 21:36:59 + 
2008 ---
Created an attachment (id=52039)
patch for pythonscript.py


-
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]



[script-issues] [Issue 86251] Python systemPathToFileUrl does not like national characters

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





--- Additional comments from [EMAIL PROTECTED] Tue Mar 11 21:35:43 + 
2008 ---
Hi,

ok, this is a bug/feature in python itself, see

http://bugs.python.org/issue79

and fixed for python 2.4. The os.access function does not do the correct
conversions for unicode strings. Thus the correct fix is to replace

os.access( path, os.F_OK)

with 

os.access( path.encode(sys.getfilesystemencoding()), os.F_OK))

. Additionally there are problems with the compile function. Attaching a patch
for pythonscript.py (still need to verify this on windows though).

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]



[script-issues] [Issue 86251] Python systemPathToFileUrl does not like national characters

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


User jbu changed the following:

What|Old value |New value

  Status|NEW   |STARTED





--- Additional comments from [EMAIL PROTECTED] Thu Mar  6 20:00:45 + 
2008 ---
Hi,

bug is accepted, but I have to think a little more about it. You can avoid the
Exception by replacing the line 

if 1 == os.access( path, os.F_OK) and not path in sys.path:

with 

if 1 == os.access( path.encode(sys.getdefaultencoding()), os.F_OK) and
not path in sys.path:

 (your proposed patch included this already). It helps on my system, can you
check whether this would help on your system as well ? 

I don't want to use a ucb service in uno.py, because atm uno.py does not depend
on these services and pyuno shall be able to run standalone without an office.

There are more bugs, the encode() must be added at all places, where a path is
passed to a python function (e.g. adding it to sys.path).

Additionally there seem to be problems when manipulating a unicode file url with
python string concatination, when I use non ascii characters as a script file
name, it appears garbled in the ui ...

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]



[script-issues] [Issue 86251] Python systemPathToFileUrl does not like national characters

2008-03-04 Thread bmarcelly
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=86251


User bmarcelly changed the following:

What|Old value |New value

 Version|OOo 2.4 RC1   |OOo 2.4 RC2





--- Additional comments from [EMAIL PROTECTED] Tue Mar  4 15:11:22 + 
2008 ---
Here is a correction proposal. Tested only on my WindowsXP computer.

pyuno routines systemPathToFileUrl and fileUrlToSystemPath should not be used.

1) Correction of uno.py -> change the existing functions by these versions:

def systemPathToFileUrl( systemPath ):
"returns a file-url for the given system path"
sv = 
getComponentContext().ServiceManager.createInstance("com.sun.star.ucb.FileContentProvider")
ret = sv.getFileURLFromSystemPath("", systemPath)
return ret

def fileUrlToSystemPath( url ):
"returns a system path (determined by the system, the python interpreter is 
running on)"
sv = 
getComponentContext().ServiceManager.createInstance("com.sun.star.ucb.FileContentProvider")
ret = sv.getSystemPathFromFileURL(url)
return ret.encode(sys.getfilesystemencoding())


2) Correction of unohelper.py -> change the existing functions by these 
versions:

def systemPathToFileUrl( systemPath ):
"returns a file-url for the given system path"
return uno.systemPathToFileUrl( systemPath )

def fileUrlToSystemPath( url ):
"returns a system path (determined by the system, the python interpreter is 
running on)"
return uno.fileUrlToSystemPath( url )


3) Improvement of pythonscript.py :
it would be more efficient to call the uno.fileUrlToSystemPath() and 
uno.systemPathToFileUrl instead of the unohelper.py equivalent routines.


-
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]



[script-issues] [Issue 86251] Python systemPathToFileUrl does not like national characters

2008-02-19 Thread kr
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=86251


User kr changed the following:

What|Old value |New value

 Assigned to|kr|jbu





--- Additional comments from [EMAIL PROTECTED] Wed Feb 20 07:57:51 + 
2008 ---
Joerg, please take care of this ...


-
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]



[script-issues] [Issue 86251] Python systemPathToFileUrl does not like national characters

2008-02-19 Thread bmarcelly
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=86251
 Issue #|86251
 Summary|Python systemPathToFileUrl does not like national char
|acters
   Component|scripting
 Version|OOo 2.4 RC1
Platform|All
 URL|
  OS/Version|Windows XP
  Status|NEW
   Status whiteboard|
Keywords|
  Resolution|
  Issue type|DEFECT
Priority|P3
Subcomponent|code
 Assigned to|kr
 Reported by|bmarcelly





--- Additional comments from [EMAIL PROTECTED] Wed Feb 20 06:22:18 + 
2008 ---
Python script bug. Works OK for other scripts (Basic, Beanshell, Javascript...)

On Windows XP my userid is "Propriétaire" (was initialized by my PC vendor).
I cannot run any Python user script because character é is in the file path.
Contents of the log.text :

Wed Feb 20 07:03:38 2008 [ERROR] Error while evaluating file:///C:/
Documents%20and%20Settings/Propri%C3%A9taire/Application%20Data/OpenOffice.org2/user/
Scripts/python/Nothing.py:exceptions.UnicodeEncodeError: 'ascii' codec can't 
encode 
character u'\xe9' in position 32: ordinal not in range(128)
  C:\Program Files\OpenOffice.org 2.4\program\pythonscript.py:149 in function 
checkForPythonPathBesideScript() [if 1 == os.access( path, os.F_OK) and not 
path in 
sys.path:]
  C:\Program Files\OpenOffice.org 2.4\program\pythonscript.py:289 in function 
getModuleByUrl() [checkForPythonPathBesideScript( url[0:url.rfind('/')] )]
  C:\Program Files\OpenOffice.org 2.4\program\pythonscript.py:443 in function 
getChildNodes() [self.module = self.provCtx.getModuleByUrl( self.uri )]

-
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]