Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #8499 (closed)

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

Bug: Plate metadata form view exceptions

Reported by: cxallan Owned by: atarkowska
Priority: blocker Milestone: OMERO-4.4
Component: Web Version: n.a.
Keywords: n.a. Cc: wmoore
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: 2012-05-22 (15)

Description

When viewing the "Acquisition" tab in the right handle panel of gretzky --> will --> INCELL --> Greiner uClear --> Well B1 the following exceptions are thrown:

2012-04-06 13:02:31,400 ERROR [                omeroweb.webclient.forms] (proc.00514) __init__:600 Traceback (most recent call last):
  File "/home/omero/slave/workspace/OMERO-merge-green/src/dist/lib/python/omeroweb/webclient/forms.py", line 596, in __init__
    self.fields['lotNumber'] = forms.CharField(max_length=100, widget=forms.TextInput(attrs={'size':25, 'onchange':'javascript:saveMetadata('+str(kwargs['initial']['logicalchannel'].getObjective().lotNumber)+', \'lotNumber\', this.value);'}), label="Serial number", required=False)
KeyError: 'logicalchannel'

2012-04-06 13:02:31,435 ERROR [                omeroweb.webclient.forms] (proc.00514) __init__:600 Traceback (most recent call last):
  File "/home/omero/slave/workspace/OMERO-merge-green/src/dist/lib/python/omeroweb/webclient/forms.py", line 596, in __init__
    self.fields['lotNumber'] = forms.CharField(max_length=100, widget=forms.TextInput(attrs={'size':25, 'onchange':'javascript:saveMetadata('+str(kwargs['initial']['logicalchannel'].getObjective().lotNumber)+', \'lotNumber\', this.value);'}), label="Serial number", required=False)
KeyError: 'logicalchannel'

2012-04-06 13:02:31,436 ERROR [                omeroweb.webclient.forms] (proc.00514) __init__:698 Traceback (most recent call last):
  File "/home/omero/slave/workspace/OMERO-merge-green/src/dist/lib/python/omeroweb/webclient/forms.py", line 694, in __init__
    self.fields['iris'] = forms.ChoiceField(choices=self.BOOLEAN_CHOICES,  widget=forms.Select(attrs={'onchange':'javascript:saveMetadata('+str(kwargs['initial']['objective'].id)+', \'iris\', this.options[this.selectedIndex].value);'}), required=False)
AttributeError: 'MetadataObjectiveForm' object has no attribute 'BOOLEAN_CHOICES'

2012-04-06 13:02:31,456 ERROR [                omeroweb.webclient.forms] (proc.00514) __init__:1091 Traceback (most recent call last):
  File "/home/omero/slave/workspace/OMERO-merge-green/src/dist/lib/python/omeroweb/webclient/forms.py", line 1087, in __init__
    self.fields['readOutRate'] = forms.CharField(max_length=100, widget=forms.TextInput(attrs={'size':25, 'onchange':'javascript:saveMetadata('+str(kwargs['initial']['detectorSettings'].id)+', \'readOutRate\', this.value);'}), label="Read out rate", required=False)
AttributeError: 'NoneType' object has no attribute 'id'

2012-04-06 13:02:31,456 ERROR [                omeroweb.webclient.forms] (proc.00514) __init__:1105 Traceback (most recent call last):
  File "/home/omero/slave/workspace/OMERO-merge-green/src/dist/lib/python/omeroweb/webclient/forms.py", line 1101, in __init__
    self.fields['binning'] = MetadataModelChoiceField(queryset=kwargs['initial']['binnings'], empty_label=u"Not set", widget=forms.Select(attrs={'onchange':'saveMetadata('+str(kwargs['initial']['detectorSettings'].id)+', \'type\', this.options[this.selectedIndex].value);'}), required=False)
KeyError: 'binnings'

Change History (5)

comment:1 Changed 12 years ago by cxallan

  • Milestone changed from Unscheduled to OMERO-Beta4.4

comment:2 Changed 12 years ago by atarkowska

  • Remaining Time set to 0.1
  • Sprint set to 2012-05-22 (15)

comment:3 Changed 12 years ago by atarkowska

  • Status changed from new to accepted

comment:4 Changed 12 years ago by atarkowska

  • Remaining Time changed from 0.1 to 0
  • Status changed from accepted to closed

comment:5 Changed 12 years ago by Aleksandra Tarkowska <A.Tarkowska@…>

(In [e18ad52b05c56fafb1564d150dbf286c22bafefc/ome.git] on branch develop) removing error log from forms, see #8499 and #8502

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.67904 sec.)

We're Hiring!