Zitat von Philippe Normand <[EMAIL PROTECTED]>:

when i start Elisa i have follow error:

# elisa
WARN MainThread application Nov 13 15:18:44 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) WARN MainThread twisted Nov 13 15:18:44 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.

what is my problem?
a bad Configfile would be created:

[general]
version = '0.5.17'
install_date = '2008-11-07'
frontends = ['frontend1']
disabled_plugins = []
# database connection string. see https://storm.canonical.com/Manual
database = 'sqlite:/storage/.elisa-0.5/elisa.db'

[frontend1]
frontend = 'pigment.pigment_frontend:PigmentFrontend'
theme = 'elisa.plugins.poblesec'
controller_path = '/poblesec'

[directories]
video = ['*default*']
pictures = ['*default*']
music = ['*default*']

can you help me???

Stephan

Oh well, sorry I was partly wrong:

- you still need a /tmp/ filesystem
- wherever the config file is located, elisa will attempt to write to
$HOME/.elisa-0.5/ so you need to be logged. Otherwise you can edit the
source code and change the line instructing elisa where to write files
(elisa/core/application.py somewhere at the beginning)

Philippe


Le mercredi 29 octobre 2008 à 18:54 +0100, Philippe Normand a écrit :
Hi Stephan,

You need to setup a /tmp filesystem, elisa sometimes writes files there
(errors and some files sporadically needed by some plugins). Elisa will
attempt to create directories and other files in the directory where
your elisa.conf file is. So if you launch elisa with elisa
-c /foo/elisa.conf then elisa will need write-access to /foo/ directory.

Philippe

Le mercredi 29 octobre 2008 à 18:22 +0100, [EMAIL PROTECTED] a
écrit :
> Hello,
>
> I plan to create an embedded Linux distribution based on uClibc and
> Busybox (no login) what Elisa starts automatically and is small as
> possible and fast. I am as far as the Elisa test, I just want to start
> so I have some problems. The filesystem is completely write-protected,
> as it is a SquashFS filesystem. Only /etc and /var are RamFs
> filesystems. /root /tmp and /mnt are symlinks to /var/root /var/tmp
> and /var/mnt. Which directories must be writable by Elisa to start? If
> I run elisa -c /etc/elisa.conf only an empty /etc/elisa.conf will be
> created. Where is the elisa.log tried to write when I have no home
> directory and I did not login as an user (I think /elisa.log)? Can I
> configure Elisa by variables that Elisa writes everything in a given
> directory?
>
> Stephan
> --------------------------------------------------------------------------------


Reply via email to