<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote">2013/3/6 Mike Gabriel <span dir="ltr"><<a href="mailto:mike.gabriel@das-netzwerkteam.de" target="_blank">mike.gabriel@das-netzwerkteam.de</a>></span><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Indeed the option agent-query-mode is ignored in x2gobroker-sessionprofiles.<u></u>conf, as it is only available in the backend sections of x2gobroker.conf.<br></blockquote><div><br></div><div style>Right. My mistake. My understanding was "per profile", not "per backend", even though it clearly says per-broker-backend in the comment. Concept confusion I'm afraid.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="im"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
I see that the new autologin (which works) uses self.get_profile_broker()<br>
instead of self.config to access settings. This might be the source of the<br>
problem?</blockquote></div>
I could not find the usage of self.get_profile_broker() in self.get_agent_query_mode(). If I missed something, can you point me to the exact line?<br></blockquote><div><br></div><div style>In branch 0.0.0.6 from git:</div>
<div><div>abo@x2go-broker:~/x2gobroker/x2gobroker$ grep -n self.get_profile_broker brokers/base_broker.py </div><div>478: _profile = self.get_profile_broker(profile_id)</div><div>504: _profile = self.get_profile_broker(profile_id)</div>
</div><div><br></div><div style>But that was just me trying to figure out why the autologin setting was being picked up from x2gobroker-sessionprofiles.conf while agent-query-mode wasn't. Since the answer is, that it works as intended, this last part is a non-issue as well.</div>
</div><div><br></div>-- <br>Anders Bruun Olsen<br>It-ansvarlig<br>Det Danske Sprog- og Litteraturselskab<br>(Society for Danish Language and Literature)<br>
</div></div>