Zitat von Philippe Normand <[EMAIL PROTECTED]>:
Maybe it's an issue with your /storage filesystem.
i have tried this with r/w ext3 and r/w ramfs on /storage
with ELISA_DEBUG=5 elisa -n it says:
# ELISA_DEBUG=5 elisa -n
DEBUG [ 1127] log Nov
14 11:55:19 ELISA_DEBUG set to *:2,5 (elisa:100)
DEBUG MainThread log Nov 14 11:55:19
Integrating twisted logger (elisa:101)
LOG MainThread twisted Nov 14 11:55:24
[-] Log opened.
(elisa:101)
LOG MainThread twisted Nov 14 11:55:30
[-] /usr/lib/python2.5/site-packages/elisa/core/utils/classinit.py:34:
exceptions.UserWarning: ClassInitMeta class is deprecated
(/home/stephan/OpenELEC/build.i386.uClibc/Python-2.5.2/Lib/warnings.py:126)
(elisa:1130): GStreamer-WARNING **: Failed to load plugin
'/usr/lib/gstreamer-0.10/libgstcdio.so': File not found
(elisa:1130): GStreamer-WARNING **: Failed to load plugin
'/usr/lib/gstreamer-0.10/libgstdvdread.so': File not found
(elisa:1130): GStreamer-WARNING **: Failed to load plugin
'/usr/lib/gstreamer-0.10/libgstlame.so': File not found
(elisa:1130): GStreamer-WARNING **: Failed to load plugin
'/usr/lib/gstreamer-0.10/libgstmad.so': File not found
(elisa:1130): GStreamer-WARNING **: Failed to load plugin
'/usr/lib/gstreamer-0.10/libgstmpeg2dec.so': File not found
INFO MainThread application Nov 14 11:56:05
Using config file: '/storage/.elisa-0.5/elisa_0_5_6.conf'
(elisa/core/application.py:202)
DEBUG MainThread config Nov 14 11:56:05
Creating config '/storage/.elisa-0.5/elisa_0_5_6.conf'
(elisa/core/config.py:123)
INFO MainThread config Nov 14 11:56:05
Using '/storage/.elisa-0.5/elisa_0_5_6.conf' config file
(elisa/core/config.py:85)
WARN MainThread application Nov 14 11:56:06
Config format error in /storage/.elisa-0.5/elisa_0_5_6.conf: Parse
error in value at line 2.;Parse error in value at line 3.;Parse error
in value at line 4.;Parse error in value at line 5.;Parse error in
value at line 7.;Parse error in value at line 10.;Parse error in value
at line 11.;Parse error in value at line 12.;Parse error in value at
line 15.;Parse error in value at line 16.;Parse error in value at line
17. (elisa/core/application.py:211)
LOG MainThread logobserver Nov 14 11:56:06
Failure <twisted.python.failure.Failure <class
'elisa.core.config.ConfigError'>> (twisted/internet/base.py:707)
WARN MainThread twisted Nov 14 11:56:06
A twisted traceback occurred. (twisted/internet/base.py:707)
Twisted traceback:
Traceback (most recent call last):
File "/usr/bin/elisa", line 304, in main
_start_reactor()
File "/usr/bin/elisa", line 143, in _start_reactor
reactor.run()
File
"build/lib.linux-i686-2.5/twisted/internet/gtk2reactor.py", line 186,
in run
File
"build/lib.linux-i686-2.5/twisted/internet/gtk2reactor.py", line 226,
in simulate
--- <exception caught here> ---
File
"build/lib.linux-i686-2.5/twisted/internet/base.py", line 705, in
runUntilCurrent
File "/usr/bin/elisa", line 153, in _start_application
options=options)
File
"/usr/lib/python2.5/site-packages/elisa/core/application.py", line
269, in __init__
File
"/usr/lib/python2.5/site-packages/elisa/core/application.py", line
165, in __init__
File
"/usr/lib/python2.5/site-packages/elisa/core/application.py", line
209, in _load_config
File
"/usr/lib/python2.5/site-packages/elisa/core/config.py", line 92, in
__init__
elisa.core.config.ConfigError:
Config format error in /storage/.elisa-0.5/elisa_0_5_6.conf: Parse
error in value at line 2.;Parse error in value at line 3.;Parse error
in value at line 4.;Parse error in value at line 5.;Parse error in
value at line 7.;Parse error in value at line 10.;Parse error in value
at line 11.;Parse error in value at line 12.;Parse error in value at
line 15.;Parse error in value at line 16.;Parse error in value at line
17.
DEBUG MainThread twisted
Nov 14 11:56:07 [-] Traceback (most recent call last):
File "/usr/bin/elisa",
line 304, in main
_start_reactor()
File "/usr/bin/elisa", line 143, in _start_reactor
reactor.run()
File
"build/lib.linux-i686-2.5/twisted/internet/gtk2reactor.py", line 186,
in run
File
"build/lib.linux-i686-2.5/twisted/internet/gtk2reactor.py", line 226,
in simulate
--- <exception caught here> ---
File
"build/lib.linux-i686-2.5/twisted/internet/base.py", line 705, in
runUntilCurrent
File
"/usr/bin/elisa", line 153, in _start_application
options=options)
File
"/usr/lib/python2.5/site-packages/elisa/core/application.py", line
269, in __init__
File
"/usr/lib/python2.5/site-packages/elisa/core/application.py", line
165, in __init__
File
"/usr/lib/python2.5/site-packages/elisa/core/application.py", line
209, in _load_config
File
"/usr/lib/python2.5/site-packages/elisa/core/config.py", line 92, in
__init__
elisa.core.config.ConfigError: Config format error in
/storage/.elisa-0.5/elisa_0_5_6.conf: Parse error in value at line
2.;Parse error in value at line 3.;Parse error in value at line
4.;Parse error in value at line 5.;Parse error in value at line
7.;Parse error in value at line 10.;Parse error in value at line
11.;Parse error in value at line 12.;Parse error in value at line
15.;Parse error in value at line 16.;Parse error in value at line 17.
(twisted/internet/base.py:707)
####
can this be a twisted error?
i have still problems to create Log-Files:
# ELISA_DEBUG=5 elisa -n -l
Traceback (most recent call last):
File "/usr/bin/elisa", line 308, in <module>
main()
File "/usr/bin/elisa", line 292, in main
_init_logging(True)
File "/usr/bin/elisa", line 100, in _init_logging
log.init(log_to_file)
File
"/usr/lib/python2.5/site-packages/elisa/core/log.py", line 69, in init
File
"/usr/lib/python2.5/site-packages/elisa/extern/log/log.py", line 619,
in outputToFiles
File
"/usr/lib/python2.5/site-packages/elisa/extern/log/log.py", line 599,
in reopenOutputFiles
File
"/usr/lib/python2.5/site-packages/elisa/extern/log/log.py", line 592,
in reopen
IOError: [Errno 30] Read-only file system:
'elisa.log'
#
###
mount says:
# mount
rootfs on / type rootfs (rw)
/dev/sda on /flash type ext3 (ro,noatime,errors=continue,data=ordered)
/dev/loop0 on / type squashfs (ro)
/dev/sda on /flash type ext3 (ro,noatime,errors=continue,data=ordered)
none on /proc type proc (rw)
none on /sys type sysfs (rw)
none on /dev type ramfs (rw)
none on /var type ramfs (rw)
none on /tmp type ramfs (rw)
none on /storage type ramfs (rw)
/dev/disk1 on /var/mnt/disk 1 type ext3 (rw,errors=continue,data=ordered)
and python -c "import tempfile; print tempfile.mktemp()" says
# python -c "import tempfile; print tempfile.mktemp()"
/tmp/tmpsnDSwq
/tmp is r/w and ramfs
why i have this errors?
Stephan