Tarball upload gets stuck in last kB

Bug #2023961 reported by Nathan Teodosio
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Launchpad itself
New
Undecided
Unassigned
dput (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I've been consistently unable to upload tarballs for a PPA, dput gets stuck in the very last kB:

  Uploading chromium-browser_114.0.5735.133.orig.tar.xz: 1533721k/1533722k

The --debug output is attached.

ProblemType: Bug
DistroRelease: Ubuntu 23.10
Package: dput 1.1.3ubuntu2
ProcVersionSignature: Ubuntu 6.2.0-21.21-generic 6.2.6
Uname: Linux 6.2.0-21-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.26.1-0ubuntu3
Architecture: amd64
Date: Thu Jun 15 08:26:53 2023
InstallationDate: Installed on 2022-05-16 (394 days ago)
InstallationMedia: Xubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220419)
PackageArchitecture: all
SourcePackage: dput
UpgradeStatus: Upgraded to mantic on 2023-01-17 (148 days ago)

Revision history for this message
Nathan Teodosio (nteodosio) wrote :
Revision history for this message
Nathan Teodosio (nteodosio) wrote :

Tracebacj after ^C:

Traceback (most recent call last):
  File "/usr/bin/dput", line 33, in <module>
    sys.exit(load_entry_point('dput==1.1.3.post2', 'console_scripts', 'execute-dput')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/dput/dput/dput.py", line 1208, in main
    upload_methods[method](
  File "/usr/share/dput/dput/methods/ftp.py", line 82, in upload
    ftp_connection.storbinary(
  File "/usr/lib/python3.11/ftplib.py", line 509, in storbinary
    return self.voidresp()
           ^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/ftplib.py", line 259, in voidresp
    resp = self.getresp()
           ^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/ftplib.py", line 244, in getresp
    resp = self.getmultiline()
           ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/ftplib.py", line 230, in getmultiline
    line = self.getline()
           ^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/ftplib.py", line 212, in getline
    line = self.file.readline(self.maxline + 1)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/socket.py", line 706, in readinto
    return self._sock.recv_into(b)
           ^^^^^^^^^^^^^^^^^^^^^^^
KeyboardInterrupt

Revision history for this message
Guruprasad (lgp171188) wrote :

Hi Nathan, can you try using sftp instead of ftp, if you are having issues with it and let us know if that helped?

Revision history for this message
Nathan Teodosio (nteodosio) wrote : Re: [Bug 2023961] Re: Tarball upload gets stuck in last kB

Hi Guruprasad,

The last time I tried this my Internet connection was considerably
faster and I didn't encounter the problem.

For the record this is what I have in ~/.dput.cf, so I don't know why it
is using FTP.

--->
[chromium]
fqdn = ppa.launchpad.net
method = sftp
incoming = ~nteodosio/ubuntu/chromium
login = anonymous
allow_unsigned_uploads = 0
<---

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in dput (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.