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:

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

You know what should I inspect?

Lucian Thomaz




Date: Wed, 21 Mar 2012 14:41:39 -0700
From: thin...@gmail.com
To: luciantho...@hotmail.com
Subject: Re: [Openstack] [openstack] nova-billing with Horizon


                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.

                
-- 
Mike Perez
DreamHost.com

                 
                On Wednesday, March 21, 2012 at 10:55 AM, Lucian Thomaz wrote:
                
                    



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: TemplateSyntaxError: Caught ImportError while 
rendering: No module named horizon_billing
Do you know anything about that?


Lucian Thomaz


Date: Wed, 21 Mar 2012 10:23:25 -0700
From: thin...@gmail.com
To: luciantho...@hotmail.com
Subject: Re: [Openstack] [openstack] nova-billing with Horizon


                Whoops, from THEIR latest repo, instead of linking to mine. ;)
                
https://github.com/openstack/horizon/blob/master/openstack_dashboard/settings.py#L51
                
-- 
Mike Perez
DreamHost.com

                  
                On Wednesday, March 21, 2012 at 10:22 AM, Mike Perez wrote:
                    
                It appears to be in there with latest in the horizon repo:
https://github.com/Thingee/horizon/blob/master/openstack_dashboard/settings.py#L51
                
-- 
Mike Perez
DreamHost.com

                   
                On Wednesday, March 21, 2012 at 10:19 AM, Lucian Thomaz wrote:
                    



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?


Lucian Thomaz



Date: Wed, 21 Mar 2012 09:53:35 -0700
From: thin...@gmail.com
To: luciantho...@hotmail.com
CC: openstack@lists.launchpad.net
Subject: Re: [Openstack] [openstack] nova-billing with Horizon


                
                    horizon/openstack_dashboard/settings.py
                
                
-- 
Mike Perez
DreamHost.com

                    
                On Wednesday, March 21, 2012 at 7:07 AM, Lucian Thomaz wrote:
                    



I'm trying use nova-billing with Horizon following the github page 
https://github.com/griddynamics/horizon-billing , but I can't find 
INSTALLED_APPS and HORIZON_CONFIG in local_settings.py . Anyone can help with 
that?

Lucian Thomaz


                                          
_______________________________________________Mailing list: 
https://launchpad.net/~openstackPost to     : 
openstack@lists.launchpad.netUnsubscribe : https://launchpad.net/~openstackMore 
help   : https://help.launchpad.net/ListHelp
                    
                    
                    
                    
                
                    

                                                          

                   
                   
                   
                   
                
                    

                
            
                  
                  
                  
                  
                
                    

                                                          

                 
                 
                 
                 
                
                 
                
                    

                                                          
_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp

Reply via email to