[Teammetrics-discuss] What next?

Andreas Tille andreas at an3as.eu
Thu Jul 19 20:46:18 UTC 2012


On Thu, Jul 19, 2012 at 11:48:22PM +0530, Vipin Nair wrote:
> 
> For example, I want annual upload data of say top N members for a
> team. How do I get this? I did spend quiet some time on it, but could
> not really figure it out. That crosstab is not what I want.

If the crosstab is not what you want - what exactly do you want?

> > - we were supposed to focus on getting the implementation upon on
> > blends.d.n ... what's the status about that?
> 
> Locally I was able to deploy this website without much hassles. I do
> not have enough privileges on the blends machine to try and deploy it
> myself.
> 
> The code is at /var/lib/teammetrics/
> 
> I have setup an Apache Config file in the project root (apache.conf)
> which I assume, is enough to deploy this website. We need to enable
> this site in Apache.
> 
> Andreas, lets do this?

As I previousely have said I added the needed code to the apache
configuration but it did run into an error.  Today I did some
investigation and found:

# readlink /etc/apache2/conf.d/teammetrics.conf 
/etc/teammetrics/apache.conf
# cat /etc/apache2/conf.d/teammetrics.conf 
        WSGIScriptAlias /teammetrics /var/lib/teammetrics/web/teammetrics.wsgi
                <Directory /var/lib/teammetrics/>
                        Order allow,deny
                        Allow from all
                </Directory>

After restarting apache2 and pointing a browser to

  http://blends.debian.net/teammetrics

I get

# tail -n13 /srv/blends.debian.net/log/error.log
[Thu Jul 19 22:42:07 2012] [error] [client 217.88.91.104] mod_wsgi (pid=817): Exception occurred processing WSGI script '/var/lib/teammetrics/web/teammetrics.wsgi'.                    
[Thu Jul 19 22:42:07 2012] [error] [client 217.88.91.104] Traceback (most recent call last):                                                                                            
[Thu Jul 19 22:42:07 2012] [error] [client 217.88.91.104]   File "/usr/lib/python2.6/dist-packages/django/core/handlers/wsgi.py", line 250, in __call__                                 
[Thu Jul 19 22:42:07 2012] [error] [client 217.88.91.104]     self.load_middleware()                                                                                                    
[Thu Jul 19 22:42:07 2012] [error] [client 217.88.91.104]   File "/usr/lib/python2.6/dist-packages/django/core/handlers/base.py", line 39, in load_middleware                           
[Thu Jul 19 22:42:07 2012] [error] [client 217.88.91.104]     for middleware_path in settings.MIDDLEWARE_CLASSES:                                                                       
[Thu Jul 19 22:42:07 2012] [error] [client 217.88.91.104]   File "/usr/lib/python2.6/dist-packages/django/utils/functional.py", line 276, in __getattr__                                
[Thu Jul 19 22:42:07 2012] [error] [client 217.88.91.104]     self._setup()                                                                                                             
[Thu Jul 19 22:42:07 2012] [error] [client 217.88.91.104]   File "/usr/lib/python2.6/dist-packages/django/conf/__init__.py", line 42, in _setup                                         
[Thu Jul 19 22:42:07 2012] [error] [client 217.88.91.104]     self._wrapped = Settings(settings_module)                                                                                 
[Thu Jul 19 22:42:07 2012] [error] [client 217.88.91.104]   File "/usr/lib/python2.6/dist-packages/django/conf/__init__.py", line 89, in __init__                                       
[Thu Jul 19 22:42:07 2012] [error] [client 217.88.91.104]     raise ImportError("Could not import settings '%s' (Is it on sys.path?): %s" % (self.SETTINGS_MODULE, e))                  
[Thu Jul 19 22:42:07 2012] [error] [client 217.88.91.104] ImportError: Could not import settings 'web.settings' (Is it on sys.path?): No module named web.settings                       

So something seems to be wrong with your code and I have no idea what
this might be.

Hope this might help tracking down the problem.

Kind regards

       Andreas.

-- 
http://fam-tille.de



More information about the Teammetrics-discuss mailing list