Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.rc > #365208 > unrolled thread

Bug#1072857: dput: Incorrect delayed argument: ValueError: delayed days value must be a decimal integer:

Started byMartin Dosch <martin@mdosch.de>
First post2024-06-14 12:40 +0200
Last post2024-06-15 18:50 +0200
Articles 2 — 1 participant

Back to article view | Back to linux.debian.bugs.rc

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Bug#1072857: dput: Incorrect delayed argument: ValueError: delayed days value must be a decimal integer: Martin Dosch <martin@mdosch.de> - 2024-06-14 12:40 +0200
    Bug#1072857: dput: Incorrect delayed argument: ValueError: delayed days value must be a decimal integer: Martin Dosch <martin@mdosch.de> - 2024-06-15 18:50 +0200

#365208 — Bug#1072857: dput: Incorrect delayed argument: ValueError: delayed days value must be a decimal integer:

FromMartin Dosch <martin@mdosch.de>
Date2024-06-14 12:40 +0200
SubjectBug#1072857: dput: Incorrect delayed argument: ValueError: delayed days value must be a decimal integer:
Message-ID<IPcvE-2RMS-17@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

Package: dput
Version: 1.2
Followup-For: Bug #1072857

Dear Maintainer,

I am also affected by this bug. I have not added any dput config and 
therefore nowhere specified a delay so it must be a faulty default 
config:

`find ~ -name \*dput.cf` didn't find anything.

I worked around by specifying `--delayed 0` on the command line.

Best regards,
Martin

-- Package-specific info:

-- /etc/dput.cf --
# Example dput.cf that defines the host that can be used
# with dput for uploading.

[DEFAULT]
login			= *
method			= ftp
hash			= md5
allow_unsigned_uploads	= 0
allow_dcut		= 0
run_lintian		= 0
run_dinstall		= 0
check_version		= 0
scp_compress		= 0
post_upload_command	=
pre_upload_command	=
passive_ftp		= 1
default_host_main	=
allowed_distributions	= (?!UNRELEASED)

[ftp-master]
fqdn			= ftp.upload.debian.org
incoming		= /pub/UploadQueue/
login			= anonymous
allow_dcut		= 1
method			= ftp
# Please, upload your package to the proper archive
# https://www.debian.org/doc/manuals/developers-reference/pkgs.html#bug-security-upload
allowed_distributions	= (?!UNRELEASED|.*-security)

# https://lists.debian.org/debian-project/2009/05/msg00036.html
[ftp-eu]
fqdn			= ftp.eu.upload.debian.org
method			= ftp
incoming		= /pub/UploadQueue/
login			= anonymous
allow_dcut		= 1
# Please, upload your package to the proper archive
# https://www.debian.org/doc/manuals/developers-reference/pkgs.html#bug-security-upload
allowed_distributions	= (?!UNRELEASED|.*-security)

# https://lists.debian.org/debian-devel-announce/2008/09/msg00007.html
[ssh-upload]
login			= *
# login			= another_username
fqdn			= ssh.upload.debian.org
method			= scp
incoming		= /srv/upload.debian.org/UploadQueue/
allow_dcut		= 1
# Please, upload your package to the proper archive
# https://www.debian.org/doc/manuals/developers-reference/pkgs.html#bug-security-upload
allowed_distributions	= (?!UNRELEASED|.*-security)

# And if you want to override one of the defaults, add it here.
# For example, comment out the next line
# post_upload_command	= /path/to/some/script
# pre_upload_command	= /path/to/some/script

[security-master]
fqdn			= ftp.security.upload.debian.org
method			= ftp
incoming		= /pub/SecurityUploadQueue
login			= anonymous
allow_dcut		= 1
# This has been added at the request of the security team.
# Please be sure to know what you are doing before taking it out.
pre_upload_command	= /usr/share/dput/helper/security-warning

[security-master-unembargoed]
fqdn			= ftp.security.upload.debian.org
method			= ftp
incoming		= /pub/OpenSecurityUploadQueue
login			= anonymous
allow_dcut		= 1
# This has been added at the request of the security team.
# Please be sure to know what you are doing before taking it out.
pre_upload_command	= /usr/share/dput/helper/security-warning

[ubuntu]
fqdn			= upload.ubuntu.com
method			= ftp
incoming		= /
login			= anonymous

[ppa]
fqdn			= ppa.launchpad.net
method			= ftp
# replace <launchpad-id> with your Launchpad ID
incoming		= ~<launchpad-id>/ubuntu
login			= anonymous

[mentors]
method			= ftp
fqdn			= mentors.debian.net
incoming		= /pub/UploadQueue
login			= anonymous

[local]
method			= local
incoming		= ~/public_html/debian/mini-dinstall/incoming
run_dinstall		= 0
post_upload_command	= /usr/bin/mini-dinstall --batch


# Local variables:
# coding: utf-8
# mode: conf
# End:
# vim: fileencoding=utf-8 filetype=config :

-- /home/martin/.config/dput/dput.cf --

-- /home/martin/.dput.cf --

[DEFAULT]
login = *
method = ftp
hash = md5
allow_unsigned_uploads = 0
allow_dcut = 0
distributions = 
allowed_distributions = (?!UNRELEASED)
run_lintian = 0
run_dinstall = 0
check_version = 0
scp_compress = 0
default_host_main = 
post_upload_command = 
pre_upload_command = 
ssh_config_options = 
passive_ftp = 1
progress_indicator = 0
delayed = 

[ftp-master]
fqdn = ftp.upload.debian.org
incoming = /pub/UploadQueue/
login = anonymous
allow_dcut = 1
method = ftp
allowed_distributions = (?!UNRELEASED|.*-security)

[ftp-eu]
fqdn = ftp.eu.upload.debian.org
method = ftp
incoming = /pub/UploadQueue/
login = anonymous
allow_dcut = 1
allowed_distributions = (?!UNRELEASED|.*-security)

[ssh-upload]
login = *
fqdn = ssh.upload.debian.org
method = scp
incoming = /srv/upload.debian.org/UploadQueue/
allow_dcut = 1
allowed_distributions = (?!UNRELEASED|.*-security)

[security-master]
fqdn = ftp.security.upload.debian.org
method = ftp
incoming = /pub/SecurityUploadQueue
login = anonymous
allow_dcut = 1
pre_upload_command = /usr/share/dput/helper/security-warning

[security-master-unembargoed]
fqdn = ftp.security.upload.debian.org
method = ftp
incoming = /pub/OpenSecurityUploadQueue
login = anonymous
allow_dcut = 1
pre_upload_command = /usr/share/dput/helper/security-warning

[ubuntu]
fqdn = upload.ubuntu.com
method = ftp
incoming = /
login = anonymous

[ppa]
fqdn = ppa.launchpad.net
method = ftp
incoming = ~<launchpad-id>/ubuntu
login = anonymous

[mentors]
method = ftp
fqdn = mentors.debian.net
incoming = /pub/UploadQueue
login = anonymous

[local]
method = local
incoming = ~/public_html/debian/mini-dinstall/incoming
run_dinstall = 0
post_upload_command = /usr/bin/mini-dinstall --batch
fqdn = localhost



-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (900, 'testing'), (600, 'unstable'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'experimental'), (1, 'experimental-debug')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.8.12-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages dput depends on:
ii  python3                3.11.8-1
ii  python3-debian         0.1.49
ii  python3-gpg            1.18.0-4.1+b1
ii  python3-pkg-resources  68.1.2-2
ii  python3-xdg            0.28-2

dput recommends no packages.

Versions of packages dput suggests:
pn  lintian         <none>
pn  mini-dinstall   <none>
ii  openssh-client  1:9.7p1-5
ii  rsync           3.3.0-1

Versions of packages dput is related to:
ii  devscripts  2.23.7
ii  gnupg       2.2.43-7
pn  lintian     <none>
ii  rsync       3.3.0-1
pn  ssh         <none>

-- no debconf information

[toc] | [next] | [standalone]


#365266

FromMartin Dosch <martin@mdosch.de>
Date2024-06-15 18:50 +0200
Message-ID<IPELf-39Ac-1@gated-at.bofh.it>
In reply to#365208

[Multipart message — attachments visible in raw view] — view raw

Dear Ben,

Am 15.06.2024 08:44, schrieb Ben Finney:
>Before merging, I need confirmation from someone experiencing this bug,
>that the resulting package does indeed fix the bug.

You don't experience this bug if you temporarily move your user config 
and fall back to the upstream /etc/dput.cf? I guess it should be easily 
reproducible as it happened to me using the default config without 
having any personal config.

>Can you try the resulting Dput package, and confirm whether it corrects 
>the
>behaviour in your case?

I built dput including this patch [1] (except the changelog change) but 
either I did it wrong or the patch doesn't work:

> dput --version
> dput 1.2+nmu1
>
> dput --force --simulate golang-github-cloudflare-circl_1.3.9-1_source.changes
> Trying to upload package to ftp-master (ftp.upload.debian.org)
> Checking signature on .changes
> Checking signature on .dsc
> Incorrect delayed argument: ValueError: delayed days value must be a 
> decimal integer: 

Best regards,
Martin

[1] https://salsa.debian.org/debian/dput/-/merge_requests/14/diffs

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.bugs.rc


csiph-web