Bug #16921
limite à 256 du nombre de colonnes des exports xls
Statut:
Fermé
Priorité:
Normal
Assigné à:
-
Version cible:
-
Début:
15 juin 2017
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Non
Planning:
Non
Description
(pas envie de regarder le formulaire en question)
Exception: type = '<type 'exceptions.ValueError'>', value = 'column index (256) not an int in range(256)' Stack trace (most recent call first): File "/usr/lib/python2.7/dist-packages/xlwt/Row.py", line 78, in __adjust_bound_col_idx 76 iarg = int(arg) 77 if not ((0 <= iarg <= 255) and arg == iarg): > 78 raise ValueError("column index (%r) not an int in range(256)" % arg) 79 sheet = self.__parent 80 if iarg < self.__min_col_idx: locals: self = <xlwt.Row.Row object at 0x7ff532b50d40> arg = 256 args = (256,) iarg = 256 File "/usr/lib/python2.7/dist-packages/xlwt/Row.py", line 235, in write 233 def write(self, col, label, style=Style.default_style): 234 self.__adjust_height(style) > 235 self.__adjust_bound_col_idx(col) 236 style_index = self.__parent_wb.add_style(style) 237 if isinstance(label, basestring): locals: self = <xlwt.Row.Row object at 0x7ff532b50d40> style = <xlwt.Style.XFStyle object at 0x7ff538ba3e90> col = 256 label = 'Canne, b\xc3\xa9quille' File "/usr/lib/python2.7/dist-packages/xlwt/Worksheet.py", line 1030, in write 1028 1029 def write(self, r, c, label="", style=Style.default_style): > 1030 self.row(r).write(c, label, style) 1031 1032 def write_rich_text(self, r, c, rich_text_list, style=Style.default_style): locals: self = <xlwt.Worksheet.Worksheet object at 0x7ff53206fb50> style = <xlwt.Style.XFStyle object at 0x7ff538ba3e90> r = 0 c = 256 label = 'Canne, b\xc3\xa9quille'
Historique
Mis à jour par Frédéric Péters il y a plus de 3 ans
- Statut changé de Nouveau à Fermé
- Planning mis à Non
La prise en charge de l'xls a été retirée dans #48590.