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

X11 error when running GUI #145

Open
ortk95 opened this issue Jan 11, 2023 · 3 comments
Open

X11 error when running GUI #145

ortk95 opened this issue Jan 11, 2023 · 3 comments
Labels
bug Something isn't working gui Related to the graphical user interface partially fixed Issue is partially fixed in release version upstream Issue caused by upstream code, dependencies etc.

Comments

@ortk95
Copy link
Owner

ortk95 commented Jan 11, 2023

See https://planetmapper.readthedocs.io/en/latest/common_issues.html#planetmapper-crashes-when-running-graphical-user-interface-over-ssh for details of how to fix this issue.


X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  45 (X_OpenFont)
  Value in failed request:  0x60027c
  Serial number of failed request:  3572
  Current serial number in output stream:  3573
@ortk95 ortk95 added bug Something isn't working gui Related to the graphical user interface labels Jan 11, 2023
@ortk95
Copy link
Owner Author

ortk95 commented Jan 11, 2023

Seems to be related to XQuartz/XQuartz#216 so may not be a planetmapper issue directly

@ortk95 ortk95 added question Further information is requested upstream Issue caused by upstream code, dependencies etc. and removed question Further information is requested labels Jan 26, 2023
@ortk95
Copy link
Owner Author

ortk95 commented Apr 24, 2023

Appears to be triggered by using symbols with highish unicode code points e.g. and . Could therefore add a fallback mode to use ASCII symbols instead e.g. ^ and CCW.

This is (hopefully) a temporary bugfix until XQuartz/XQuartz#216 is fixed, so probably just want to add some environment variable (e.g. PLANETMAPPER_USE_X11_FONT_BUGFIX) to enable this replacement, then add a note to docs about how to do it.

@ortk95
Copy link
Owner Author

ortk95 commented Apr 24, 2023

Added temporary bugfix in #209 to v1.6.4 - this can be manually enabled with

export PLANETMAPPER_USE_X11_FONT_BUGFIX=true

For more details, see https://planetmapper.readthedocs.io/en/latest/common_issues.html#planetmapper-crashes-when-running-graphical-user-interface-over-ssh

@ortk95 ortk95 added the partially fixed Issue is partially fixed in release version label May 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working gui Related to the graphical user interface partially fixed Issue is partially fixed in release version upstream Issue caused by upstream code, dependencies etc.
Projects
None yet
Development

No branches or pull requests

1 participant