<html><head></head><body bgcolor="#FFFFFF"><div>That's probably all it needs, at least that's the way I tried it last time.</div><div><br>On 2012/3/22, at 下午10:19, Lucian Thomaz <<a href="mailto:lucianthomaz@hotmail.com">lucianthomaz@hotmail.com</a>> wrote:<br><br></div><div></div><blockquote type="cite"><div>

<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
<div dir="ltr">
<font style="" color="#366092" face="Tahoma">I'm trying to do that with diablo, but it isn't working.<br><br>I ran setup.py , next I added </font><span><font color="#366092" face="Tahoma"> 'horizon_billing' to INSTALLED_APPS and I added 'biling' to 'dashboards' key in HORIZON_CONFIG, after that I restarted Apache and tried acess the dashboard in the browser. It's all the steps that I need to do?</font></span><br><br><div><font color="#333399" face="Tahoma" size="2"><strong>Lucian Thomaz <br></strong></font></div>

<br><br><div><div id="SkyDrivePlaceholder"></div><hr id="stopSpelling">From: <a href="mailto:andycjw@gmail.com">andycjw@gmail.com</a><br>Date: Thu, 22 Mar 2012 22:06:02 +0800<br>Subject: Re: [Openstack] [openstack] nova-billing with Horizon<br>To: <a href="mailto:lucianthomaz@hotmail.com">lucianthomaz@hotmail.com</a><br>CC: <a href="mailto:thingee@gmail.com">thingee@gmail.com</a>; <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br><br>I have tried running the billing last week, but they haven't update to latest horizon at essex, <div>you might want to try them with diablo branch of horizon<br><br><div class="ecxgmail_quote">On Thu, Mar 22, 2012 at 9:35 PM, Lucian Thomaz <span dir="ltr"><<a href="mailto:lucianthomaz@hotmail.com">lucianthomaz@hotmail.com</a>></span> wrote:<br>

<blockquote class="ecxgmail_quote" style="border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">


<div><div dir="ltr">
<font color="#366092" face="Tahoma">Mike, I just tried running setup.py now and it worked nice, and after that I tried to restart the apache, but it gives me the same error:<br><br>[Thu Mar 22 10:28:07 2012] [error] [client 192.168.100.237]   File "/usr/lib/pymodules/python2.7/django/utils/importlib.py", line 35, in import_module<br>

[Thu Mar 22 10:28:07 2012] [error] [client 192.168.100.237]     __import__(name)<br>[Thu Mar 22 10:28:07 2012] [error] [client 192.168.100.237] TemplateSyntaxError: Caught ImportError while rendering: No module named horizon_billing<br>

<br>You know what should I inspect?<br></font><br><br><div><font color="#333399" face="Tahoma"><strong>Lucian Thomaz<br></strong></font></div>

<br><br><div><div></div><hr>Date: Wed, 21 Mar 2012 14:41:39 -0700<br>From: <a href="mailto:thingee@gmail.com">thingee@gmail.com</a><br>To: <a href="mailto:lucianthomaz@hotmail.com">lucianthomaz@hotmail.com</a><br>

Subject: Re: [Openstack] [openstack] nova-billing with Horizon<br><br>
                <div style="font-family: Helvetica; font-size: 13px;">You need to make sure either system wide or in your virtual env that horizon_billing is installed by running setup.py in horizon_billing.<br></div>
                <div><div><br></div>-- <br>Mike Perez<br><div><a href="http://DreamHost.com">DreamHost.com</a></div><div><br></div></div>
                 
                <p style="color: rgb(160, 160, 168);">On Wednesday, March 21, 2012 at 10:55 AM, Lucian Thomaz wrote:</p>
                <blockquote style="border-left-style: solid; border-width: 1px; margin-left: 0px; padding-left: 10px;">
                    <span><div><div>


<div dir="ltr">
<font color="#366092" face="Tahoma">Mike, this help me to understand a little more, but when I tried add 'horizon_billing' to INSTALLED_APPS tuple and restart apache, the log of apache returns the following error: </font><font color="#366092" face="Tahoma">TemplateSyntaxError: Caught ImportError while rendering: No module named horizon_billing</font><div>

<font color="#366092" face="Tahoma"><br></font></div><div><font color="#366092" face="Tahoma">Do you know anything about that?<br></font><br><br><div><font color="#333399" face="Tahoma"><strong>Lucian Thomaz</strong></font></div>

<br><br><br><div><hr>Date: Wed, 21 Mar 2012 10:23:25 -0700<br>From: <a href="mailto:thingee@gmail.com">thingee@gmail.com</a><br>To: <a href="mailto:lucianthomaz@hotmail.com">lucianthomaz@hotmail.com</a><br>

Subject: Re: [Openstack] [openstack] nova-billing with Horizon<br><br>
                <div>Whoops, from THEIR latest repo, instead of linking to mine. ;)
                </div><div><br></div><div><a href="https://github.com/openstack/horizon/blob/master/openstack_dashboard/settings.py#L51" target="_blank">https://github.com/openstack/horizon/blob/master/openstack_dashboard/settings.py#L51</a></div>


                <div><div><br></div>-- <br>Mike Perez<br><div><a href="http://DreamHost.com" target="_blank">DreamHost.com</a></div><div><br></div></div>
                  
                <p style="color: rgb(160, 160, 168);">On Wednesday, March 21, 2012 at 10:22 AM, Mike Perez wrote:</p><blockquote><div>
                    <span><div><div>
                <div style="font-family: Helvetica; font-size: 13px;">It appears to be in there with latest in the horizon repo:<div><br></div><div><a href="https://github.com/Thingee/horizon/blob/master/openstack_dashboard/settings.py#L51" target="_blank">https://github.com/Thingee/horizon/blob/master/openstack_dashboard/settings.py#L51</a></div>

</div>
                <div><div><br></div>-- <br>Mike Perez<br><div><a href="http://DreamHost.com" target="_blank">DreamHost.com</a></div><div><br></div></div>
                   
                <p style="color: rgb(160, 160, 168);">On Wednesday, March 21, 2012 at 10:19 AM, Lucian Thomaz wrote:</p><blockquote><div>
                    <span><div><div>


<div dir="ltr">
<font color="#366092" face="Tahoma">Thank you by the answer Mike, but my settings.py don't have the HORIZON_CONFIG in it. Can I simply add it? How should it looks like?</font><font color="#366092" face="Tahoma"><br></font><br>

<br><div><font color="#333399" face="Tahoma"><strong>Lucian Thomaz</strong></font></div>

<div><font color="#333399" face="tahoma"><br></font></div><br><div><hr>Date: Wed, 21 Mar 2012 09:53:35 -0700<br>From: <a href="mailto:thingee@gmail.com">thingee@gmail.com</a><br>To: <a href="mailto:lucianthomaz@hotmail.com">lucianthomaz@hotmail.com</a><br>

CC: <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>Subject: Re: [Openstack] [openstack] nova-billing with Horizon<div><div class="h5"><br><br>
                <div>
                    horizon/openstack_dashboard/settings.py
                </div>
                <div><div><br></div>-- <br>Mike Perez<br><div><a href="http://DreamHost.com" target="_blank">DreamHost.com</a></div><div><br></div></div>
                    
                <p style="color: rgb(160, 160, 168);">On Wednesday, March 21, 2012 at 7:07 AM, Lucian Thomaz wrote:</p><blockquote><div>
                    <span><div><div>


<div dir="ltr">
<font color="#366092" face="Tahoma">I'm trying use nova-billing with Horizon following the github page </font><a href="https://github.com/griddynamics/horizon-billing" target="_blank">https://github.com/griddynamics/horizon-billing</a> <font color="#366092"><font face="Tahoma">, but I can't find INSTALLED_APPS and HORIZON_CONFIG in local_settings.py . Anyone can help with that?</font></font><br>

<br><div><font color="#333399" face="Tahoma"><strong>Lucian Thomaz<br></strong></font></div>

                                          </div>
</div><div><div>_______________________________________________</div><div>Mailing list: <a href="https://launchpad.net/%7Eopenstack" target="_blank">https://launchpad.net/~openstack</a></div><div>Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a></div>

<div>Unsubscribe : <a href="https://launchpad.net/%7Eopenstack" target="_blank">https://launchpad.net/~openstack</a></div><div>More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a></div>

</div></div></span>
                    
                    
                    
                    
                </div></blockquote><div>
                    <br>
                </div></div></div></div>                                          </div>
</div></div></span>
                   
                   
                   
                   
                </div></blockquote><div>
                    <br>
                </div>
            </div></div></span>
                  
                  
                  
                  
                </div></blockquote><div>
                    <br>
                </div></div></div>                                      </div>
</div></div></span>
                 
                 
                 
                 
                </blockquote>
                 
                <div>
                    <br>
                </div></div>                                          </div></div>
<br>_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/%7Eopenstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/%7Eopenstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
<br></blockquote></div><br></div></div>                                       </div>
</div></blockquote></body></html>