PDA

View Full Version : Broken pipe with SuSE 8.2



John Ellis
2003-11-25, 23:11
I'm getting "Error writing to file: Broken pipe" errors when trying to
stream music from a SuSE 8.2 server. This same configuration runs fine on
a RedHat 9 box with RPM installation.

I start up XMMS, have it read from my URL for the slimserver, then watch
the console. Instead of songs, I get "Use of uninitialized value in
numeric eq (==) at Slim/Player/Source.pm line 135" at the beginning of
stdout and "Error writing to file: Broken pipe" throughout the rest.

I'm guessing that maybe the directory that slimserver uses to decode my
OGGs on the fly isn't present? Or it's expecting to see a RedHat
directory structure and isn't?

--
John T. Ellis
Information Systems Experts, Inc.
http://www.ise-indy.com

John Ellis
2003-11-26, 04:53
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

It appears this might be due to the fact that the property
$client->mp3filehandleIsSocket is not being initialized correctly. I
found that both of the below errors are caused by an uninitialized
$client->mp3filehandleIsSocket.

Hopefully that might help make my problem a bit more clear...

On Wednesday 26 November 2003 01:11 am, you wrote:
> I'm getting "Error writing to file: Broken pipe" errors when trying to
> stream music from a SuSE 8.2 server. This same configuration runs fine
> on a RedHat 9 box with RPM installation.
>
> I start up XMMS, have it read from my URL for the slimserver, then
> watch the console. Instead of songs, I get "Use of uninitialized value
> in numeric eq (==) at Slim/Player/Source.pm line 135" at the beginning
> of stdout and "Error writing to file: Broken pipe" throughout the rest.
>
> I'm guessing that maybe the directory that slimserver uses to decode my
> OGGs on the fly isn't present? Or it's expecting to see a RedHat
> directory structure and isn't?

- --
John T. Ellis
Information Systems Experts, Inc.
http://www.ise-indy.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)

iD8DBQE/xJQwRbpfi9ylWxoRApe4AJ9IoNl2HW4NImvBsVVloep9MiX4Lw CgqdlY
HsvuMtoZT9CY2ilQj1yRWwg=
=YhEP
-----END PGP SIGNATURE-----

John Ellis
2003-11-26, 07:31
Here's some debug output using --d_command:
2003-11-26 09:23:13 Executing command 127.0.0.1: playlist (add) (/home/
jellis/Documents/Music/__127.0.0.1.m3u) () () () ()
2003-11-26 09:23:13 Returning array: playlist (add) (/home/jellis/
Documents/Music/__127.0.0.1.m3u) () () () ()
Use of uninitialized value in numeric eq (==) at Slim/Player/Source.pm
line 135.
2003-11-26 09:23:14 Executing command 127.0.0.1: play () () () () () ()
Use of uninitialized value in concatenation (.) or string at Slim/Player/
Source.pm line 730.
sh: line 1: : command not found
2003-11-26 09:23:14 Returning array: play () () () () () ()
Use of uninitialized value in concatenation (.) or string at Slim/Player/
Source.pm line 730.
Error writing to file: Broken pipe

Of particular interest is that it doesn't appear that the client instance
is being built properly. In fact, it doesn't look like any parmeters are
getting passed at all. So is something disfunctional with a default SuSE
8.2 installation?

I've tried this on two seperate SuSE 8.2 machines, both with the same
results. I'll fire up YaST2 and install all the Perl packages my grubby
hands can get ahold of.

On Wednesday 26 November 2003 01:11 am, you wrote:
> I'm getting "Error writing to file: Broken pipe" errors when trying to
> stream music from a SuSE 8.2 server. This same configuration runs fine
> on a RedHat 9 box with RPM installation.
>
> I start up XMMS, have it read from my URL for the slimserver, then
> watch the console. Instead of songs, I get "Use of uninitialized value
> in numeric eq (==) at Slim/Player/Source.pm line 135" at the beginning
> of stdout and "Error writing to file: Broken pipe" throughout the rest.
>
> I'm guessing that maybe the directory that slimserver uses to decode my
> OGGs on the fly isn't present? Or it's expecting to see a RedHat
> directory structure and isn't?

--
John T. Ellis
Information Systems Experts, Inc.
http://www.ise-indy.com

John Ellis
2003-11-26, 08:39
I traced this down to a problem with my lame installation... it was a i686
package, but it was running on a VIA Eden 500 processor. Installed a i586
package and things worked fine. D'oh!

Subtract 1 karma point for forgetting the architecture of the system. Bad
monkey.

On Wednesday 26 November 2003 06:53 am, you wrote:
> It appears this might be due to the fact that the property
> $client->mp3filehandleIsSocket is not being initialized correctly. I
> found that both of the below errors are caused by an uninitialized
> $client->mp3filehandleIsSocket.
>
> Hopefully that might help make my problem a bit more clear...
>
> On Wednesday 26 November 2003 01:11 am, you wrote:
> > I'm getting "Error writing to file: Broken pipe" errors when trying
> > to stream music from a SuSE 8.2 server. This same configuration runs
> > fine on a RedHat 9 box with RPM installation.
> >
> > I start up XMMS, have it read from my URL for the slimserver, then
> > watch the console. Instead of songs, I get "Use of uninitialized
> > value in numeric eq (==) at Slim/Player/Source.pm line 135" at the
> > beginning of stdout and "Error writing to file: Broken pipe"
> > throughout the rest.
> >
> > I'm guessing that maybe the directory that slimserver uses to decode
> > my OGGs on the fly isn't present? Or it's expecting to see a RedHat
> > directory structure and isn't?

--
John T. Ellis
Information Systems Experts, Inc.
http://www.ise-indy.com