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

Reply via email to