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


Groups > linux.debian.bugs.rc > #365032

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

From Ben Finney <bignose@debian.org>
Newsgroups linux.debian.bugs.rc
Subject Bug#1072857: dput: Fails when processing ssh_config_options value: AttributeError: 'list' object has no attribute 'split'
Date 2024-06-12 07:00 +0200
Message-ID <IOofw-2j5f-3@gated-at.bofh.it> (permalink)
References <INmIN-1FzK-3@gated-at.bofh.it> <INmIN-1FzK-3@gated-at.bofh.it> <IO68V-27FP-1@gated-at.bofh.it> <INmIN-1FzK-3@gated-at.bofh.it> <IO68V-27FP-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.debian.bugs.rc | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

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

csiph-web