[03:58] how stable/unstable is Vivid? would it be a bad idea to upgrade? [09:13] Good morning. [12:14] Hiyas all === Malsasa_ is now known as Malsasa [16:45] I would like some help determining under which component I should file a bug relating to python raising a FileNotFoundError when calling os.getlogin(). The odd thing is that it happens when running in the KDE session, but in Unity it works as expected. There are no problems with os.getenv('USER') under KDE. [16:46] ngaio: What is calling that function? [16:47] lordievader, my code :-) [16:47] ngaio: Could you pastebin it? [16:48] lordievader, python -c 'import os; print os.getlogin()' [16:49] ngaio: What is the full traceback you get? [16:50] Traceback (most recent call last): [16:50] File "", line 1, in [16:50] OSError: [Errno 2] No such file or directory [16:51] !paste | ngaio [16:51] ngaio: For posting multi-line texts into the channel, please use http://paste.ubuntu.com | To post !screenshots use http://imgur.com/ !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic. [16:51] lordievader, http://paste.ubuntu.com/10391745/ [16:51] Hmm, that is strange. Do you get the same behaviour in python3? [16:52] lordievader, yes, but of course I have to change the print statement to be in python3 format first [16:52] and as I say, it works fine under a Unity session [16:53] That is very strange... [16:54] lordievader, and why this works, I don't know: python -c "import os; print os.getenv('USER')" [16:54] That reads the $USER environment variable. [16:55] I guess the other call tries something else first! I haven't looked at the python OS module code [16:56] ngaio: Python finds this not a Python bug: https://mail.python.org/pipermail/python-bugs-list/2002-July/012691.html [16:57] that's from 2002! [16:57] thanks for picking that up - I should have googled that myself [16:58] ngaio: From where are you calling this? [17:00] lordievader, I'm the author of Rapid Photo Downloader and I'm porting it from PyGtk + python multiprocessing to PyQt + 0mq [17:00] So you are running it from a mortal user? [17:00] what is a mortal user? [17:01] Normal user without any real permissions, i.e. not root. [17:01] lordievader, yes, a regular user [17:01] Hmm... [17:02] No idea, really... -.- [18:06] "i assume the + in +1 won't break it" -> Turns out it does :( [18:12] rww: ? [18:13] * rww points at his last comment before then in scrollback [18:13] rww: Ah, fancy.