This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Debugger raises a ValueError Exception if the module is using signals | ||
---|---|---|---|
Product: | python | Reporter: | florentin <florentin> |
Component: | Debugger | Assignee: | Lou Dasaro <mr_lou_d> |
Status: | CLOSED WONTFIX | ||
Severity: | blocker | CC: | Jenselme |
Priority: | P3 | ||
Version: | 8.0.1 | ||
Hardware: | All | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
florentin
2009-10-23 01:06:21 UTC
Hy, I installed the latest ND8.0 with the module. I added a python project from source I succeed in executing the project perfectly. Unfortunately I still having issue while debugging : LOG]PythonDebugger : overall Starting [LOG]PythonDebugger.taskStarted : I am Starting a new Debugging Session ... [LOG]This window is an interactive debugging context aware Python Shell [LOG]where you can enter python console commands while debugging >>> [stdout:]2014-10-11 16:01:46,724 13349 DEBUG ? openerp.netsvc: logger level set: "openerp.netsvc.rpc.request:INFO"[stdout:]2014-10-11 16:01:46,726 13349 DEBUG ? openerp.netsvc: logger level set: "openerp.netsvc.rpc.response:INFO"[stdout:]2014-10-11 16:01:46,728 13349 DEBUG ? openerp.netsvc: logger level set: "openerp.addons.web.http:INFO"[stdout:]2014-10-11 16:01:46,730 13349 DEBUG ? openerp.netsvc: logger level set: "openerp.sql_db:INFO"[stdout:]2014-10-11 16:01:46,731 13349 DEBUG ? openerp.netsvc: logger level set: ":INFO"[stdout:]2014-10-11 16:01:46,733 13349 DEBUG ? openerp.netsvc: logger level set: "openerp:DEBUG"[stdout:]2014-10-11 16:01:46,736 13349 DEBUG ? openerp.netsvc: logger level set: "[':DEBUG']"[stdout:]2014-10-11 16:01:46,738 13349 INFO ? openerp: OpenERP version 7.0[stdout:]2014-10-11 16:01:46,740 13349 INFO ? openerp: addons paths: /home/florent/DEV/Projets_Attraptemps/Depot-OpenERP/trunk/magaddons,/home/florent/DEV/Serveurs/openerp-7.0-series/server/openerp/addons,/home/florent/DEV/Serveurs/openerp-7.0-series/web/addons,/home/florent/DEV/Serveurs/openerp-7.0-series/addons,/home/florent/DEV/Lib_Odoo/banking-addons,/home/florent/DEV/Lib_Odoo/bank-statement-reconcile-7.0,/home/florent/DEV/Lib_Odoo/pentahoreporting7.0/openerp_addon[stdout:]2014-10-11 16:01:46,743 13349 INFO ? openerp: database hostname: localhost[stdout:]2014-10-11 16:01:46,746 13349 INFO ? openerp: database port: 5432[stdout:]2014-10-11 16:01:46,748 13349 INFO ? openerp: database user: openerpsignal only works in main thread['Traceback (most recent call last): ', ' File "/home/florent/DEV/Serveurs/openerp-7.0-series/server/openerp-server", line 5, in <module> openerp.cli.main() ', ' File "/home/florent/DEV/Serveurs/openerp-7.0-series/server/openerp/cli/__init__.py", line 61, in main o.run(args) ', ' File "/home/florent/DEV/Serveurs/openerp-7.0-series/server/openerp/cli/server.py", line 272, in run main(args) ', ' File "/home/florent/DEV/Serveurs/openerp-7.0-series/server/openerp/cli/server.py", line 237, in main setup_signal_handlers() ', ' File "/home/florent/DEV/Serveurs/openerp-7.0-series/server/openerp/cli/server.py", line 194, in setup_signal_handlers map(lambda sig: signal.signal(sig, signal_handler), SIGNALS) ', ' File "/home/florent/DEV/Serveurs/openerp-7.0-series/server/openerp/cli/server.py", line 194, in <lambda> map(lambda sig: signal.signal(sig, signal_handler), SIGNALS) ', 'ValueError: signal only works in main thread '] /home/florent/.netbeans/8.0/config/nbPython/debug/nbpythondebug/jpydaemon.py args = ['/home/florent/.netbeans/8.0/config/nbPython/debug/nbpythondebug/jpydaemon.py', 'localhost', '29100'] Debug session normal end localDebuggee= None JPyDbg connecting localhost on in= 29100 /out= 29101 JPyDbgI0001 : connected to localhost deamon ended >>> Is there any workaround for this? regards Thank you for your report. I did notice the debugger emitted "openerp: database user: openerpsignal only works in main thread". That might (?) be the problem. If possible, please (first backup your project!) try to duplicate the anomaly with the latest DEV release (perhaps the EE bundle), and comment here with your findings. Thanks in advance. Should be solved with the new debugger when we add it. The debugger is currently disabled. Closing this since there is no point into importing it elsewhere. Thanks for your evaluation Julien. Reporter, if you think your issue is still valid and needs to be addressed, don't hesitate to reopen it with additional information. Closing for now. |