[Konsole-devel] [Bug 171631] New: Python function os.getlogin fails in konsole

Jonathan Thomas echidnaman at gmail.com
Thu Sep 25 00:58:07 UTC 2008


http://bugs.kde.org/show_bug.cgi?id=171631

           Summary: Python function os.getlogin fails in konsole
           Product: konsole
           Version: 2.1
          Platform: unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: konsole-devel at kde.org
        ReportedBy: echidnaman at gmail.com


Version:           2.1 (using 4.1.1 (KDE 4.1.1), Kubuntu packages)
Compiler:          cc
OS:                Linux (i686) release 2.6.26-5-generic

Originally from https:/launchpad.net/bugs/155508

Python's os.getlogin() function fails when it is runs under Konsole/any
embedded Konsole. It does not fail under virtual consoles, xterm, or gnome's
terminal.
To reproduce, enter the following in Konsole:

python
import os; os.getlogin()

This will result in:
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
OSError: [Errno 2] No such file or directory

Expected result would be for your username to be returned.


-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the konsole-devel mailing list