stucchio/Idli

Trac backend is broken

Closed this issue · 2 comments

We seem to have broken the trac backend somehow. Error:
$ ./scripts/idli init trac 'localhost:8000' tractest
Initializing trac project.
Traceback (most recent call last):
File "./scripts/idli", line 28, in
cmds.run_command()
File "/home/stucchio/src/idli/idli/commands.py", line 220, in run_command
result = command_runner.run()
File "/home/stucchio/src/idli/idli/commands.py", line 65, in run
self.backend.initialize()
File "/home/stucchio/src/idli/idli/init.py", line 46, in initialize
cfg.set_config_value(section_name, name, self.args.dict[name], global_val=False)
KeyError: ('server', 'URL of trac server.')

Configuration was inconsistent, wanted a dict, got a list of tuples.

Now it just takes a list of tuples.

Forgot to mention, this was resolved by 7b3ee3b.