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

no matching method found convert(::Type{Ptr{EzXML._Node}}, ::EzXML.Node) (1/2 union split): #275

Open
lgeissbauer-btig opened this issue Jan 9, 2023 · 0 comments

Comments

@lgeissbauer-btig
Copy link

lgeissbauer-btig commented Jan 9, 2023

julia> using JET

julia> using AWS

julia> using AWSS3

julia> JET.@report_call AWSS3.s3_put(AWS.global_aws_config(creds = AWS.AWSCredentials("","")), "bucket", "key", "value")
═════ 1 possible error found ═════
┌ @ C:\.julia\packages\AWSS3\GTR8D\src\AWSS3.jl:760 #self#(aws, bucket, path, data, "", "")
│┌ @ C:\.julia\packages\AWSS3\GTR8D\src\AWSS3.jl:760 AWSS3.:(var"#s3_put#51")("", AWSS3.SSDict(), AWSS3.SSDict(), pairs(NamedTuple()), #self#, aws, bucket, path, data, data_type, encoding)
││┌ @ C:\.julia\packages\AWSS3\GTR8D\src\AWSS3.jl:811 Core.kwcall(merge(NamedTuple{(:aws_config,)}(tuple(aws)), kwargs), AWSS3.S3.put_object, bucket, path, args)
│││┌ @ C:\.julia\packages\AWS\X9nAX\src\services\s3.jl:5599 AWSS3.S3.:(var"#put_object#172")(_8, _3, Bucket, Key, params)
││││┌ @ C:\.julia\packages\AWS\X9nAX\src\services\s3.jl:5605 Core.kwcall(NamedTuple{(:aws_config, :feature_set)}(tuple(aws_config, AWSS3.S3.SERVICE_FEATURE_SET)), AWSS3.S3.s3, "PUT", string("/", Bucket, "/", Key), params)
│││││┌ @ C:\.julia\packages\AWS\X9nAX\src\AWS.jl:249 AWS.:(var"#_#76")(_9, _9, service, request_method, request_uri, args)
││││││┌ @ C:\.julia\packages\AWS\X9nAX\src\AWS.jl:285 Core.kwcall(NamedTuple{(:return_headers,)}(tuple(return_headers)), AWS.submit_request, 
aws_config, request)
│││││││┌ @ C:\.julia\packages\AWS\X9nAX\src\utilities\request.jl:102 AWS.:(var"#submit_request#32")(_7, _3, aws, request)
││││││││┌ @ C:\.julia\packages\AWS\X9nAX\src\utilities\request.jl:200 Core.kwcall(NamedTuple{(:return_headers,)}(tuple(return_headers)), AWS.legacy_response, request, getfield(aws_response, :contents))
│││││││││┌ @ C:\.julia\packages\AWS\X9nAX\src\deprecated.jl:2 AWS.:(var"#legacy_response#70")(_7, _3, request, response)
││││││││││┌ @ C:\.julia\packages\AWS\X9nAX\src\deprecated.jl:135 xml = AWS.parse_xml(body_str)
│││││││││││┌ @ C:\.julia\packages\XMLDict\vlQGP\src\XMLDict.jl:60 doc = XMLDict.parsexml(xml)
││││││││││││┌ @ C:\.julia\packages\EzXML\ZNwhK\src\document.jl:85 EzXML.Document(doc_ptr)
│││││││││││││┌ @ C:\.julia\packages\EzXML\ZNwhK\src\node.jl:426 EzXML.convert(EzXML.fieldtype(EzXML.Node, name), x)
││││││││││││││ no matching method found `convert(::Type{Ptr{EzXML._Node}}, ::EzXML.Node)` (1/2 union split): EzXML.convert(EzXML.fieldtype(EzXML.Node, name::Symbol)::Union{Type{Ptr{EzXML._Node}}, Type{EzXML.Node}}, x::EzXML.Node)
│││││││││││││└──────────────────────────────────────────────────

and

julia> JET.@report_call AWSS3.s3_get(AWS.global_aws_config(creds = AWS.AWSCredentials("","")), "bucket", "key")
═════ 4 possible errors found ═════
┌ @ C:\.julia\packages\AWSS3\GTR8D\src\AWSS3.jl:121 AWSS3.:(var"#s3_get#4")(AWSS3.nothing, true, false, AWSS3.nothing, Dict{String, Any}(), false, pairs(NamedTuple()), #self#, aws, bucket, path)
│┌ @ C:\.julia\packages\AWSS3\GTR8D\src\AWSS3.jl:151 r = Core.kwcall(merge(NamedTuple{(:aws_config,)}(tuple(aws)), kwargs), AWSS3.S3.get_object, bucket, path, params)
││┌ @ C:\.julia\packages\AWS\X9nAX\src\services\s3.jl:2663 AWSS3.S3.:(var"#get_object#90")(_8, _3, Bucket, Key, params)
│││┌ @ C:\.julia\packages\AWS\X9nAX\src\services\s3.jl:2669 Core.kwcall(NamedTuple{(:aws_config, :feature_set)}(tuple(aws_config, AWSS3.S3.SERVICE_FEATURE_SET)), AWSS3.S3.s3, "GET", string("/", Bucket, "/", Key), params)
││││┌ @ C:\.julia\packages\AWS\X9nAX\src\AWS.jl:249 AWS.:(var"#_#76")(_9, _9, service, request_method, request_uri, args)
│││││┌ @ C:\.julia\packages\AWS\X9nAX\src\AWS.jl:285 Core.kwcall(NamedTuple{(:return_headers,)}(tuple(return_headers)), AWS.submit_request, aws_config, request)
││││││┌ @ C:\.julia\packages\AWS\X9nAX\src\utilities\request.jl:102 AWS.:(var"#submit_request#32")(_7, _3, aws, request)
│││││││┌ @ C:\.julia\packages\AWS\X9nAX\src\utilities\request.jl:200 Core.kwcall(NamedTuple{(:return_headers,)}(tuple(return_headers)), AWS.legacy_response, request, getfield(aws_response, :contents))
││││││││┌ @ C:\.julia\packages\AWS\X9nAX\src\deprecated.jl:2 AWS.:(var"#legacy_response#70")(_7, _3, request, response)
│││││││││┌ @ C:\.julia\packages\AWS\X9nAX\src\deprecated.jl:135 xml = AWS.parse_xml(body_str)
││││││││││┌ @ C:\.julia\packages\XMLDict\vlQGP\src\XMLDict.jl:60 doc = XMLDict.parsexml(xml)
│││││││││││┌ @ C:\.julia\packages\EzXML\ZNwhK\src\document.jl:85 EzXML.Document(doc_ptr)
││││││││││││┌ @ C:\.julia\packages\EzXML\ZNwhK\src\node.jl:426 EzXML.convert(EzXML.fieldtype(EzXML.Node, name), x)
│││││││││││││ no matching method found `convert(::Type{Ptr{EzXML._Node}}, ::EzXML.Node)` (1/2 union split): EzXML.convert(EzXML.fieldtype(EzXML.Node, name::Symbol)::Union{Type{Ptr{EzXML._Node}}, Type{EzXML.Node}}, x::EzXML.Node)
││││││││││││└──────────────────────────────────────────────────

aviatesk/JET.jl#451

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

1 participant