ads' corner

Hanging script at the end of Python multiprocessing

While writing and stress-testing a Python script which uses the multiprocessing library, I ran into the problem that occasionally the script hangs at the end. Literally runs past the last line of code and then hangs.

In this script I’m using Queues and Events, so I made sure that I properly close the queues in the forked/spawned (tried both) processes and also clean out all queues in the parent. Nevertheless occasionally - like seldom, but it happens - the script hangs. Checked the process list, checked remaining threads, checked the queues, all fine. Still …


WMF Küchenminis Smoothie-to-go 0,6l

Irgendwann September 2020 wollten wir unseren in die Tage gekommenen Smoothiemaker ersetzen. Nach etwas Recherche wurde es dann der “WMF Küchenminis Smoothie-to-go 0,6l”. Es sollte nicht der einzige bleiben.


Ansible, delegate_to and set_fact

Another Ansible upgrade, another Playbook failing.

I have a number Playbooks which run on virtual machines. Some tasks are “outsourced” to the physical machine where the VM is running on, using delegate_to. One of the tasks (which I haven’t used in a while, because I rarely touch this machine) stopped working, and instead throws a variable undefined error. But from the beginning, here is the VM Playbook:


Apache Karaf client in openHAB, and the "Session has been closed" error

Don’t you love it when things suddenly stop working?

In my openHAB installation I have a check which verifies that the weather data is up to date. Otherwise it restarts the openhab2 service. And this check stopped working … Leaving the kitchen display not updated for a longer time. The same display where I expect the entire installation to “just work”, and don’t create so many different problems. Seems to be a hard problem to have an openHAB installation without any trouble …


openHAB HABpanel configuration gets destroyed, HABpanel stays blank

openHAB is a stream of pure joy when it comes to debugging. Especially when all I want is a small display in the kitchen, working autonomous and without the need to restart it all the time or login to fix issues.


Navigon 6310 und Navigon 6350 Live - schon wieder

Wir hatten ja mit dem Navigon schon viel Spaß (siehe hier und hier). Nun sind während des heißen Sommers im Fuß der Fahrzeughalterungen sämtliche Befestigungen für die dort eingebaute Feder gebrochen - das Plastik sah geschmolzen und porös aus. Nun denn, Kaufbeleg herausgesucht und ins Geschäft. Bei der Gelegenheit wurde das gesamte Gerät eingeschickt und die bereits bekannten Probleme wurden reklamiert.


Navigon 6310 und Navigon 6350 Live - nicht für das Ausland geeignet

Mit unserem Navigationsgerät Navigon 6350 Live hatten wir vor ca. einem Monat schon einmal viel Spaß in Belgien. Das Gerät hat sich vor Brüssel mehrfach unmotiviert ausgeschaltet.


Thunderbird Lightning: cannot add new calendar

If the calendar plugin Thunderbird Lightning stops working after a system upgrade (Ubuntu 8.04 -> 9.10 in my case), just reinstall the libstdc++5 library. Before installing the library you have to deinstall the plugin from Thunderbird and reinstall it afterwards.

The Thunderbird behaviour is a bit curious: the calendar and todo tabs are shown, but all previously defined calendars are missing. In addition it is not possible to add new calendars, these options are greyed out.


Navigon 6310 und Navigon 6350 Live - nicht zu empfehlen

Nachdem unser altes Navi unfreiwillig seinen Weg in die falschen Hände gefunden hat, wollten wir ein neues haben. Nach etwas Suchen sind wir erst mal beim Navigon 6350 Live hängen geblieben.

Gleich zu Anfang gab es erst mal Ärger: das USB-Kabel war kaputt, das Gerät wurde an keinem Rechner erkannt. Dumm, dass das Kabel eine Spezialanfertigung ist und man nicht einfach ein beliebiges anderes USB-Kabel nutzen kann.