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

Check that pdf output file exists in genealogy tree reports #1720

Open
wants to merge 1 commit into
base: maintenance/gramps52
Choose a base branch
from

Conversation

Nick-Hall
Copy link
Member

Fixes #10696.

@Nick-Hall Nick-Hall added the bug label May 7, 2024
@ennoborg
Copy link
Contributor

ennoborg commented May 7, 2024

We may get more information by processing the return value of the communicate call, like this:

outs, errs = proc.communicate()

The variables shown here store the stdout and stderr provided by the process, and may provide more information when the process runs out of memory, or when an incomplete install leads to missing styles.

@Nick-Hall
Copy link
Member Author

The process outputs a huge amount of information.

For debugging, it is best to create a tex file and then run lualatex manually, then you can examine the log files.

@@ -815,7 +816,14 @@ def close(self):
else:
proc = Popen(args, stdin=PIPE, stdout=PIPE, stderr=PIPE)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The current change isn't enough to fully fix 10696. By changing the call to Popen() in Windows to match the other platforms, report generation works on Windows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants