Thanks Graham, you gave an idea to test! I thought Exception was the mother class of all other exceptions ;/
I got this
[Sun Feb 12 14:51:42 2012] [error] Traceback (most recent call last):
[Sun Feb 12 14:51:42 2012] [error] File "/usr/local/lib/python2.7/threading.py", line 530, in __bootstrap_inner
[Sun Feb 12 14:51:42 2012] [error] self.run()
[Sun Feb 12 14:51:42 2012] [error] File "/srv/www/ufcgjudge/contests/views.py", line 151, in run
[Sun Feb 12 14:51:42 2012] [error] File "/usr/local/lib/python2.7/site-packages/httplib2-0.7.2-py2.7.egg/httplib2/__init__.py", line 1073, in __init__
[Sun Feb 12 14:51:42 2012] [error] self.cache = FileCache(cache)
[Sun Feb 12 14:51:42 2012] [error] File "/usr/local/lib/python2.7/site-packages/httplib2-0.7.2-py2.7.egg/httplib2/__init__.py", line 687, in __init__
[Sun Feb 12 14:51:42 2012] [error] os.makedirs(self.cache)
[Sun Feb 12 14:51:42 2012] [error] File "/usr/local/lib/python2.7/os.py", line 150, in makedirs
[Sun Feb 12 14:51:42 2012] [error] makedirs(head, mode)
[Sun Feb 12 14:51:42 2012] [error] File "/usr/local/lib/python2.7/os.py", line 157, in makedirs
[Sun Feb 12 14:51:42 2012] [error] mkdir(name, mode)
[Sun Feb 12 14:51:42 2012] [error] OSError: [Errno 13] Permission denied: 'http:'
The thing that make me curious is that now when I'm testing only using python, "Http('
www.spoj.pl')" I get this too ;/(Even without thread, with sudo goes ok!)
Maybe I need to change some permissions right?