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


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

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

Started byChristoph Berg <myon@debian.org>
First post2024-06-11 11:40 +0200
Last post2024-06-14 11:40 +0200
Articles 4 — 2 participants

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: Christoph Berg <myon@debian.org> - 2024-06-11 11:40 +0200
    Bug#1072857: dput: Fails when processing ssh_config_options value: AttributeError: 'list' object has no attribute 'split' Ben Finney <bignose@debian.org> - 2024-06-12 07: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-14 05:40 +0200
        Bug#1073040: dput: Fails when processing ssh_config_options value: AttributeError: 'list' object has no attribute 'split' Christoph Berg <myon@debian.org> - 2024-06-14 11:40 +0200

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

FromChristoph Berg <myon@debian.org>
Date2024-06-11 11:40 +0200
SubjectBug#1072857: dput: Incorrect delayed argument: ValueError: delayed days value must be a decimal integer:
Message-ID<IO68V-27FP-1@gated-at.bofh.it>
Re: Martin-Éric Racine
> Incorrect delayed argument: ValueError: delayed days value must be a decimal integer:

`dput -e 0` works around that part of the problem. I then ran into
another problem though:

Uploading to ssh-upload [DELAYED/0-day] (via scp to ssh.upload.debian.org):
Traceback (most recent call last):
  File "/usr/bin/dput", line 33, in <module>
    sys.exit(load_entry_point('dput==1.2', 'console_scripts', 'execute-dput')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/dput/dput/dput.py", line 1548, in main
    upload_files(
  File "/usr/share/dput/dput/dput.py", line 1267, in upload_files
    upload_func(
  File "/usr/share/dput/dput/dput.py", line 1152, in upload_files_via_method_scp
    line.strip() for line in ssh_config_options.split("\n"))
                             ^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'list' object has no attribute 'split'

Christoph

[toc] | [next] | [standalone]


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

FromBen Finney <bignose@debian.org>
Date2024-06-12 07:00 +0200
SubjectBug#1072857: dput: Fails when processing ssh_config_options value: AttributeError: 'list' object has no attribute 'split'
Message-ID<IOofw-2j5f-3@gated-at.bofh.it>
In reply to#364978

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

Control: clone -1 -2
Control: retitle -2 dput: Fails when processing ssh_config_options value: AttributeError: 'list' object has no attribute 'split'
Control: tags -2 + confirmed
Control: severity -2 severe

On 11-Jun-2024, Christoph Berg wrote:

> Uploading to ssh-upload [DELAYED/0-day] (via scp to ssh.upload.debian.org):
> Traceback (most recent call last):
>   File "/usr/bin/dput", line 33, in <module>
>     sys.exit(load_entry_point('dput==1.2', 'console_scripts', 'execute-dput')())
>              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/share/dput/dput/dput.py", line 1548, in main
>     upload_files(
>   File "/usr/share/dput/dput/dput.py", line 1267, in upload_files
>     upload_func(
>   File "/usr/share/dput/dput/dput.py", line 1152, in upload_files_via_method_scp
>     line.strip() for line in ssh_config_options.split("\n"))
>                              ^^^^^^^^^^^^^^^^^^^^^^^^
> AttributeError: 'list' object has no attribute 'split'

This is a bug in recently refactored code, thank you for finding it. I will
correct that and get you to confirm the fix.

-- 
 \           “All progress has resulted from people who took unpopular |
  `\                                      positions.” —Adlai Stevenson |
_o__)                                                                  |
Ben Finney <bignose@debian.org>

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


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

FromBen Finney <bignose@debian.org>
Date2024-06-14 05:40 +0200
SubjectBug#1073040: dput: Fails when processing ssh_config_options value: AttributeError: 'list' object has no attribute 'split'
Message-ID<IP5Xb-2NBj-1@gated-at.bofh.it>
In reply to#365032

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

On 12-Jun-2024, Ben Finney wrote:
> On 11-Jun-2024, Christoph Berg wrote:
> 
> >   File "/usr/share/dput/dput/dput.py", line 1152, in upload_files_via_method_scp
> >     line.strip() for line in ssh_config_options.split("\n"))
> >                              ^^^^^^^^^^^^^^^^^^^^^^^^
> > AttributeError: 'list' object has no attribute 'split'
> 
> This is a bug in recently refactored code, thank you for finding it. I will
> correct that and get you to confirm the fix.

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 like to skate on the other side of the ice.” —Steven Wright |
  `\                                                                   |
_o__)                                                                  |
Ben Finney <bignose@debian.org>

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


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

FromChristoph Berg <myon@debian.org>
Date2024-06-14 11:40 +0200
SubjectBug#1073040: dput: Fails when processing ssh_config_options value: AttributeError: 'list' object has no attribute 'split'
Message-ID<IPbzz-2Rd5-1@gated-at.bofh.it>
In reply to#365192
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?

Hi,

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.

Thanks!

Christoph

[toc] | [prev] | [standalone]


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


csiph-web