robotpy / robotpy-crio

Obsolete. Python 3 port for cRIO for use in the FIRST Robotics Competition (FRC)
http://robotpy.github.io
43 stars 16 forks source link

os has no attribute 'WIFSIGNALED' #4

Closed ariovistus closed 9 years ago

ariovistus commented 11 years ago

just tried rpdb2 on the crio and got above error at subprocess.py:1360.

v 2013.2

virtuald commented 11 years ago

Can you post a full call stack? It looks like it's trying to start a new process, which probably won't work correctly.

ariovistus commented 11 years ago

Traceback (most recent call last): File "/c/py/boot.py", line 38, in main robot = import("robot") File "/c/py/robot.py", line 8, in import rpdb2 File "/c/lib/python3.2/site-packages/rpdb2.py", line 266, in import subprocess File "/lib/python3.2/subprocess.py", line 637, in class Popen(object): File "/lib/python3.2/subprocess.py", line 1360, in Popen def _handle_exitstatus(self, sts, _WIFSIGNALED=os.WIFSIGNALED, AttributeError: 'module' object has no attribute 'WIFSIGNALED'

virtuald commented 9 years ago

Sorry about not addressing this, somehow got lost in the noise. Given 2015 changes, I'll close this.

ariovistus commented 9 years ago

I loled when I read this in the robotpy mailing list. no worries.

virtuald commented 9 years ago

Github email is a lot better nowadays, we'll do better with bug reports this year. :)