Dear Ben,

thank you for the fast reply.

On Mon Oct 5, 2026 at 23:54 CEST, Ben Finney wrote:
> Can you please run the command again the same way, except this time with
> the ‘--debug’ option:
>
>     $ dput --debug 
> ../golang-github-protonmail-gopenpgp-v3_3.5.2-2_source.changes
>
> and report the full output here.

Yes, of course:

> dput --debug ../golang-github-protonmail-gopenpgp-v3_3.5.2-2_source.changes
> [Errno 2] No such file or directory: '/home/martin/.config/dput/dput.cf': 
> skipping ‘/home/martin/.config/dput/dput.cf’
> [Errno 2] No such file or directory: '/home/martin/.dput.cf': skipping 
> ‘/home/martin/.dput.cf’
> D: Parsing configuration file ‘/etc/dput.cf’
> D: modules_found: ['ftp', 'http', 'https', 'local', 'rsync', 'scp']
> D: Module: ftp (<module 'dput.methods.ftp' from 
> '/usr/share/dput/dput/methods/ftp.py'>)
> D: Method name: ftp
> D: Module: http (<module 'dput.methods.http' from 
> '/usr/share/dput/dput/methods/http.py'>)
> D: Method name: http
> D: Module: https (<module 'dput.methods.https' from 
> '/usr/share/dput/dput/methods/https.py'>)
> D: Method name: https
> D: Module: local (<module 'dput.methods.local' from 
> '/usr/share/dput/dput/methods/local.py'>)
> D: Method name: local
> D: Module: rsync (<module 'dput.methods.rsync' from 
> '/usr/share/dput/dput/methods/rsync.py'>)
> D: Method name: rsync
> D: Module: scp (<module 'dput.methods.scp' from 
> '/usr/share/dput/dput/methods/scp.py'>)
> D: Method name: scp
> Trying to upload package to
> Traceback (most recent call last):
>   File "/usr/bin/dput", line 8, in <module>
>     sys.exit(main())
>              ~~~~^^
>   File "/usr/share/dput/dput/dput.py", line 923, in main
>     fqdn = get_fqdn_for_host(config, host)
>   File "/usr/share/dput/dput/dput.py", line 194, in get_fqdn_for_host
>     if config.get(host, 'method') == "local":
>        ~~~~~~~~~~^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.14/configparser.py", line 839, in get
>     d = self._unify_values(section, vars)
>   File "/usr/lib/python3.14/configparser.py", line 1214, in _unify_values
>     raise NoSectionError(section) from None
> configparser.NoSectionError: No section: ''

Best regards,
Martin

Attachment: signature.asc
Description: PGP signature

Reply via email to