Ticket #817 (closed defect: fixed)

Opened 12 years ago

Last modified 12 years ago

[M] Bug when selecting from browse shopping cart

Reported by: selatham Owned by: lawrence
Priority: required Milestone: PROD Step3
Component: discovery Version:
Keywords: Cc:

Description

Get following error when selecting an item(Coapec data granule) from the shopping cart.

File '/usr/local/NDGServices/ows_server/ows_server/controllers/retrieve.py', line 109 in view
  if (name,uri) in rb: rb.remove((name,uri))
AttributeError: 'RingBuffer' object has no attribute 'remove'

Change History

comment:1 Changed 12 years ago by lawrence

  • Status changed from new to closed
  • Resolution set to wontfix

I think this is a subtle bug associated with an incorrect configuration file not the actual code ...

comment:2 Changed 12 years ago by lawrence

  • Status changed from closed to reopened
  • Resolution wontfix deleted

Wrong! This is because deque doesn't have a remove method in python2.4 and does in python2.5. I'll code around it for python2.4 ...

comment:3 Changed 12 years ago by lawrence

  • Status changed from reopened to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.