Stable: 2.5.2
Development: 2.6-alpha3
Hello,
I can only start mocp when i put the following in my config:
Layout1 = "directory:0,0,100%,100% playlist:0,0,100%,100%"
Layout2 = "directory:0,0,50%,100% playlist:50%,0,50%,100%"
If i don't do i can't start due to "malformed layout1"
moc 2.4.2 Build: Jul 10 2007 14:50:18
Compiled with: OSS ALSA internet streams
daper
Tue, 2007-07-10 16:12
Permalink
maybe there is Layout1
maybe there is Layout1 option defined somwhere else in the config? What if you completly remove the configuration file?
--
Damian Pietras - MOC developer
smg
Wed, 2007-07-11 08:30
Permalink
I removed the config file,
I removed the config file, but no change.
daper
Wed, 2007-07-11 15:17
Permalink
The only difference between
The only difference between this entry and the default is that you don't use the FILL parameter. What is yout terminal and it's size (please show output of
echo $COLUMNS $LINES
on this terminal).--
Damian Pietras - MOC developer
bloodymir
Thu, 2007-07-12 14:28
Permalink
Terminal Size
Hi!
I'm experiencing the same behavior as the OP. I didn't have a config file at all. Creating ~/.moc/config with the Layout1/2-lines made "mocp" start up. I'm using Gentoo linux and have installed "moc" version 2.4.2.
My terminal (which is an ssh-session) reports:
$ echo $COLUMNS $LINES
125 34
WithOUT .moc/config there is:
$ mocp
FATAL_ERROR: Layout1 is malformed
$
So, what's wrong?
Frank
smg
Mon, 2007-07-16 00:00
Permalink
I use too Gentoo and MOC
I use too Gentoo and MOC 2.42!
stephan@unimatrix ~ $ echo $COLUMNS $LINES
182 64
TERM: rxvt-unicode
rxvt-unicode (urxvt) v8.2 - released: 2007-02-17
stephan@unimatrix ~ $ bash --version
GNU bash, version 3.2.15(1)-release (i686-pc-linux-gnu)
Copyright (C) 2005 Free Software Foundation, Inc.
Charset: Utf8
LANG=en_US.utf8
LC_CTYPE=en_US.utf8
LC_NUMERIC=en_US.utf8
LC_TIME=en_US.utf8
LC_COLLATE=en_US.utf8
LC_MONETARY=en_US.utf8
LC_MESSAGES=en_US.utf8
LC_PAPER=en_US.utf8
LC_NAME=en_US.utf8
LC_ADDRESS=en_US.utf8
LC_TELEPHONE=en_US.utf8
LC_MEASUREMENT=en_US.utf8
LC_IDENTIFICATION=en_US.utf8
LC_ALL=
daper
Sat, 2007-07-21 07:44
Permalink
Can someone having this
Can someone having this problem apply the patch, run
mocp -D
and paste the mocp_client_log?I hope this will show the place when MOC thinks something is wrong because I still cannot reproduce this using he same terminal and the same terminal size.
--
Damian Pietras - MOC developer
smg
Tue, 2007-07-24 19:55
Permalink
I don't think it does depend
I don't think it does depend upon the terminal size, because i can reproduce it with various terminals and terminal sizes!
daper
Sat, 2007-07-28 14:05
Permalink
Maybe, but I can't reproduce
Maybe, but I can't reproduce it so I'm asking to use the patch I've sent that in addition to this error message logs where MOC thinks the layout is wrong.
--
Damian Pietras - MOC developer
obluda
Sat, 2008-08-09 20:01
Permalink
pasting
downloaded compiled lastunstable version
Aug 9 22:00:42.378436: interface.c:1395 init_interface(): Starting MOC interface...
Aug 9 22:00:42.378699: utf8.c:337 utf8_init(): Using US-ASCII conversion - compiled without libncursesw
Aug 9 22:00:42.379157: interface_elements.c:817 parse_layout(): Coordinate parse error when parsing height
Aug 9 22:00:42.379187: interface.c:3376 interface_fatal(): FATAL ERROR: Layout1 is malformed
Aug 9 22:00:42.379348: common.c:58 fatal(): FATAL ERROR: Layout1 is malformed
obluda
Sat, 2008-08-09 20:49
Permalink
after the first patch
mocp started ok, but was able play only mp4 files, so I've checked http://moc.daper.net/node/220, downloaded a lot of libraries throught and without apt. recompiled and now its ok -)
daper
Wed, 2007-07-18 06:24
Permalink
I can't reproduce it on my
I can't reproduce it on my system, I'll try rxvt. Unfortunately this message doesn't specify exactly what's wrong (there will be nothing in logs even).
--
Damian Pietras - MOC developer
smg
Wed, 2007-07-18 08:17
Permalink
I tried Xterm but no change,
I tried Xterm but no change, maybe it depends on X.org?
smg
Thu, 2007-08-16 12:53
Permalink
okay i will try
okay i will try
MairAW
Tue, 2008-06-24 18:08
Permalink
I started getting this
I started getting this problem after updating my system to the latest Debian Lenny - including updates to X.org and all the xserver stuff.
I was going to try the patch, so I downloaded and compiled from source: but it doesn't have the same problem!
$ /usr/bin/mocp --version # this one has layout error
moc 2.5.0-alpha3 Build: Jun 6 2008 20:21:24
Compiled with: OSS ALSA JACK DEBUG internet streams resample
$ /usr/local/bin/mocp --version # this one does not...
moc 2.5.0-alpha3 Build: Jun 24 2008 18:53:43
Compiled with: OSS DEBUG
riesebie
Sat, 2008-06-28 18:38
Permalink
Try the following
Try the following patch:
Elimar Riesebieter - Debian's moc maintainer.
The path to source is always uphill ;-)
daper
Sun, 2008-06-29 10:01
Permalink
Finally, I've also hit this
Finally, I've also hit this bug :)
The fix is simple:
ftp://ftp.daper.net/pub/soft/moc/patches/layout-1-is-malformed-fix.patch
Apply with
patch -p0 < layout-1-is-malformed-fix.patch
Not using the FILL parameter in layout description also fixes this problem, but the patch fixes it properly.
--
Damian Pietras - MOC developer