Stuck on Debian Packaging

I try to upload my app ( https://github.com/pc-magas/mkdotenv/tree/dev ) into ppa as I explain here: https://askubuntu.com/questions/1540907/why-i-am-unable-to-upload-the-orig-tar-gz-to-launchpad But dput command keeps on refusing uploading the .orig.tar.gz file: $export VERSION=0.1.0; dput ppa:pcmagas/mkdotenv ../mkdotenv_$VERSION.orig.tar.gz --force Traceback (most recent call last): File "/usr/bin/dput", line 125, in changes = dput.changes.parse_changes_file( File "/usr/lib/python3/dist-packages/dput/changes.py", line 339, in parse_changes_file _c = Changes(filename=filename) File "/usr/lib/python3/dist-packages/dput/changes.py", line 82, in __init__ self._data = deb822.Changes(open(filename)) File "/usr/lib/python3/dist-packages/debian/deb822.py", line 1874, in __init__ self.split_gpg_and_payload( File "/usr/lib/python3/dist-packages/debian/deb822.py", line 1135, in split_gpg_and_payload for line_ in sequence: File "/usr/lib/python3/dist-packages/debian/deb822.py", line 1875, in (self._bytes(s, encoding) for s in sequence), File "/usr/lib/python3.10/codecs.py", line 322, in decode (result, consumed) = self._buffer_decode(data, self.errors, final) UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte Error in sys.excepthook: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 153, in apport_excepthook with os.fdopen(os.open(pr_filename, FileNotFoundError: [Errno 2] No such file or directory: '/var/crash/_usr_bin_dput.1000.crash' Original exception was: Traceback (most recent call last): File "/usr/bin/dput", line 125, in changes = dput.changes.parse_changes_file( File "/usr/lib/python3/dist-packages/dput/changes.py", line 339, in parse_changes_file _c = Changes(filename=filename) File "/usr/lib/python3/dist-packages/dput/changes.py", line 82, in __init__ self._data = deb822.Changes(open(filename)) File "/usr/lib/python3/dist-packages/debian/deb822.py", line 1874, in __init__ self.split_gpg_and_payload( File "/usr/lib/python3/dist-packages/debian/deb822.py", line 1135, in split_gpg_and_payload for line_ in sequence: File "/usr/lib/python3/dist-packages/debian/deb822.py", line 1875, in (self._bytes(s, encoding) for s in sequence), File "/usr/lib/python3.10/codecs.py", line 322, in decode (result, consumed) = self._buffer_decode(data, self.errors, final) UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte package-managementppalaunchpad Do you know how to fix this?

Feb 8, 2025 - 20:05
 0
Stuck on Debian Packaging

I try to upload my app ( https://github.com/pc-magas/mkdotenv/tree/dev ) into ppa as I explain here:

https://askubuntu.com/questions/1540907/why-i-am-unable-to-upload-the-orig-tar-gz-to-launchpad

But dput command keeps on refusing uploading the .orig.tar.gz file:

$export VERSION=0.1.0; dput ppa:pcmagas/mkdotenv ../mkdotenv_$VERSION.orig.tar.gz --force
Traceback (most recent call last):
  File "/usr/bin/dput", line 125, in 
    changes = dput.changes.parse_changes_file(
  File "/usr/lib/python3/dist-packages/dput/changes.py", line 339, in parse_changes_file
    _c = Changes(filename=filename)
  File "/usr/lib/python3/dist-packages/dput/changes.py", line 82, in __init__
    self._data = deb822.Changes(open(filename))
  File "/usr/lib/python3/dist-packages/debian/deb822.py", line 1874, in __init__
    self.split_gpg_and_payload(
  File "/usr/lib/python3/dist-packages/debian/deb822.py", line 1135, in split_gpg_and_payload
    for line_ in sequence:
  File "/usr/lib/python3/dist-packages/debian/deb822.py", line 1875, in 
    (self._bytes(s, encoding) for s in sequence),
  File "/usr/lib/python3.10/codecs.py", line 322, in decode
    (result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 153, in apport_excepthook
    with os.fdopen(os.open(pr_filename,
FileNotFoundError: [Errno 2] No such file or directory: '/var/crash/_usr_bin_dput.1000.crash'

Original exception was:
Traceback (most recent call last):
  File "/usr/bin/dput", line 125, in 
    changes = dput.changes.parse_changes_file(
  File "/usr/lib/python3/dist-packages/dput/changes.py", line 339, in parse_changes_file
    _c = Changes(filename=filename)
  File "/usr/lib/python3/dist-packages/dput/changes.py", line 82, in __init__
    self._data = deb822.Changes(open(filename))
  File "/usr/lib/python3/dist-packages/debian/deb822.py", line 1874, in __init__
    self.split_gpg_and_payload(
  File "/usr/lib/python3/dist-packages/debian/deb822.py", line 1135, in split_gpg_and_payload
    for line_ in sequence:
  File "/usr/lib/python3/dist-packages/debian/deb822.py", line 1875, in 
    (self._bytes(s, encoding) for s in sequence),
  File "/usr/lib/python3.10/codecs.py", line 322, in decode
    (result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte

    package-managementppalaunchpad

Do you know how to fix this?