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

An error was detected while creating pdf #8

Open
yangyang-studio opened this issue Oct 4, 2022 · 4 comments
Open

An error was detected while creating pdf #8

yangyang-studio opened this issue Oct 4, 2022 · 4 comments

Comments

@yangyang-studio
Copy link

Hello, sir
Today, I found a problem in creating a nautical calendar. I failed to create a PDF. What should I do?

!! ERROR detected while creating PDF file !!
!! Append '-v' or '-log' for more information !!
mmexport1664891776331
Looking forward to your reply, thank you!

ZY-LunarCrater

@aendie
Copy link
Owner

aendie commented Oct 4, 2022

I see no problem with the TeX Live version you are using.
Do you have the current version of SFalmanac? Check like this...

Capture01

If your version is 1.10.1, you are on the latest version. If not, please update sfalmanac.

Create the almanac for 2024, e.g.:

Capture02

In my case it worked, but if it fails, append "-v" to the command line and re-run it. When it stops on the error, ctrl-C will return you to the command line prompt. I need to see the whole console output ... you can copy/paste it into a section marked as "code" in your GitHub issue. I then try to reproduce your problem.

@yangyang-studio
Copy link
Author

yangyang-studio commented Oct 4, 2022

Hello, sir

I have re-downloaded this code. During the run, I asked to download the pdf document, but it does exist in the document download directory (included when downloading the code). He showed that the download failed. I don't know how to deal with this later?
mmexport1664912555887
mmexport1664912553457
mmexport1664912712923
Looking forward to your reply, thank you!

ZY-LunarCrater

@yangyang-studio
Copy link
Author

你好先生

我已经重新下载了这段代码。在运行过程中,我要求下载pdf文档,但它确实存在于文档下载目录中(下载代码时包含)。他显示下载失败。不知道以后怎么处理? 期待您的回复,谢谢! mmexport1664912555887 mmexport1664912553457 mmexport1664912712923

ZY-月球陨石坑

I tried to replace the Spyder to read the code and actually used it normally without any error reporting.

@aendie
Copy link
Owner

aendie commented Oct 4, 2022

I see that the file A4chart0-180_P.pdf does exist in the GitHub SFalmanac-Py3 folder.... not that I forgot to upload the file.

If I understand you correctly, you have been able to download it. If for any reason downloading files from GitHub does not work, you must contact GitHub. I cannot help you with GitHub issues.

Why don't you delete all the downloaded files and use the PyPI package instead?
https://pypi.org/project/sfalmanac/

This is simpler than trying to manage all the files yourself, besides your current working folder then contains only the results you produce ... all the execution files are hidden in your system safe from user manipulation.

Also ... I support Python, not Anaconda. This code was developed for Python and there is only one original Python on the world wide web: https://www.python.org/downloads/

It is always best to use the original tools for the job. I highly recommend you switch to using Python.

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

2 participants