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

Install instructions fail on Julia 1.5.3 #19

Open
fusion809 opened this issue Nov 14, 2020 · 13 comments
Open

Install instructions fail on Julia 1.5.3 #19

fusion809 opened this issue Nov 14, 2020 · 13 comments

Comments

@fusion809
Copy link

Hi,

The install instructions in the README, namely:

 add Cairo
 add Gadfly
 add https://github.com/jonathanBieler/GtkExtensions.jl.git
 add https://github.com/jonathanBieler/JuliaWordsUtils.jl.git
 add https://github.com/jonathanBieler/GtkTextUtils.jl.git
 add https://github.com/jonathanBieler/RemoteGtkREPL.jl.git
 add https://github.com/jonathanBieler/GtkREPL.jl.git
 add https://github.com/jonathanBieler/GtkIDE.jl.git

fails, returning the error:

ERROR: Unsatisfiable requirements detected for package Colors [5ae59095]:
 Colors [5ae59095] log:
 ├─possible versions are: [0.9.0, 0.9.2-0.9.6, 0.10.0-0.10.2, 0.11.0-0.11.2, 0.12.0-0.12.4] or uninstalled
 ├─restricted by compatibility requirements with Immerse [2a4eff87] to versions: [0.9.0, 0.9.2-0.9.6, 0.10.0-0.10.2, 0.11.0-0.11.2]
 │ └─Immerse [2a4eff87] log:
 │   ├─possible versions are: [0.1.0-0.1.1, 1.0.0] or uninstalled
 │   ├─restricted to versions * by GtkIDE [e3658df1], leaving only versions [0.1.0-0.1.1, 1.0.0]
 │   │ └─GtkIDE [e3658df1] log:
 │   │   ├─possible versions are: 0.1.0 or uninstalled
 │   │   └─GtkIDE [e3658df1] is fixed to version 0.1.0
 │   └─restricted by compatibility requirements with Gtk [4c0ca9eb] to versions: 1.0.0 or uninstalled, leaving only versions: 1.0.0
 │     └─Gtk [4c0ca9eb] log:
 │       ├─possible versions are: [0.16.0-0.16.5, 0.17.0, 0.18.0, 1.0.0, 1.1.0-1.1.5] or uninstalled
 │       ├─restricted to versions * by GtkIDE [e3658df1], leaving only versions [0.16.0-0.16.5, 0.17.0, 0.18.0, 1.0.0, 1.1.0-1.1.5]
 │       │ └─GtkIDE [e3658df1] log: see above
 │       └─restricted to versions 1 by GtkExtensions [d2dfcb8f], leaving only versions [1.0.0, 1.1.0-1.1.5]
 │         └─GtkExtensions [d2dfcb8f] log:
 │           ├─possible versions are: 0.0.0 or uninstalled
 │           ├─restricted to versions * by GtkIDE [e3658df1], leaving only versions 0.0.0
 │           │ └─GtkIDE [e3658df1] log: see above
 │           └─GtkExtensions [d2dfcb8f] is fixed to version 0.0.0
 ├─restricted by compatibility requirements with Compose [a81c6b42] to versions: [0.9.0, 0.9.2-0.9.6]
 │ └─Compose [a81c6b42] log:
 │   ├─possible versions are: [0.6.1, 0.7.0-0.7.4, 0.8.0-0.8.2, 0.9.0-0.9.1] or uninstalled
 │   └─restricted by compatibility requirements with Immerse [2a4eff87] to versions: 0.7.3-0.7.4
 │     └─Immerse [2a4eff87] log: see above
 └─restricted by compatibility requirements with FixedPointNumbers [53c48c17] to versions: [0.10.0-0.10.2, 0.11.0-0.11.2, 0.12.0-0.12.4] or uninstalled — no versions left
   └─FixedPointNumbers [53c48c17] log:
     ├─possible versions are: [0.5.0-0.5.3, 0.6.0-0.6.1, 0.7.0-0.7.1, 0.8.0-0.8.4] or uninstalled
     └─restricted by compatibility requirements with Immerse [2a4eff87] to versions: 0.7.0-0.7.1
       └─Immerse [2a4eff87] log: see above

Is this part of the reason why there's been no development in about six months? Namely, that some of this package's upstream dependencies are now inadequately maintained, making it difficult to properly maintain this package.

It would be a shame, I like the idea behind this IDE, namely that the IDE for Julia should be written in Julia itself. It makes a lot of sense for Julia, given Julia is general-purpose and fast, that its IDE should be written in itself, especially since that makes it easier for users to contribute to the project as they're automatically going to be familiar with the language the IDE is written in.

Thanks for your time.

@jonathanBieler
Copy link
Owner

jonathanBieler commented Nov 14, 2020

Hey, these kind of requirements issues aren't big problems usually, although they are a pain to debug. It's mainly a question of bumping requirements bounds. That said I've managed to install it recently, maybe starting in a new environment helps (]activate my_env).

Bigger issue is that even if you manage to install it, there's some bug that makes it crash pretty easily (Gtk.jl easily give you segfaults). I think I've narrowed down the problem, but it needs redesign of the execution model, and I'm not even sure it's the issue.

I agree that having a good IDE written in Julia would awesome, I've been using VS code since v1.5 but I still prefer this (even though it has tons of limitations and quirks), and there's some features that are very easy to add when you are working in Julia. Plus it's fun.

I've split the package into two main components, GtkREPL should be an implementation of a REPL in Gtk, and is used as the console in GtkIDE. It's responsible of executing code and it's a bit crappy currently. You can try to run it with GtkREPL.gtkrepl(). IIRC if you run something that block the UI (like loading a package) and press some keys it crashes. RemoteGtkIDE is supposed to be a server that runs the code, with GtkREPL being a client to that. I've tried to rework it recently but I always get confused with these networking and asynchronous stuff.

@fusion809
Copy link
Author

Tried running ]activate my_env before running the install instructions and I got a similar error:

ERROR: Unsatisfiable requirements detected for package Compose [a81c6b42]:
 Compose [a81c6b42] log:
 ├─possible versions are: [0.6.1, 0.7.0-0.7.4, 0.8.0-0.8.2, 0.9.0-0.9.1] or uninstalled
 ├─restricted by compatibility requirements with Gadfly [c91e804a] to versions: [0.6.1, 0.7.0-0.7.4, 0.8.0-0.8.2, 0.9.0-0.9.1]
 │ └─Gadfly [c91e804a] log:
 │   ├─possible versions are: [0.8.0, 1.0.0-1.0.1, 1.1.0, 1.2.0-1.2.1, 1.3.0-1.3.1] or uninstalled
 │   ├─restricted to versions * by GtkIDE [e3658df1], leaving only versions [0.8.0, 1.0.0-1.0.1, 1.1.0, 1.2.0-1.2.1, 1.3.0-1.3.1]
 │   │ └─GtkIDE [e3658df1] log:
 │   │   ├─possible versions are: 0.1.0 or uninstalled
 │   │   └─GtkIDE [e3658df1] is fixed to version 0.1.0
 │   └─restricted by compatibility requirements with Immerse [2a4eff87] to versions: [1.0.1, 1.1.0, 1.2.0-1.2.1, 1.3.0-1.3.1]
 │     └─Immerse [2a4eff87] log:
 │       ├─possible versions are: [0.1.0-0.1.1, 1.0.0] or uninstalled
 │       ├─restricted to versions * by GtkIDE [e3658df1], leaving only versions [0.1.0-0.1.1, 1.0.0]
 │       │ └─GtkIDE [e3658df1] log: see above
 │       └─restricted by compatibility requirements with Gtk [4c0ca9eb] to versions: 1.0.0 or uninstalled, leaving only versions: 1.0.0
 │         └─Gtk [4c0ca9eb] log:
 │           ├─possible versions are: [0.16.0-0.16.5, 0.17.0, 0.18.0, 1.0.0, 1.1.0-1.1.5] or uninstalled
 │           ├─restricted to versions * by GtkIDE [e3658df1], leaving only versions [0.16.0-0.16.5, 0.17.0, 0.18.0, 1.0.0, 1.1.0-1.1.5]
 │           │ └─GtkIDE [e3658df1] log: see above
 │           └─restricted to versions 1 by GtkExtensions [d2dfcb8f], leaving only versions [1.0.0, 1.1.0-1.1.5]
 │             └─GtkExtensions [d2dfcb8f] log:
 │               ├─possible versions are: 0.0.0 or uninstalled
 │               ├─restricted to versions * by GtkIDE [e3658df1], leaving only versions 0.0.0
 │               │ └─GtkIDE [e3658df1] log: see above
 │               └─GtkExtensions [d2dfcb8f] is fixed to version 0.0.0
 ├─restricted by compatibility requirements with Immerse [2a4eff87] to versions: 0.7.3-0.7.4
 │ └─Immerse [2a4eff87] log: see above
 └─restricted by compatibility requirements with Colors [5ae59095] to versions: [0.8.1-0.8.2, 0.9.0-0.9.1] or uninstalled — no versions left
   └─Colors [5ae59095] log:
     ├─possible versions are: [0.9.0, 0.9.2-0.9.6, 0.10.0-0.10.2, 0.11.0-0.11.2, 0.12.0-0.12.4] or uninstalled
     ├─restricted by compatibility requirements with Gadfly [c91e804a] to versions: [0.9.0, 0.9.2-0.9.6, 0.10.0-0.10.2, 0.11.0-0.11.2, 0.12.0-0.12.4]
     │ └─Gadfly [c91e804a] log: see above
     ├─restricted by compatibility requirements with GtkUtilities [54070661] to versions: [0.9.0, 0.9.2-0.9.6, 0.10.0-0.10.2, 0.11.0-0.11.2]
     │ └─GtkUtilities [54070661] log:
     │   ├─possible versions are: [0.3.0, 1.0.0-1.0.4] or uninstalled
     │   ├─restricted to versions * by GtkIDE [e3658df1], leaving only versions [0.3.0, 1.0.0-1.0.4]
     │   │ └─GtkIDE [e3658df1] log: see above
     │   └─restricted by compatibility requirements with Gtk [4c0ca9eb] to versions: 1.0.0-1.0.4 or uninstalled, leaving only versions: 1.0.0-1.0.4
     │     └─Gtk [4c0ca9eb] log: see above
     └─restricted by compatibility requirements with FixedPointNumbers [53c48c17] to versions: [0.10.0-0.10.2, 0.11.0-0.11.2, 0.12.0-0.12.4] or uninstalled, leaving only versions: [0.10.0-0.10.2, 0.11.0-0.11.2]
       └─FixedPointNumbers [53c48c17] log:
         ├─possible versions are: [0.5.0-0.5.3, 0.6.0-0.6.1, 0.7.0-0.7.1, 0.8.0-0.8.4] or uninstalled
         ├─restricted by compatibility requirements with GtkUtilities [54070661] to versions: [0.6.1, 0.7.0-0.7.1, 0.8.0-0.8.4]
         │ └─GtkUtilities [54070661] log: see above
         └─restricted by compatibility requirements with Immerse [2a4eff87] to versions: 0.7.0-0.7.1
           └─Immerse [2a4eff87] log: see above

@jonathanBieler
Copy link
Owner

I've updated Immerse compat bouds, it should work now. I think you have to do a ]up or start in a fresh environment.

@fusion809
Copy link
Author

After running ]up and re-running the README instructions I get the error:

ERROR: Unsatisfiable requirements detected for package FixedPointNumbers [53c48c17]:
 FixedPointNumbers [53c48c17] log:
 ├─possible versions are: [0.5.0-0.5.3, 0.6.0-0.6.1, 0.7.0-0.7.1, 0.8.0-0.8.4] or uninstalled
 ├─restricted by compatibility requirements with Immerse [2a4eff87] to versions: [0.6.1, 0.7.0-0.7.1, 0.8.0-0.8.4]
 │ └─Immerse [2a4eff87] log:
 │   ├─possible versions are: [0.1.0-0.1.1, 1.0.0-1.0.1] or uninstalled
 │   ├─restricted to versions * by GtkIDE [e3658df1], leaving only versions [0.1.0-0.1.1, 1.0.0-1.0.1]
 │   │ └─GtkIDE [e3658df1] log:
 │   │   ├─possible versions are: 0.1.0 or uninstalled
 │   │   └─GtkIDE [e3658df1] is fixed to version 0.1.0
 │   ├─restricted by compatibility requirements with Gtk [4c0ca9eb] to versions: 1.0.0-1.0.1 or uninstalled, leaving only versions: 1.0.0-1.0.1
 │   │ └─Gtk [4c0ca9eb] log:
 │   │   ├─possible versions are: [0.16.0-0.16.5, 0.17.0, 0.18.0, 1.0.0, 1.1.0-1.1.5] or uninstalled
 │   │   ├─restricted to versions * by GtkIDE [e3658df1], leaving only versions [0.16.0-0.16.5, 0.17.0, 0.18.0, 1.0.0, 1.1.0-1.1.5]
 │   │   │ └─GtkIDE [e3658df1] log: see above
 │   │   └─restricted to versions 1 by GtkExtensions [d2dfcb8f], leaving only versions [1.0.0, 1.1.0-1.1.5]
 │   │     └─GtkExtensions [d2dfcb8f] log:
 │   │       ├─possible versions are: 0.0.0 or uninstalled
 │   │       ├─restricted to versions * by GtkIDE [e3658df1], leaving only versions 0.0.0
 │   │       │ └─GtkIDE [e3658df1] log: see above
 │   │       └─GtkExtensions [d2dfcb8f] is fixed to version 0.0.0
 │   └─restricted by compatibility requirements with Compose [a81c6b42] to versions: [0.1.0-0.1.1, 1.0.0] or uninstalled, leaving only versions: 1.0.0
 │     └─Compose [a81c6b42] log:
 │       ├─possible versions are: [0.6.1, 0.7.0-0.7.4, 0.8.0-0.8.2, 0.9.0-0.9.1] or uninstalled
 │       ├─restricted by compatibility requirements with Immerse [2a4eff87] to versions: [0.7.3-0.7.4, 0.9.0-0.9.1]
 │       │ └─Immerse [2a4eff87] log: see above
 │       └─restricted by compatibility requirements with Gadfly [c91e804a] to versions: [0.7.0-0.7.4, 0.8.0-0.8.2], leaving only versions: 0.7.3-0.7.4
 │         └─Gadfly [c91e804a] log:
 │           ├─possible versions are: [0.8.0, 1.0.0-1.0.1, 1.1.0, 1.2.0-1.2.1, 1.3.0-1.3.1] or uninstalled
 │           ├─restricted to versions * by GtkIDE [e3658df1], leaving only versions [0.8.0, 1.0.0-1.0.1, 1.1.0, 1.2.0-1.2.1, 1.3.0-1.3.1]
 │           │ └─GtkIDE [e3658df1] log: see above
 │           ├─restricted by compatibility requirements with Immerse [2a4eff87] to versions: [1.0.0-1.0.1, 1.1.0, 1.2.0-1.2.1, 1.3.0-1.3.1]
 │           │ └─Immerse [2a4eff87] log: see above
 │           ├─restricted by compatibility requirements with Distributions [31c24e10] to versions: [1.2.0-1.2.1, 1.3.0-1.3.1] or uninstalled, leaving only versions: [1.2.0-1.2.1, 1.3.0-1.3.1]
 │           │ └─Distributions [31c24e10] log:
 │           │   ├─possible versions are: [0.16.0-0.16.4, 0.17.0, 0.18.0, 0.19.1-0.19.2, 0.20.0, 0.21.0-0.21.3, 0.21.5-0.21.12, 0.22.0-0.22.6, 0.23.0-0.23.12, 0.24.0-0.24.3] or uninstalled
 │           │   ├─restricted to versions * by an explicit requirement, leaving only versions [0.16.0-0.16.4, 0.17.0, 0.18.0, 0.19.1-0.19.2, 0.20.0, 0.21.0-0.21.3, 0.21.5-0.21.12, 0.22.0-0.22.6, 0.23.0-0.23.12, 0.24.0-0.24.3]
 │           │   ├─restricted by compatibility requirements with Gadfly [c91e804a] to versions: [0.16.0-0.16.4, 0.17.0, 0.18.0, 0.19.1-0.19.2, 0.20.0, 0.21.0-0.21.3, 0.21.5-0.21.12, 0.22.0-0.22.6, 0.23.0-0.23.12]
 │           │   │ └─Gadfly [c91e804a] log: see above
 │           │   └─restricted by compatibility requirements with SpecialFunctions [276daf66] to versions: [0.22.3-0.22.6, 0.23.0-0.23.12, 0.24.0-0.24.3] or uninstalled, leaving only versions: [0.22.3-0.22.6, 0.23.0-0.23.12]
 │           │     └─SpecialFunctions [276daf66] log:
 │           │       ├─possible versions are: [0.7.0-0.7.2, 0.8.0, 0.9.0, 0.10.0-0.10.3] or uninstalled
 │           │       ├─restricted to versions * by an explicit requirement, leaving only versions [0.7.0-0.7.2, 0.8.0, 0.9.0, 0.10.0-0.10.3]
 │           │       └─restricted by compatibility requirements with FunctionIntegrator [7685536e] to versions: 0.10.3
 │           │         └─FunctionIntegrator [7685536e] log:
 │           │           ├─possible versions are: [0.1.0, 0.2.0-0.2.1, 0.3.0, 0.4.0-0.4.1, 0.5.0-0.5.1, 0.6.0] or uninstalled
 │           │           └─restricted to versions * by an explicit requirement, leaving only versions [0.1.0, 0.2.0-0.2.1, 0.3.0, 0.4.0-0.4.1, 0.5.0-0.5.1, 0.6.0]
 │           └─restricted by compatibility requirements with CategoricalArrays [324d7699] to versions: [0.8.0, 1.2.0-1.2.1] or uninstalled, leaving only versions: 1.2.0-1.2.1
 │             └─CategoricalArrays [324d7699] log:
 │               ├─possible versions are: [0.3.11, 0.3.13-0.3.14, 0.4.0, 0.5.0-0.5.5, 0.6.0, 0.7.0-0.7.7, 0.8.0-0.8.3, 0.9.0] or uninstalled
 │               ├─restricted by compatibility requirements with Gadfly [c91e804a] to versions: [0.3.11, 0.3.13-0.3.14, 0.4.0, 0.5.0-0.5.5, 0.6.0, 0.7.0-0.7.7, 0.8.0-0.8.3]
 │               │ └─Gadfly [c91e804a] log: see above
 │               ├─restricted by compatibility requirements with Gadfly [c91e804a] to versions: [0.5.0-0.5.5, 0.6.0, 0.7.0-0.7.7, 0.8.0-0.8.3]
 │               │ └─Gadfly [c91e804a] log: see above
 │               ├─restricted by compatibility requirements with DataFrames [a93c6f00] to versions: [0.7.0-0.7.7, 0.8.3, 0.9.0], leaving only versions: [0.7.0-0.7.7, 0.8.3]
 │               │ └─DataFrames [a93c6f00] log:
 │               │   ├─possible versions are: [0.11.7, 0.12.0, 0.13.0-0.13.1, 0.14.0-0.14.1, 0.15.0-0.15.2, 0.16.0, 0.17.0-0.17.1, 0.18.0-0.18.4, 0.19.0-0.19.4, 0.20.0-0.20.2, 0.21.0-0.21.8, 0.22.0] or uninstalled
 │               │   ├─restricted by compatibility requirements with Immerse [2a4eff87] to versions: [0.20.0-0.20.2, 0.22.0]
 │               │   │ └─Immerse [2a4eff87] log: see above
 │               │   └─restricted by compatibility requirements with Compat [34da2185] to versions: [0.11.7, 0.12.0, 0.13.0-0.13.1, 0.14.0-0.14.1, 0.15.0-0.15.2, 0.16.0, 0.17.0-0.17.1, 0.18.0-0.18.4, 0.19.0-0.19.4, 0.20.0-0.20.2, 0.21.0-0.21.8] or uninstalled, leaving only versions: 0.20.0-0.20.2
 │               │     └─Compat [34da2185] log:
 │               │       ├─possible versions are: [1.0.0-1.0.1, 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.5.0-1.5.1, 2.0.0, 2.1.0, 2.2.0-2.2.1, 3.0.0, 3.1.0, 3.2.0, 3.3.0-3.3.1, 3.4.0, 3.5.0, 3.6.0, 3.7.0, 3.8.0, 3.9.0-3.9.1, 3.10.0, 3.11.0, 3.12.0, 3.13.0, 3.14.0, 3.15.0, 3.16.0, 3.17.0, 3.18.0, 3.19.0, 3.20.0, 3.21.0, 3.22.0, 3.23.0] or uninstalled
 │               │       ├─restricted to versions * by GtkIDE [e3658df1], leaving only versions [1.0.0-1.0.1, 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.5.0-1.5.1, 2.0.0, 2.1.0, 2.2.0-2.2.1, 3.0.0, 3.1.0, 3.2.0, 3.3.0-3.3.1, 3.4.0, 3.5.0, 3.6.0, 3.7.0, 3.8.0, 3.9.0-3.9.1, 3.10.0, 3.11.0, 3.12.0, 3.13.0, 3.14.0, 3.15.0, 3.16.0, 3.17.0, 3.18.0, 3.19.0, 3.20.0, 3.21.0, 3.22.0, 3.23.0]
 │               │       │ └─GtkIDE [e3658df1] log: see above
 │               │       ├─restricted by compatibility requirements with Immerse [2a4eff87] to versions: [2.2.0-2.2.1, 3.23.0]
 │               │       │ └─Immerse [2a4eff87] log: see above
 │               │       └─restricted by compatibility requirements with BinDeps [9e28174c] to versions: [1.0.0-1.0.1, 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.5.0-1.5.1, 2.0.0, 2.1.0, 2.2.0-2.2.1], leaving only versions: 2.2.0-2.2.1
 │               │         └─BinDeps [9e28174c] log:
 │               │           ├─possible versions are: [0.7.0, 0.8.9-0.8.10, 1.0.0-1.0.1] or uninstalled
 │               │           └─restricted by compatibility requirements with Git [d7ba0133] to versions: [0.7.0, 0.8.9-0.8.10]
 │               │             └─Git [d7ba0133] log:
 │               │               ├─possible versions are: 0.3.0 or uninstalled
 │               │               └─restricted to versions * by an explicit requirement, leaving only versions 0.3.0
 │               └─restricted by compatibility requirements with DataFrames [a93c6f00] to versions: 0.7.0-0.7.7
 │                 └─DataFrames [a93c6f00] log: see above
 ├─restricted by compatibility requirements with Colors [5ae59095] to versions: 0.6.0-0.6.1, leaving only versions: 0.6.1
 │ └─Colors [5ae59095] log:
 │   ├─possible versions are: [0.9.0, 0.9.2-0.9.6, 0.10.0-0.10.2, 0.11.0-0.11.2, 0.12.0-0.12.4] or uninstalled
 │   ├─restricted by compatibility requirements with Immerse [2a4eff87] to versions: [0.9.0, 0.9.2-0.9.6, 0.10.0-0.10.2, 0.11.0-0.11.2, 0.12.0-0.12.4]
 │   │ └─Immerse [2a4eff87] log: see above
 │   ├─restricted by compatibility requirements with ColorTypes [3da002f7] to versions: [0.9.6, 0.10.0-0.10.2, 0.11.0-0.11.2, 0.12.0-0.12.4] or uninstalled, leaving only versions: [0.9.6, 0.10.0-0.10.2, 0.11.0-0.11.2, 0.12.0-0.12.4]
 │   │ └─ColorTypes [3da002f7] log:
 │   │   ├─possible versions are: [0.7.0-0.7.5, 0.8.0-0.8.1, 0.9.0-0.9.1, 0.10.0-0.10.9] or uninstalled
 │   │   ├─restricted by compatibility requirements with Colors [5ae59095] to versions: [0.7.0-0.7.5, 0.8.0-0.8.1, 0.9.0-0.9.1, 0.10.0-0.10.9]
 │   │   │ └─Colors [5ae59095] log: see above
 │   │   ├─restricted by compatibility requirements with ColorVectorSpace [c3611d14] to versions: [0.8.0-0.8.1, 0.9.0-0.9.1, 0.10.0-0.10.9]
 │   │   │ └─ColorVectorSpace [c3611d14] log:
 │   │   │   ├─possible versions are: [0.6.0-0.6.2, 0.7.0-0.7.1, 0.8.0-0.8.6] or uninstalled
 │   │   │   ├─restricted by compatibility requirements with SpecialFunctions [276daf66] to versions: 0.8.3-0.8.6 or uninstalled
 │   │   │   │ └─SpecialFunctions [276daf66] log: see above
 │   │   │   └─restricted by compatibility requirements with Images [916415d5] to versions: [0.6.0-0.6.2, 0.7.0-0.7.1, 0.8.0-0.8.6], leaving only versions: 0.8.3-0.8.6
 │   │   │     └─Images [916415d5] log:
 │   │   │       ├─possible versions are: [0.17.3, 0.18.0, 0.19.0-0.19.3, 0.20.0-0.20.2, 0.21.0-0.21.1, 0.22.0-0.22.5, 0.23.0-0.23.1] or uninstalled
 │   │   │       └─restricted by compatibility requirements with Immerse [2a4eff87] to versions: [0.19.3, 0.20.0-0.20.2, 0.22.0-0.22.5, 0.23.0-0.23.1]
 │   │   │         └─Immerse [2a4eff87] log: see above
 │   │   └─restricted by compatibility requirements with Colors [5ae59095] to versions: [0.7.4-0.7.5, 0.8.0-0.8.1], leaving only versions: 0.8.0-0.8.1
 │   │     └─Colors [5ae59095] log: see above
 │   └─restricted by compatibility requirements with Compose [a81c6b42] to versions: [0.9.0, 0.9.2-0.9.6], leaving only versions: 0.9.6
 │     └─Compose [a81c6b42] log: see above
 └─restricted by compatibility requirements with Immerse [2a4eff87] to versions: 0.7.0-0.7.1 — no versions left
   └─Immerse [2a4eff87] log: see above

But using a new environment did work! So definitely a step in the right direction.

@jonathanBieler
Copy link
Owner

Good, that error log looks monstrous.

You can play with it a bit but like I said expect crashes (specially when running code from the editor).

One cool thing you can do is to hide some parts of the UI, e.g. GtkIDE.visible(GtkIDE.main_window.menubar, false).

@fusion809
Copy link
Author

fusion809 commented Nov 16, 2020

Unfortunately that wasn't the last of the issues. In this new environment running GtkIDE.run() launches a blank window with the REPL message:

(julia:324072): GtkSourceView-WARNING **: 01:54:59.051: no color named 'white'
ERROR: UndefVarError: GtkSourceMap not defined
Stacktrace:
 [1] GtkIDE.Editor(::GtkIDE.MainWindow) at /home/fusion809/.julia/packages/GtkIDE/fV2bR/src/Editor.jl:19
 [2] run() at /home/fusion809/.julia/packages/GtkIDE/fV2bR/src/init.jl:38
 [3] top-level scope at REPL[6]:1
 [4] run_repl(::REPL.AbstractREPL, ::Any) at /build/julia/src/julia-1.5.3/usr/share/julia/stdlib/v1.5/REPL/src/REPL.jl:288

@jonathanBieler
Copy link
Owner

jonathanBieler commented Nov 16, 2020

That's strange, is you do using GtkSourceWidget; GtkSourceMap() does it work ?

I've had some issues in Linux with GtkSourceMap before (if the library is outdated) but now we build the library so that shouldn't be an issue. Fonts were also messed up on linux I think last time I've tried it (Gtk should work best on linux in theory, but I'm on mac OS).

@fusion809
Copy link
Author

That command gives me:

ERROR: ArgumentError: Package GtkSourceWidget not found in current path:
- Run `import Pkg; Pkg.add("GtkSourceWidget")` to install the GtkSourceWidget package.

Is that package meant to be installed when installing this package, or did you want me to install it to test this out?

@jonathanBieler
Copy link
Owner

It's the Gtk widget that displays text with syntax highlighting, it's already installed on your system, you just need to add it to your environment with ]add GtkSourceWidget.

@fusion809
Copy link
Author

Guessing you've got the wrong command, as I get this error now:

ERROR: UndefVarError: GtkSourceMap not defined

@jonathanBieler
Copy link
Owner

Strange, if you do ]st, which version of GtkSourceWidget do you have ? Should be 1.0.0.

@fusion809
Copy link
Author

Yep, it is version 1.0.0.

@jonathanBieler
Copy link
Owner

As you can see GtkSourceMap is exported here, so if it's not defined when you use GtkSourceWidget that very strange :

https://github.com/JuliaGtk/GtkSourceWidget.jl/blob/master/src/GtkSourceWidget.jl#L7

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