This is a snapshot of Indico's old Trac site. Any information contained herein is most probably outdated. Access our new GitHub site here.

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#560 closed defect (fixed)

Googlebot causes exceptions in 0.97RC2

Reported by: makub Owned by: lsyroka
Priority: normal Milestone: v0.97.0
Component: General Version: 0.97.0
Keywords: Cc:

Description

Visits from Googlebot as logged by Apache:

www.egi.eu:443 66.249.65.247 - - [03/Nov/2010:01:28:51 +0100] "GET /indico/resetSessionTZ.py HTTP/1.1" 500 3440 "-" 
"Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)" 

are causing the following exception:

2010-11-03 01:28:51,009 indico.requestHandler - ERROR base.py:332 -- Request 59164432 failed: "'activeTimezone'"

url: https://www.egi.eu/indico/resetSessionTZ.py

parameters: {'REFERER_URL': 'https://www.egi.eu/indico'}

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/cds_indico-0.97_rc2-py2.5.egg/MaKaC/webinterface/rh/base.py", line 486, in process
    res = self._process()
  File "/usr/lib/python2.5/site-packages/cds_indico-0.97_rc2-py2.5.egg/MaKaC/webinterface/rh/resetTimezone.py", line 15, in _process
    if parms["activeTimezone"] == "My":
KeyError: 'activeTimezone' 

The likely cause is that GoogleBot? is quite aggressive in trying to find new URLs by removing parameters and parts of URL.

Change History (5)

comment:1 Changed 5 years ago by jbenito

  • Milestone set to v0.97

comment:2 Changed 5 years ago by pferreir

  • Owner set to lsyroka
  • Status changed from new to assigned

comment:3 Changed 5 years ago by lsyroka

  • Status changed from assigned to in_merge

comment:4 Changed 5 years ago by Leszek Syroka <leszek.marek.syroka@…>

  • Resolution set to fixed
  • Status changed from in_merge to closed

In [d279bfe2a15738540419d771c0d1f3bc2f0972d5]:

[FIX] Google bot error

  • resetSessionTZ.py webpage can be opened without passing any parameters
  • fix#560

comment:5 Changed 5 years ago by Leszek Syroka <leszek.marek.syroka@…>

In [d279bfe2a15738540419d771c0d1f3bc2f0972d5]:

[FIX] Google bot error

  • resetSessionTZ.py webpage can be opened without passing any parameters
  • fix#560
Note: See TracTickets for help on using tickets.