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

Issue with Luxor Drawing in Julia #329

Open
MaybeTommorow opened this issue Jan 20, 2025 · 5 comments
Open

Issue with Luxor Drawing in Julia #329

MaybeTommorow opened this issue Jan 20, 2025 · 5 comments

Comments

@MaybeTommorow
Copy link

MaybeTommorow commented Jan 20, 2025

Hi,

Thank you for bringing Luxor into the Julia ecosystem!

I am currently using Luxor to draw a simple picture with the command @svg juliacircles(). This command automatically opens an editor with a page named 'luxor-drawing-180230-359.svg', but I am unable to see anything rendered in this picture.

Could you please provide some guidance on this issue?

Here are the details of my environment:

Julia Version 1.11.2
Commit 5e9a32e7af* (2024-12-01 20:02 UTC)
Build Info:

    Note: This is an unofficial build, please report bugs to the project
    responsible for this build and not to the Julia project unless you can
    reproduce the issue using official builds available at https://julialang.org/downloads

Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: 16 × AMD Ryzen 7 5800H with Radeon Graphics
  WORD_SIZE: 64
  LLVM: libLLVM-16.0.6 (ORCJIT, znver3)
Threads: 1 default, 0 interactive, 1 GC (on 16 virtual cores)
Environment:
  JULIA_CONDAPKG_BACKEND_BACKUP = 
  JULIA_CONDAPKG_BACKEND = System
  JULIA_LOAD_PATH = @:@scjulia:@stdlib
  JULIA_LOAD_PATH_BACKUP = 
  JULIA_DEPOT_PATH_BACKUP = 
  JULIA_PROJECT_BACKUP = 
  JULIA_CONDAPKG_EXE = /home/xiangyang/opt/miniforge3/bin/conda
  JULIA_SSL_CA_ROOTS_PATH = /home/xiangyang/opt/miniforge3/envs/scjulia/ssl/cacert.pem
  JULIA_DEPOT_PATH = /home/xiangyang/opt/miniforge3/envs/scjulia/share/julia:
  JULIA_PROJECT = @scjulia
  JULIA_SSL_CA_ROOTS_PATH_BACKUP = 
  JULIA_CONDAPKG_EXE_BACKUP = 


Thank you for your assistance!

@MaybeTommorow MaybeTommorow changed the title No seen picture can be produced by Luxor Issue with Luxor Drawing in Julia Jan 20, 2025
@cormullion
Copy link
Member

Hi! What does the output of terminal command cat luxor-drawing-180230-359.svg look like?

@MaybeTommorow
Copy link
Author

Hi! What does the output of terminal command cat luxor-drawing-180230-359.svg look like?

Hi! It returns nothing. The file size is 0.

@cormullion
Copy link
Member

Are there any better results from functions like:

julia-1.10> @eps juliacircles()


julia-1.10> @pdf juliacircles()


julia-1.10> @png juliacircles()

@MaybeTommorow
Copy link
Author

Are there any better results from functions like:

julia-1.10> @eps juliacircles()


julia-1.10> @pdf juliacircles()


julia-1.10> @png juliacircles()

No better results. But I noticed the warnings from REPL: Gtk-WARNING **: 22:28:31.396: No IM module matching GTK_IM_MODULE=fcitx found
Is this the reason? I have installed fcitx in my machine, but I didn't know how to set it with a proper configuration.

@cormullion
Copy link
Member

I noticed that you’re using an unofficial build. Perhaps try with an official build? It looks like Luxor is not installed correctly.

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