Re: hi mates trouble with ajax 500 error server

2021-03-28 Thread frank galan
Thanks a lot, you're right. I solved it. Thanks El dom, 28 mar 2021 a las 0:57, Kasper Laudrup () escribió: > On 27/03/2021 21.41, frank galan wrote: > > thanks, here is the server error response > > > > NameError: name 'JsonResponse' is not defined > > > > That error message should be fairly ob

Re: hi mates trouble with ajax 500 error server

2021-03-27 Thread Kasper Laudrup
On 27/03/2021 21.41, frank galan wrote: > thanks, here is the server error response > > NameError: name 'JsonResponse' is not defined > That error message should be fairly obvious. You haven't defined anything called JsonResponse. You most likely just need to import the correct module. I don't

Re: hi mates trouble with ajax 500 error server

2021-03-27 Thread frank galan
thanks, here is the server error response Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/django/core/handlers/exception.py", line 47, in inner response = get_response(request) File "/Library/Frameworks/Python.framew

Re: hi mates trouble with ajax 500 error server

2021-03-27 Thread Kasper Laudrup
On 27/03/2021 15.13, frank galan wrote: > Im receiving a 500 server error,  when I trying  to obtain data wiith > ajax from my model.  You should look at the server logs or the output from the console. That should hopefully provide some details on the reason behind the "Internal Server Error". Ki

hi mates trouble with ajax 500 error server

2021-03-27 Thread frank galan
Im receiving a 500 server error, when I trying to obtain data wiith ajax from my model. My details are as follows: *Model:* class Item(models.Model): """Items Product model""" operation = models.ForeignKey(Operation, on_delete=models.CASCADE) brand = models.ForeignKey(Brand, on_del

Re: Setting DEBUG = False causes 500 Error

2020-04-12 Thread Eki
I ran into exatly the same issue just now (10 years after your post). When I use compress in production with DEBUG=False, I get a 500 error. I wish I had read your post 5 hours ago... Everything works fine now. -- Eki On Monday, 25 January 2010 23:05:57 UTC+2, Damon Jablons wrote: > >

Re: Smiley in url triggers 500 error

2019-02-22 Thread Rob
Ok solution was simple. I had to add this in settings.py in the database section: ’OPTIONS’: {’charset’: ’utf8mb4’}, -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email

Smiley in url triggers 500 error

2019-02-21 Thread Rob
Somebody linked our site with a smiley in the url. The url looks like this: myurl/nummer-333😊🤓/ This results in a 500 error. Because this page does not exist I expected a 404 error. The 500 error shows: (1267, "Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8_gener

Re: Getting 500 error on ASO

2015-12-13 Thread Jack Maxwell
viron['DJANGO_SETTINGS_MODULE'] = 'MyDjangoProject.settings' > > from django.core.servers.fastcgi import runfastcgi > runfastcgi(method="threaded", daemonize="false") > When I go to my home page, I get a 500 error. The log from cPanel only displays: MY_IP - -

Re: Django is not sending 500 error emails, AdminEmailHandler is not even triggering... what's going on?

2015-03-25 Thread Robert Rollins
I'm also reasonably certain that this isn't limited to just AdminEmailHandler. It seems like *nothing* I set up as a logging handler for 500 errors gets triggered. On Wednesday, March 25, 2015 at 12:47:59 PM UTC-7, Robert Rollins wrote: > > I'm at my whit's end trying to debug this problem with

Django is not sending 500 error emails, AdminEmailHandler is not even triggering... what's going on?

2015-03-25 Thread Robert Rollins
I'm at my whit's end trying to debug this problem with one of my Django sites. I've done absolutely everything I can think of, and that google direct me to, to make it send 500 emails, but to no avail. For some reason I cannot fathom, even with every logging setting I know set to the Django 1.6

Re: Getting 500 error on ASO

2015-03-11 Thread Collin Anderson
Hi Michael, Are you checking your Apache log? Also, be sure to set up ADMINS so you can get emails for any django errors. I believe runfastcgi is gone from django now, along with all of django.core.servers.fastcgi. At work we used to host on ASO too. We now use Linode. Digital Ocean is good t

Getting 500 error on ASO

2015-03-09 Thread mfox_chi
Hi Everyone, I've been working on learning Django the past few months and have been following the django tutorials here: https://docs.djangoproject.com/en/1.7/. I've followed the tutorial on my local machine in addition to on my A Small Orange account. A Small Orange has this tutorial: https

Re: Django admin can't display user detail view: 500 error

2014-08-30 Thread amarshall
e users information. However in development once I click on a user > I get a "server 500" error. I have the same code for both deployment and > development. I can't think of what the problem could be ? > -- You received this message because you are subscribed to the Google

Re: Django admin can't display user detail view: 500 error

2014-08-29 Thread amarshall
st 28, 2014 8:22:00 PM UTC-4, amarshall wrote: > > I've deployed my django application using Nginx and uWSGI. > > In development I can login to my django admin-> users-> [username] and it > shows the users information. However in development once I click on a user >

Re: Django admin can't display user detail view: 500 error

2014-08-29 Thread amarshall
I didn't have my uwsgi setup to log. So I did with this command : uwsgi --socket :8001 --wsgi-file wsgi.py --master --processes 5 --threads 2 --daemonize /var/log/uwsgi/lokalapp.log So I went to the site to reach the 500 error to see if anything updates and nothing is updated in the log

Re: Django admin can't display user detail view: 500 error

2014-08-29 Thread amarshall
I'm pretty sure my ALLOWED_HOST is setup right to allow all url locations after the main domain. I have not setup the EMAIL to send me notifications upon 500 server error. Will do now. About to check my uwsgi log and post it as well -- You received this message because you are subscribed to t

Re: Django admin can't display user detail view: 500 error

2014-08-29 Thread Collin Anderson
is your ALLOWED_HOSTS set correctly? it's also possible to set up ADMINS and email settings so you get an email with details about the server 500 error. Does your uWSGI log show any more info? -- You received this message because you are subscribed to the Google Groups "Django us

Re: Django admin can't display user detail view: 500 error

2014-08-28 Thread Babatunde Akinyanmi
formation. However in development once I click on a user > I get a "server 500" error. I have the same code for both deployment and > development. I can't think of what the problem could be ? > > -- > You received this message because you are subscribed to the Google

Django admin can't display user detail view: 500 error

2014-08-28 Thread amarshall
I've deployed my django application using Nginx and uWSGI. In development I can login to my django admin-> users-> [username] and it shows the users information. However in development once I click on a user I get a "server 500" error. I have the same code for both deploy

Re: 1.5.4 /static/ serving 500 error

2013-10-30 Thread Thomas Murphy
prove it. > > >> >> DEBUG = True >> >> *** >> >> STATIC_ROOT = os.path.join(MYPROJECT_PATH, 'static') > > > This is where collectstatic puts all the files you cleverly organise into > your various STATICFILES_DIRS directories. > > >> >>

Re: 1.5.4 /static/ serving 500 error

2013-10-24 Thread Mike Dewhirst
tatic/' STATICFILES_DIRS = (STATIC_ROOT,) Instead of this, you need a myproject/myapp_1/static for pictures etc STATICFILES_DIRS = (os.path.join(PROJECT_DIR, 'myapp_1', 'static'),) Good luck Mike in Django 1.5.4 I am receiving a 500 error in terminal and the "A server err

1.5.4 /static/ serving 500 error

2013-10-24 Thread Thomas Murphy
IC_ROOT,) in Django 1.5.4 I am receiving a 500 error in terminal and the "A server error occurred. Please contact the administrator." text on the page. I've sorted through the relevant Django docs, SO answers, and list archives, but I don't seem to find an identical circumsta

Re: Get 500 error with Ajax on firebug

2011-12-21 Thread Mike Duke Hall
Tsung, what was the problem in your views.py? I am working on this same problem. Here is my views.py - @login_required def bookmark_save_page(request): ajax = 'ajax' in request.GET if request.method == '

Re: Get 500 error with Ajax on firebug

2011-11-20 Thread Tsung-Hsien
it").click(bookmark_edit); >                 } >                 else { >                         alert("Failed to validate bookmark before > saving."); >                 } >         }); >         return false; > > } > > First, I encountered 403 error an

Get 500 error with Ajax on firebug

2011-11-20 Thread Tsung-Hsien
return false; } First, I encountered 403 error and added javascript code of official document to solve the problem. After 403 error, the 500 error shows on firebug as "NetworkError: 500 INTERNAL SERVER ERROR - http://127.0.0.1:8000/save/?ajax";. The data can be updated, but th

Should CSRF Middleware return 403 or 500 error from AJAX call?

2010-11-15 Thread Brett Thomas
Hi there, Ran into some unexpected CSRF behavior - not sure if it's desired or a bug. An AJAX request that includes the "X-Requested-With: XMLHttpRequest" header but does not include csrf token will bypass CSRF middleware. If you hit server error (mine was a TypeError), response has error code 500

Re: How to get request.user when Django emails a 500 error report?

2010-11-05 Thread Margie Roginski
Thank you Sid! Early on there were no responses to my question, and I hadn't looked recently. So just now I got back to this issue and googled "django error email user" and what a suprise to find my own question (with your response) came back near the top of my search! Your response was so excell

Re: Adding username to the 500 error emails

2010-10-25 Thread Sid
See http://gist.github.com/646372 , which also uses process_exception handler. -Sid http://sidmitra.com -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from th

Re: How to get request.user when Django emails a 500 error report?

2010-10-25 Thread Sid
I wrote a middleware that adds a process_exception handler. It adds the user info to the request.META so they show up in emails. See http://gist.github.com/646372 You can modify that to add any info to the emails. Sid http://sidmitra.com On Oct 16, 3:20 am, Margie Roginski wrote: > I finally

How to get request.user when Django emails a 500 error report?

2010-10-15 Thread Margie Roginski
I finally turned off DEBUG on my site and got set up so that the django code would email me the exceptions. This is ultra-cool! So I got m first one in the mail today, and was hard-pressed to figure out the user that ran into the error. I don't find request.user anywhere in the report. Do I nee

Overriding mod_python's default 500 error when "wonky" Django config problems strike

2010-10-06 Thread palewire
When Django is up, it handles 500 errors. When Django is screwed, mod_python will throw a bare bones "Internal Server Error." This is described well in the docs at the following link: http://docs.djangoproject.com/en/dev/howto/deployment/modpython/#error-handling My question: Is there a way to ov

RE: Adding username to the 500 error emails

2010-09-17 Thread Henrik Genssen
age: >date: 17.09.2010 09:30:00 >from: "Chase" >to: "Django users" >subject: Adding username to the 500 error emails > >I'm looking to add request.user.username to the content of the 500 >error email that gets sent to settings.ADMIN

Adding username to the 500 error emails

2010-09-17 Thread Chase
I'm looking to add request.user.username to the content of the 500 error email that gets sent to settings.ADMINS. Of course, this assumes that you're using the AuthenticationMiddleware. I've tried the following: - Adding username to request.COOKIES via response.set_cookie(). Thi

Re: How to debug a 500 error - view not called, request not accessible

2010-03-16 Thread ge...@aquarianhouse.com
EMPLATE_DEBUG = DEBUG > > I'll read up on setting up a 500 error page to see if that helps. > > On Mar 16, 11:32 am, "ge...@aquarianhouse.com" > > wrote: > > We need more infos. > > > Is it on the test server or on the prodution server? > > >

Re: How to debug a 500 error - view not called, request not accessible

2010-03-16 Thread ge...@aquarianhouse.com
> I'm using the development server and seeing a POST request that > results in a 500 error: > > [16/Mar/2010 10:10:51] "POST /mysite HTTP/1.1" 500 56458 > > I'm not getting any errors logged or tracebacks. The request isn't > reaching my view even though

Re: How to debug a 500 error - view not called, request not accessible

2010-03-16 Thread Stodge
Thanks. This is a development server: ./manage.py runserver 0.0.0.0:8080 Debug is on: DEBUG = True TEMPLATE_DEBUG = DEBUG I'll read up on setting up a 500 error page to see if that helps. On Mar 16, 11:32 am, "ge...@aquarianhouse.com" wrote: > We need more infos. >

How to debug a 500 error - view not called, request not accessible

2010-03-16 Thread Stodge
I'm using the development server and seeing a POST request that results in a 500 error: [16/Mar/2010 10:10:51] "POST /mysite HTTP/1.1" 500 56458 I'm not getting any errors logged or tracebacks. The request isn't reaching my view even though my urls.py is correct

Re: Setting DEBUG = False causes 500 Error

2010-01-26 Thread Karen Tracey
2010/1/26 Damon Jablons > Thank you for the concern. > > I included a link to dpaste in my original response, but I think > google groups cut it out: > "Here's my settings.py and local_settings.py on dpa(s)te.com: > http://dpaste.com/150368/ " > > To debug a problem that only appears with DEBUG=F

Re: Setting DEBUG = False causes 500 Error

2010-01-25 Thread Damon Jablons
onday 25 January 2010 22:37:45 Damon Jablons wrote:> I work on my django > site locally, and pull from the repository > > remotely. On my local machine, I have DEBUG = True, and on my remote > > machine I have DEBUG = False. Whenever I set the server's DEBUG to > >

Re: HTTP 500 error in apache but not in test server

2010-01-24 Thread Graham Dumpleton
t; > > > Ive already posted a lot of information > > > herehttp://serverfault.com/questions/103480/http-500-error-from-post-reuq... > > > all the logs etc. so i figure i wont post it all again. But its come > > > down to ive got a view that takes a POST reque

Re: HTTP 500 error in apache but not in test server

2010-01-24 Thread Mark Underwood
the end it turns out made some silly mistakes. Cheers Mark On Jan 25, 10:43 am, Graham Dumpleton wrote: > On Jan 25, 12:54 pm, Mark Underwood wrote: > > > > > > > Hi all, > > > Ive already posted a lot of information > > herehttp://serverfault.com/qu

Re: HTTP 500 error in apache but not in test server

2010-01-24 Thread Graham Dumpleton
On Jan 25, 12:54 pm, Mark Underwood wrote: > Hi all, > > Ive already posted a lot of information > herehttp://serverfault.com/questions/103480/http-500-error-from-post-reuq... > all the logs etc. so i figure i wont post it all again. But its come > down to ive got a view

HTTP 500 error in apache but not in test server

2010-01-24 Thread Mark Underwood
Hi all, Ive already posted a lot of information here http://serverfault.com/questions/103480/http-500-error-from-post-reuqest-to-django-vai-wsgi-and-apache all the logs etc. so i figure i wont post it all again. But its come down to ive got a view that takes a POST request, with a username and

Re: request.POST['value'] cannot get value, 500 error

2009-11-11 Thread Sandman
I've been able to extract values from POST and GET objects by doing request.POST.get('value') Did you try this? Sandman. On Nov 11, 9:07 pm, robinne wrote: > Thanks. I tried a lot of different options but nothing was working. > Finally got it working with this: > > req = request.POST['value']#t

Re: request.POST['value'] cannot get value, 500 error

2009-11-11 Thread robinne
Thanks. I tried a lot of different options but nothing was working. Finally got it working with this: req = request.POST['value']#this is how InputEx sends it, with root = value. parsedRequest = simplejson.loads(req) print parsedRequest["Username"] Basically, I got the array of 'value', then turn

Re: request.POST['value'] cannot get value, 500 error

2009-11-10 Thread Tamas Szabo
Does request.POST['value'][0]['LastName'] work? It looks like your post data has an array (keyed as 'value') of dicts. You might also consider using Firebug (or something similar) to inspect the http requests and responses when you are developing. Regards, Tamas On Wed, Nov 11, 2009 at 2:

request.POST['value'] cannot get value, 500 error

2009-11-10 Thread robinne
I am posting data from a form to a django view. The form is created using inputEx (a YUI-like interface). The form gets created much like you create a YUI form and you include names for all your fields in javascript. It is javascript that creates the form on the page. I am able to load database d

Re: Apache's 500 error overriding Django 500 view

2009-11-07 Thread Bayuadji
Fri, Nov 6, 2009 at 9:34 PM, Brandon Taylor > wrote: >> >> Hi everyone, >> >> I'm doing my development on Ubuntu 9.1, Python 2.6.4, Apache2/mod_wsgi >> and Django 1.1.1. When setting DEBUG = False, and creating a view that >> I know will raise an exc

Re: 500 error when DEBUG = False but not True

2009-08-28 Thread Tracy Reed
On Fri, Aug 28, 2009 at 08:51:46AM -0400, Karen Tracey spake thusly: > Yes, unless you are running an SMTP server on the same machine you need to > set EMAIL_HOST to point to one, and set whatever other EMAIL_ settings are > required to use the server you point to: Finally, I have some debugging o

Re: 500 error when DEBUG = False but not True

2009-08-28 Thread Karen Tracey
On Fri, Aug 28, 2009 at 7:01 AM, Tracy Reed wrote: > Do I > have to give django an smtp server address or anything else to enable > it to report errors and tracebacks somewhere? > Yes, unless you are running an SMTP server on the same machine you need to set EMAIL_HOST to point to one, and set w

Re: 500 error when DEBUG = False but not True

2009-08-28 Thread Tracy Reed
On Fri, Aug 28, 2009 at 11:21:07AM +0200, Daniel Hepper spake thusly: > The stacktrace shows that the 500.html template is missing [1], so go > ahead and create one. You should also make sure that you have > configured the admin email address and settings for sending mail > correctly, so Django can

Re: 500 error when DEBUG = False but not True

2009-08-28 Thread Daniel Hepper
://docs.djangoproject.com/en/1.0/topics/http/views/#the-500-server-error-view On Fri, Aug 28, 2009 at 10:07 AM, Tracy Reed wrote: > I appear to have a bit of a heisenbug. When I have debug = True > everything works perfectly. When I have debug = False I get a 500 > error when accessing two

Re: 500 error when DEBUG = False but not True

2009-08-28 Thread Jarek Zgoda
Wiadomość napisana w dniu 2009-08-28, o godz. 10:07, przez Tracy Reed: > I appear to have a bit of a heisenbug. When I have debug = True > everything works perfectly. When I have debug = False I get a 500 > error when accessing two views in particular. I'm not sure what makes

500 error when DEBUG = False but not True

2009-08-28 Thread Tracy Reed
I appear to have a bit of a heisenbug. When I have debug = True everything works perfectly. When I have debug = False I get a 500 error when accessing two views in particular. I'm not sure what makes those views special or why the app would behave differently depending on whether debug is Tr

Re: How to log the cause of a 500 error

2008-11-05 Thread Eric Abrahamsen
On Nov 6, 2008, at 6:11 AM, Delta20 wrote: > > I just realized that I accidentally named the template 400.html not > 404.html... d'oh. I definitely need a better way of diagnosing 500 > errors. > > Thanks to the pointer to the email settings. I will set that up, but > I'm wondering if there's a

Re: How to log the cause of a 500 error

2008-11-05 Thread Delta20
I just realized that I accidentally named the template 400.html not 404.html... d'oh. I definitely need a better way of diagnosing 500 errors. Thanks to the pointer to the email settings. I will set that up, but I'm wondering if there's a way to direct django to log those errors rather than email

Re: How to log the cause of a 500 error

2008-11-05 Thread Daniel Hepper
> The problem I'm having right now is that I'm getting a 500 error > instead of 404s when Debug=False. I get 404s as expected when > Debug=True. I can't for the life of me figure out what is breaking, > since I don't have any error data to go off. Django sends y

How to log the cause of a 500 error

2008-11-05 Thread Delta20
Is there a way to have django log 500 errors to a file, and otherwise log stderr/stdout to a file somewhere? The problem I'm having right now is that I'm getting a 500 error instead of 404s when Debug=False. I get 404s as expected when Debug=True. I can't for the life of me fig

Re: mod_wsgi and 500 error

2008-10-02 Thread Graham Dumpleton
On Oct 2, 3:41 pm, "Patrick J. Anderson" <[EMAIL PROTECTED]> wrote: > I'm running mod_wsgi, and I'm wondering if anybody else who uses mod_wsgi   > has experienced problems with Django directing requests to 500.html   > template when the server returns 500 status code. > > Is there any configura

mod_wsgi and 500 error

2008-10-01 Thread Patrick J. Anderson
I'm running mod_wsgi, and I'm wondering if anybody else who uses mod_wsgi has experienced problems with Django directing requests to 500.html template when the server returns 500 status code. Is there any configuration that needs to be set? When running mod_python, this was wroking fine.

Re: 500 error - can't tie down the exception

2008-09-17 Thread Donn
I have found that using Firebug (in Firefox) is a real boon. You can open the response header and see the Django error page (open it in a new tab). \d --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users"

500 error - can't tie down the exception

2008-09-16 Thread Flo
. The result of this is a 500 error, output attached as well. If I remove the comment before the third logging statement, the exception occurs there already - also caught in the second block - that leads me to believe that something with the passed-in myid is up. Any ideas? Thanks! def vot

Re: Admin 500 Error

2008-09-09 Thread Bret W
On Sep 8, 9:43 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > I am aware of one problem reported with the admin home page and debug set to > False.  It is: > > http://code.djangoproject.com/ticket/8110 That was it. Thanks! --~--~-~--~~~---~--~~ You received thi

Re: Admin 500 Error

2008-09-08 Thread Karen Tracey
On Mon, Sep 8, 2008 at 9:31 PM, Bret W <[EMAIL PROTECTED]> wrote: > > When DEBUG = True, the admin loads just fine. > > My problem is that I can't get the admin to fail when debugging is > turned on, so I can never see the helpful Django debugging page. > > Further, I don't believe any objects are

Re: Admin 500 Error

2008-09-08 Thread Bret W
Sorry to post yet again. Two things I forgot to mention -- this error only happens on the admin home page and all of my INSTALLED_APPS should be valid and seem to be functioning correctly. --~--~-~--~~~---~--~~ You received this message because you are subscribed t

Re: Admin 500 Error

2008-09-08 Thread Bret W
On Sep 8, 8:57 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > Because that's when Django is not going to use the debugging page, but > rather display your 500 template. When DEBUG=True, you will see the nice > debugging page, but that's for development purposes, not for general > production u

Re: Admin 500 Error

2008-09-08 Thread Malcolm Tredinnick
On Mon, 2008-09-08 at 16:59 -0700, Bret W wrote: > I can only get this error to show up if DEBUG is set to False, Because that's when Django is not going to use the debugging page, but rather display your 500 template. When DEBUG=True, you will see the nice debugging page, but that's for develo

Admin 500 Error

2008-09-08 Thread Bret W
I can only get this error to show up if DEBUG is set to False, but it happens consistently when debugging is off. MOD_PYTHON ERROR ProcessId: 10229 Interpreter:'webfaction.com' ServerName: 'webfaction.com' DocumentRoot: '/home/user/webapps/mysite/django_static' URI:'

Fwd: 500 error if django run in scgi mode(fcgi is ok)

2008-08-31 Thread Puzzle Stone
-- Forwarded message -- From: Puzzle Stone <[EMAIL PROTECTED]> Date: Thu, Aug 28, 2008 at 4:23 PM Subject: 500 error if django run in scgi mode(fcgi is ok) To: [EMAIL PROTECTED] Fcgi and scgi work well in my machine when i use django0.96.2, but scgi failed when I try to m

Re: admin login returns 500 error

2008-03-26 Thread Graham Dumpleton
On Mar 27, 2:10 am, Floyd Arguello <[EMAIL PROTECTED]> wrote: > Ok, I'll help you help me :) > > Running latest svn on Apache 2.2 with mod_python Which version of mod_python? > - error log doesn't > show a thing. The 500 error really isn't too helpful... jus

Re: admin login returns 500 error

2008-03-26 Thread Malcolm Tredinnick
On Wed, 2008-03-26 at 08:10 -0700, Floyd Arguello wrote: > Ok, I'll help you help me :) > > Running latest svn on Apache 2.2 with mod_python - error log doesn't > show a thing. The 500 error really isn't too helpful... just tells me > it's something wit

Re: admin login returns 500 error

2008-03-26 Thread jmDesktop
Does everything work with runserver? On Mar 26, 11:10 am, Floyd Arguello <[EMAIL PROTECTED]> wrote: > Ok, I'll help you help me :) > > Running latest svn on Apache 2.2 with mod_python - error log doesn't > show a thing. The 500 error really isn't too helpful.

Re: admin login returns 500 error

2008-03-26 Thread Floyd Arguello
Ok, I'll help you help me :) Running latest svn on Apache 2.2 with mod_python - error log doesn't show a thing. The 500 error really isn't too helpful... just tells me it's something with the server. Using latest stable Postgres and Python 2.4.3. RHEL5 64bit. Using lighttp

Re: admin login returns 500 error

2008-03-25 Thread Graham Dumpleton
On Mar 26, 3:43 pm, Floyd Arguello <[EMAIL PROTECTED]> wrote: > Hi all, > > I've been working on this a few hours now, and I feel like someone has > dropped a BFR on my head. Logging into the Django Admin returns a very > informative 500 error. Anyone run into this befor

admin login returns 500 error

2008-03-25 Thread Floyd Arguello
Hi all, I've been working on this a few hours now, and I feel like someone has dropped a BFR on my head. Logging into the Django Admin returns a very informative 500 error. Anyone run into this before? Any ideas? Thanks, Floyd --~--~-~--~~~---~--~

Re: admin-interface - 500 error - missing MEDIA_URL

2007-11-11 Thread Malcolm Tredinnick
st be able to run all this complex customisation stuff". Fortunately, with Django being a fully nicely extensible framework, you can happily change this if you really want to. Simply override the handler class to do something different when it receives a 500 error. Malcolm -- A conclusion

Re: admin-interface - 500 error - missing MEDIA_URL

2007-11-11 Thread sime
Now I expect this again is going to be defended religiously; but the fact that 500's don't run context processors, to me, serves as a nice little reminder that {% media_url %} or similar needs to be a core template tag. Where is the sense in bothering with a custom 500 if you can't conveniently us

Re: admin-interface - 500 error - missing MEDIA_URL

2007-11-09 Thread Marty Alchin
On Nov 9, 2007 2:40 PM, James Bennett <[EMAIL PROTECTED]> wrote: > If you want to specify a different handler for 500s, that's up to you, > but be prepared for the inevitable complete breaking of your site when > something running inside it raises another exception. I think I'll settle for hardco

Re: admin-interface - 500 error - missing MEDIA_URL

2007-11-09 Thread James Bennett
On Nov 9, 2007 1:29 PM, Brot <[EMAIL PROTECTED]> wrote: > does this mean, that there is no solution for this problem or is there > a smart workaround? This means there is absolutely nothing in Django which will, in the server error view, attempt to run your context processors. There is not a swit

Re: admin-interface - 500 error - missing MEDIA_URL

2007-11-09 Thread Brot
t <[EMAIL PROTECTED]> wrote: > > > I have defined a 500.html template in my root template directory. > > This template "extends" from my base.html template. In the base > > template I have something like: > > > > > But if there is an

Re: admin-interface - 500 error - missing MEDIA_URL

2007-11-09 Thread James Bennett
On Nov 9, 2007 12:49 PM, Marty Alchin <[EMAIL PROTECTED]> wrote: > I seem to remember something a while back about 500 not processing too > much, to reduce the possibility of getting into a recursive loop of > exceptions. I can't seem to find that now, but that could be what > we're running into.

Re: admin-interface - 500 error - missing MEDIA_URL

2007-11-09 Thread Marty Alchin
On Nov 9, 2007 12:34 PM, Brot <[EMAIL PROTECTED]> wrote: > I have defined a 500.html template in my root template directory. > This template "extends" from my base.html template. In the base > template I have something like: > > > But if there is an 500 erro

admin-interface - 500 error - missing MEDIA_URL

2007-11-09 Thread Brot
Hello, I have defined a 500.html template in my root template directory. This template "extends" from my base.html template. In the base template I have something like: But if there is an 500 error in the admin interface, it seems that MEDIA_UR

Re: 500 error

2007-11-05 Thread rskm1
> It's really impossible to speculate given the information provided. Not really-- I mean, the *original* post was pointless, but the followup does give people who want to help something to go on. My guess is that the template is including the CSS as a *RELATIVE* URL (as opposed to an *ABSOLUTE*

Re: 500 error

2007-11-04 Thread Karen Tracey
On 11/4/07, Goutham DL <[EMAIL PROTECTED]> wrote: > > Its working now.There was a slight error in my url conf. > I had put r'^students/(?P\w+)/$' when i should have put r'^(? > P\w+)/'. It was the /students/ part of the URL that was giving > the problem with CSS. Its now working properly. > Can som

Re: 500 error

2007-11-04 Thread Goutham DL
Its working now.There was a slight error in my url conf. I had put r'^students/(?P\w+)/$' when i should have put r'^(? P\w+)/'. It was the /students/ part of the URL that was giving the problem with CSS. Its now working properly. Can someone tell as to why the error occured?My knowledge of URLcon

Re: 500 error

2007-11-04 Thread Karen Tracey
On 11/4/07, Goutham DL <[EMAIL PROTECTED]> wrote: > > Anyone? Sheesh, give people a chance. In the hour you let the original query sit, there was virtually no traffic on this list; it's quite likely that no one with any ideas on how to help even read the question before you posted the follow-up.

Re: 500 error

2007-11-04 Thread Goutham DL
Anyone? On Nov 4, 6:14 pm, Goutham DL <[EMAIL PROTECTED]> wrote: > The CSS for one of my pages is not loading. Its working properly for > all the other pages. > The page is displaying properly but without the CSS. > When i looked at the server, it showed a http response of 500.Iam > using django

500 error

2007-11-04 Thread Goutham DL
The CSS for one of my pages is not loading. Its working properly for all the other pages. The page is displaying properly but without the CSS. When i looked at the server, it showed a http response of 500.Iam using django 0.96 on windows. The server is django's development server. Can someone help

Re: 500 error email to admins - user information is missing...

2007-09-01 Thread James Bennett
On 8/31/07, Udi <[EMAIL PROTECTED]> wrote: > I see the request object has > 'REMOTE_USER': self._req.user, > in meta, but I'm getting None there despite the fact that only > authenticated users are using my site. Am I looking in the wrong > place? Is there any way to get this info into the

500 error email to admins - user information is missing...

2007-08-31 Thread Udi
If a user was authenticated at the time of the error, it would be great to know who it was so we can let them know when the problem is fixed. I see the request object has 'REMOTE_USER': self._req.user, in meta, but I'm getting None there despite the fact that only authenticated users are us

Re: Django admin saving image file - 500 error

2007-06-26 Thread john-f
Thanks again guys - you guys are awesome! On Jun 26, 1:49 pm, Christian Markwart Hoeppner <[EMAIL PROTECTED]> wrote: > > Apparently the mysite.fcgi file was not being automatically created > > when I used the fcgi startup script to start the site. So I went into > > the directory and did a `touch

Re: Django admin saving image file - 500 error

2007-06-26 Thread Christian Markwart Hoeppner
> Apparently the mysite.fcgi file was not being automatically created > when I used the fcgi startup script to start the site. So I went into > the directory and did a `touch mysite.fcgi` then a good old chown > lighttd:lightd mysite.fcgi and it a magical thing happened - it > started working.

Re: Django admin saving image file - 500 error

2007-06-26 Thread akonsu
hello, i remember i got this error when i tried to save a file because my database's auto field sequences were not set up correctly. i am using postgresql and i use fixtures to populate the database. so there were a bug in fixtures that did not set sequences in postgresql correctly (i think it mi

Re: Django admin saving image file - 500 error

2007-06-26 Thread john-f
Hey Just and update: Apparently the mysite.fcgi file was not being automatically created when I used the fcgi startup script to start the site. So I went into the directory and did a `touch mysite.fcgi` then a good old chown lighttd:lightd mysite.fcgi and it a magical thing happened - it starte

Re: Django admin saving image file - 500 error

2007-06-26 Thread john-f
HI Thanks for the reply - I really appreciate it. The problem however still occurs: Here's whats happening: 1. user "apache" is added to group "lighttpd" 2. when I chmod 777 it seems to work 3. when I change the file permissions back and save using the django admin the 500 errror occurs. but i t

Re: Django admin saving image file - 500 error

2007-06-26 Thread Christian Markwart Hoeppner
El mar, 26-06-2007 a las 08:14 -0700, john-f escribió: > Hi all, > > I'm getting 500 errors when trying to upload a image file with the > django admin. > I think this has to do with user/group permissions on the media > directory (currently they are owned by lighttpd:lighttd) > Does anyone know w

Django admin saving image file - 500 error

2007-06-26 Thread john-f
Hi all, I'm getting 500 errors when trying to upload a image file with the django admin. I think this has to do with user/group permissions on the media directory (currently they are owned by lighttpd:lighttd) Does anyone know what 'user' is being run to actually do the saves? I think it's the ap

Re: Only getting 500 error, not 404

2007-03-04 Thread Jon Colverson
Mark Engelberg wrote: > I'm still curious about the email settings. Here's what I have, with > real info deleted to avoid spamming: I was having some trouble with my e-mail settings so I ran the Django shell and called the mail function manually which gave a useful traceback: python manage.py

  1   2   >