Unreadable file
jennybc opened this issue · comments
Original readxl issue: tidyverse/readxl#598
(Apologies it's a bit scattered, with other people bringing up unrelated issues, because they are seeing the same error text "libxls error: Unable to open file" for, I suspect, totally different reasons.)
I'm talking about the file mentioned in OP's opening comments, still available here:
https://drive.google.com/file/d/13NIs4fi6dHQ8eFKKycYCPjy89N29vln0/view?usp=sharing
I've recently updated readxl with libxls v1.6.2, which has closed several issues 🎉
But not this one. And I see an error even when I try to open it with xls2csv.
jennys-MacBook-Pro:readxl jenny$ ~/BLAH/libxls-1.6.2/xls2csv investigations/test_file1.xls FILE: investigations/test_file1.xls
Error reading XLS file: Unable to open file
Here's the full debug log
FILE: Downloads/test_file1.xls
----------------------------------------------
ole2_open_file Downloads/test_file1.xls
ole2_open: Downloads/test_file1.xls
==== OLE HEADER ====
verminor: 3E
verdll: 3
sect len: 200 (512)
mini len: 40 (64)
Fat sect.: 1475
Dir Start: 188711
Mini Cutoff: 4096
MiniFat Start: FFFFFFFE
Count MFat: 0
Dif start: 0
Count Dif: 11
Fat Size: 755200 (0xB8600)
SecID[0]=-4
SecID[1]=-4
SecID[2]=-4
SecID[3]=-4
SecID[4]=-4
SecID[5]=-4
SecID[6]=-4
SecID[7]=-4
SecID[8]=-4
SecID[9]=-4
SecID[10]=-4
SecID[11]=12
SecID[12]=13
SecID[13]=14
SecID[14]=15
SecID[15]=16
SecID[16]=17
SecID[17]=18
SecID[18]=19
SecID[19]=20
SecID[20]=21
SecID[21]=22
SecID[22]=23
SecID[23]=24
SecID[24]=25
SecID[25]=26
SecID[26]=27
SecID[27]=28
SecID[28]=29
SecID[29]=30
SecID[30]=31
SecID[31]=32
SecID[32]=33
SecID[33]=34
SecID[34]=35
SecID[35]=36
SecID[36]=37
SecID[37]=38
SecID[38]=39
SecID[39]=40
SecID[40]=41
SecID[41]=42
SecID[42]=43
SecID[43]=44
SecID[44]=45
SecID[45]=46
SecID[46]=47
SecID[47]=48
SecID[48]=49
SecID[49]=50
SecID[50]=51
SecID[51]=52
SecID[52]=53
SecID[53]=54
SecID[54]=55
SecID[55]=56
SecID[56]=57
SecID[57]=58
SecID[58]=59
SecID[59]=60
SecID[60]=61
SecID[61]=62
SecID[62]=63
SecID[63]=64
SecID[64]=65
SecID[65]=66
SecID[66]=67
SecID[67]=68
SecID[68]=69
SecID[69]=70
SecID[70]=71
SecID[71]=72
SecID[72]=73
SecID[73]=74
SecID[74]=75
SecID[75]=76
SecID[76]=77
SecID[77]=78
SecID[78]=79
SecID[79]=80
SecID[80]=81
SecID[81]=82
SecID[82]=83
SecID[83]=84
SecID[84]=85
SecID[85]=86
SecID[86]=87
SecID[87]=88
SecID[88]=89
SecID[89]=90
SecID[90]=91
SecID[91]=92
SecID[92]=93
SecID[93]=94
SecID[94]=95
SecID[95]=96
SecID[96]=97
SecID[97]=98
SecID[98]=99
SecID[99]=100
SecID[100]=101
SecID[101]=102
SecID[102]=103
SecID[103]=104
SecID[104]=105
SecID[105]=106
SecID[106]=107
SecID[107]=108
SecID[108]=109
SecID[109]=110
SecID[110]=111
SecID[111]=112
SecID[112]=113
SecID[113]=114
SecID[114]=115
SecID[115]=116
SecID[116]=117
SecID[117]=118
SecID[118]=119
SecID[119]=120
SecID[120]=121
SecID[121]=122
SecID[122]=123
SecID[123]=124
SecID[124]=125
SecID[125]=126
SecID[126]=127
SecID[127]=128
----------------------------------------------
ole2_sopen start=2E127h
----------------------------------------------
ole2_bufread (start)
----------------------------------------------
ole2_bufread (end)
----------------------------------------------
ole2_read (end)
start: 188711
pos: 128
cfat: 0
size: -1
fatpos: -2
bufsize: 512
eof: 0
OLE NAME: Root Entry count=0
OLE TYPE: root file=0 size=0
----------------------------------------------
name: Root Entry (size=22 [c=R])
bsize 22
type 5
flag 1
left FFFFFFFF
right FFFFFFFF
child 2
guid 0000-0000-0000-0000 0000-0000-0000-0000
user flag 0000
sstart 0000
size 0000
OLE BLOCKS: 0 = (0 + (512 - 1))/512
----------------------------------------------
ole2_read_body: -1 bytes
File "Downloads/test_file1.xls" not found
Error reading XLS file: Unable to open file
@jennybc did you advance on this problem. I have hundreds of .xls files to process in R, and no package seems to work...
No, no updates from me on this.