[GUTSY] python: os.getlogin() not working

Bug #131085 reported by Christophe Dumez
2
Affects Status Importance Assigned to Milestone
python2.5 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: python2.5

I can't get the login using os.getlogin().

$ python -c "import os; os.getlogin()"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
OSError: [Errno 2] No such file or directory

I'll post the stace in a minute.

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :
Revision history for this message
Matthias Klose (doko) wrote :

works for me without problem. to localize the problem, please remove the packages (one by one), which you see in your stacktrace, and recheck after each package removal.

Changed in python2.5:
status: New → Incomplete
Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

Sorry, I don't want to uninstall all those python packages, which is annoying because of dependencies and I don't really need this python command anyway. I uninstalled easily Turbogears and Cheetah but it didn't fix the problem.

I apologize for this, you can close this report if you want.

Revision history for this message
Matthias Klose (doko) wrote :

> I apologize for this, you can close this report if you want.

ok, please feel free to reopen when you have more information.

Changed in python2.5:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.