Activity log for bug #541985

Date Who What changed Old value New value Message
2010-03-19 15:49:29 Numérigraphe bug added bug
2010-03-19 16:24:49 Stephane Wirtel (OpenERP) openobject-server: importance Undecided Low
2010-03-19 16:24:53 Stephane Wirtel (OpenERP) openobject-server: milestone 5.0.9
2010-04-06 17:27:37 Stephane Wirtel (OpenERP) openobject-server: milestone 5.0.9 5.0.10
2010-04-20 07:00:38 Numérigraphe openobject-server: status New Confirmed
2010-05-05 16:38:32 Stephane Wirtel (OpenERP) openobject-server: milestone 5.0.10 5.0.11
2010-06-08 10:01:03 Stephane Wirtel (OpenERP) openobject-server: milestone 5.0.11 5.0.12
2010-07-22 08:32:46 Numérigraphe summary can't debug in eclipse using 5.0.7 Can't debug in eclipse since 5.0.7
2010-08-23 15:38:59 Numérigraphe summary Can't debug in eclipse since 5.0.7 Psyco debugger compatibility issue
2010-08-23 15:39:15 Numérigraphe summary Psyco debugger compatibility issue Psyco debugger compatibility issue (cant' debug in eclipse)
2010-08-23 15:39:24 Numérigraphe summary Psyco debugger compatibility issue (cant' debug in eclipse) Psyco debugger compatibility issue (can't debug in eclipse)
2010-08-23 15:44:05 Numérigraphe description Using server 5.0.6 I could enter debugging mode in eclipse. That fails in 5.0.7. Eclipse says it uses the following commands: "/usr/bin/python2.5 -u /home/ls/Logiciels/eclipse/plugins/org.python.pydev.debug_1.5.5.2010030420/pysrc/pydevd.py --vm_type python --client localhost --port 0 --file /home/ls/Projets/OpenERP/server/5.0/bin/openerp-server.py The PYTHONPATH that will be used is: /home/ls/Logiciels/eclipse/plugins/org.python.pydev_1.5.5.2010030420/PySrc/pydev_sitecustomize:/usr/lib/python2.5:/usr/lib/python2.5/lib-dynload:/usr/lib/python2.5/lib-tk:/usr/lib/python2.5/plat-linux2:/usr/lib/python2.5/site-packages:/usr/lib/python2.5/site-packages/Cheetah-2.0.1-py2.5-linux-i686.egg:/usr/lib/python2.5/site-packages/CherryPy-2.3.0-py2.5.egg:/usr/lib/python2.5/site-packages/DecoratorTools-1.7-py2.5.egg:/usr/lib/python2.5/site-packages/FormEncode-1.0.1-py2.5.egg:/usr/lib/python2.5/site-packages/Numeric:/usr/lib/python2.5/site-packages/PIL:/usr/lib/python2.5/site-packages/Paste-1.7.1-py2.5.egg:/usr/lib/python2.5/site-packages/PasteDeploy-1.3.2-py2.5.egg:/usr/lib/python2.5/site-packages/PasteScript-1.6.3-py2.5.egg:/usr/lib/python2.5/site-packages/PyProtocols-1.0a0dev_r2302-py2.5-linux-i686.egg:/usr/lib/python2.5/site-packages/RuleDispatch-0.5a0.dev_r2306-py2.5-linux-i686.egg:/usr/lib/python2.5/site-packages/TurboCheetah-1.0-py2.5.egg:/usr/lib/python2.5/site-packages/TurboGears-1.0.8-py2.5.egg:/usr/lib/python2.5/site-packages/TurboKid-1.0.4-py2.5.egg:/usr/lib/python2.5/site-packages/eTiny-1.0.1.1-py2.5.egg:/usr/lib/python2.5/site-packages/gst-0.10:/usr/lib/python2.5/site-packages/gtk-2.0:/usr/lib/python2.5/site-packages/kid-0.9.6-py2.5.egg:/usr/lib/python2.5/site-packages/setuptools-0.6c8-py2.5.egg:/usr/lib/python2.5/site-packages/simplejson-1.9.1-py2.5-linux-i686.egg:/usr/lib/python25.zip:/usr/local/lib/python2.5/site-packages " When the first client connects it fails and the server console shows: pydev debugger: starting [2010-03-19 16:44:18,423] DEBUG:psycopg2:installed. Logging using Python logging module [2010-03-19 16:44:18,430] INFO:server:version - 5.0.7 [2010-03-19 16:44:18,431] INFO:server:addons_path - /home/ls/Projets/OpenERP/addons/fdl-dev [2010-03-19 16:44:18,431] INFO:server:database hostname - localhost [2010-03-19 16:44:18,432] INFO:server:database port - 5432 [2010-03-19 16:44:18,432] INFO:server:database user - ls [2010-03-19 16:44:18,433] INFO:objects:initialising distributed objects services [2010-03-19 16:44:18,827] INFO:web-services:starting XML-RPC services, port 8069 [2010-03-19 16:44:18,828] INFO:web-services:starting NET-RPC service, port 8070 [2010-03-19 16:44:18,829] INFO:web-services:the server is running, waiting for connections... [2010-03-19 16:44:22,235] DEBUG:Connection:create cursor to "template1" [2010-03-19 16:44:22,237] DEBUG:ConnectionPool:ConnectionPool(used=0/count=0/max=64) [2010-03-19 16:44:22,238] DEBUG:ConnectionPool:Borrow connection to user=ls dbname=template1 [2010-03-19 16:44:22,239] DEBUG:ConnectionPool:ConnectionPool(used=0/count=0/max=64) [2010-03-19 16:44:22,240] DEBUG:ConnectionPool:Create new connection > /usr/lib/python2.5/inspect.py(834)getframeinfo() -> raise TypeError('arg is not a frame or traceback object') (Pdb) SUMMARY Beginning with v5.0.7, debugging doesn't work in Eclipse when using Psyco, a python-code optimizer (http://psyco.sourceforge.net/). WORKAROUND Don't use psyco, it should work fine without it. ORIGINAL BUG DESCRIPTION Using server 5.0.6 I could enter debugging mode in eclipse. That fails in 5.0.7. Eclipse says it uses the following commands: "/usr/bin/python2.5 -u /home/ls/Logiciels/eclipse/plugins/org.python.pydev.debug_1.5.5.2010030420/pysrc/pydevd.py --vm_type python --client localhost --port 0 --file /home/ls/Projets/OpenERP/server/5.0/bin/openerp-server.py The PYTHONPATH that will be used is: /home/ls/Logiciels/eclipse/plugins/org.python.pydev_1.5.5.2010030420/PySrc/pydev_sitecustomize:/usr/lib/python2.5:/usr/lib/python2.5/lib-dynload:/usr/lib/python2.5/lib-tk:/usr/lib/python2.5/plat-linux2:/usr/lib/python2.5/site-packages:/usr/lib/python2.5/site-packages/Cheetah-2.0.1-py2.5-linux-i686.egg:/usr/lib/python2.5/site-packages/CherryPy-2.3.0-py2.5.egg:/usr/lib/python2.5/site-packages/DecoratorTools-1.7-py2.5.egg:/usr/lib/python2.5/site-packages/FormEncode-1.0.1-py2.5.egg:/usr/lib/python2.5/site-packages/Numeric:/usr/lib/python2.5/site-packages/PIL:/usr/lib/python2.5/site-packages/Paste-1.7.1-py2.5.egg:/usr/lib/python2.5/site-packages/PasteDeploy-1.3.2-py2.5.egg:/usr/lib/python2.5/site-packages/PasteScript-1.6.3-py2.5.egg:/usr/lib/python2.5/site-packages/PyProtocols-1.0a0dev_r2302-py2.5-linux-i686.egg:/usr/lib/python2.5/site-packages/RuleDispatch-0.5a0.dev_r2306-py2.5-linux-i686.egg:/usr/lib/python2.5/site-packages/TurboCheetah-1.0-py2.5.egg:/usr/lib/python2.5/site-packages/TurboGears-1.0.8-py2.5.egg:/usr/lib/python2.5/site-packages/TurboKid-1.0.4-py2.5.egg:/usr/lib/python2.5/site-packages/eTiny-1.0.1.1-py2.5.egg:/usr/lib/python2.5/site-packages/gst-0.10:/usr/lib/python2.5/site-packages/gtk-2.0:/usr/lib/python2.5/site-packages/kid-0.9.6-py2.5.egg:/usr/lib/python2.5/site-packages/setuptools-0.6c8-py2.5.egg:/usr/lib/python2.5/site-packages/simplejson-1.9.1-py2.5-linux-i686.egg:/usr/lib/python25.zip:/usr/local/lib/python2.5/site-packages " When the first client connects it fails and the server console shows: pydev debugger: starting [2010-03-19 16:44:18,423] DEBUG:psycopg2:installed. Logging using Python logging module [2010-03-19 16:44:18,430] INFO:server:version - 5.0.7 [2010-03-19 16:44:18,431] INFO:server:addons_path - /home/ls/Projets/OpenERP/addons/fdl-dev [2010-03-19 16:44:18,431] INFO:server:database hostname - localhost [2010-03-19 16:44:18,432] INFO:server:database port - 5432 [2010-03-19 16:44:18,432] INFO:server:database user - ls [2010-03-19 16:44:18,433] INFO:objects:initialising distributed objects services [2010-03-19 16:44:18,827] INFO:web-services:starting XML-RPC services, port 8069 [2010-03-19 16:44:18,828] INFO:web-services:starting NET-RPC service, port 8070 [2010-03-19 16:44:18,829] INFO:web-services:the server is running, waiting for connections... [2010-03-19 16:44:22,235] DEBUG:Connection:create cursor to "template1" [2010-03-19 16:44:22,237] DEBUG:ConnectionPool:ConnectionPool(used=0/count=0/max=64) [2010-03-19 16:44:22,238] DEBUG:ConnectionPool:Borrow connection to user=ls dbname=template1 [2010-03-19 16:44:22,239] DEBUG:ConnectionPool:ConnectionPool(used=0/count=0/max=64) [2010-03-19 16:44:22,240] DEBUG:ConnectionPool:Create new connection > /usr/lib/python2.5/inspect.py(834)getframeinfo() -> raise TypeError('arg is not a frame or traceback object') (Pdb)
2010-11-11 02:11:04 Olivier Dony (Odoo) openobject-server: importance Low Undecided
2010-11-11 02:11:04 Olivier Dony (Odoo) openobject-server: status Confirmed Invalid
2010-11-11 02:11:04 Olivier Dony (Odoo) openobject-server: milestone 5.0.12