-
Notifications
You must be signed in to change notification settings - Fork 51
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
MethodError: no method matching isdone #66
Comments
I still get the MethodError of isdone as intially commented using 0.7.0 version of this package and julia 1.1.0, what could be the reason? |
Could you give a stack trace for the error? |
|
Ah, DataStreams requires your data to be either a Vector of NamedTuples or a NamedTuple of Vectors. The easiest thing in your case is to just do:
|
Thanks. It works! |
Great! |
When there is only one datat of NamedTuple it works. If there is an array of NamedTuples it would through me an error like:
when I run
When I declare data_list as |
The eltype of the Vector needs to be a specific NamedTuple type, e.g. you'll need Vector{NamedTuple{(:time, :symbol, :macd, :diff, :dea),Tuple{Int64,String,Float64,Float64,Float64}}}(undef, 0) |
Thanks! |
I get errors like this when trying to insert values.
And in the example doc page at https://github.com/invenia/LibPQ.jl/blob/master/docs/src/index.md ,
using NamedTuples
would result error because it has been in Base. Maybe it could be clearer if you update the doc and provide an example of data to insert at the Insertion section.The text was updated successfully, but these errors were encountered: