Cause: the media for plugins/application are not copied/linked into your media root.
Solution: execute either sync_apps_media or sync_plugins_media command. For example:
$ python manage.py sync_apps_media --link
$ python manage.py sync_plugins_media --link --all
Note
The latest sync_plugins_media is not needed during development, but you have to execute it when deploy your website. See deploying Merengue.
Example javascript error:
$("#inlinetrans-toolbar").inlinetranstoolbar is not a function
Possible cause: the media for plugins/application are not copied/linked into your media root.
Solution: execute either sync_apps_media or sync_plugins_media command. See previous error.
Error traceback:
Traceback (most recent call last):
...
Exception Type: TemplateSyntaxError at /
Exception Value: Caught UncompressableFileError while rendering: "/path/to/js/foofile.js" does not exist
Cause: you have enabled compression and the files to compress are not linked into media root.
Solution: one of these:
Possible cause: the plugins are not registered.
Solution: one of these:
Error traceback:
Traceback (most recent call last):
...
version_tuple = postgis_version_tuple()
File "/home/user/django_src_1.3.X/django/contrib/gis/db/backend/postgis/management.py", line 46, in postgis_version_tuple
version = postgis_lib_version()
File "/home/user/django_src_1.3.X/django/contrib/gis/db/backend/postgis/management.py", line 26, in postgis_lib_version
return _get_postgis_func('postgis_lib_version')
File "/home/user/django_src_1.3.X/django/contrib/gis/db/backend/postgis/management.py", line 13, in _get_postgis_func
cursor.execute('SELECT %s()' % func)
File "/home/user/django_src_1.3.X/django/db/backends/util.py", line 19, in execute
return self.cursor.execute(sql, params)
psycopg2.ProgrammingError: no existe la función postgis_lib_version()
LINE 1: SELECT postgis_lib_version()
Cause: you are using a non GIS database but your project is configured with USE_GIS=True
Solution: one of these:
Jul 01, 2011