Uncaught TypeError: Cannot call method 'getTypeOf' of undefined #38
Labels
No Label
DBF
Dates
Defined Names
Features
Formula
HTML
Images
Infrastructure
Integration
International
ODS
Operations
Performance
PivotTables
Pro
Protection
Read Bug
SSF
SYLK
Style
Write Bug
good first issue
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: sheetjs/sheetjs#38
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
function getXLSX(readFile) {
function process_xlsx(xlsx) {
var output = "";
if(out.innerText === undefined) out.textContent = output;
else out.innerText = output;
}
function to_csv(workbook) {
var result = [];
workbook.SheetNames.forEach(function(sheetName) {
var rObjArr = XLSX.utils.sheet_to_csv(workbook.Sheets[sheetName]);
if(rObjArr.length > 0){
result.push("SHEET: " + sheetName);
result.push("");
result.push(rObjArr);
}
});
return result.join("\n");
}
while reading with 'readAsBinaryString' xlsx file that consists of numbers i got "Uncaught TypeError: Cannot call method 'getTypeOf' of undefined"
when reading with 'readAsArrayBuffer' this time i got 'Uncaught TypeError: Cannot call method 'decode' of undefined '.Could you please help me what should we import and how should code be whille reading XLSX?i try many version of this link http://www.javascriptoo.com/js-xlsx but doesn't work
The page appears to be an older version of the code. Can you try the latest version (http://sheetjs.github.io/js-xlsx/) and let me know if you see the same errors
now i can read xlsx but it gives this error "Unrecognized key in Heading Pairs: ÃalıÅma Sayfaları "
That's just console output (mostly because the files themselves use
keywords in the local version):
https://github.com/SheetJS/js-xlsx/blob/gh-pages/xlsx.js#L639
key in Heading Pairs: " + v[i++].v);
For example, in german, the name "Worksheets" is actually rendered as
"arbeitsblätter". (See related PR
https://github.com/SheetJS/js-xlsx/pull/32)
Can you verify if the actual content correct?
On Sun, Nov 3, 2013 at 1:52 PM, cemiley notifications@github.com wrote:
yes it is correct thank you!
@cemiley The warning has been removed in master so I will mark this closed. However, I would like to see the file. Could you possibly email the file (sheetjs@gmail.com) so I can see exactly what that was supposed to say?