Hi,


In my work I was assigned to debug a "weakly-referenced object no longer 
exists".

The object in question is a Popen process, proxied with a netref.


I tried saving global references to the object and the connections, but 
that was not the problem.


The problem occurs while running in a multithreading environment, this is: 
there are a serie of threads opening a RemoteRPC connection through 
rpyc.classic.connect(server) 
to the same server.


When I turn this parallel access to a for it works correctly.


 File 
"/.autodirect/mtrsysgwork/julianp/sx_fit_regression/libs/tools/host_tools.py", 
line 300, in run_process

   print 'running command line process (pid = %s): %s' % (process.pid, 
cmd_line)

 File 
"/.autodirect/app/Python-2.release/lib/python2.7/site-packages/rpyc-3.2.3-py2.7.egg/rpyc/core/netref.py",
 
line 148, in __getattribute__

   return syncreq(self, consts.HANDLE_GETATTR, name)

 File 
"/.autodirect/app/Python-2.release/lib/python2.7/site-packages/rpyc-3.2.3-py2.7.egg/rpyc/core/netref.py",
 
line 69, in syncreq
   raise ReferenceError('weakly-referenced object no longer exists')



My question is: can anyone think about any issue with the library or I 
should take the path to debug a bug regarding shared memory issues?


Thanks,
Julian

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"rpyc" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to