RE: Your IDE of choice

2009-01-06 Thread Trivedi, Apaar
I use Eclipse with PyDev and PyDev extensions.  I really like it, but I
prefer the eclipse sort of IDE's. 

 



From: django-users@googlegroups.com
[mailto:django-us...@googlegroups.com] On Behalf Of Damien Hou
Sent: Tuesday, January 06, 2009 8:43 AM
To: django-users@googlegroups.com
Subject: Re: Your IDE of choice

 

TextMate with Django and Django Templates bundles is pretty neat

On Tue, Jan 6, 2009 at 7:48 PM, HB  wrote:


Hey,
What is your favorite IDE for coding Django projects?
Any ideas about PyDev and ActiveState Komodo IDE?
Thanks.




-- 
Best Regards,
Damien



--~--~-~--~~~---~--~~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Too Many Connections

2008-12-09 Thread Trivedi, Apaar
This may not even be a Django problem, but I saw this on two of my dev
sites today, both running the same code base, our version of django is
from the trunk, and maybe a week or so old.  One site was running the
light weight server, the other site was running apache/mod_python.  Both
are connected to the same database.  Here is the error:

 

Traceback (most recent call last):

  File
"/usr/local/python2.5/lib/python2.5/site-packages/mod_python/importer.py
", line 1537, in HandlerDispatch\ndefault=default_handler, arg=req,
silent=hlist.silent)

  File
"/usr/local/python2.5/lib/python2.5/site-packages/mod_python/importer.py
", line 1229, in _process_target\nresult = _execute_target(config,
req, object, arg)

  File
"/usr/local/python2.5/lib/python2.5/site-packages/mod_python/importer.py
", line 1128, in _execute_target\nresult = object(arg)

  File
"/usr/local/python2.5/lib/python2.5/site-packages/django/core/handlers/m
odpython.py", line 222, in handler\nreturn ModPythonHandler()(req)

  File
"/usr/local/python2.5/lib/python2.5/site-packages/django/core/handlers/m
odpython.py", line 199, in __call__\nresponse =
middleware_method(request, response)

  File
"/usr/local/lib/python2.5/site-packages/django/contrib/sessions/middlewa
re.py", line 33, in process_response

  File
"/usr/local/lib/python2.5/site-packages/django/contrib/sessions/backends
/db.py", line 52, in save

  File
"/usr/local/lib/python2.5/site-packages/django/contrib/sessions/backends
/base.py", line 152, in _get_session_key

  File
"/usr/local/lib/python2.5/site-packages/django/contrib/sessions/backends
/base.py", line 144, in _get_new_session_key

  File
"/usr/local/lib/python2.5/site-packages/django/contrib/sessions/backends
/db.py", line 25, in exists

  File
"/usr/local/lib/python2.5/site-packages/django/db/models/manager.py",
line 93, in get

  File
"/usr/local/lib/python2.5/site-packages/django/db/models/query.py", line
298, in get

  File
"/usr/local/lib/python2.5/site-packages/django/db/models/query.py", line
154, in __len__

  File
"/usr/local/lib/python2.5/site-packages/django/db/models/query.py", line
269, in iterator

  File
"/usr/local/lib/python2.5/site-packages/django/db/models/sql/query.py",
line 206, in results_iter

  File
"/usr/local/lib/python2.5/site-packages/django/db/models/sql/query.py",
line 1699, in execute_sql

  File
"/usr/local/lib/python2.5/site-packages/django/db/backends/__init__.py",
line 56, in cursor

  File
"/usr/local/lib/python2.5/site-packages/django/db/backends/mysql/base.py
", line 262, in _cursor

  File
"/usr/local/python2.5/lib/python2.5/site-packages/MySQL_python-1.2.2-py2
.5-linux-i686.egg/MySQLdb/__init__.py", line 74, in Connect

  File
"/usr/local/python2.5/lib/python2.5/site-packages/MySQL_python-1.2.2-py2
.5-linux-i686.egg/MySQLdb/connections.py", line 170, in __init__\n
super(Connection, self).__init__(*args, **kwargs2)

OperationalError: (1040, 'Too many connections')

 

Obviously it's django going through mysqldb, and connection problem is
in mysqldb, but I was wondering if anyone on this list can shed some
light on this.  I did a bit of googling and noticed other people using
django were having similar problems.  Does anyone know what causes this
and how I can fix it?  These sites are both internal dev sites,
therefore not anywhere close to high traffic.  



Thank you

Apaar

 


--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---