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


Groups > linux.debian.bugs.dist > #1200271 > unrolled thread

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

Started byMartin-Éric Racine <martin-eric.racine@iki.fi>
First post2024-06-09 11:10 +0200
Last post2024-06-17 01:30 +0200
Articles 9 — 5 participants

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


Contents

  Bug#1072857: dput: Incorrect delayed argument: ValueError: delayed days value must be a decimal integer: Martin-Éric Racine <martin-eric.racine@iki.fi> - 2024-06-09 11:10 +0200
    Bug#1072857: dput: Incorrect delayed argument: ValueError: delayed days value must be a decimal integer: Alexandre Detiste <alexandre.detiste@gmail.com> - 2024-06-09 17:00 +0200
    Bug#1072857: dput: Incorrect delayed argument: ValueError: delayed days value must be a decimal integer: gregor herrmann <gregoa@debian.org> - 2024-06-09 19:30 +0200
    Bug#1072857: dput: Incorrect delayed argument: ValueError: delayed days value must be a decimal integer: Ben Finney <bignose@debian.org> - 2024-06-12 03:20 +0200
    Bug#1073040: dput: Fails when processing ssh_config_options value: AttributeError: 'list' object has no attribute 'split' Ben Finney <bignose@debian.org> - 2024-06-15 00:50 +0200
    Bug#1072857: dput: Incorrect delayed argument: ValueError: delayed days value must be a decimal integer: Ben Finney <bignose@debian.org> - 2024-06-15 00:50 +0200
    Bug#1072857: Update Martin Dosch <martin@mdosch.de> - 2024-06-15 19:00 +0200
      Bug#1072857: proposed changes confirmed fix Ben Finney <bignose@debian.org> - 2024-06-16 01:00 +0200
    Bug#1073040: dput: Fails when processing ssh_config_options value: AttributeError: 'list' object has no attribute 'split' Ben Finney <bignose@debian.org> - 2024-06-17 01:30 +0200

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

FromMartin-Éric Racine <martin-eric.racine@iki.fi>
Date2024-06-09 11:10 +0200
SubjectBug#1072857: dput: Incorrect delayed argument: ValueError: delayed days value must be a decimal integer:
Message-ID<INmIN-1FzK-3@gated-at.bofh.it>
Package: dput
Version: 1.2
Severity: normal

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

$ dput mentors ../xserver-xorg-video-geode_2.11.21-4_source.changes
Checking signature on .changes
gpg: ../xserver-xorg-video-geode_2.11.21-4_source.changes: Valid signature from AE1F8277C4B4D7B6
Checking signature on .dsc
gpg: ../xserver-xorg-video-geode_2.11.21-4.dsc: Valid signature from AE1F8277C4B4D7B6
Incorrect delayed argument: ValueError: delayed days value must be a decimal integer:

I did not specify any delayed queue, so I am perplexed as to what produced this.

Martin-Éric

- -- 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/perkelix/.config/dput/dput.cf --

- -- /home/perkelix/.dput.cf --
[mentors-ftp]
fqdn = mentors.debian.net
incoming = /pub/UploadQueue/
method = ftp
allow_unsigned_uploads = 0
run_lintian = 1
passive_ftp = 1
login = anonymous

[mentors-https]
fqdn = mentors.debian.net
incoming = /upload
method = https
allow_unsigned_uploads = 0
run_lintian = 1

[ppa]
fqdn = ppa.launchpad.net
incoming = ~q-funk/ppa/ubuntu/
method = ftp
allow_unsigned_uploads = 0
run_lintian = 1
login = anonymous

[esteid]
fqdn = ppa.launchpad.net
incoming = ~esteid/ppa/ubuntu/
method = ftp
allow_unsigned_uploads = 0
run_lintian = 1
login = anonymous

[x-swat]
fqdn = ppa.launchpad.net
incoming = ~ubuntu-x-swat/x-updates/ubuntu/
method = ftp
allow_unsigned_uploads = 0
run_lintian = 1
login = anonymous

[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 = ~q-funk/ppa/ubuntu/
login = anonymous
allow_unsigned_uploads = 0
run_lintian = 1

[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

[mentors-ftp]
fqdn = mentors.debian.net
incoming = /pub/UploadQueue/
method = ftp
allow_unsigned_uploads = 0
run_lintian = 1
passive_ftp = 1
login = anonymous

[mentors-https]
fqdn = mentors.debian.net
incoming = /upload
method = https
allow_unsigned_uploads = 0
run_lintian = 1

[esteid]
fqdn = ppa.launchpad.net
incoming = ~esteid/ppa/ubuntu/
method = ftp
allow_unsigned_uploads = 0
run_lintian = 1
login = anonymous

[x-swat]
fqdn = ppa.launchpad.net
incoming = ~ubuntu-x-swat/x-updates/ubuntu/
method = ftp
allow_unsigned_uploads = 0
run_lintian = 1
login = anonymous



- -- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (900, 'unstable')
Architecture: i386 (x86_64)

Kernel: Linux 6.1.0-21-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=fi_FI.UTF-8, LC_CTYPE=fi_FI.UTF-8 (charmap=UTF-8), LANGUAGE=fi:en
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect

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:
ii  lintian         2.117.0
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
ii  lintian     2.117.0
ii  rsync       3.3.0-1
pn  ssh         <none>

- -- no debconf information

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEyJACx3qL7GpObXOQrh+Cd8S017YFAmZlb/UACgkQrh+Cd8S0
17axqg//Y/jQz0nw1WVWnvrl0mifbMO+wtaFNChaa+MPbxWb6ITZ8nFiPq4xY5IW
IXmKRUkZthGWllXPRMjJIAryBV2s6/75hBFO0qvyPsda+voWcoGJJnsux3kqhzfP
KMn48MYvgNEVgv1bPancSq7fUt7Ag+BQn8SuLVwAmex0iZcqtckvmgQtM5NGgxtU
+gotCkvQxsa6pwgagMixN5VvPqDvGWDb2QtW2zi9yXraV+WVdxte24i6BgeSwjpL
NE0/t6c5asWS5NKpJbdQXhY+W415uk88vqNvoLvt9Wqx3PHQiFWUrwD0PPfCqD8O
8yEEg1JZzO7dXronUqG/w9GCnLK36qrVRkG2iXZcm4wweT/8WfZpCuddIZncZ7xp
wPTBdKOFJ9K7EihUzEi7p3arvLyjI3/4wtA9ywwiI0+xR4fF1e1seHTVZFccpwpa
LOhD62EHZhCYMJ+BUWskdSGlyN8Uz+1+LbAusoVNophF3nxxPGof4m3qJQx4vONV
OkZ9a2CXc10AOnBX9qnVSt8ZH2MZiUavaq/gchl4O0VKRxfFM3sHqjkGj+052j4l
0i4QgtbRGDHzS5a3McK0jsN+1s5bSpwT/MUBGizO8xNo4yZf63+UkfiDWBKl8+6t
O5GK+5qvXBjWYblelWS4e8r+Hcn5gQ8L8owr02zKhm7ATlvMtTA=
=i7Nr
-----END PGP SIGNATURE-----

[toc] | [next] | [standalone]


#1200295

FromAlexandre Detiste <alexandre.detiste@gmail.com>
Date2024-06-09 17:00 +0200
Message-ID<INsbw-1IEb-3@gated-at.bofh.it>
In reply to#1200271
Hi,

I have same issue.

Fixed by a rollback

----

tchet@quieter:~/git$ dput ftp-master dh-virtualenv_1.2.2-1.5_source.changes
Checking signature on .changes
gpg: /home/tchet/git/dh-virtualenv_1.2.2-1.5_source.changes: Valid
signature from 31F3144544A1741A
Checking signature on .dsc
gpg: /home/tchet/git/dh-virtualenv_1.2.2-1.5.dsc: Valid signature from
31F3144544A1741A
Incorrect delayed argument: ValueError: delayed days value must be a
decimal integer:
tchet@quieter:~/git$ apt policy dput
dput:
 Installé : 1.2
 Candidat : 1.2
Table de version :
*** 1.2 502
       450 http://ftp.be.debian.org/debian unstable/main amd64 Packages
       450 http://ftp.be.debian.org/debian unstable/main i386 Packages
       100 /var/lib/dpkg/status
    1.1.3 501
       501 http://ftp.be.debian.org/debian testing/main amd64 Packages
       501 http://ftp.be.debian.org/debian testing/main i386 Packages
tchet@quieter:~/git$ sudo apt install dput=1.1.3

[toc] | [prev] | [next] | [standalone]


#1200320

Fromgregor herrmann <gregoa@debian.org>
Date2024-06-09 19:30 +0200
Message-ID<INuwF-1KaU-1@gated-at.bofh.it>
In reply to#1200271

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

Control: severity -1 grave

On Sun, 09 Jun 2024 12:03:49 +0300, Martin-Éric Racine wrote:

> Package: dput
> Version: 1.2
> Severity: normal
> 
> $ dput mentors ../xserver-xorg-video-geode_2.11.21-4_source.changes
> Checking signature on .changes
> gpg: ../xserver-xorg-video-geode_2.11.21-4_source.changes: Valid signature from AE1F8277C4B4D7B6
> Checking signature on .dsc
> gpg: ../xserver-xorg-video-geode_2.11.21-4.dsc: Valid signature from AE1F8277C4B4D7B6
> Incorrect delayed argument: ValueError: delayed days value must be a decimal integer:
> 
> I did not specify any delayed queue, so I am perplexed as to what produced this.

Same here. This makes dput unusable, hence bumping the severity.
 

Cheers,
gregor

-- 
 .''`.  https://info.comodo.priv.at -- Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member VIBE!AT & SPI Inc. -- Supporter Free Software Foundation Europe
   `-   

[toc] | [prev] | [next] | [standalone]


#1200620

FromBen Finney <bignose@debian.org>
Date2024-06-12 03:20 +0200
Message-ID<IOkOB-2gQp-3@gated-at.bofh.it>
In reply to#1200271

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

Control: tags -1 + patch

On 09-Jun-2024, Martin-Éric Racine wrote:

> Incorrect delayed argument: ValueError: delayed days value must be a decimal integer:

At <URL: https://salsa.debian.org/debian/dput/-/merge_requests/14> is a
merge request proposing to fix this bug.

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

-- 
 \       “An idea isn't responsible for the people who believe in it.” |
  `\                                      —Donald Robert Perry Marquis |
_o__)                                                                  |
Ben Finney <bignose@debian.org>

[toc] | [prev] | [next] | [standalone]


#1200933 — Bug#1073040: dput: Fails when processing ssh_config_options value: AttributeError: 'list' object has no attribute 'split'

FromBen Finney <bignose@debian.org>
Date2024-06-15 00:50 +0200
SubjectBug#1073040: dput: Fails when processing ssh_config_options value: AttributeError: 'list' object has no attribute 'split'
Message-ID<IPnU5-2YFQ-1@gated-at.bofh.it>
In reply to#1200271

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

On 14-Jun-2024, Christoph Berg wrote:
> Re: Ben Finney
> > At <URL: https://salsa.debian.org/debian/dput/-/merge_requests/15> is a
> > merge request proposing to fix this bug.
> > 
> > Can you try the resulting Dput package, and confirm whether it corrects
> > the behaviour in your case?
> 
> I don't think I have any ssh options set - it was already failing on
> the default case. I'd say just upload and I'll report back if it's
> still failing.

Before uploading a version that claims to fix the bug, I'll need
confirmation the bug is in fact fixed. Can you try the modified program and
confirm the bug is fixed in that modified version?

-- 
 \     “The Things to do are: the things that need doing, that you see |
  `\     need to be done, and that no one else seems to see need to be |
_o__)                   done.” —Richard Buckminster Fuller, 1970-02-16 |
Ben Finney <bignose@debian.org>

[toc] | [prev] | [next] | [standalone]


#1200934

FromBen Finney <bignose@debian.org>
Date2024-06-15 00:50 +0200
Message-ID<IPnU5-2YFQ-3@gated-at.bofh.it>
In reply to#1200271

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

On 14-Jun-2024, Martin Dosch wrote:

> 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:

At <URL: https://salsa.debian.org/debian/dput/-/merge_requests/14> is a
merge request proposing to fix this bug.

Before merging, I need confirmation from someone experiencing this bug,
that the resulting package does indeed fix the bug.

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

-- 
 \       “We jealously reserve the right to be mistaken in our view of |
  `\      what exists, given that theories often change under pressure |
_o__)              from further investigation.” —Thomas W. Clark, 2009 |
Ben Finney <bignose@debian.org>

[toc] | [prev] | [next] | [standalone]


#1201009 — Bug#1072857: Update

FromMartin Dosch <martin@mdosch.de>
Date2024-06-15 19:00 +0200
SubjectBug#1072857: Update
Message-ID<IPEUW-39Dx-7@gated-at.bofh.it>
In reply to#1200271

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

Dear Ben,

seems I did something wrong. I started new, applied the patch and 
rebuilt dput and now it works:

> 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
> Not performing upload: ‘simulate’ option specified.
> Uploading with ftp: /home/martin/build/deb/golang-packaging/golang-github-cloudflare-circl_1.3.9-1.dsc to ftp.upload.debian.org:/pub/UploadQueue
> Uploading with ftp: /home/martin/build/deb/golang-packaging/golang-github-cloudflare-circl_1.3.9.orig.tar.gz to ftp.upload.debian.org:/pub/UploadQueue
> Uploading with ftp: /home/martin/build/deb/golang-packaging/golang-github-cloudflare-circl_1.3.9-1.debian.tar.xz to ftp.upload.debian.org:/pub/UploadQueue
> Uploading with ftp: /home/martin/build/deb/golang-packaging/golang-github-cloudflare-circl_1.3.9-1_amd64.buildinfo to ftp.upload.debian.org:/pub/UploadQueue
> Uploading with ftp: /home/martin/build/deb/golang-packaging/golang-github-cloudflare-circl_1.3.9-1_source.changes to ftp.upload.debian.org:/pub/UploadQueue
> Simulated upload.

So the patch seems to work. :)

Best regards,
Martin

[toc] | [prev] | [next] | [standalone]


#1201046 — Bug#1072857: proposed changes confirmed fix

FromBen Finney <bignose@debian.org>
Date2024-06-16 01:00 +0200
SubjectBug#1072857: proposed changes confirmed fix
Message-ID<IPKxj-3d3T-15@gated-at.bofh.it>
In reply to#1201009

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

Control: tags -1 + pending

On 15-Jun-2024, Martin Dosch wrote:

> I started new, applied the patch and rebuilt
> dput and now it works: […] So the patch seems to work. :)

Great, thank you for verifying this. I will get these changes into the
package to fix this bug.

-- 
 \         “Religions have contrived to make it impossible to disagree |
  `\       with them critically, without being rude.” —Daniel Dennett, |
_o__)                                  _The Four Horsemen_, 2008-05-20 |
Ben Finney <bignose@debian.org>

[toc] | [prev] | [next] | [standalone]


#1201268 — Bug#1073040: dput: Fails when processing ssh_config_options value: AttributeError: 'list' object has no attribute 'split'

FromBen Finney <bignose@debian.org>
Date2024-06-17 01:30 +0200
SubjectBug#1073040: dput: Fails when processing ssh_config_options value: AttributeError: 'list' object has no attribute 'split'
Message-ID<IQ7tT-3rNc-7@gated-at.bofh.it>
In reply to#1200271

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

Control: tags -1 + pending

On 16-Jun-2024, Harald Dunkel wrote:
> I did a brief test using dput built from
> https://salsa.debian.org/debian/dput/-/merge_requests/15 .
> 
> Works for me.

Thank you. I have merged these changes and they will be in the next package
release, to fix this bug.

-- 
 \            “Conscience is the inner voice that warns us somebody is |
  `\                                       looking.” —Henry L. Mencken |
_o__)                                                                  |
Ben Finney <bignose@debian.org>

[toc] | [prev] | [standalone]


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


csiph-web