|
From: <mai...@op...> - 2008-11-18 13:57:31
|
Zitat von Michael Foord <fuz...@vo...>:
> mai...@op... wrote:
>> Hi,
>>
>> i have a problem starting elisa with follow error that come from
>> configobj (i think)
>
> I've just tested that config file with ConfigObj 4.5.3 and it reads
> fine. What version of ConfigObj does Elisa use?
Where can i see this? it begins with:
# configobj.py
# A config file reader/writer that supports nested sections in config files.
# Copyright (C) 2005-2006 Michael Foord, Nicola Larosa
# E-mail: fuzzyman AT voidspace DOT org DOT uk
# nico AT tekNico DOT net
# ConfigObj 4
- i have updated ConfigObj to 4.5.3 and its not working to. How can
i test what is wrong? Do i have Python compiled wrong?
>
> Michael Foord
>>
>> the code, elisa uses is (./elisa/core/config.py):
>>
>> self.info("Using %r config file", config_file)
>> try:
>> self._config = ConfigObj(config_file, unrepr=True)
>> except ConfigObjError, ex:
>> errors = [ error.message for error in ex.errors ]
>> errors = ';'.join(errors)
>> raise ConfigError("Config format error in %s: %s" %
>> (config_file,
>> errors))
>>
>> the error i become is:
>>
>> 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)
>>
>> i have build my complete Distribution incl. Python-2.5.2 with uClibc
>> from Scratch. Where can be my problem?
>>
>> Stephan
>> i have attached the configfile, that elisa creates, it looks valid.
>>
>> ------------------------------------------------------------------------
>>
>> -------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
>> Build the coolest Linux based applications with Moblin SDK & win
>> great prizes
>> Grand prize is a trip for two to an Open Source event anywhere in the world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Configobj-develop mailing list
>> Con...@li...
>> https://lists.sourceforge.net/lists/listinfo/configobj-develop
>>
>
>
> --
> http://www.ironpythoninaction.com/
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Configobj-develop mailing list
> Con...@li...
> https://lists.sourceforge.net/lists/listinfo/configobj-develop
>
>
|