Comments (7)
Yes, an error like that should be trapped better! It seems like you are making reference to a graphics file which exists but is not displayable for some reason. If it is a file in a package, it needs to be in the data/static
folder in order to be displayable. Or is it a file uploaded by the user?
from docassemble.
from docassemble.
Produces a zero-byte PDF or RTF file when downloaded
Errorlog:
pandoc: Error producing PDF
! Extra }, or forgotten \endgroup.
\endminipage ...pagefalse \color@endgroup \egroup
\expandafter \@iiiparbox \...
l.338 \end{minipage}
from docassemble.
I think the image inclusion problem might be remedied by writing [FILE firmlogo.jpg]
, though what you did should have worked -- I will need to test that more thoroughly.
As for the Pandoc problem, I think that's caused by the inclusion of the address block within a Markdown table. Markdown tables are fragile. However, the [BEGIN_TWOCOL] ... [BREAK] ... [END_TWOCOL]
construct documented here might be a good alternative.
from docassemble.
I believe the image inclusion problem may have been caused by the fact that your package name had hyphens in it. I think if you include hyphens in your package name, Python treats the hyphens as minus signs and tries to do subtraction. I tried taking out the hyphens from the package name and then the image references worked.
from docassemble.
Check out this example to see how the [BEGIN_TWOCOL] ... [BREAK] ... [END_TWOCOL]
feature can be used and an address block can be incorporated.
I think the inclusion of the address block using the .address_block()
method will require the latest version of the software (which is compiling now on Docker Hub) but even with the older version you should be able to construct the address block if you do it one line at a time.
from docassemble.
I believe this issue has been addressed, so I am closing it.
from docassemble.
Related Issues (20)
- Issue with displaying special characters in PDFs generated from Markdown HOT 2
- Since Keycloak 18 URL scheme has changed from /auth/realms to /realms HOT 3
- Docker Image Not Working HOT 4
- latest docker cannot start or install packages, numpy error HOT 2
- werkzeug.safe_strp_cmp not found, can't start docassemble HOT 3
- Variables with datatype: raw causing UnboundLocalError HOT 2
- Main page has link to Slack channel that appears expired HOT 3
- JSON representation of code generated fields containing choices results in error HOT 2
- Upgrade version of pdftk-java in docassemble-os HOT 2
- Warn users when the config has duplicate entries that override each other HOT 1
- show if and disable if on the same field behaves unexpectedly HOT 2
- oauth2client in DAOAuth is deprecated HOT 3
- API resume_url with secret HOT 3
- Packages menu doesn't work as expected when browsing a user's playground HOT 1
- numbers and currency formating decimals HOT 1
- Migration to linux/arm64 (rpi4 / Raspberry Pi 4) HOT 2
- Playground fails to load HOT 5
- On the recipe screen, I think you should add something to the description of idle.js implementation
- 2424 HOT 1
- Update redis-py package requirement to 5.0.2 HOT 1
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 docassemble.