Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem in ubuntu but not in windows #2

Closed
timespace7 opened this issue Jan 14, 2015 · 7 comments
Closed

Problem in ubuntu but not in windows #2

timespace7 opened this issue Jan 14, 2015 · 7 comments

Comments

@timespace7
Copy link
Contributor

I'm using a pc with windows 7 for development and a server with ubuntu for production.
There is no problem in windows node.js to generate .xlsx files. However, it is possible to generate some damaged .xlsx files in ubuntu node.js.

When the damaged file is opened, a error is shown: "Excel found unreadable content in *******.xls. Do you want to recover the contents of this workbook? If you trust the source of this workbook, click yes".

I have no idea at all about the error. I found the file size generated in window and ubuntu are not same. I guess there is a problem during writing the file or zipping it.

@guyonroche
Copy link
Collaborator

Hi, it will take me some time to test this on Linux - do you have a sample xlsx file I could take a look at? It might point out what is going wrong. You can email it to cyber.sapiens@hotmail.com.
Thanks,
Guyon

@guyonroche
Copy link
Collaborator

Finally got around to trying it out on Ubuntu (14.04.1) with node (v0.10.25) and couldn't reproduce the problem. There's a chance this may have been an xml-escaping issue, I've fixed a few of these in the past couple of weeks. Could you npm update to latest (exceljs@0.1.1) and try again?

@guyonroche
Copy link
Collaborator

Or even better, try exceljs@0.1.2 - I found a potential race condition at the end of the zip write.

@guyonroche
Copy link
Collaborator

Haven't had much feedback on this issue so I'm going to leave it open for one more week and then close as not reproduced.

@guyonroche
Copy link
Collaborator

Closing due to lack of response.
I have introduced an ubuntu test in my "release plan" so hopefully this issue won't arise again.

@sanarockings
Copy link

But i have problem, in windows 64 bit.

fatal: cannot create directory at 'node_modules/node-xlsx/node_modules/lodash.map/node_modules/lodash.createcallback/node_modules/lodash._basecreatecallback/node_modules/lodash.bind/node_modules/lodash._createwrapper/node_modules/lodash._basebind/node_modules': No such file or directory

Can you please help me?

@ipsita93
Copy link

ipsita93 commented Dec 6, 2015

I have a problem while running on Linux machine. I get the following error:

Unhandled rejection Error: ENOENT: no such file or directory, open '/var/app/current/controllers/files/template_51_NUS_School_of_Computing.xlsx'
at Error (native)

How do I make the " workbook.xlsx.writeFile(child_file_name)" work on Linux machines?

Subhajitdas298 added a commit that referenced this issue Jun 10, 2020
Merge pull request #1289 from Subhajitdas298/master
jonathankeebler pushed a commit to baselinecapital/exceljs that referenced this issue Jul 24, 2023
Added check for undefined medium anchor points
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants