Zum Inhalt der Seite gehen



aws-cli 1.37 abend with "TypeError: argument of type 'NoneType' is not iterable"


After a recent software package update of my VPS, aws-cli version 1.37 was installed.
This version broke my regular backup to s3 task since aws s3 cp ... abended now with the following error

TypeError: argument of type 'NoneType' is not iterable

I searched the net and found some appropriate bug reports:
SignatureDoesNotMatch when putting file #9236
Content-MD5 header is not set anymore for PutBucketLifecycleConfiguration operation #3415

Both issues were already closed and announced to be fixed in an upcoming version.

But upgrading to the next version didn't solve my problem.
So I decided to revert back to a recent working version, which turned out to be not as easy on Archlinux.


  1. First I deinstalled every target and conflicting package version to avoid later file conflicts.
    sudo yay -R aws-cli python-botocore python-rsa python-docutils
  2. Then i installed missing python build requirements
    sudo yay -S git python-pip python-virtualenv
  3. Checking out the source code
    cd /usr/src/build/
    git clone https://github.com/aws/aws-cli.git
    cd aws-cli/
    git checkout 1.36.34
  4. Building the former version of aws-cli in a venv
    virtualenv venv
    . venv/bin/activate
    pip install --upgrade pip
    pip install -r requirements.txt
    pip install -e .
  5. Installing aws-cli and dependent packages system-wide using pip
    deactivate
    sudo pip install --break-system-packages [--dry-run] .


I hope this short guide helps some people having the same issue.

🔥 But keep in mind, that installing python packages system-wide via pip is strongly discouraged as it may break your system.
🥳 However I didn't experience any such problems.





Demokratie stärken - Vetorecht bei Gesetzen des Bundestages - Online-Petition


openpetition.de/vetorecht


Tidal jetzt mit HiRes Sound - noch kristallklarer


Dank 👍 Tidal und der tollen Arbeit der Opensource-Projekte Mopidy und Python-Tidal kann ich auf meinem Raspi mit dem HifiBerry HAT AMP2 nun noch kristallklarere Sounds genießen.
Tidal hat, wie angekündigt, nun sein Hifi- und Hifi Plus-Abo zusammen geführt und bietet zum gleichen Preis die Songs jetzt in 24bit / 48kHz oder mehr / FLAC an.

Ich bin begeistert 🤩

#Tidal #RaspberryPi #audiophile





















KÄMPFT MIT


Jeder kann am #Cyberwar gegen Russland teilnehmen und seine Solidarität mit der #Ukraine zeigen.
#WeAreMore ist von essentieller Bedeutung, wenn es um #DDoS-Attacken geht.
Stört die Russischen Regierungsseiten und zeigt, dass die Welt hinter der #Ukraine steht.
heise.de/news/Cyberattacken-au…
#TheWorldStrikesBack

the-list.ams3.cdn.digitalocean…

Daniel Stränger hat dies geteilt.









Kein weiteres Dorf mehr für Kohle! Für Klimagerechtigkeit hier und überall!


weact.campact.de/petitions/kei…




Neuer Rekord: Längster Megablitz mit 768 Kilometern

Ein Megablitz in den USA hat einen neuen Rekord aufgestellt: Laut der UN-Organisation WMO entlud er sich auf einer Länge von 768 Kilometern. Das entspricht in etwa der Entfernung zwischen Bodensee und Ostsee.




SomaFM


Ich sitze mit Maske im Zug und habe noch 3h vor mir, aber DAS macht soooo Spaß:
somafm.com/covers/
#Internetradio #Coversongs




Auuuuswärtssieg! Auswärtssieg, Auswärtssieg! 💛💙 Geiles Handballspiel. Geiler Kampf. Geile Jungs. HC Oppenweiler/Backnang 🆚 HSG Konstanz Endstand: 3️⃣2️⃣ 3️⃣3️⃣ ___ 🎫 hsgkonstanz.de/ticketsDer Endstand wird präsentiert von W3 digital brands, w3-digitalbrands.com





💛💙 Diese #Fans. Diese #Mannschaft. 💛💙
Nur Liebe. Wir gewinnen 3️⃣8️⃣ : 3️⃣2️⃣ in #Fürstenfeldbruck. Party im #HSG-Fanblock, grandiose Stimmung, Humba.
DANKE. Ihr seid die Besten!
Freitag, 20 Uhr, steigt das #Derby gegen #Balingen in der #SchänzleHölle! hsgkonstanz.de/tickets


[share author='HSG Konstanz / @HSGKonstanz' profile='https://nitter.mailstation.de/HSGKonstanz/rss' avatar='https://follow.schmaller.de/photo/15585872826188a0def27df391504490-5.jpg?ts=1636344031' link='https://nitter.mailstation.de/HSGKonstanz/status/1459132076721152001#m' posted='2021-11-12 12:12:51' guid='f1fe10d2199bc85946fccdd5e0b34125d5c859eb']Absolutes Topspiel in #Fürstenfeldbruck! 🔥
Platz 2 vs. 1, beide verlustpunktfrei.
Jörg Lützelberger erwartet einen „Festtag mit Vollgas-Handball & fantastischer Stimmung von beiden Fanlagern, auf den sich jeder freut.“ Ihr auch? Wer ist schon heiß?
🔗 hsgkonstanz.de/saison/berichte…




Schulessen: Viele Köche - kein Rezept

Gutes Schulessen ist für Millionen Kinder in Deutschland Glückssache. Einheitliche Vorschriften für alle 16 Bundesländer gibt es nicht. Dabei ist ganz klar, was auf den Teller kommen sollte. Von Daniela Diehl.


This website uses only neccessary cookies. If you continue browsing this website, you agree to the usage of cookies.