exceljs / exceljs/exceljs

Excel reading error

Open
#391 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
15.5k
Forks
2k
PR merge metrics
No merged PRs in 30d

Description

```
Debugger listening on [::]:62770
(node:22204) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 8): Error: Non-whitespace before first tag.
Line: 0
Column: 1
Char: 
```
So , what i found - with regular excel files all works fine - but with files transferred via internet (skype/email etc.) i got this error - after some investigation i found that such files are blocked because they are from internet and could be not safe (when open such file in excel it is blocked on editing - and there is a button in excel - allow editing , or it could be found in file properties (main file property window below read-only and hidden checkbox there is a warning with additional unblock check box))

So after unblocking this file (in any way from excel button or in file prorepties and !!!resaving!!! it , file reads fine.
Can we handle it automatically ,e.g. adding in read options additional flag for accept reading not-safe files?

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no source files, tests, or entry points. Start by reproducing the reported error with a blocked internet-transferred Excel file and compare it with an unblocked, resaved file; done means the library can read the blocked file through the requested option without breaking regular Excel reads.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
data
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.