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

Font missing in 1.4.13 #2480

Closed
mcohan opened this issue Jan 31, 2024 · 3 comments · Fixed by #2512
Closed

Font missing in 1.4.13 #2480

mcohan opened this issue Jan 31, 2024 · 3 comments · Fixed by #2512
Labels
enhancement New feature or request
Milestone

Comments

@mcohan
Copy link

mcohan commented Jan 31, 2024

Description

Installing 1.4.13 via pip or poetry results in a 'file not found' error (on Windows, Python 3.10) for fonts/gNNBW2J8Roq16WD5tFNRaeLQk6-SHQ_R00k4c2_whPnoY9ruReaU4bHmz74m0ZkGH-VBYe1x0TV6x4yFH8F-H5OdzEL3sVTgJtfbYxOLojCLJ1H7-0Hk.woff2.

Installing1.4.12 installs properly

@falkoschindler
Copy link
Contributor

Hi @mcohan, that's unfortunate.
Can you clarify when/where you get this error? During pip installation or during runtime?
The file should be located in the NiceGUI package folder in nicegui/static/fonts with all other packaged fonts. Can you, please, check if the file exists? Thanks.

@mcohan
Copy link
Author

mcohan commented Jan 31, 2024

The prior release installs and runs without issue.

This happens with the 1.4.13 release during pip installation (or poetry).
This happens with both an upgrade and a clean installation.

The file is missing from the static directory in the distribution.
I've not had time to attempt this on Linux nor outside of my work environment yet.

@falkoschindler
Copy link
Contributor

falkoschindler commented Jan 31, 2024

How strange. When I download the tar.gz archive at https://pypi.org/project/nicegui/#files, there is a file called gNNBW2J8Roq16WD5tFNRaeLQk6-SHQ_R00k4c2_whPnoY9ruReaU4bHmz74m0ZkGH-VBYe1x0TV6x4yFH8F-H5OdzEL3sVTgJtfbYxOLojCLJ1H7-0Hk.woff2 in nicegui/static/fonts.

How can it be missing during pip install? Maybe the OS can't resolve such long file paths.

@falkoschindler falkoschindler linked a pull request Feb 4, 2024 that will close this issue
@falkoschindler falkoschindler added the enhancement New feature or request label Feb 4, 2024
@falkoschindler falkoschindler added this to the 1.4.14 milestone Feb 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants