Opened 12 years ago
Last modified 11 years ago
#9880 closed defect
List index out of range error in importexport_webadminui.html — at Initial Version
Reported by: | anonymous | Owned by: | ben_12 |
---|---|---|---|
Priority: | normal | Component: | ExportImportXlsPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.12 |
Description
When I run the plugin I get this error:
Most recent call last:
File "xxx/.python-eggs/ImportExportXLS-0.1.4-py2.6.egg-tmp/importexportxls/templates/importexport_webadminui.html", line 93, in <Expression u"[fd.label for fd in defaultfields if fd.name == 'version'][0]">
Code fragment:
Line
88 <legend>Export</legend>
89 <div>
90 <table style="border:0px;">
91 <thead>
92 <th>${[fd.label for fd in defaultfields if fd.name == 'type'][0]}</th>
93 <th>${[fd.label for fd in defaultfields if fd.name == 'version'][0]}</th>
94 <th>${[fd.label for fd in defaultfields if fd.name == 'milestone'][0]}</th>
95 <th>${[fd.label for fd in defaultfields if fd.name == 'component'][0]}</th>
96 <th>${[fd.label for fd in defaultfields if fd.name == 'status'][0]}</th>
97 <th>${[fd.label for fd in defaultfields if fd.name == 'resolution'][0]}</th>
98 </thead>
Local variables:
Name Value
data [{'active_panel': u'importexport', 'all': <built-in function all>, ...
fd {'type': 'time', 'name': 'changetime', 'label': 'Modified'}
what can I do?