Fails on python3.10 (fix linked)

Bug #1974061 reported by Brett Holman
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
lptools
Fix Committed
Low
Unassigned
lptools (Ubuntu)
Confirmed
Undecided
Unassigned
Jammy
Confirmed
Undecided
Unassigned

Bug Description

Trying to release cloud-init 22.2 failed on Jammy host system.

arc~/cloud-init-main(upstream/22.2|…) lp-project-upload cloud-init 22.2 cloud-init-22.2.tar.gz 22.3 changelog-file release-file
The authorization page:
 (https://launchpad.net/+authorize-token?oauth_token=3mCq1q7qqttCNkcGjs59&allow_permission=DESKTOP_INTEGRATION)
should be opening in your browser. Use your browser to authorize
this program to access Launchpad on your behalf.
Waiting to hear from Launchpad about your decision...
Traceback (most recent call last):
  File "/usr/bin/lp-project-upload", line 175, in <module>
    main()
  File "/usr/bin/lp-project-upload", line 126, in main
    file_content = open(tarball, 'r').read()
  File "/usr/lib/python3.10/codecs.py", line 322, in decode
    (result, consumed) = self._buffer_decode(data, self.errors, final)

From the traceback it looks like the failure is attempting to open/read the tarball.

I verified that the tarball is not corrupted by untaring it via `tar xvf <filename>`

Revision history for this message
James Falcon (falcojr) wrote :
Brett Holman (holmanb)
summary: - Python3.10 decode issue
+ Fails on python3.10 (fix linked)
Guruprasad (lgp171188)
Changed in lptools:
status: New → Fix Committed
importance: Undecided → Low
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in lptools (Ubuntu Jammy):
status: New → Confirmed
Changed in lptools (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.