ankitgoel23 / pleft

Automatically exported from code.google.com/p/pleft
GNU General Public License v3.0
0 stars 0 forks source link

Error in /data: ValueError: invalid literal for int() with base 10: 'null' #60

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Getting email reports, not sure what this is about yet. Windows 7 with IE9 is 
used, and GET['id'] == null.

Extra strange is that REMOTE_PORT has uncommon values like 60060 and 60065. 
Maybe these are requests made through a proxy server, or just fake requests?

Traceback (most recent call last):

 File "/home/sander/tmp/dkp-db/django/core/handlers/base.py", line 100, in get_response
   response = callback(request, *callback_args, **callback_kwargs)

 File "/home/sander/tmp/dkp-db/django/views/decorators/cache.py", line 69, in _wrapped_view_func
   response = view_func(request, *args, **kwargs)

 File "/home/sander/deploy/pleft/plapp/views.py", line 151, in appointment_data
   appointment, user, invitee = _get_appointment_or_404(request)

 File "/home/sander/deploy/pleft/plapp/views.py", line 51, in _get_appointment_or_404
   appointment = models.Appointment.objects.all().get(id=int(params['id']))

ValueError: invalid literal for int() with base 10: 'null'

Original issue reported on code.google.com by sander.d...@gmail.com on 24 Oct 2011 at 9:35

GoogleCodeExporter commented 8 years ago
Getting similar errors with BlackBerry9700/5.0.0.593 and Opera on Windows XP. 
This might indeed be a proxy server thing.

Original comment by sander.d...@gmail.com on 24 Oct 2011 at 9:37

GoogleCodeExporter commented 8 years ago
Probably fixed in http://tryout.pleft.com/

Original comment by sander.d...@gmail.com on 27 Nov 2011 at 4:04