Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
giampaolo opened this issue May 23, 2014 · 6 comments

Comments

@giampaolo
Copy link
Owner

From kor...@gmail.com on November 28, 2012 08:42:05

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: http://code.google.com/p/psutil/issues/detail?id=341

@giampaolo
Copy link
Owner Author

From g.rodola on December 11, 2012 17:37:32

Fixed in r1551 .
Thanks a lot.

Status: FixedInSVN
Labels: -Priority-Medium -64bit Priority-High Milestone-0.6.2

@giampaolo
Copy link
Owner Author

From kor...@gmail.com on December 11, 2012 17:39:53

Thank you for the fast turn around and all the hard work!

@giampaolo
Copy link
Owner Author

From g.rodola on March 02, 2013 04:14:01

Updated csets after the SVN -> Mercurial migration: r1551 == revision 
2261f0558672

@giampaolo
Copy link
Owner Author

From g.rodola on April 07, 2013 18:21:49

Status: FixedInHG

@giampaolo
Copy link
Owner Author

From g.rodola on April 11, 2013 02:17:39

Labels: -Milestone-0.6.2 Milestone-0.7.0

@giampaolo
Copy link
Owner Author

From g.rodola on April 12, 2013 11:21:27

Status: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant