![]() | bug.gd rank: | 37 |
![]() | Solved Errors: | 18 |
![]() | unsolved errors: |
2 |
![]() | solution comments: | 32 |
![]() | solution rating: | 34 |
[No User Description]
ImproperlyConfigured: Error loading pysqlite2 module: No module named pysqlite2
Download pysqlite-2.4.1.tar.gz from here:
http://oss.itsystementwic...#Downloads
tar xfvz pysqlite-2.4.1.tar.gz
cd p...
SystemError: ('Failed', 'make')
The problem is a missing "/private/tmp" folder
ImportError: No module named ImplPython
Start with a new site-packages folder
cd Python-2.4.4/lib/python2.4
mv site-packages/ site-packages_old
mkdir site-packages
Move over some of the st...
ZConfig.ConfigurationError: A user was not specified to setuid to
Need to set effective user in zope.conf
effective-user zope
Zope Could not import Products.ZPsycopgDA
ImportError: No module named psycopg2.pool
The easy fix is to install psycopg2-2.0.2-py2.4-macosx10.4.zip that can be found here:
http://pythonmac.org/packages/py24-fat/
element.ownerDocument.createEventObject is not a function on session 169151
Selenium (0.8.3 as of Jan 15, 2008) isn’t compatible with mootools.
Fix:
http://forum.mootools.net...hp?id=1639
svn: Can't convert string from native encoding to 'UTF-8'
You need to set another locale, because a filename in the SVN uses it. For me, the following export solved the problem:
export LC_ALL=es_ES.UTF-8
To...
Error loading psycopg module: No module named psycopg
When running Django, it complains that psycopg is not installed.
The easy fix is to install psycopg2-2.0.2-py2.4-macosx10.4.zip that can be found her...
Error: (48, 'Address already in use')
Appear when starting a Django server.
Thry starting Django with another port
./manage.py runserver 8001
OperationalError: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
Appears when starting a D...
Install a Postgres database
$ cd /Library/PostgreSQL8
$ sudo -u postgres ./bin/postgres -Ddata
$ sudo -u postgres ./createdb --owner=sample sample
$ ...
ProgrammingError: current transaction is aborted, commands ignored until end of transaction block
Appears in Django when the current session is blocked
In Python, close the connection
import django
django.db.connection.close()
Unable to connect - Firefox can't establish a connection to the server at www.example.com
On Mac, in Firefox, this appears, even though you changed the /etc/hosts file by adding
127.0.0.1 www.ex...
You need to flush the lookup cache like this:
sudo lookupd -flushcache
ImproperlyConfigured: Error importing authentication backend exampleapp.groups.middleware: "No module named middleware"
When starting a Django app
You may need to rebuild the database
./rebuild_db.sh
After resolving a conflict in a file, the svn commit fails:
svn: Aborting commit: 'settings.py' remains in conflict
The fix is to resolve the conflict like this:
$ svn resolved settings.py
Resolved conflicted state of 'settings.py'
tmp/zopyx/txng3/stemmer.so:undefined symbol: PyUnicodeUCS2_AsEncodedString
ERROR Zope Couldn't install TextIndexNG3
First of all, check whether the Python that comes with your Linux distribution uses UCS2 or UCS4:
python -c "import sys; print (sys.maxunicode < 6600...