[prev in list] [next in list] [prev in thread] [next in thread] 

List:       konsole-devel
Subject:    [Konsole-devel] [Bug 171631] New: Python function os.getlogin fails
From:       Jonathan Thomas <echidnaman () gmail ! com>
Date:       2008-09-25 0:58:07
Message-ID: bug-171631-5030 () http ! bugs ! kde ! org/
[Download RAW message or body]

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@kde.org
        ReportedBy: echidnaman@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.
_______________________________________________
konsole-devel mailing list
konsole-devel@kde.org
https://mail.kde.org/mailman/listinfo/konsole-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic