Hex Artifact Content
Not logged in

Artifact 22fbc653b3a183e722bc5b06956d0533e780183f568661bb20b0937363aee907:

Ticket change [22fbc653b3] - New ticket [467bd4e12fc211e7|467bd4e12f] <i>Impossible to read files created by openpyxl</i>. by anonymous 2023-02-02 12:42:14.
0000: 44 20 32 30 32 33 2d 30 32 2d 30 32 54 31 32 3a  D 2023-02-02T12:
0010: 34 32 3a 31 34 2e 39 30 34 0a 4a 20 66 6f 75 6e  42:14.904.J foun
0020: 64 69 6e 20 32 2e 30 2e 30 2d 52 43 32 0a 4a 20  din 2.0.0-RC2.J 
0030: 69 63 6f 6d 6d 65 6e 74 20 49 66 5c 73 49 5c 73  icomment If\sI\s
0040: 67 65 6e 65 72 61 74 65 5c 73 61 5c 73 77 6f 72  generate\sa\swor
0050: 6b 62 6f 6f 6b 5c 73 77 69 74 68 5c 73 6f 70 65  kbook\swith\sope
0060: 6e 70 79 78 6c 5c 73 77 69 74 68 5c 73 74 68 65  npyxl\swith\sthe
0070: 5c 73 66 6f 6c 6c 6f 77 69 6e 67 5c 73 73 63 72  \sfollowing\sscr
0080: 69 70 74 2c 5c 73 49 5c 73 63 61 6e 5c 73 6e 6f  ipt,\sI\scan\sno
0090: 74 5c 73 72 65 61 64 5c 73 69 74 5c 73 77 69 74  t\sread\sit\swit
00a0: 68 5c 73 46 72 65 65 58 4c 5c 73 3a 5c 73 74 68  h\sFreeXL\s:\sth
00b0: 65 5c 73 73 74 72 69 6e 67 73 5c 73 61 72 65 5c  e\sstrings\sare\
00c0: 73 6e 6f 74 5c 73 72 65 63 6f 67 6e 69 7a 65 64  snot\srecognized
00d0: 2c 5c 73 73 6f 6d 65 74 69 6d 65 5c 73 74 68 65  ,\ssometime\sthe
00e0: 5c 73 73 69 7a 65 5c 73 6f 66 5c 73 74 68 65 5c  \ssize\sof\sthe\
00f0: 73 73 68 65 65 74 5c 73 69 73 5c 73 77 72 6f 6e  ssheet\sis\swron
0100: 67 2e 5c 72 5c 6e 5c 72 5c 6e 49 66 5c 73 49 5c  g.\r\n\r\nIf\sI\
0110: 73 6f 70 65 6e 5c 73 74 68 65 5c 73 66 69 6c 65  sopen\sthe\sfile
0120: 5c 73 77 69 74 68 5c 73 6f 6f 66 66 69 63 65 5c  \swith\sooffice\
0130: 73 61 6e 64 5c 73 74 68 65 6e 5c 73 72 65 73 61  sand\sthen\sresa
0140: 76 65 5c 73 69 74 2c 5c 73 69 74 5c 73 77 6f 72  ve\sit,\sit\swor
0150: 6b 73 2e 5c 72 5c 6e 5c 72 5c 6e 49 6e 5c 73 74  ks.\r\n\r\nIn\st
0160: 68 65 5c 73 7a 69 70 70 65 64 5c 73 66 69 6c 65  he\szipped\sfile
0170: 5c 73 6f 66 5c 73 74 68 65 5c 73 73 68 65 65 74  \sof\sthe\ssheet
0180: 2c 5c 73 49 5c 73 63 61 6e 5c 73 73 65 65 5c 73  ,\sI\scan\ssee\s
0190: 74 68 61 74 5c 73 6f 70 65 6e 70 79 78 6c 5c 73  that\sopenpyxl\s
01a0: 73 74 6f 72 65 5c 73 74 68 65 5c 73 73 74 72 69  store\sthe\sstri
01b0: 6e 67 73 5c 73 77 69 74 68 5c 73 74 79 70 65 5c  ngs\swith\stype\
01c0: 73 22 69 6e 6c 69 6e 65 53 74 72 22 2c 5c 73 62  s"inlineStr",\sb
01d0: 75 74 5c 73 6f 6f 66 66 69 63 65 5c 73 73 74 6f  ut\sooffice\ssto
01e0: 72 65 5c 73 74 68 65 6d 5c 73 77 69 74 68 5c 73  re\sthem\swith\s
01f0: 74 79 70 65 5c 73 22 73 22 2e 5c 72 5c 6e 5c 72  type\s"s".\r\n\r
0200: 5c 6e 49 5c 73 74 68 69 6e 6b 5c 73 74 68 61 74  \nI\sthink\sthat
0210: 5c 73 46 72 65 65 58 4c 5c 73 69 67 6e 6f 72 65  \sFreeXL\signore
0220: 5c 73 74 68 65 5c 73 74 79 70 65 5c 73 22 69 6e  \sthe\stype\s"in
0230: 6c 69 6e 65 53 74 72 22 5c 73 72 65 61 64 69 6e  lineStr"\sreadin
0240: 67 5c 73 74 68 65 5c 73 63 65 6c 6c 5c 73 61 73  g\sthe\scell\sas
0250: 5c 73 4e 55 4c 4c 2e 5c 72 5c 6e 5c 72 5c 6e 69  \sNULL.\r\n\r\ni
0260: 6d 70 6f 72 74 5c 73 6f 70 65 6e 70 79 78 6c 5c  mport\sopenpyxl\
0270: 72 5c 6e 77 62 5c 73 3d 5c 73 6f 70 65 6e 70 79  r\nwb\s=\sopenpy
0280: 78 6c 2e 57 6f 72 6b 62 6f 6f 6b 28 29 5c 72 5c  xl.Workbook()\r\
0290: 6e 77 73 5c 73 3d 5c 73 77 62 2e 61 63 74 69 76  nws\s=\swb.activ
02a0: 65 5c 72 5c 6e 77 73 2e 74 69 74 6c 65 5c 73 3d  e\r\nws.title\s=
02b0: 5c 73 22 66 6f 6f 22 5c 72 5c 6e 77 73 5b 27 41  \s"foo"\r\nws['A
02c0: 31 27 5d 5c 73 3d 5c 73 22 62 61 72 22 5c 72 5c  1']\s=\s"bar"\r\
02d0: 6e 77 73 5b 27 42 31 27 5d 5c 73 3d 5c 73 22 62  nws['B1']\s=\s"b
02e0: 61 7a 22 5c 72 5c 6e 77 73 5b 27 41 32 27 5d 5c  az"\r\nws['A2']\
02f0: 73 3d 5c 73 34 32 5c 72 5c 6e 77 73 5b 27 42 32  s=\s42\r\nws['B2
0300: 27 5d 5c 73 3d 5c 73 33 2e 31 34 31 35 39 5c 72  ']\s=\s3.14159\r
0310: 5c 6e 77 62 2e 73 61 76 65 28 27 62 75 67 2e 78  \nwb.save('bug.x
0320: 6c 73 78 27 29 0a 4a 20 6c 6f 67 69 6e 20 61 6e  lsx').J login an
0330: 6f 6e 79 6d 6f 75 73 0a 4a 20 6d 69 6d 65 74 79  onymous.J mimety
0340: 70 65 20 74 65 78 74 2f 70 6c 61 69 6e 0a 4a 20  pe text/plain.J 
0350: 70 72 69 76 61 74 65 5f 63 6f 6e 74 61 63 74 20  private_contact 
0360: 39 37 37 63 64 38 65 31 64 33 61 63 33 36 34 66  977cd8e1d3ac364f
0370: 36 32 33 64 34 32 64 36 64 32 30 61 36 31 66 66  623d42d6d20a61ff
0380: 32 64 63 34 32 37 32 61 0a 4a 20 73 65 76 65 72  2dc4272a.J sever
0390: 69 74 79 20 53 65 76 65 72 65 0a 4a 20 73 74 61  ity Severe.J sta
03a0: 74 75 73 20 4f 70 65 6e 0a 4a 20 74 69 74 6c 65  tus Open.J title
03b0: 20 49 6d 70 6f 73 73 69 62 6c 65 5c 73 74 6f 5c   Impossible\sto\
03c0: 73 72 65 61 64 5c 73 66 69 6c 65 73 5c 73 63 72  sread\sfiles\scr
03d0: 65 61 74 65 64 5c 73 62 79 5c 73 6f 70 65 6e 70  eated\sby\sopenp
03e0: 79 78 6c 0a 4a 20 74 79 70 65 20 43 6f 64 65 5f  yxl.J type Code_
03f0: 44 65 66 65 63 74 0a 4b 20 34 36 37 62 64 34 65  Defect.K 467bd4e
0400: 31 32 66 63 32 31 31 65 37 36 66 64 39 35 62 31  12fc211e76fd95b1
0410: 63 66 31 66 36 62 37 35 36 63 37 65 63 32 65 35  cf1f6b756c7ec2e5
0420: 35 0a 55 20 61 6e 6f 6e 79 6d 6f 75 73 0a 5a 20  5.U anonymous.Z 
0430: 34 30 62 36 36 33 34 35 34 31 36 62 31 30 36 61  40b66345416b106a
0440: 38 38 34 34 36 30 37 35 31 33 36 36 63 34 30 61  884460751366c40a
0450: 0a                                               .