To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=101892
                 Issue #|101892
                 Summary|pyuno: _uno_import hook makes django fail
               Component|udk
                 Version|OOO300m9
                Platform|All
                     URL|
              OS/Version|All
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|PATCH
                Priority|P3
            Subcomponent|code
             Assigned to|jbu
             Reported by|dedsm





------- Additional comments from [email protected] Wed May 13 16:27:43 +0000 
2009 -------
when importing uno and using django (http://www.djangoproject.com), everything
that can cause an ImportError is raised by pyuno, and some functions in django
rely on the string returned by the exception, see
http://code.djangoproject.com/ticket/11098 to get more info.

one solution I found is replace __builtin__.__import__ to the default, call the
functions, and then restore it to the pyuno import function, I notice in uno.py
there's a variable called _g_delegatee that contains the old __import__
function, it would be nice having pyuno provide unhook and rehook functions by
default.

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