Posted by erikcw |
|
What is the procedure for upgrading from a previous verision of sphene to the latest release?
I tried overwritting my communitytools folder with the new realease and running ./manage.py syncdb, but now I keep getting errors. The first few were complaints about missing field in my db. I added them by hand, but now I'm stick wthi this one:
Any ideas? Thanks! |
|
Posted by Herbert Poul |
|
hmm.. i fear the latest subversion version is only compatible with django trunk
i guess you are running django 0.96 ? would it be possible for you to upgrade to django trunk ? if not i have to see if it is possible to support both versions (the problem is, that between django 0.96 and django trunk database methods where moved from django.db.backend. to django.db.backend.ops) btw. if your 'syncdb' would have been working you should see a changelog which lists you the columns you need to add .. so you wouldn't have to do it by hand normally .. Hey, we have Signatures !!! Great, isn't it ? ;) |
|
Posted by Herbert Poul |
|
ok, small correction ..
according to your error message the SCT code tries backend.quote_name .. but.. correct would've been connection.ops.quote_name .. are you sure you've correctly updated SCT's code ? here is how it looks in my code base: sqlstmt = 'ALTER TABLE %s %s' % (connection.ops.quote_name(clazz._meta.db_table), stmt) edit OK, got it :) .. you've updated to the latest release of SCT :) the fixes for django trunk are only in the SCT trunk, not in the latest SCT release .. (i should read more carefully) --- Last Edited by Herbert Poul at 2007-10-23 21:26:46 --- Hey, we have Signatures !!! Great, isn't it ? ;) |
|
Posted by erikcw |
|
Thanks for your quick response!!!
I am running Django trunk (upgraded about a week ago), but I still had sphene in 0.96 compatibility mode. I commented that line from my settings.py, and downloaded the sphene trunk.
So I manually made the changes in the changelog. I ran ./manage.py syncdb again after manually applying the changes, and it seemed to run clean! However, when I try to load the sphene forum, I get this:
Is this the same issue or something new? Thanks again for your quick response! --- Last Edited by erikcw at 2007-10-23 21:45:51 --- |
|
Posted by Herbert Poul |
|
the syncdb log you've pasted is actually how it is supposed to be right now (unfortunately) .. since there is no automated schema migration .. i made a simple changelog which only works for one database.. (since it's impossible for me to maintain it for every possible database out there :) ) - i decided to go for postgresql (since that what's i'm using)..
for mysql your approach was right.. simply do it by hand translating the statements to something mysql would understand :) as for the errors.. they are not directly connected.. do you have something like the following line in your url conf: (r'^community/', include('sphene.community.urls'), defaultdict), or just the entries for wiki and the board ? Hey, we have Signatures !!! Great, isn't it ? ;) |
|
Posted by erikcw |
|
No, I didn't have that in my urls.py. I added it, and then started getting some sort of Crypto error so I installed pyCrypto.
No I'm getting this again:
|
|
Posted by Herbert Poul |
|
it would be interesting for which view it didn't find a reverse lookup .. like in your last problem there was a local variable:
(the last entry in the stack probably) lookup_view u'sphene.community.views.profile' Hey, we have Signatures !!! Great, isn't it ? ;) |
|
Posted by erikcw |
|
Here is the whole error page:
|
|
Posted by Herbert Poul |
|
hmm.. weird.. this looks exactly the same..
are you sure you have added the community application correctly to the URL configuration ? can you access the profile page at community/profile/3/ ? (if it was 'community' you have configured)? (btw. maybe it is better to use [ code ] instead of [ quote ] to paste these messages, because code segments get their own scrollbars :) (overflow:scroll)) --- Last Edited by Herbert Poul at 2007-10-24 07:28:16 --- Hey, we have Signatures !!! Great, isn't it ? ;) |
|
Posted by erikcw |
|
Here is my urls.py
from django.conf.urls.defaults import * from django.contrib.auth.views import login, logout from django.conf import settings from journal import views defaultdict = { 'groupName': 'journal' } urlpatterns = patterns('', # Example: # (r'^journal/', include('journal.foo.urls')), (r'^board/', include('sphene.sphboard.urls'), defaultdict), (r'^wiki/', include('sphene.sphwiki.urls'), defaultdict), (r'^community/', include('sphene.community.urls'), defaultdict), # Uncomment this for admin: (r'^admin/', include('django.contrib.admin.urls')), (r'^comments/', include('django.contrib.comments.urls.comments')), #(r'^comments/postfree/', 'views.my_post_free_comment'),# redirect back to commented page. (r'^accounts/login/$', login), (r'^accounts/logout/$', views.logout_view), (r'^logout/$', views.logout_view), (r'^food/', include('journal.food.urls')), (r'^stats/', include('journal.stats.urls')), .............. TypeError at /community/profile/3/ 'str' object is not callable Request Method: GET Request URL: http://journal.monkeybargym.com:8000/community/profile/3/ Exception Type: TypeError Exception Value: 'str' object is not callable Exception Location: /usr/local/lib/python2.4/site-packages/django/core/handlers/base.py in _real_get_response, line 81 Python Executable: /usr/local/bin/python Python Version: 2.4.3 Traceback (innermost last) Switch to copy-and-paste view * /usr/local/lib/python2.4/site-packages/django/core/handlers/base.py in _real_get_response 74. # Apply view middleware 75. for middleware_method in self._view_middleware: 76. response = middleware_method(request, callback, callback_args, callback_kwargs) 77. if response: 78. return response 79. 80. try: 81. response = callback(request, *callback_args, **callback_kwargs) ... 82. except Exception, e: 83. # If the view raised an exception, run it through exception 84. # middleware, and if the exception middleware returns a 85. # response, use that. Otherwise, reraise the exception. 86. for middleware_method in self._exception_middleware: 87. response = middleware_method(request, e) ▶ Local vars Variable Value callback u'sphene.community.views.profile' callback_args () callback_kwargs {'group': <Group: journal>, 'user_id': u'3'} debug <module 'django.views.debug' from '/usr/local/lib/python2.4/site-packages/django/views/debug.pyc'> e <exceptions.TypeError instance at 0xb5ba0f0c> exceptions <module 'django.core.exceptions' from '/usr/local/lib/python2.4/site-packages/django/core/exceptions.pyc'> mail_admins <function mail_admins at 0xb6a5f02c> middleware_method <bound method XViewMiddleware.process_view of <django.middleware.doc.XViewMiddleware object at 0xb69df78c>> request <WSGIRequest GET:<QueryDict: {}>, POST:<QueryDict: {}>, COOKIES:{'sessionid': '925f10c86eb36806c9945cfdbf827662'}, META:{'CONTENT_LENGTH': '', 'CONTENT_TYPE': 'text/plain', 'DJANGO_SETTINGS_MODULE': 'journal.settings', 'GATEWAY_INTERFACE': 'CGI/1.1', 'G_BROKEN_FILENAMES': '1', 'HISTSIZE': '1000', 'HOME': '/root', 'HOSTNAME': 'vps.monkeybargym.com', '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_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'sessionid=925f10c86eb36806c9945cfdbf827662', 'HTTP_HOST': 'journal.monkeybargym.com:8000', 'HTTP_KEEP_ALIVE': '300', 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.3) Gecko/20070321 Firefox/2.0.0.3 (Swiftfox)', 'INPUTRC': '/etc/inputrc', 'LANG': 'C', 'LESSOPEN': '|/usr/bin/lesspipe.sh %s', 'LOGNAME': 'root', 'LS_COLORS': 'no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tz=01;31:*.rpm=01;31:*.cpio=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;35:*.xbm=01;35:*.xpm=01;35:*.png=01;35:*.tif=01;35:', 'MAIL': '/var/spool/mail/root', 'MANPATH': '/usr/lib/courier-imap/man:', 'PATH': '/usr/kerberos/sbin:/usr/kerberos/bin:/usr/lib/courier-imap/sbin:/usr/lib/courier-imap/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin', 'PATH_INFO': '/community/profile/3/', 'PWD': '/root/journal', 'QUERY_STRING': '', 'REMOTE_ADDR': '76.109.247.149', 'REMOTE_HOST': '', 'REQUEST_METHOD': 'GET', 'RUN_MAIN': 'true', 'SCRIPT_NAME': '', 'SERVER_NAME': 'vps.monkeybargym.com', 'SERVER_PORT': '8000', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.4.3', 'SHELL': '/bin/bash', 'SHLVL': '2', 'SSH_CLIENT': '76.109.247.149 36853 22', 'SSH_CONNECTION': '76.109.247.149 36853 207.58.180.175 22', 'SSH_TTY': '/dev/pts/0', 'STY': '11525.pts-0.vps', 'TERM': 'screen', 'TERMCAP': 'SC|screen|VT 100/ANSI X3.64 virtual terminal:\\\n\t:DO=\\E[%dB:LE=\\E[%dD:RI=\\E[%dC:UP=\\E[%dA:bs:bt=\\E[Z:\\\n\t:cd=\\E[J:ce=\\E[K:cl=\\E[H\\E[J:cm=\\E[%i%d;%dH:ct=\\E[3g:\\\n\t:do=^J:nd=\\E[C:pt:rc=\\E8:rs=\\Ec:sc=\\E7:st=\\EH:up=\\EM:\\\n\t:le=^H:bl=^G:cr=^M:it#8:ho=\\E[H:nw=\\EE:ta=^I:is=\\E)0:\\\n\t:li#26:co#207:am:xn:xv:LP:sr=\\EM:al=\\E[L:AL=\\E[%dL:\\\n\t:cs=\\E[%i%d;%dr:dl=\\E[M:DL=\\E[%dM:dc=\\E[P:DC=\\E[%dP:\\\n\t:im=\\E[4h:ei=\\E[4l:mi:IC=\\E[%d@:ks=\\E[?1h\\E=:\\\n\t:ke=\\E[?1l\\E>:vi=\\E[?25l:ve=\\E[34h\\E[?25h:vs=\\E[34l:\\\n\t:ti=\\E[?1049h:te=\\E[?1049l:us=\\E[4m:ue=\\E[24m:so=\\E[3m:\\\n\t:se=\\E[23m:mb=\\E[5m:md=\\E[1m:mr=\\E[7m:me=\\E[m:ms:\\\n\t:Co#8:pa#64:AF=\\E[3%dm:AB=\\E[4%dm:op=\\E[39;49m:AX:\\\n\t:vb=\\Eg:G0:as=\\E(0:ae=\\E(B:\\\n\t:ac=\\140\\140aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~..--++,,hhII00:\\\n\t:po=\\E[5i:pf=\\E[4i:Z0=\\E[?3h:Z1=\\E[?3l:k0=\\E[10~:\\\n\t:k1=\\EOP:k2=\\EOQ:k3=\\EOR:k4=\\EOS:k5=\\E[15~:k6=\\E[17~:\\\n\t:k7=\\E[18~:k8=\\E[19~:k9=\\E[20~:k;=\\E[21~:F1=\\E[23~:\\\n\t:F2=\\E[24~:F3=\\EO2P:F4=\\EO2Q:F5=\\EO2R:F6=\\EO2S:\\\n\t:F7=\\E[15;2~:F8=\\E[17;2~:F9=\\E[18;2~:FA=\\E[19;2~:kb=^H:\\\n\t:K2=\\EOE:kB=\\E[Z:*4=\\E[3;2~:*7=\\E[1;2F:#2=\\E[1;2H:\\\n\t:#3=\\E[2;2~:#4=\\E[1;2D:%c=\\E[6;2~:%e=\\E[5;2~:%i=\\E[1;2C:\\\n\t:kh=\\E[1~:@1=\\E[1~:kH=\\E[4~:@7=\\E[4~:kN=\\E[6~:kP=\\E[5~:\\\n\t:kI=\\E[2~:kD=\\E[3~:ku=\\EOA:kd=\\EOB:kr=\\EOC:kl=\\EOD:km:', 'TZ': 'America/Chicago', 'USER': 'root', 'WINDOW': '0', '_': './manage.py', 'wsgi.errors': <open file '<stderr>', mode 'w' at 0xb7d6c0b0>, 'wsgi.file_wrapper': <class 'django.core.servers.basehttp.FileWrapper'>, 'wsgi.input': <socket._fileobject object at 0xb5b3e374>, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'http', 'wsgi.version': (1, 0)}> softbr resolver <RegexURLResolver journal.urls ^/> response None self <django.core.handlers.wsgi.WSGIHandler object at 0xb6999eac> settings <django.conf.LazySettings object at 0xb7c9988c> urlconf u'journal.urls' urlresolvers <module 'django.core.urlresolvers' from '/usr/local/lib/python2.4/site-packages/django/core/urlresolvers.pyc'> Traceback (most recent call last): File "/usr/local/lib/python2.4/site-packages/django/core/handlers/base.py" in _real_get_response 81. response = callback(request, *callback_args, **callback_kwargs) TypeError at /community/profile/3/ 'str' object is not callable Request information GET No GET data POST No POST data COOKIES Variable Value sessionid u'925f10c86eb36806c9945cfdbf827662' META Variable Value CONTENT_LENGTH u'' CONTENT_TYPE u'text/plain' DJANGO_SETTINGS_MODULE u'journal.settings' GATEWAY_INTERFACE u'CGI/1.1' G_BROKEN_FILENAMES u'1' HISTSIZE u'1000' HOME u'/root' HOSTNAME u'vps.monkeybargym.com' HTTP_ACCEPT u'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 u'ISO-8859-1,utf-8;q=0.7,*;q=0.7' HTTP_ACCEPT_ENCODING u'gzip,deflate' HTTP_ACCEPT_LANGUAGE u'en-us,en;q=0.5' HTTP_CONNECTION u'keep-alive' HTTP_COOKIE u'sessionid=925f10c86eb36806c9945cfdbf827662' HTTP_HOST u'journal.monkeybargym.com:8000' HTTP_KEEP_ALIVE u'300' HTTP_USER_AGENT u'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.3) Gecko/20070321 Firefox/2.0.0.3 (Swiftfox)' INPUTRC u'/etc/inputrc' LANG u'C' LESSOPEN u'|/usr/bin/lesspipe.sh %s' LOGNAME u'root' LS_COLORS u'no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tz=01;31:*.rpm=01;31:*.cpio=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;35:*.xbm=01;35:*.xpm=01;35:*.png=01;35:*.tif=01;35:' MAIL u'/var/spool/mail/root' MANPATH u'/usr/lib/courier-imap/man:' PATH u'/usr/kerberos/sbin:/usr/kerberos/bin:/usr/lib/courier-imap/sbin:/usr/lib/courier-imap/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin' PATH_INFO u'/community/profile/3/' PWD u'/root/journal' QUERY_STRING u'' REMOTE_ADDR u'76.109.247.149' REMOTE_HOST u'' REQUEST_METHOD u'GET' RUN_MAIN u'true' SCRIPT_NAME u'' SERVER_NAME u'vps.monkeybargym.com' SERVER_PORT u'8000' SERVER_PROTOCOL u'HTTP/1.1' SERVER_SOFTWARE u'WSGIServer/0.1 Python/2.4.3' SHELL u'/bin/bash' SHLVL u'2' SSH_CLIENT u'76.109.247.149 36853 22' SSH_CONNECTION u'76.109.247.149 36853 207.58.180.175 22' SSH_TTY u'/dev/pts/0' STY u'11525.pts-0.vps' TERM u'screen' TERMCAP u'SC|screen|VT 100/ANSI X3.64 virtual terminal:\\\n\t:DO=\\E[%dB:LE=\\E[%dD:RI=\\E[%dC:UP=\\E[%dA:bs:bt=\\E[Z:\\\n\t:cd=\\E[J:ce=\\E[K:cl=\\E[H\\E[J:cm=\\E[%i%d;%dH:ct=\\E[3g:\\\n\t:do=^J:nd=\\E[C:pt:rc=\\E8:rs=\\Ec:sc=\\E7:st=\\EH:up=\\EM:\\\n\t:le=^H:bl=^G:cr=^M:it#8:ho=\\E[H:nw=\\EE:ta=^I:is=\\E)0:\\\n\t:li#26:co#207:am:xn:xv:LP:sr=\\EM:al=\\E[L:AL=\\E[%dL:\\\n\t:cs=\\E[%i%d;%dr:dl=\\E[M:DL=\\E[%dM:dc=\\E[P:DC=\\E[%dP:\\\n\t:im=\\E[4h:ei=\\E[4l:mi:IC=\\E[%d@:ks=\\E[?1h\\E=:\\\n\t:ke=\\E[?1l\\E>:vi=\\E[?25l:ve=\\E[34h\\E[?25h:vs=\\E[34l:\\\n\t:ti=\\E[?1049h:te=\\E[?1049l:us=\\E[4m:ue=\\E[24m:so=\\E[3m:\\\n\t:se=\\E[23m:mb=\\E[5m:md=\\E[1m:mr=\\E[7m:me=\\E[m:ms:\\\n\t:Co#8:pa#64:AF=\\E[3%dm:AB=\\E[4%dm:op=\\E[39;49m:AX:\\\n\t:vb=\\Eg:G0:as=\\E(0:ae=\\E(B:\\\n\t:ac=\\140\\140aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~..--++,,hhII00:\\\n\t:po=\\E[5i:pf=\\E[4i:Z0=\\E[?3h:Z1=\\E[?3l:k0=\\E[10~:\\\n\t:k1=\\EOP:k2=\\EOQ:k3=\\EOR:k4=\\EOS:k5=\\E[15~:k6=\\E[17~:\\\n\t:k7=\\E[18~:k8=\\E[19~:k9=\\E[20~:k;=\\E[21~:F1=\\E[23~:\\\n\t:F2=\\E[24~:F3=\\EO2P:F4=\\EO2Q:F5=\\EO2R:F6=\\EO2S:\\\n\t:F7=\\E[15;2~:F8=\\E[17;2~:F9=\\E[18;2~:FA=\\E[19;2~:kb=^H:\\\n\t:K2=\\EOE:kB=\\E[Z:*4=\\E[3;2~:*7=\\E[1;2F:#2=\\E[1;2H:\\\n\t:#3=\\E[2;2~:#4=\\E[1;2D:%c=\\E[6;2~:%e=\\E[5;2~:%i=\\E[1;2C:\\\n\t:kh=\\E[1~:@1=\\E[1~:kH=\\E[4~:@7=\\E[4~:kN=\\E[6~:kP=\\E[5~:\\\n\t:kI=\\E[2~:kD=\\E[3~:ku=\\EOA:kd=\\EOB:kr=\\EOC:kl=\\EOD:km:' softbrTZ u'America/Chicago' USER u'root' WINDOW u'0' _ u'./manage.py' wsgi.errors <open file '<stderr>', mode 'w' at 0xb7d6c0b0> wsgi.file_wrapper <class 'django.core.servers.basehttp.FileWrapper'> wsgi.input <socket._fileobject object at 0xb5b3e374> wsgi.multiprocess False wsgi.multithread True wsgi.run_once False wsgi.url_scheme u'http' wsgi.version (1, 0) Settings Using settings module journal.settings Setting Value ABSOLUTE_URL_OVERRIDES {} ADMINS () ADMIN_FOR () ADMIN_MEDIA_PREFIX u'/site_media/admin/media/' ALLOWED_INCLUDE_ROOTS () APPEND_SLASH True AUTHENTICATION_BACKENDS ('django.contrib.auth.backends.ModelBackend',) BANNED_IPS () CACHE_BACKEND u'simple://' CACHE_MIDDLEWARE_KEY_PREFIX u'' CACHE_MIDDLEWARE_SECONDS 600 COMMENTS_ALLOW_PROFANITIES False COMMENTS_BANNED_USERS_GROUP None COMMENTS_FIRST_FEW 0 COMMENTS_MODERATORS_GROUP None COMMENTS_SKETCHY_USERS_GROUP None DATABASE_ENGINE u'mysql' DATABASE_HOST u'' DATABASE_NAME u'mbg_journal' DATABASE_OPTIONS {} DATABASE_PASSWORD u'********************' DATABASE_PORT u'' DATABASE_USER u'mbg_mbg' DATETIME_FORMAT u'N j, Y, P' DATE_FORMAT u'N j, Y' DEBUG True DEFAULT_CHARSET u'utf-8' DEFAULT_CONTENT_TYPE u'text/html' DEFAULT_FROM_EMAIL u'webmaster@localhost' DEV_SERVER True DISALLOWED_USER_AGENTS () EMAIL_HOST u'localhost' EMAIL_HOST_PASSWORD u'********************' EMAIL_HOST_USER u'' EMAIL_PORT 25 EMAIL_SUBJECT_PREFIX u'Django ' EMAIL_USE_TLS False FILE_CHARSET u'utf-8' FIXTURE_DIRS () IGNORABLE_404_ENDS ('mail.pl', 'mailform.pl', 'mail.cgi', 'mailform.cgi', 'favicon.ico', '.php') IGNORABLE_404_STARTS ('/cgi-bin/', '/_vti_bin', '/_vti_inf') INSTALLED_APPS ['django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.admin', 'django.contrib.comments', 'django.contrib.flatpages', 'journal.food', 'journal.stats', 'journal.goals', 'journal.writing', 'journal.workout', 'journal.travel', 'journal.gazette', 'journal.portal', 'journal.recipes', 'sphene.community', 'sphene.sphboard', 'sphene.sphwiki', 'journal.workouts', 'journal.videolibrary', 'journal.fitnesstest'] INTERNAL_IPS () JING_PATH u'/usr/bin/jing' LANGUAGES (('ar', 'Arabic'), ('bn', 'Bengali'), ('bg', 'Bulgarian'), ('ca', 'Catalan'), ('cs', 'Czech'), ('cy', 'Welsh'), ('da', 'Danish'), ('de', 'German'), ('el', 'Greek'), ('en', 'English'), ('es', 'Spanish'), ('es_AR', 'Argentinean Spanish'), ('fa', 'Persian'), ('fi', 'Finnish'), ('fr', 'French'), ('ga', 'Gaeilge'), ('gl', 'Galician'), ('hu', 'Hungarian'), ('he', 'Hebrew'), ('hr', 'Croatian'), ('is', 'Icelandic'), ('it', 'Italian'), ('ja', 'Japanese'), ('ko', 'Korean'), ('km', 'Khmer'), ('kn', 'Kannada'), ('lv', 'Latvian'), ('mk', 'Macedonian'), ('nl', 'Dutch'), ('no', 'Norwegian'), ('pl', 'Polish'), ('pt', 'Portugese'), ('pt-br', 'Brazilian'), ('ro', 'Romanian'), ('ru', 'Russian'), ('sk', 'Slovak'), ('sl', 'Slovenian'), ('sr', 'Serbian'), ('sv', 'Swedish'), ('ta', 'Tamil'), ('te', 'Telugu'), ('tr', 'Turkish'), ('uk', 'Ukrainian'), ('zh-cn', 'Simplified Chinese'), ('zh-tw', 'Traditional Chinese')) LANGUAGES_BIDI ('he', 'ar', 'fa') LANGUAGE_CODE u'en-us' LIB_PATH u'/root/journal/communitytools/sphenecoll' LOGIN_REDIRECT_URL u'/accounts/profile/' LOGIN_URL u'/accounts/login/' LOGOUT_URL u'/accounts/logout/' MANAGERS () MEDIA_ROOT u'/home/mbg/journal/journaltemplates/media/uploads/' MEDIA_URL u'/site_media/uploads/' MIDDLEWARE_CLASSES ('sphene.community.middleware.ThreadLocals', 'sphene.community.middleware.GroupMiddleware', 'django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.middleware.doc.XViewMiddleware', 'django.contrib.flatpages.middleware.FlatpageFallbackMiddleware') MONTH_DAY_FORMAT u'F j' PREPEND_WWW False PROFANITIES_LIST u'********************' ROOT_PATH u'/root/journal' ROOT_URLCONF u'journal.urls' SECRET_KEY u'********************' SEND_BROKEN_LINK_EMAILS False SERVER_EMAIL u'root@localhost' SESSION_COOKIE_AGE 1209600 SESSION_COOKIE_DOMAIN None SESSION_COOKIE_NAME u'sessionid' SESSION_COOKIE_SECURE False SESSION_ENGINE u'django.contrib.sessions.backends.db' SESSION_EXPIRE_AT_BROWSER_CLOSE False SESSION_FILE_PATH u'/tmp/' SESSION_SAVE_EVERY_REQUEST False SETTINGS_MODULE u'journal.settings' SITE_ID 1 TEMPLATE_CONTEXT_PROCESSORS ('django.core.context_processors.auth', 'django.core.context_processors.request', 'sphene.community.context_processors.navigation') TEMPLATE_DEBUG True TEMPLATE_DIRS ('/root/journal/journaltemplates', '/root/journal/communitytools/sphenecoll/templates') TEMPLATE_LOADERS ('django.template.loaders.filesystem.load_template_source', 'django.template.loaders.app_directories.load_template_source') TEMPLATE_STRING_IF_INVALID u'' TEST_DATABASE_CHARSET None TEST_DATABASE_COLLATION None TEST_DATABASE_NAME None TEST_RUNNER u'django.test.simple.run_tests' TIME_FORMAT u'P' TIME_ZONE u'America/Chicago' TRANSACTIONS_MANAGED False URL_VALIDATOR_USER_AGENT u'Django/0.97-pre-SVN-6525 (http://www.djangoproject.com)' USE_ETAGS False USE_I18N True YEAR_MONTH_FORMAT u'F Y' You're seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard 500 page. I've been so impressed by the speed of your responses. This has been the best online support I've ever received! (including commercial products!) :-) I'll owe you a six-pack when this is done...! |