Issue 101892 - pyuno: _uno_import hook makes django fail
Summary: pyuno: _uno_import hook makes django fail
Alias: None
Product: udk
Classification: Code
Component: code (show other issues)
Version: OOO300m9
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Depends on:
Reported: 2009-05-13 17:27 UTC by dedsm
Modified: 2013-07-30 02:40 UTC (History)
1 user (show)

See Also:
Issue Type: PATCH
Latest Confirmation in: ---
Developer Difficulty: ---


Note You need to log in before you can comment on or make changes to this issue.
Description dedsm 2009-05-13 17:27:43 UTC
when importing uno and using django (, everything
that can cause an ImportError is raised by pyuno, and some functions in django
rely on the string returned by the exception, see 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
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
Comment 1 Rob Weir 2013-03-11 15:04:09 UTC
I'm adding this comment to all open issues with Issue Type == PATCH.  We have 220 such issues, many of them quite old.  I apologize for that.  

We need your help in prioritizing which patches should be integrated into our next release, Apache OpenOffice 4.0.

If you have submitted a patch and think it is applicable for AOO 4.0, please respond with a comment to let us know.

On the other hand, if the patch is no longer relevant, please let us know that as well.

If you have any general questions or want to discuss this further, please send a note to our dev mailing list:


Comment 2 dedsm 2013-03-11 15:13:20 UTC
I don't think this bug is to be considered high priority, I don't even know if it still happens, it was filed 4 years ago, nevertheless, fixing it should be very easy if it still happens.
Comment 3 Rob Weir 2013-07-30 02:40:46 UTC
Reset assignee on issues not touched by assignee in more than 1000 days.