Greetings, For development, I run OpenERP server locally on my Macbook (10.6.3). All the dependencies are satisfied via Macports, and the server does work well.
However, 2 problems: 1st, netrpc seems to hang when attempting to shutdown the server. Here, I sent a CTRL-C, which the server recognized, but the process hangs indefinitely after the shutdown message below is shown. I must send SIGKILL to the process to end it. [phellerws2:5.0.9/server/bin] pheller% /opt/local/bin/python ./openerp-server.py --no-xmlrpc [2010-04-13 15:05:49,821] INFO:server:version - 5.0.9 [2010-04-13 15:05:49,821] INFO:server:addons_path - /Users/pheller/Projects/openerp/5.0.9/server/bin/addons [2010-04-13 15:05:49,821] INFO:server:database hostname - localhost [2010-04-13 15:05:49,822] INFO:server:database port - 5432 [2010-04-13 15:05:49,822] INFO:server:database user - pheller [2010-04-13 15:05:49,822] INFO:objects:initialising distributed objects services [2010-04-13 15:05:50,011] INFO:web-services:starting NET-RPC service, port 8070 [2010-04-13 15:05:50,011] INFO:web-services:the server is running, waiting for connections... ^C[2010-04-13 15:05:52,787] INFO:shutdown:Shutdown Server! - SIGINT 2nd, it appears XMLRPC is attempting to write to a closed file descriptor after SIGINT. At least the server exits, though! [phellerws2:5.0.9/server/bin] pheller% /opt/local/bin/python ./openerp-server.py --no-netrpc [2010-04-13 15:06:23,301] INFO:server:version - 5.0.9 [2010-04-13 15:06:23,301] INFO:server:addons_path - /Users/pheller/Projects/openerp/5.0.9/server/bin/addons [2010-04-13 15:06:23,301] INFO:server:database hostname - localhost [2010-04-13 15:06:23,302] INFO:server:database port - 5432 [2010-04-13 15:06:23,302] INFO:server:database user - pheller [2010-04-13 15:06:23,302] INFO:objects:initialising distributed objects services [2010-04-13 15:06:23,477] INFO:web-services:starting XML-RPC services, port 8069 [2010-04-13 15:06:23,477] INFO:web-services:the server is running, waiting for connections... ^C[2010-04-13 15:06:27,754] INFO:shutdown:Shutdown Server! - SIGINT Exception in thread Thread-1: Traceback (most recent call last): File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/threading.py", line 532, in __bootstrap_inner self.run() File "/Users/pheller/Projects/openerp/5.0.9/server/bin/netsvc.py", line 355, in run self.server.handle_request() File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/SocketServer.py", line 262, in handle_request fd_sets = select.select([self], [], [], timeout) error: (9, 'Bad file descriptor') This is all with Python 2.6.5. Oddly, it does not seem to happen on another Mac I have access to. I prefer to do my development in Eclipse with PyDev, and the issue with netrpc really impedes executing the server via Eclipse. Thoughts or suggestions? ------------------------ --phil -------------------- m2f -------------------- -- http://www.openobject.com/forum/viewtopic.php?p=54259#54259 -------------------- m2f -------------------- _______________________________________________ Tinyerp-users mailing list http://tiny.be/mailman2/listinfo/tinyerp-users
