Hi ! I have a problem whit the hosting of my application :
I have followed the guide of the hosting
and imported my db about django in the hosting mysql

Thanks


the site say :

Unhandled Exception

An unhandled exception was thrown by the application

whit this error :



Traceback (most recent call last):

File "/usr/lib/python2.4/site-packages/django/core/handlers/base.py", line
77, in get_response
   response = callback(request, *callback_args, **callback_kwargs)

File "/usr/lib/python2.4/site-packages/django/views/generic/list_detail.py",
line 76, in object_list
   if not allow_empty and len(queryset) == 0:

File "/usr/lib/python2.4/site-packages/django/db/models/query.py", line 105,
in __len__
   return len(self._get_data())

File "/usr/lib/python2.4/site-packages/django/db/models/query.py", line 470,
in _get_data
   self._result_cache = list(self.iterator())

File "/usr/lib/python2.4/site-packages/django/db/models/query.py", line 182,
in iterator
   cursor = connection.cursor()

File "/usr/lib/python2.4/site-packages/django/db/backends/mysql/base.py",
line 97, in cursor
   kwargs['port'] = int(settings.DATABASE_PORT)

ValueError: invalid literal for int(): marco_db1


<WSGIRequest
GET:<MultiValueDict: {}>,
POST:<MultiValueDict: {}>,
COOKIES:{},
META:{'DOCUMENT_ROOT': '/accounts/marco/fastcgi/cit2',
'GATEWAY_INTERFACE': 'CGI/1.1',
'HTTP_ACCEPT': 'text/xml,application/xml,application/xhtml+xml,text/html;q=
0.9,text/plain;q=0.8,image/png,*/*;q=0.5',
'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7',
'HTTP_ACCEPT_ENCODING': 'gzip,deflate',
'HTTP_ACCEPT_LANGUAGE': 'en-us,en;q=0.5',
'HTTP_CACHE_CONTROL': 'max-age=0',
'HTTP_CONNECTION': 'keep-alive',
'HTTP_HOST': 'lum.vom.com',
'HTTP_IF_MODIFIED_SINCE': 'Thu, 21 Sep 2006 13:46:13 GMT',
'HTTP_IF_NONE_MATCH': '"89e222-47b-f2623456"',
'HTTP_KEEP_ALIVE': '300',
'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.6)
Gecko/20061201 Firefox/2.0.0.6 (Ubuntu-feisty)',
'PATH': '/usr/local/bin:/usr/bin:/bin',
'PATH_INFO': '/',
'PATH_TRANSLATED': '/accounts/marco/fastcgi/cit2/',
'QUERY_STRING': '',
'REMOTE_ADDR': '87.9.237.19',
'REMOTE_PORT': '42557',
'REQUEST_METHOD': 'GET',
'REQUEST_URI': '/',
'SCRIPT_FILENAME': '/accounts/marco/fastcgi/cit2/django.fcgi',
'SCRIPT_NAME': '/django.fcgi',
'SERVER_ADDR': '80.8.207.53',
'SERVER_ADMIN': '[EMAIL PROTECTED]',
'SERVER_NAME': 'lum.vom.com',
'SERVER_PORT': '80',
'SERVER_PROTOCOL': 'HTTP/1.1',
'SERVER_SIGNATURE': '<address>Apache/2.0.55 (Ubuntu) DAV/2 SVN/1.3.1
mod_fastcgi/2.4.2 mod_ssl/2.0.55 OpenSSL/0.9.8a mod_perl/2.0.2 Perl/v5.8.7
Server at lumaca.tulap-project.com Port 80</address>\n',
'SERVER_SOFTWARE': 'Apache/2.0.55 (Ubuntu) DAV/2 SVN/1.3.1 mod_fastcgi/2.4.2
mod_ssl/2.0.55 OpenSSL/0.9.8a mod_perl/2.0.2 Perl/v5.8.7',
'wsgi.errors': <flup.server.fcgi_base.OutputStream object at 0xb7bf846c>,
'wsgi.input': <flup.server.fcgi_base.InputStream object at 0xb7bf842c>,
'wsgi.multiprocess': True,
'wsgi.multithread': False,
'wsgi.run_once': False,
'wsgi.url_scheme': 'http',
'wsgi.version': (1, 0)}>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to