psutil.Process::is_running OverflowError

12 views
Skip to first unread message

okko.wil...@gmail.com

unread,
Jun 13, 2018, 5:02:49 AM6/13/18
to psutil
Running; Windows 10, Python 2.7.14, psutil 5.4.5

The processed we started using psutil::Popen crashed.

After the crash we expect psutil.Process::is_running to return False, instead an exception is raised.

Is the exception correct and how must we interpret it?


<type 'exceptions.OverflowError'>
long too big to convert
File "C:\HVE\B9140-1.0-EXTERNALHEAD\gaius\src\gaius\automation\automationmodule.py", line 778, in __executeHeartbeat
   self.onHeartbeat()
 File "C:\HVE\B9140-1.0-EXTERNALHEAD\ams\apps\ams_measurement.py", line 247, in onHeartbeat
   self.__mca4_measurement.onHeartbeat()
 File "C:\HVE\B9140-1.0-EXTERNALHEAD\ams\apps\ams_measurement.py", line 98, in onHeartbeat
   self.__dmca4.tagbits() if self.__dmca4 is not None else DMCA4.tagbits_unknown
 File "C:\HVE\B9140-1.0-EXTERNALHEAD\ams\src\ams\mca4.py", line 394, in tagbits
   if self.__mca4_process.is_running() and self.__stopped():
 File "C:\Python27\lib\site-packages\psutil\__init__.py", line 569, in is_running
   return self == Process(self.pid)
 File "C:\Python27\lib\site-packages\psutil\__init__.py", line 340, in __init__
   self._init(pid)
 File "C:\Python27\lib\site-packages\psutil\__init__.py", line 367, in _init
   self.create_time()
 File "C:\Python27\lib\site-packages\psutil\__init__.py", line 698, in create_time
   self._create_time = self._proc.create_time()
 File "C:\Python27\lib\site-packages\psutil\_pswindows.py", line 635, in wrapper
   return fun(self, *args, **kwargs)
 File "C:\Python27\lib\site-packages\psutil\_pswindows.py", line 843, in create_time
   if self.pid in (0, 4):            


Giampaolo Rodola'

unread,
Jun 13, 2018, 5:45:44 AM6/13/18
to psu...@googlegroups.com
Your traceback looks truncated. If you think this is a bug you better open a ticket on the bugtracker: https://github.com/giampaolo/psutil/issues

--
You received this message because you are subscribed to the "Python process utilities (psutil)" project group:
http://code.google.com/p/psutil
To post to this group, send email to psu...@googlegroups.com
To unsubscribe from this group, send email to psutil-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/psutil
---
You received this message because you are subscribed to the Google Groups "psutil" group.
To unsubscribe from this group and stop receiving emails from it, send an email to psutil+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Reply all
Reply to author
Forward
0 new messages