[dput-ng-maint] Bug#709831: dput-ng: dcut says: [Errno 2] No such file or directory, without an explanation

Arno Töll arno at debian.org
Sun May 26 15:22:44 UTC 2013


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.

[1]
http://anonscm.debian.org/gitweb/?p=collab-maint/dputng.git;a=commitdiff;h=f7418f6b
-- 
with kind regards,
Arno Töll
IRC: daemonkeeper on Freenode/OFTC
GnuPG Key-ID: 0x9D80F36D

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/dput-ng-maint/attachments/20130526/b3893062/attachment.pgp>


More information about the dput-ng-maint mailing list