Apache OpenOffice (AOO) Bugzilla – Issue 101892
pyuno: _uno_import hook makes django fail
Last modified: 2013-07-30 02:40:46 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.
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
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.
Reset assignee on issues not touched by assignee in more than 1000 days.