Bug#485059: FATAL_ERROR: Layout1 is malformed
On Sat, Jun 21, 2008 at 11:05:14AM +0200, Elimar Riesebieter wrote: On Sat, 21 Jun 2008 the mental interface of Damian Pietras told: On Sun, Jun 08, 2008 at 03:34:17PM +0200, Elimar Riesebieter wrote: severity 485059 minor thanks On Sun, 08 Jun 2008 the mental interface of Dobrica Pavlinusic told: Package: moc Version: 1:2.5.0~alpha3-2+b1 Severity: grave Justification: renders package unusable Starting moc results in following error: FATAL_ERROR: Layout1 is malformed The attached patch fixes the prob. The problem is caused by using the FILL parameter. A patch to fix this properly is attached. -- Damian Pietras Index: interface_elements.c === --- interface_elements.c (revision 2091) +++ interface_elements.c (revision 2092) @@ -736,7 +736,7 @@ const int max) { long v; - const char *e; + const char *e = fmt; if (!strncasecmp(fmt, FILL, sizeof(FILL) - 1)) { *val = LAYOUT_SIZE_FILL;
Bug#485059: FATAL_ERROR: Layout1 is malformed
On Sun, Jun 08, 2008 at 03:34:17PM +0200, Elimar Riesebieter wrote: severity 485059 minor thanks On Sun, 08 Jun 2008 the mental interface of Dobrica Pavlinusic told: Package: moc Version: 1:2.5.0~alpha3-2+b1 Severity: grave Justification: renders package unusable Starting moc results in following error: FATAL_ERROR: Layout1 is malformed Copy /usr/share/doc/moc/examples/config.example.gz $HOME/.moc/ gunzip $HOME/.moc/config.example.gz and mv config.example config. Edit config, find # Layout1, uncomment and enjoy moc. I can't reproduce this bug, but heard from few people it occurs, so if someone hits this, please do on the terminal where you try to run MOC: `echo $COLUMNS $LINES` and send me the result and run `mocp -D`, a file mocp_client_log will be created, the few last lines should tell more about the problem (something like parse_layout(): Width is less than 15). -- Damian Pietras -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#485059: FATAL_ERROR: Layout1 is malformed
On Sat, 21 Jun 2008 the mental interface of Damian Pietras told: On Sun, Jun 08, 2008 at 03:34:17PM +0200, Elimar Riesebieter wrote: severity 485059 minor thanks On Sun, 08 Jun 2008 the mental interface of Dobrica Pavlinusic told: Package: moc Version: 1:2.5.0~alpha3-2+b1 Severity: grave Justification: renders package unusable Starting moc results in following error: FATAL_ERROR: Layout1 is malformed Copy /usr/share/doc/moc/examples/config.example.gz $HOME/.moc/ gunzip $HOME/.moc/config.example.gz and mv config.example config. Edit config, find # Layout1, uncomment and enjoy moc. I can't reproduce this bug, but heard from few people it occurs, so if someone hits this, please do on the terminal where you try to run MOC: `echo $COLUMNS $LINES` and send me the result and run `mocp -D`, a file mocp_client_log will be created, the few last lines should tell more about the problem (something like parse_layout(): Width is less than 15). The attached patch fixes the prob. Elimar -- what IMHO then? IMHO - Inhalation of a Multi-leafed Herbal Opiate ;) --posting from alex in debian-user-- Index: options.c === --- options.c.orig 2008-06-21 02:26:36.0 +0200 +++ options.c 2008-06-21 02:26:59.0 +0200 @@ -205,7 +205,7 @@ option_add_int (TagsCacheSize, 256); option_add_int (PlaylistNumbering, 1); option_add_str (Layout1, - directory:0,0,50%,100% playlist:50%,0,FILL,100%); + directory:0,0,50%,100% playlist:50%,0,50%,100%); option_add_str (Layout2, directory:0,0,100%,100% playlist:0,0,100%,100%); option_add_str (Layout3, NULL); signature.asc Description: Digital signature
Bug#485059: FATAL_ERROR: Layout1 is malformed
severity 485059 + important thanks http://www.debian.org/Bugs/Developer#severities It is not acceptable for a user to have to scratch his head and look up in the BTS to find how to use a program - most users will stop using this fine piece of software instead. I am raising the severity, I suggest you to either provide a working default configuration (as is the usual behaviour in Debian systems), or at the very least to display a useful error message explaining what should be done. Thank you, -- Gunnar Wolf - [EMAIL PROTECTED] - (+52-55)5623-0154 / 1451-2244 PGP key 1024D/8BB527AF 2001-10-23 Fingerprint: 0C79 D2D1 2C4E 9CE4 5973 F800 D80E F35A 8BB5 27AF signature.asc Description: Digital signature
Bug#485059: FATAL_ERROR: Layout1 is malformed
severity 485059 minor thanks On Sun, 08 Jun 2008 the mental interface of Dobrica Pavlinusic told: Package: moc Version: 1:2.5.0~alpha3-2+b1 Severity: grave Justification: renders package unusable Starting moc results in following error: FATAL_ERROR: Layout1 is malformed Copy /usr/share/doc/moc/examples/config.example.gz $HOME/.moc/ gunzip $HOME/.moc/config.example.gz and mv config.example config. Edit config, find # Layout1, uncomment and enjoy moc. Elimar -- The path to source is always uphill! -unknown- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#485059: FATAL_ERROR: Layout1 is malformed
Package: moc Version: 1:2.5.0~alpha3-2+b1 Severity: grave Justification: renders package unusable Starting moc results in following error: FATAL_ERROR: Layout1 is malformed Downgrading back to 2.5.0~alpha3-2 fixes problem -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.26-rc5 (SMP w/2 CPU cores; PREEMPT) Locale: LANG=C, LC_CTYPE=hr_HR (charmap=ISO-8859-2) Shell: /bin/sh linked to /bin/bash Versions of packages moc depends on: ii libasound2 1.0.16-2 ALSA library ii libc-ares2 1.5.2-2 library for asyncronous name resol ii libc6 2.7-12GNU C Library: Shared libraries ii libcomerr2 1.40.8-2 common error description library ii libcurl3-gnutls7.18.1-1+b1 Multi-protocol file transfer libra ii libflac8 1.2.1-1.2 Free Lossless Audio Codec - runtim ii libgcc11:4.3.0-5 GCC support library ii libid3tag0 0.15.1b-10ID3 tag reading library from the M ii libjack0 0.109.2-3 JACK Audio Connection Kit (librari ii libkrb53 1.6.dfsg.3-2 MIT Kerberos runtime libraries ii libldap-2.4-2 2.4.9-1 OpenLDAP libraries ii libmad00.15.1b-3 MPEG audio decoder library ii libmodplug0c2 1:0.7-7 shared libraries for mod music bas ii libmpcdec3 1.2.2-1 Musepack (MPC) format library ii libncursesw5 5.6+20080531-1Shared libraries for terminal hand ii libogg01.1.3-3 Ogg Bitstream Library ii libresid-builder0c2a 2.1.1-7 SID chip emulation class based on ii libsamplerate0 0.1.3-1 audio rate conversion library ii libsidplay22.1.1-7 SID (MOS 6581) emulation library ii libsidutils0 2.1.1-7 utility functions for SID players ii libsndfile11.0.17-4 Library for reading/writing audio ii libspeex1 1.2~beta4-2 The Speex codec runtime library ii libstdc++6 4.3.0-5 The GNU Standard C++ Library v3 ii libtagc0 1.5-2 TagLib Audio Meta-Data Library (C ii libvorbis0a1.2.0.dfsg-3.1The Vorbis General Audio Compressi ii libvorbisfile3 1.2.0.dfsg-3.1The Vorbis General Audio Compressi ii libwavpack14.41.0-2 an audio codec (lossy and lossless ii zlib1g 1:1.2.3.3.dfsg-12 compression library - runtime moc recommends no packages. -- debconf-show failed -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]