Issue 101892 - pyuno: _uno_import hook makes django fail
Summary: pyuno: _uno_import hook makes django fail
Status: UNCONFIRMED
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:
URL:
Keywords:
Depends on:
Blocks:
 
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: ---


Attachments

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 (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.
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:  dev@openoffice.apache.org

Thanks!

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