-
-
Notifications
You must be signed in to change notification settings - Fork 210
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
function parse_variable_arg: LoadError MethodError, No or invalid units provided #3247
Labels
bug
Something isn't working
Comments
wang890
changed the title
Error at function parse_variable_arg: LoadError MethodError, No or invalid units provided
function parse_variable_arg: LoadError MethodError, No or invalid units provided
Nov 30, 2024
@AayushSabharwal Happy new year! with the latest version, the bug still exists. when F5 Start Debugging, the following error happened at the file
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug 🐞
I did a lot of testing and trying under the ENV of
Julia v1.10
and the latestv1.11.1
,vscode 1.94.2
and the latest
1.95.3
,vscode julia extension v1.124.2
and the latest1.127.2
:Only the following package combination (old version) can run my code, and DynamicQuantities v0.13.2 can work. If upgrade any of these packages, an error will occur. I guess this may not be a bug of vscode.
when I used the following package combination (compat version) of ModelingToolkit
project.toml [compat]
, the same error occurredwhen I used all the latest version as follows, the same error occurred
The error is following when Run Without Debugging. the paragraph of
MethodError(DynamicQuantities.uconvert ......
before "ERROR: LoadError..." was the output when I added a line ofprintln(e)
atfunction parse_variable_arg
inmodel_parsing.jl
:error("No or invalid units provided for \'" * string(:($$vv))
is at the following function inmodel_parsing.jl
The Resistor code in my code is as following. My temporary Unit solution like
unit = u("Resistance")
had been described at the issue . After I learned Julia macro and mtk, I would also like to contribute some code.The error becomes as following when Start Debugging.
The text was updated successfully, but these errors were encountered: