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

extension error (plots) #238

Closed
wants to merge 1 commit into from

Conversation

ocots
Copy link
Member

@ocots ocots commented Aug 11, 2024

No description provided.

@ocots ocots linked an issue Aug 11, 2024 that may be closed by this pull request
@ocots ocots marked this pull request as draft August 11, 2024 19:40
@github-actions github-actions bot requested a review from jbcaillau August 11, 2024 19:40
@ocots
Copy link
Member Author

ocots commented Aug 11, 2024

Actually, it does not work properly since we get:

julia> using CTBase

julia> plot(sol)
ERROR: ExtensionError. Please make: julia> using Plots
Stacktrace:
 [1] plot(::OptimalControlSolution; kwargs::@Kwargs{})
   @ CTBase ~/Research/logiciels/dev/control-toolbox/CTBase/src/CTBase.jl:219
 [2] top-level scope
   @ REPL[4]:1

julia> using Plots
[ Info: Precompiling CTBasePlots [0ad68a25-3dcc-5afc-86be-7bb96764f193]
WARNING: using Plots.plot in module Main conflicts with an existing identifier.

julia> plot(sol)
ERROR: ExtensionError. Please make: julia> using Plots
Stacktrace:
 [1] plot(::OptimalControlSolution; kwargs::@Kwargs{})
   @ CTBase ~/Research/logiciels/dev/control-toolbox/CTBase/src/CTBase.jl:219
 [2] top-level scope
   @ REPL[6]:1

@ocots ocots added the help wanted Extra attention is needed label Aug 11, 2024
@jbcaillau jbcaillau changed the title foo extension error (plots) Aug 11, 2024
@ocots ocots closed this Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add extension error if Plots is not loaded
2 participants