To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=58103
------- Additional comments from [EMAIL PROTECTED] Fri Dec 9 06:24:23 -0800 2005 ------- Hi Joerg, "I plan to create an officehelper.py, which will be in the office/program directory. That's from my point of view the place, where your helper functions should be added to." Of course, that was my first implementation. But I think it's not a good idea to put here python functions which are not essential to the system. Note that uno.py already contains such functions! Anyone can create other useful functions, and the logical place is in a sub-directory of /share/Scripts/python Problems with import feature I am not surprised of these drawbacks because I work on a single user system. However if a helper file placed in office/program would not provide identical problems, then it should be the same for a helper file placed in a sub-directory of /share/Scripts/ python. My method may not be a good solution, but the system should be able to look into these subdirectories. Even an import limited to a subdirectory of /share/Scripts/python would be a good feature for deployment of common routines. Your solution number 2 is more clean, but I can't help you more on this. I suspect there may be other memory problems with current python implementation. It seems that each executed script keeps some of its data : variables declared at a module level are still accessible on another run of the same script; it could be the same for other module-related data. So there is a sort of memory leak if OpenOffice is never stopped and many scripts run. I fear that, with multiple threads, the leak becomes a problem. Regression tests : I never did this. Please give me pointers to more information (how to do this). If it can be done without C++ knowledge, I can try. Regards, Bernard --------------------------------------------------------------------- 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]
