Orbited launch problems: " ConfigParser.NoSectionError: No section: 'formatters' "

RHH picture RHH · May 26, 2011 · Viewed 9.4k times · Source

I'm trying to get Orbited started, but unfortunately I'm running into more than a few problems! First, problems with easy_install (solved). Then, proceeded on with instructions from http://mischneider.net/?p=125. But when using orbited -c orbited.cnf I get the following:

Traceback (most recent call last):
  File "C:\Python27\Scripts\orbited-script.py", line 8, in <module>
    load_entry_point('orbited==0.7.11beta3', 'console_scripts', 'orbited')()
  File "C:\Python27\lib\site-packages\orbited-0.7.11beta3-py2.7.egg\orbited\star
t.py", line 133, in main
    logging.config.fileConfig(options.config)
  File "C:\Python27\lib\logging\config.py", line 70, in fileConfig
    formatters = _create_formatters(cp)
  File "C:\Python27\lib\logging\config.py", line 106, in _create_formatters
    flist = cp.get("formatters", "keys")
  File "C:\Python27\lib\ConfigParser.py", line 567, in get
    raise NoSectionError(section)
ConfigParser.NoSectionError: No section: 'formatters'

And here's my config file (orbited.cnf):

[listen]
http://:9000
stomp://:61613

[access]
* -> localhost:61613

[global]
session.ping_interval = 300

(Edit: I may need a [format] section?) I have absolutely nothing, and most of the resources I find point to orbited.org, which has been down since like, the day since I got interested in orbited. Help me please! I really want to start working on cool live django apps!

Answer

sid picture sid · May 27, 2011

There is a sample config file in the tar file. You can find it online at https://bitbucket.org/desmaj/orbited/src/1a8a47861f1d/daemon/orbited.cfg.example

just copy everything from the [loggers] section onwards. set relevant level=DEBUG wherever you want more debug information

-- sid