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

ERROR: LoadError: LoadError: UndefVarError: tostr_sizehint not defined #230

Closed
goedman opened this issue Dec 2, 2019 · 12 comments · Fixed by #231
Closed

ERROR: LoadError: LoadError: UndefVarError: tostr_sizehint not defined #230

goedman opened this issue Dec 2, 2019 · 12 comments · Fixed by #231

Comments

@goedman
Copy link

goedman commented Dec 2, 2019

Above error (last line in src/depreciations.jl) fails DataFrames on Julia 1.4-DEV. After some testing on Julia 1.3 I don't think Julia 1.3 needs it. I don't have Julia 1.0 to 1.2 installed, but wonder if it is still needed.

@chriscoey
Copy link

This is causing me headaches too, thanks for reporting

@goedman
Copy link
Author

goedman commented Dec 4, 2019

Thank you! I'll close this issue after the fix is merged.

@gaelforget
Copy link

Seem to have the same issue (maybe related: JuliaLang/julia#33953 and #229)

@nalimilan
Copy link
Member

Funny, I didn't expect so many people to use Julia 1.4. :-)

@gaelforget
Copy link

Funny, I didn't expect so many people to use Julia 1.4. :-)

I only use it for CI and noticed the issue because https://travis-ci.org/gaelforget/IndividualDisplacements.jl failed with nightly

Thanks for the fix (will rerun my pkg CI once 0.7.4 is registered)

@UpAndComing915
Copy link

UpAndComing915 commented Sep 12, 2020

Guys, I'm fairly new to Julia, what exactly is the fix? Is there something I can copy & paste? And would I run it in Terminal?
I'm not sure what happened. Julia was working just fine, but all of a sudden I can't run "using CSV" without this "tostr_sizehint not defined" error.

@bkamins
Copy link
Member

bkamins commented Sep 12, 2020

What is the version of Julia, CSV, DataFrames, and CategoricalArays you are using?
(use versioninfo() and using Pkg; Pkg.status() to get this information)

Thank you!

@UpAndComing915
Copy link

UpAndComing915 commented Sep 12, 2020

Thank you for your help!
Screen Shot 2020-09-12 at 12 55 19 PM

I've tried removing and re-adding the CSV.jl package, updating the package, uninstalling and reinstalling Julia, not sure what else to try.

@bkamins
Copy link
Member

bkamins commented Sep 12, 2020

You have CSV version 0.3.1 installed - it is grossly outdated and unsupported. The current version is 0.7.7.
Similarly DataFrames.jl - you have version 0.13.1 and has not been supported for several years now. The current version is 0.21.7. Similarly with ECharts.jl.

Install current version of DataFrames.jl by writing add [email protected] and tell me what error you get.

@UpAndComing915
Copy link

UpAndComing915 commented Sep 12, 2020

Screen Shot 2020-09-12 at 5 40 31 PM

> (Jupyter NoteBook Output)

@UpAndComing915
Copy link

All right, I got it.
After trying
Pkg.add(Pkg.PackageSpec(name="DataFrames", version="0.21.0"))
there appeared to be an issue with ECharts, obviously being outdated, so I used

Pkg.add(Pkg.PackageSpec(name="ECharts", version="0.4.0"))
Pkg.add(Pkg.PackageSpec(name="DataFrames", version="0.21.0")),

but I STILL got some error with ECharts, so I had to remove it first:
Pkg.rm("ECharts"); recursive=true
And finally, DataFrames updated, and now so are the rest of my packages :)
Thank you very much!

@bkamins
Copy link
Member

bkamins commented Sep 13, 2020

If you like ECharts.jl you need to do add ECharts#master or ask its maintainer to make a release (the package has not seen a release for almost a year now).

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

Successfully merging a pull request may close this issue.

6 participants