Arno Töll writes: > Hi Ludovic, > > On 25.05.2013 22:40, Ludovic Brenta wrote: >> [TRACE] 1369514263.261604: (maybe_print_traceback) File >> "/usr/lib/python2.7/dist-packages/dput/commands/dm.py", line 39, in >> generate_dak_commands_name >> [TRACE] 1369514263.261674: (maybe_print_traceback) the_file = >> "%s-%s.dak-commands" % (os.getlogin(), int(time.time())) > > could you please try again with the version in git or cherry-pick [1] > to your installation? os.getlogin() requires a controlling terminal to > obtain your log-in name, which is not available in some setups which > may throw your error in that case. > > We fixed this a while back in f7418f6b [1] and I suspect this being > your problem.
You are correct, now I realize that I was running dcut inside an emacs shell window. Running dcut in a plain xterm seems to have worked around the problem. I have not tried the latest version in git but I have reviewed the commit you mentioned and I think it probably solves the bug. Still, I think this bug report should remain open until a newer version of dcut-ng reaches unstable. Thanks for the spot-on diagnosis. -- Ludovic Brenta. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org