You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In one of the recent commits, there were a couple of print statements in buildPDF.py that added some bullet point characters.
At line 276:
# Check the return status of the TeX version calliftex_which_out.returncode>0:
print_error("""No TeX distribution installation found, check PATH environmentStandard TeX installation locations can be found in: • Linux: /usr/local/texlive/2025/bin/x86_64-linux • macOS: /usr/local/texlive/2025/bin/x86_64-darwin • Windows: C:\\texlive\\2025\\bin\\win32"""
)
and at line 435:
# Print path to created template and exitifnotself._quiet:
print("""Template created in: • {0}To build PDF run the following: • cd {0} • ./support/buildPDF.py {1}""".format(tc.BLUE+structure_path+tc.ENDC,self.input_tex))
It seems that when buildPDF.py is used to build a report and your python version is recent enough, this doesn't cause an issue. However, when using a python version of 2.7.5, for example, I get this error when trying to generate a report using buildPDF.py:
File "./support/buildPDF.py", line 280
SyntaxError: Non-ASCII character '\xe2' in file ./support/buildPDF.py on line 281, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
I confirmed replacing the bullet point characters with simple hyphens ('-') resolved the issue.
The text was updated successfully, but these errors were encountered:
brcaughron
changed the title
Bullet points in strings in buildPDF.py cause encoding issues with older versions of python
Bullet points in strings in buildPDF.py cause encoding error with older versions of python
Nov 11, 2021
In one of the recent commits, there were a couple of print statements in
buildPDF.py
that added some bullet point characters.At line 276:
and at line 435:
It seems that when
buildPDF.py
is used to build a report and your python version is recent enough, this doesn't cause an issue. However, when using a python version of 2.7.5, for example, I get this error when trying to generate a report usingbuildPDF.py
:I confirmed replacing the bullet point characters with simple hyphens (
'-'
) resolved the issue.The text was updated successfully, but these errors were encountered: