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

pytz.exceptions.UnknownTimeZoneError: 'GMT' #376

Open
typoman opened this issue Nov 14, 2023 · 3 comments
Open

pytz.exceptions.UnknownTimeZoneError: 'GMT' #376

typoman opened this issue Nov 14, 2023 · 3 comments

Comments

@typoman
Copy link

typoman commented Nov 14, 2023

I saved a UFO file in another program and on update font goggles choked on the refreshing and I got this error:

Traceback (most recent call last):
  File "fontgoggles/compile/workServer.pyc", line 32, in workServer
  File "importlib/__init__.pyc", line 127, in import_module
  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 668, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 638, in _load_backward_compatible
  File "fontgoggles/compile/ufoCompiler.pyc", line 13, in <module>
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 668, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 638, in _load_backward_compatible
  File "fontTools/ufoLib/__init__.pyc", line 9, in <module>
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 668, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 638, in _load_backward_compatible
  File "fs/base.pyc", line 28, in <module>
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 668, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 638, in _load_backward_compatible
  File "fs/time.pyc", line 14, in <module>
  File "pytz/__init__.pyc", line 181, in timezone
pytz.exceptions.UnknownTimeZoneError: 'GMT'
CompilerError('fontgoggles.compile.ufoCompiler.compileUFOToPath')

I can't reproduce it after I restarted fontGoggles though :)

@anthrotype
Copy link
Collaborator

very strange.. it looks like a bug in pyfilesystem2 (fs module).

@anthrotype
Copy link
Collaborator

in theory pytz should no longer be a dependency of pyfilesystem2, so i'm surprised it gets called there.
PyFilesystem/pyfilesystem2#516
which version of fs module have you got installed?

@justvanrossum
Copy link
Owner

FontGoggles doesn't pin fs, so I guess it is the one that was current during the last FontGoggles release.

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

3 participants