Comments (5)
@aramirez92 this is not a error report. If you whant to report something please do your debugging and explain what the actual issue is.
from docxmustache.
@tobiasvielmetter I have same error for Laravel 7.12.0
I a little deep dig in code and saw that
https://github.com/wrklst/docxmustache/blob/master/src/WrkLst/DocxMustache/DocxMustache.php#L196
$this->word_doc = $this->ReadOpenXmlFile('word/document.xml', 'file');
that error happened when try to find word/document.xml
in storage, what it that and for what?
I didn't see in an example
Is error /DocxMustache/example_template.docx5ec7809e01839/word/document.xml
from docxmustache.
@agoalofalife Hi there, this opens the main file of the document. According to the standards of a DOCX file the word/document.xml is there. You would have to debug what is actually there. Either the file has not properly unarchived to the new folder '/DocxMustache/example_template.docx5ec7809e01839/' or your DOCX file is broken and has not the proper 'word/document.xml' file. As stated above, if you have this issue, you need to debug it. Meaning you need to see why the error is reported and trace back what is actually there and what not and why there is a File not Found error.
To assure you: I use this class in production and I do not have this issue. It is likely that the issue is with your setup, but if I get some actual information what is going wrong and it poses and issue with the class, I'd be happy to work on the class.
Thank you!
from docxmustache.
@tobiasvielmetter in really I haven't that file in storage, maybe it depends on OS. I use MAC OS
Anyway, I didn't look for the cause of the error, I just use another package.
from docxmustache.
@agoalofalife ok, good luck
from docxmustache.
Related Issues (20)
- Throw proper exceptions when XML is not valid
- Image Replacement seems to break images that are not supposed to be replaced
- Mustache tags seem to break if they are directly next to each other HOT 1
- Aligning image does not work properly with constraint, keeps image always to the left of the original contraint HOT 1
- Error when drawing elements are used for non images (eg shapes) HOT 1
- allow for odt format
- Get rid of Laravel File Dependency
- Object of class LibXMLError could not be converted to string HOT 1
- image quality seems to be bad on high dpi screens. HOT 1
- Invalid path if $storageDisk has `root` defined
- Image replace HOT 4
- Header and Footer are not parsed HOT 1
- Get rid of UUID dependency
- Missing dot in PDF-Filepath
- Error calling execute function HOT 2
- Cannot process file HOT 1
- Separate Class for HTML Conversion
- Improve README
- Image Replacer Method ImageReplacer() needs to be decomplexified
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docxmustache.