peter-hst / psutil

Automatically exported from code.google.com/p/psutil
Other
0 stars 0 forks source link

import psutil fails with OSError: [Errno 2] No such file or directory: '/dev/ttyUB1' #341

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.import psutil

What is the expected output?
>>> 

What do you see instead?
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib64/python2.7/site-packages/psutil/__init__.py", line 65, in <module>
    import psutil._pslinux as _psplatform
  File "/usr/lib64/python2.7/site-packages/psutil/_pslinux.py", line 87, in <module>
    _TERMINAL_MAP = _psposix._get_terminal_map()
  File "/usr/lib64/python2.7/site-packages/psutil/_psposix.py", line 117, in _get_terminal_map
    ret[os.stat(name).st_rdev] = name
OSError: [Errno 2] No such file or directory: '/dev/ttyUB1'
>>> 

What version of psutil are you using? What Python version?
0.6.1
2.7.3

On what operating system? Is it 32bit or 64bit version?
Gentoo x86_64

Please provide any additional information below.

Original issue reported on code.google.com by kor...@gmail.com on 28 Nov 2012 at 7:42

GoogleCodeExporter commented 8 years ago
Fixed in r1551.
Thanks a lot.

Original comment by g.rodola on 12 Dec 2012 at 1:37

GoogleCodeExporter commented 8 years ago
Thank you for the fast turn around and all the hard work!

Original comment by kor...@gmail.com on 12 Dec 2012 at 1:39

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Updated csets after the SVN -> Mercurial migration:
r1551 == revision 2261f0558672

Original comment by g.rodola on 2 Mar 2013 at 12:14

GoogleCodeExporter commented 8 years ago

Original comment by g.rodola on 8 Apr 2013 at 1:21

GoogleCodeExporter commented 8 years ago

Original comment by g.rodola on 11 Apr 2013 at 9:17

GoogleCodeExporter commented 8 years ago

Original comment by g.rodola on 12 Apr 2013 at 6:21