Allow woo_server.py to work when running from the repo root

RESOLVED WONTFIX

Status

Tree Management
OrangeFactor
RESOLVED WONTFIX
6 years ago
4 years ago

People

(Reporter: emorley, Unassigned)

Tracking

Details

Currently:
[srcdirs/orangefactor] $ python server/woo_server.py

Gives:
Traceback (most recent call last):
  File "server/woo_server.py", line 6, in <module>
    import handlers
  File "d:\srcdirs\orangefactor\server\handlers.py", line 30, in <module>
    ES_SERVER = cfg.get('servers', 'es')
  File "c:\mozilla-build\python\lib\ConfigParser.py", line 599, in get
    raise NoSectionError(section)
ConfigParser.NoSectionError: No section: 'servers'

...meaning you have to run directly from the servers directory.

Not exactly urgent, but would be nice if woo_server.py could find the config files even if running from the repo root.
(Assignee)

Updated

4 years ago
Product: Testing → Tree Management
Wontfix in favour of OrangeFactor v2 which will consume Treeherder's API, and likely be written from scratch.
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.