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

Luxor in notebook on Julia 0.6 = world error #17

Closed
KristofferC opened this issue May 14, 2017 · 9 comments
Closed

Luxor in notebook on Julia 0.6 = world error #17

KristofferC opened this issue May 14, 2017 · 9 comments

Comments

@KristofferC
Copy link
Contributor

Tried to use Luxor but something seems a bit odd:

image

Not sure if the problem is here but thought I would post an issue anyway...

@cormullion
Copy link
Member

Thanks, Kris, looks strangely familiar... :). I wonder whether this is just general v0.6 flakiness, or something else. I've been struggling to get some other basic packages working too - I've been getting QuartzIO errors, for example. But this one seems OK:

screen shot 2017-05-14 at 23 08 16

(Note that you probably want to choose a non-white color for text.)

@KristofferC
Copy link
Contributor Author

Okay, maybe it is something strange with my setup then. Anyway, it seems that the problem is not here. Sorry for noise :)

@cormullion
Copy link
Member

No problem - nice that someone's trying to use it.😀

@cormullion cormullion reopened this Sep 9, 2017
@cormullion
Copy link
Member

This hasn't gone away like I thought it might. Julia v0.6 should be stable by now. So it might be fixable here.

@ggggggggg
Copy link

I tried using Luxor in Juliabox with a 0.6 kernel. At first I had problems (like infinite freeze), but then I ran Pkg.add("ImageMagick") and the following works:

using Luxor
@png begin
        fontsize(50)
        circle(O, 150, :stroke)
        text("hello world", halign=:center, valign=:middle)
     end

But if I use @svg instead of @png the text is unreadable.

Should ImageMagick be in REQUIRE?

@cormullion
Copy link
Member

cormullion commented Sep 12, 2017

@ggggggggg I've not tested Luxor on JuliaBox (my experiences with JBox haven't been encouraging†) but I'll have another look tomorrow.

† INFO: Upgrading Luxor: v0.8.6 => v0.9.1
GitError(Code:ERROR, Class:OS, cannot extend packfile '/home/juser/.julia/v0.6/Luxor/.git/objects/pack/pack_git2_bHHsuZ': No space left on device)

I've never installed ImageMagick locally, though...

@cormullion
Copy link
Member

I finally managed to get JuliaBox working again, but to me it's the SVG that works OK, and the PNG format that might need some help from ImageMagick on Linux. (ImageMagick isn't needed on macOS.)

screen shot 2017-09-13 at 08 07 24

I'll find out how to add conditional dependencies (require ImageMagick only on Linux...).

@cormullion
Copy link
Member

More about world age errors on this Discourse post. I've no idea how to stop the error appearing though...

@cormullion
Copy link
Member

cormullion commented Jan 4, 2018

JuliaLang/IJulia.jl#609 , but now presumed to be problem in FileIO.jl (JuliaIO/FileIO.jl#142). Hopefully fixed by commit d333473 (release v0.10.2).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants