-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Loading tk.jl #1549
Comments
What is basic.jl? |
Great question, I can't re-create anymore because now when I do try to load it I get a seg fault and the core is dumped |
Sorry there was a typo that I didn't realize, it's base.jl. I figured out my issue here but I still don't understand why a load and import are both necessary. And why tk.jl produces segfaults on occasion when loading |
A partial answer to your first question is that loading code from an external file via |
Ah, I've found that connecting to the machine with |
…34186) $ git log --oneline 8e236a7f993f1e732ffd0ab5c15736b2594e4109^..6c29d6c5421b4e3d872ccf42bd775b627b300069 6c29d6c provide a fallback when sandboxing projects with no project file (#1549) b9bcd6a Do not ever attempt to set owner when extracting (#1557) 50581b2 Add try/catch around call to realpath in safe_realpath (#1547) fb248f4 Remove Test which was added as a dependency by accident (#1553) 180d51e Disable needless specialization in Artifacts code (#1543) 7e42dfa telemetry: remove commit header (#1551) a9d85e7 Adjust GC delay and add `--all` flag to circumvent delay (#1540) 8e236a7 Merge pull request #1544 from JuliaLang/sk/telemetry 90b8482 telemetry: factor out telemetry file loading 228fb97 CI telemetry: send indicators for common CI env vars 246dbd0 Pkg protocol: basic anonymous opt-out telemetry
…34186) $ git log --oneline 8e236a7f993f1e732ffd0ab5c15736b2594e4109^..6c29d6c5421b4e3d872ccf42bd775b627b300069 6c29d6c provide a fallback when sandboxing projects with no project file (#1549) b9bcd6a Do not ever attempt to set owner when extracting (#1557) 50581b2 Add try/catch around call to realpath in safe_realpath (#1547) fb248f4 Remove Test which was added as a dependency by accident (#1553) 180d51e Disable needless specialization in Artifacts code (#1543) 7e42dfa telemetry: remove commit header (#1551) a9d85e7 Adjust GC delay and add `--all` flag to circumvent delay (#1540) 8e236a7 Merge pull request #1544 from JuliaLang/sk/telemetry 90b8482 telemetry: factor out telemetry file loading 228fb97 CI telemetry: send indicators for common CI env vars 246dbd0 Pkg protocol: basic anonymous opt-out telemetry
I'm not sure if this is a loading issue or if I'm simply not understanding something in Julia. I'm trying to use Window from tk.jl for example
First I use:
load("tk.jl")
At this point Window is still not defined. Then I do:
import Tk.*
Now Window is defined (why is this part necessary, why doesn't the load() do it? ) but it also says that there is a line missing in basic.jl
As a side note, also when I go to load "tk.jl" I occasionally get seg faults and the core is dumped
The text was updated successfully, but these errors were encountered: