google-code-export / yabi

Automatically exported from code.google.com/p/yabi
0 stars 1 forks source link

yabibe will overide YABICONF if it finds another config in the search path #273

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Provide a YABICONF (not /etc/yabi/yabi.conf)
2. Put another config in /etc/yabi/yabi.conf
3. What your config settings be ignored

What is the expected output? What do you see instead?

I want my settings to be respected

Original issue reported on code.google.com by aahun...@gmail.com on 4 Dec 2012 at 6:54

GoogleCodeExporter commented 9 years ago
Debug showing the chain of configs being loaded..... YABICONF is set to 
yabibe-quickstart.conf in this case. I don't want yabi.conf loaded at all.

vvserver.py
reading config
<open file '/usr/local/src/yabibe/yabibe/conf/yabi_defaults.conf', mode 'r' at 
0x7ffa2c963db0>
reading config
<open file '/usr/local/src/yabibe/yabibe/yabibe-quickstart.conf', mode 'r' at 
0x7ffa2c963db0>
^^server.py
reading config
<open file '/etc/yabi/yabi.conf', mode 'r' at 0x15db5d0>
reading config
<open file '/etc/yabi/yabi.conf', mode 'r' at 0x1a76300>
vvserver.py
reading config
<open file '/usr/local/src/yabibe/yabibe/conf/yabi_defaults.conf', mode 'r' at 
0x2758c00>
reading config
<open file '/usr/local/src/yabibe/yabibe/yabibe-quickstart.conf', mode 'r' at 
0x2758c00>
^^server.py
reading config
<open file '/etc/yabi/yabi.conf', mode 'r' at 0x2f85390>

Original comment by aahun...@gmail.com on 4 Dec 2012 at 6:55

GoogleCodeExporter commented 9 years ago
ServerContextFactory has an offending config.read...

Fixed in dev, will be in next push.

Original comment by aahun...@gmail.com on 4 Dec 2012 at 6:58