Debian Programming :: Broken Pipe Error When Try Playing YouTube Playlist

Nov 16, 2014

I wrote y bash script that opens YouTube playlist using youtube-dl and VLC applications: the output of youtube-dl is the input of VLC. The only problem is VLC needs to be closed after each playlist item unless I get the error message of the operating system:

"ERROR: unable to write data: [Errno 32] Broken pipe".

I understand the reason but I don't know how to resolve it: it is possible to close previous STDIN of VLC without killing the entire VLC process so that a new youtube-dl instance can connect to the same VLC instance? In short this is my question. The problem is detailed here: Downloading and playing videos and subtitles.

View 0 Replies


Programming :: Python Script Gives Error - Broken Pipe

Jul 21, 2011

I am building a python script which works same as SMTP protocol. I have build separate functions in that for each command of SMTP, and after this i have integrated all those functions in a new function named as send_mail(so that i don't have to execute every function separately for every command). Now, when i execute the script for the first time it runs successfully, but for the second time it gives the error of "BROKEN PIPE". I really can't make out how the socket is getting closed.

View 5 Replies View Related

Programming :: Handle A Broken Pipe Exception (SIGPIPE) In FIFO Pipe?

Mar 2, 2011

I've written a simple server in linux used fork to create a FIFO pipe.The server create two FIFO pipe.One for server read data from client and write data to client.Then another pipe for client read data from server and write data to server.When the server read data from a client used server-pipe and then write data to client.But ,if the client no read open the pipe,the server side write will be crashed because of a broken-pipe SIGPIPE. How to check whether the read side is opened?Or,how to catch the SIGPIPE,and then my server will still execute on,not crashed!!

View 5 Replies View Related

Debian Multimedia :: Iceweasel No Sound Playing YouTube Video

May 11, 2015

I have to use Chromium to play videos on youtube and other sites. Using iceweasel i have video but no sound. If I hit F5 (refreshing site) then I have sound, but nov video.

I made a alsa-base.conf following the instructions in this topic [URL] .... without success

Code: Select alllspci |grep -i audio
00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 05)
01:00.1 Audio device: NVIDIA Corporation Device 0fbc (rev a1)

Code: Select allaplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC662 rev1 Analog [ALC662 rev1 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 3: ID 60 Digital [ID 60 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

View 6 Replies View Related

Networking :: Error - Broken Pipe

Jul 15, 2010

We are facing broken pipe exception while connecting to SMPP gateway through TCP/IP.on RHEL4 It is coming till we restart the application. Below is the exception we are getting. Broken pipe

View 1 Replies View Related

Server :: Error: Write Failed: Broken Pipe

Apr 11, 2010

I connect to our server by ssh, default ssh client on Debian system.when I run a command that has large output on stdout (on shell) my connection is lost and I get error: "Write failed: Broken pipe"Unfortunate on our server there is limitation for connection per hour!

View 2 Replies View Related

Server :: Apache2 EnableSendfile And Error - Broken Pipe: Core_output_filter

Mar 2, 2010

I have installed a LAMP server (Debian Lenny + Apache2 + PHP Version 5.3.1-0.dotdeb.1). On this machine, my web application (PHP + MySQL) exists in 2 flavours:

- Dev
- Prod

In /etc/apache2/sites-available, I have ims & ims-dev, one for each instance. Their contents are identical in terms of settings, except for the paths (dev/prod):


<VirtualHost *:80>


why this difference when the settings are strictly identical? Do I need to add EnableSendfile off in my conf files to stop that?

View 14 Replies View Related

Fedora :: Error - Courier-imap Standard Output: Broken Pipe

Jul 22, 2010

I'm following the "The Perfect Server - Fedora12 x86_64 [ISPConfig 3]" instructions and I am encountering an error when trying to build the rpm for courier-imap (from page 4 of the HOWTO).

The command I run is:


rpmbuild -ta courier-imap-4.6.0.tar.bz2

The error is below:


INFO: LOGIN, user=confmdtest, ip=[], port=[0], protocol=SMAP1
INFO: LOGOUT, user=confmdtest, ip=[], headers=0, body=0, rcvd=26, sent=610, time=0
sort: fflush failed: standard output: Broken pipe


RPM build errors: Bad exit status from /var/tmp/rpm-tmp.85697 (%build)

View 3 Replies View Related

Server :: Bash Scripting Sending Write Error - Broken Pipe

Apr 19, 2010

I move a page from a server in SuSe to Debian and this script was working well but when I move the page to a Debian base server it is sending in the logs the following message:

cat: write error: Broken pipe, referer: [URL]

The cgi does the following, read a db file plain text that repeat each 15 lines an information where to look the seraching info. if it is there sends to the output the 15 lines block. but it was not sending errors in suse distro, does anybody knows why the cat's line are sending "cat: write error: Broken pipe," if I am not writing or making a pipe with ">" to none file.

View 8 Replies View Related

Debian :: Can't Upgrade Anything - Dpkg-deb: Subprocess Paste Killed By Signal (Broken Pipe) Errors Were Encountered While Processing

Apr 23, 2010

Unpacking replacement ffmpeg ... dpkg: error processing /var/cache/apt/archives/ffmpeg_5%3a0.5.1+svn20100411-0.0_i386.deb (--unpack): trying to overwrite '/usr/share/ffmpeg/libx264-ipod640.ffpreset', which is also in package libavcodec52 4:0.5.1-3 dpkg-deb: subprocess paste killed by signal (Broken pipe) Errors were encountered while processing: /var/cache/apt/archives/ffmpeg_5%3a0.5.1+svn20100411-0.0_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1)

View 9 Replies View Related

Software :: Put Ssh Into Remote Machine - Error Write Failed: Broken Pipe (After Logged Into That Machine)

Jul 18, 2011

Whenever I put ssh into remote machine am getting the following messages. Write Failed: Broken Pipe (After logged into that machine ) Read Socket Failed: Connection reset by peer (While trying to log in ) Also known_hosts file is changed frequently.

View 1 Replies View Related

Server :: Pipe 'echo' To 'netcat' - Sometime It Seems To Broken

Sep 2, 2010

I am running somes instances of Redis. I want to get Redis stats with following command:


$ echo "info" | nc <server_IP> <port>

but sometime it returns nothing. The first thing come to my mind is broken pipe or something like this. I always get the result if telnet to Redis and typing 'info' command. I also try pipe viewer to monitor the progress of data but it didn't help:


$ echo "info" | pv | nc <server_IP> <port>

View 2 Replies View Related

Fedora Networking :: Net Worked HP Printer Will Not Print-broken Pipe

Apr 10, 2009

my net worked HP printer will not print-broken pipe - this started after I had to switch off the printer at the mains in order to attend to a paper jam. Now it will not print apart from a test page. I am using Fedora 10 and the device info is "hp:/net/Officejet_Pro_L7500?ip="

View 5 Replies View Related

CentOS 5 :: Bash Script Under Cron Produces Broken Pipe

Apr 20, 2011

I have script which does file locking via flock and then writing it's pid into that file. It perfectly works being run by hand in terminal, running under cron on Debian, but somehow fails being run under cron on Centos 5.6. Script part and straced outputs are below.

bash code:

#setting lock
mylog "setting lockfile $LOCKFILE"
exec 200<> $LOCKFILE


View 4 Replies View Related

Debian :: YouTube Streaming In Iceweasel

Mar 19, 2016

The following url streams nicely in Chromium but Iceweasel complains that FlashPlayer needs to be installed!

[URL] ...

############------- EDIT -------############
This URL is a live stream of a news channel... NOT a fixed length/size video.
############------- EDIT -------############

I can't remember facing this problem with any other YouTube videos, just this one!

Searching around a bit I found an article from 2010 : [URL] ....

First interesting bit: If you're running Chrome or Safari as your main browser, Google's now offering up YouTube videos without Flash.

That's right—fewer system hangs, browser crashes, and other issues, and just straight-up video through HTML5 standards.

View 14 Replies View Related

Debian :: YouTube Videos And Seamonkey Without Flash

Jul 22, 2015

WRT "no flash youtube video"? OS is debian wheezy with iceweasel 31.80. I have completely removed adobe flash (I think). I have installed the html5 video everywhere addon, and have allowed youtube to set cookies. However, when I go to youtube and attempt to play a vid, noscript prompts me to allow scripting. I am somewhat reluctant to use any google services, and am puzzled that youtube, which proclaims html5 as default (now), would need the googlevideo service? Note that I have removed flash because of its past insecurities. I guess the real question: "Does youtube (or iceweasel) really support html5?

View 11 Replies View Related

Debian :: Browser Is Crashing After Each YouTube Video

Nov 18, 2015

If I watch a video on YouTube, the browser crashes when I try to change to another webpage. Typically, the video will play through but a few have crashed midway. It always crashes on changing the webpage after a video starts (whether it finishes first or not). There is no error message. I have searched the forum for 'iceweasel crash' and didn't see anything quite matching my own problem. I did look at related posts and none of them solved my problem. I'm not sure if the videos are HTML5 or flash. Perhaps a mix of both.

There's no problem with browsing regular pages, even if they have video advertisements in a sidebar. This seems to only be happening on YouTube. I have turned off all browser extensions and plugins with no improvement.

I've searched the internet and seen where there was a security problem with Flashplayer a month ago and the symptoms (if hacked into) sound similar to what's happening to me but I am using the latest version of Iceweasel and this bug is supposed to be fixed.

My Debian install is only about a week old and was a clean install to a formatted partition. I've added a few minor apps since install but nothing that would effect this. I also installed nVidia's proprietary graphics drivers. I can watch dvd movies, MP4's, .flv files, etc with no problems.

View 5 Replies View Related

Debian Multimedia :: Iceweasel And Youtube - Why Only 720p

May 21, 2015

System: Debian 8 - Graphics: AMD Radeon R9 280X Free Driver

With Iceweasel, when I watch HTML5 Youtube videos, I only have the quality 720p as the highest.

In the same machine, Windows 8.1, I can watch in 1080p in Internet Explorer.

I guess that it's not a problem of Iceweasel but about how Youtube serves the videos to my system. Is that correct?

View 5 Replies View Related

Debian :: ScriptSafe - Youtube Video Loads Slow

May 17, 2015

I've installed ScriptSafe on my Chrome Browser, when it's enabled Youtube videos loads slow despite there are ads displayed on the video. Is this a bug?

View 5 Replies View Related

Debian Configuration :: While Watching YouTube Makes Screen Turn Off

Jul 1, 2015

When I watch any video on YouTube my screen will turn off (no HDMI connection) and then it will turn on after a couple seconds (10 -40 seconds). When I played Borderlands 2 the screen is completely fine.

View 10 Replies View Related

Debian Multimedia :: Can't Watch YouTube Videos After A Fresh Install?

Nov 15, 2014

Is it normal that you can't watch YouTube videos after a fresh install? It comes with something called GNU Gnash but it doesn't work at all in Iceweasel.

View 11 Replies View Related

Debian :: Iceweasel And YouTube - Can Hear Sound But Screen Just Remains Green

Sep 5, 2015

I installed Debian 8.1 with iceweasel 38.2.1esr-1~deb8u1

Whenever I want to open a youtube fragment I do hear the sound but the screen just remains green. I already googled the issue but found no solution that works.

View 3 Replies View Related

CentOS 5 :: Error In Starting Playlist On DSS 5.5.5 / Fix It?

Dec 9, 2010

When i add hinted ( using gpac MP4Box) mp4 files in playlist on admin page of DSS 5.5.5 it gives following error

"An error occurred while starting or stopping your playlist." code...

View 1 Replies View Related

Ubuntu :: SSH "Write Failed: Broken Pipe" For Some Users

May 10, 2010

I am having a truly bizarre problem when trying to set up my sheeva plug as a backup server. I have four users (one for each member of my family) that I want to give permission to ssh in (well, sftp in but they're essentially the same) and backup to an external harddrive.

My user works perfectly well and has done since I got the plug. So does a transmission user I set up to run the transmission daemon. With the other three users, however, I get the following error after SSH asks for the user's password:


Write failed: Broken pipe

This happens whether I try locally or over my network. I haven't been able to find a solution to it at all. I've made sure that /bin/bash was set as the shell and that the home directory is writeable with the correct permissions (ls -al /home):


drwxr-xr-x 7 root root 4096 Dec 21 19:25 .
drwxr-xr-x 21 root root 4096 Dec 17 19:27 ..


The alternative for me would be to use netatalk and AFP but the problem is that there is no native support for AFP and so things like d�ja dup backup may not be able to mount the afp drive...

View 4 Replies View Related

Debian :: System Freezes With No Particular Motive But Most Often When Watching YouTube Video In Full Screen Mode

Feb 19, 2015

From time to time system freezes with no particular motive but most often when watching you tube video in full screen mode. How to diagnose freeze, hang, blocking problems in debian jessie system amd 64 gnome 3?

View 2 Replies View Related

Ubuntu Networking :: Ssh "Connection Reset By Peer" - Write Failed: Broken Pipe

Feb 9, 2010

which cropped up today after no changes to the system: I can successfully ssh into my ubuntu 64-bit 9.10 machine (via OS X with iTerm), but after about 30 seconds, the connection drops with the message "Connection reset by peer Connection to xx.xx.xx.xx closed".

If I then try to immediately ssh back in I get: "Write failed: Broken pipe". If I try to immediately ping the machine instead, I cannot ping it until the ~10th try. Eventually I can log back in again, only to be kicked off after between 5 and 60 seconds. I called the network people and their are no known issue right now with networking. The networking on the ubuntu machine is otherwise fine, it seems. In the /var/log/auth.log file, it simple says:

Feb 9 14:19:20 harriet sshd[4134]: Accepted password for xxx from xx.xx.xx.xx port 55105 ssh2
Feb 9 14:19:20 harriet sshd[4134]: pam_unix(sshd:session): session opened for user xxx by (uid=0)
Feb 9 14:19:28 harriet sshd[4046]: pam_unix(sshd:session): session closed for user xxx

The solution I come across to a similar problem is to add a "ClientAwakeInterval" number to sshdconfig, but this (as expected) doesn't fix my problem.

View 1 Replies View Related

Ubuntu :: CPU Scaling Broken While Playing Video

Jul 26, 2010

I have a Core 2 Duo T9600. I noticed video playing performance has been really bad lately, and videos that used to work fine now stuttered. I would say it started happening 2-3 weeks ago. I discovered the culprit is that the CPU is scaling down to 800Mhz and sticking there. Running cpufreq-info yields:


View 6 Replies View Related

Debian Programming :: How To Trace Broken LIB Files

Dec 5, 2014

The usual answer is debian's ldd(1) and I found broken things due to past lib abuses I previously hadn't understood I'd did - or rather hadn't realized because by looking it "looked ok and worked" - but i had problems. many i fixed.

After I ran a new script: it showed some i'd STILL missed after carefully re-doing /lib by hand (and using /var/lib/dpkg/info/libs.list)

I just made something that might be nice. seems to be the only thing that does it. but its' small and quick and has (tty/stdout) output still.

the had part isn't finding info, objdump(1) does that wonderfully : it's using it..

View 4 Replies View Related

Debian :: Lenny: Error On Fixing Broken Packages?

Aug 25, 2011

I have Lenny in a multi-boot system on a HP Pavilion DV-1000 laptop, and yesterday when I logged in, noticed the red (-) icon on the right of the top panel. Mouse over it gave the message: "An error occurred, please run Package Manager from the right-click menu to see what is ". On doing so, Synaptic came up with "You have 3 broken packages on your system! Use the "Broken" filter to locate them". Selecting "Broken dependencies" resulted in the "base-files", base-passwd", and "dpkg" being listed. All three had "Installed Version" the same as "Latest Version", but marked in red in the check boxes.

Did "Edit"->"Fix Broken Packages" which marked the packages green. Clicking "Apply" gave a summary list: coreutils, gawk, gcc-4.3-base, libacl1, libattr1, libc6, libgcc1, libselinux1, libstdc++6, and izma as the packages that needed to be installed. Clicked "Apply" and got: "E: Internal Error, Could not perform immediate configuration (2) on libc6" A Google search indicated several people had run into this problem, but I could not find one consistent solution that seemed to address the problem completely.

View 2 Replies View Related

Debian :: Repositories Not Installing - Broken Packages Error

Jun 4, 2015

I've been trying to install a few programs with the basic Debian repositories on my Jessie edition, but I keep getting a "broken packages" error and "cannot be installed" error, and the programs won't install.

I went to other repositories, e.g. Mint and Ubuntu, and with these included in my sources.list file, I was able to install the desired programs.

If the programs are listed in Debian and the dependecies as well, why would they not install?

View 9 Replies View Related

Copyrights 2005-15, All rights reserved