Reputation
562
Top tag
Next privilege 1,000 Rep.
See votes, expandable usercard
Badges
1 4 18
Impact
~30k people reached

Apr
25
awarded  Popular Question
Feb
20
awarded  Popular Question
Jan
11
comment How to provoke a broken pipe
I just tried it out. with kill -13 <mpd PIP> there is no BrokenPipeError that is thrown... :(
Jan
11
comment How to provoke a broken pipe
Thank you for your answer! One question remaining: with PID do you mean the PID of the main process (in my case the mpd service) or does the pipe have it's own PID)?
Jan
11
comment How to provoke a broken pipe
@EightBitTony This would be a possibility. But not knowing much about pipes and sockets I don't know if a terminated service appears to be the same as a broken pipe for the python script. Also I wondered if there was a more gentle way... but if there is none...
Jan
11
comment How to provoke a broken pipe
@TNW well, the mpd server runs on localhost but sometimes on a remote pc (a raspberry pi) so disconnecting the network probably wouldn't work.
Jan
11
comment How to provoke a broken pipe
It might be typical but it's not that easy :) you can read more on my efforts here: stackoverflow.com/questions/34718208/…, stackoverflow.com/questions/34463087/… and github.com/Mic92/python-mpd2/issues/64. However, I am quite close to a solution. But - as I point out in my question - testing is quite time consuming and I am looking for a way to speed up this process.
Jan
11
asked How to provoke a broken pipe
Oct
10
awarded  Famous Question
Sep
16
accepted compile packages AND keep apt tidy
Sep
15
asked compile packages AND keep apt tidy
Sep
10
revised From Ubuntu to Debian or CentOS
more information about testing being a rolling release (or not)
Sep
10
comment From Ubuntu to Debian or CentOS
+1 for the updates!
Sep
9
comment From Ubuntu to Debian or CentOS
2/2: besides, if you use the identifier (like stable or testing) instead of the name (like jessie or stretch) in your /etc/apt/sources.list your system will automatically update to the current stable/testing release of Debian. Like that, once Stretch is the new stable release you could switch from Jessie to Stretch with just one command apt-get dist-upgrade
Sep
9
comment From Ubuntu to Debian or CentOS
1/2: Section 2 isn't really comprehensive, in my opinion. Technically it is true, that Jessie and Stretch would not update to a new Debian Version (like Jessie -> Stretch) by themselves. However, nobody is interested in the name of the Debian version as long as you get new software. In Debian stable, you will only get security updates but in Debian testing, you also get new software - no need to upgrade the Debian version.
Sep
9
comment From Ubuntu to Debian or CentOS
Sid doesn't have security updates: wiki.debian.org/…
Sep
9
comment From Ubuntu to Debian or CentOS
@MatthewRock Sorry, but using Debian Testing for several years now, I don't think so. I get new packages and even new kernels in Debian Testing on a regular basis - for me this is rolling release. Only while freezes, Debian Testing is not rolling release (en.wikipedia.org/wiki/Rolling_release#Debian-related)
Sep
9
comment From Ubuntu to Debian or CentOS
You are welcome!
Sep
9
comment From Ubuntu to Debian or CentOS
Thank you. I don't know if I get you right. Both, Debian Stable and Debian Testing provide security updates. You would only need to do system updates (there are many ways, some of them with a GUI - in the shell you could always use apt-get update; apt-get upgrade) and most (I would like to say all, but who knows) security bugs should be fixed.
Sep
9
answered From Ubuntu to Debian or CentOS