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

Warning: New definition show #2130

Closed
milktrader opened this issue Jan 25, 2013 · 11 comments
Closed

Warning: New definition show #2130

milktrader opened this issue Jan 25, 2013 · 11 comments

Comments

@milktrader
Copy link
Contributor

Getting this warning when loading different packages

julia> using Gadfly
Warning: New definition show(Any,Options{T<:OptionsChecking}) is ambiguous with show(IO,ANY) at show.jl:6.
         Make sure show(IO,Options{T<:OptionsChecking}) is defined first.

Just did a git pull on Julia with a $clean && make

@johnmyleswhite
Copy link
Member

You probably need to update Gadfly.

@milktrader
Copy link
Contributor Author

[Gadfly ((5b8cf3a...))] 
✈  git pull origin master
From git://github.com/dcjones/Gadfly.jl
 * branch            master     -> FETCH_HEAD
Already up-to-date.

@johnmyleswhite
Copy link
Member

What about Compose?

@milktrader
Copy link
Contributor Author

[Compose ((cf9caf0...))] 
✈  git pull origin master
From git://github.com/dcjones/Compose.jl
 * branch            master     -> FETCH_HEAD
Already up-to-date.

DataFrames is also up-to-date.

@milktrader
Copy link
Contributor Author

I'll do a $ make cleanall && make ...

... same results

@dcjones
Copy link
Contributor

dcjones commented Jan 25, 2013

I just bumped both Compose and Gadfly, you might try updating now.

@milktrader
Copy link
Contributor Author

Getting a fresh set of bad messages now ..

julia> using Gadfly

(process:23353): Pango-CRITICAL **: PangoContext *pango_font_map_create_context(PangoFontMap *): assertion `fontmap != NULL' failed
Warning: New definition show(Any,Options{T<:OptionsChecking}) is ambiguous with show(IO,ANY) at show.jl:6.
         Make sure show(IO,Options{T<:OptionsChecking}) is defined first.

Assuming nobody else is getting this so I'm going to do a complete fresh re-install.

Also, as I mentioned, this warning is happening with other packages including Thyme which leads me to believe my Julia (freshly installed two weeks ago) needs a fresh install.

@dcjones
Copy link
Contributor

dcjones commented Jan 26, 2013

Possibly I made things worse. What os are you running? I'll try to reproduce.

@milktrader
Copy link
Contributor Author

Running Mountain Lion (OSX 10.8.2). Also, just made sure packages in the REQUIRE file are up-to-date and last night did a complete fresh install of Julia. Just now, did another git pull make clean && make with Julia. Now the messages are multiplying ...

julia> using Gadfly

(process:77727): Pango-CRITICAL **: PangoContext *pango_font_map_create_context(PangoFontMap *): assertion `fontmap != NULL' failed
Warning: New definition show(Any,Options{T<:OptionsChecking}) is ambiguous with show(IO,ANY) at show.jl:6.
         Make sure show(IO,Options{T<:OptionsChecking}) is defined first.
Warning: Possible conflict in library symbol zlibVersion
Warning: Possible conflict in library symbol zlibCompileFlags

When I run my own package Thyme I get the following:

julia> using Thyme
Warning: New definition show(Any,Options{T<:OptionsChecking}) is ambiguous with show(IO,ANY) at show.jl:6.
         Make sure show(IO,Options{T<:OptionsChecking}) is defined first.
Warning: Possible conflict in library symbol zlibVersion
Warning: Possible conflict in library symbol zlibCompileFlags

Both packages use DataFrames and the same messages I get with Thyme come up. I'll open an issue on DataFrames. The Pango-CRITICAL message is unique to Gadfly of course.

@milktrader
Copy link
Contributor Author

Okay, I found the issue on my side. I hadn't updated Options and that's where the original warning was coming from. I need to sort out how to update packages since it doesn't work for me to do Pkg.update() when I'm working on different branches of various packages but that's another issue of course. We still get the library symbol warnings but I'm pretty sure that has to do with a push @dmbates made yesterday so I'll open an issue on DataFrames for that.

@johnmyleswhite
Copy link
Member

The library warnings don't actually belong in DataFrames, they're caused by the gzip functionality that @dmbates brought in. I get those warnings every time I run testall in Base Julia.

fredrikekre added a commit that referenced this issue Oct 19, 2020
$ git log --pretty=oneline --abbrev=commit 0314b79..fb9c7eb
fb9c7eb1db30d90f5bfade4dcea2e7c7b1e1c8e7 Reset JULIA_PROJECT environment variable during testing. (#2140)
a9a152d08aa4b874613e59376cfbc6bc61cbd4c7 Precompile: Fix and test per-project precomp suspension state retention (#2129)
e0539a9d0de08cf3e3da1e8bcb2e9f44435c5381 Delete the `bors.toml` file (#2139)
9d1b2188c11234b57790185b1d17b5b89f94b4d6 Docs: moved Julia 1.4 compat below the section (#1867)
6d2dc3fcefe160cf829fbf5664878733be64816a Print a warning when using the REPL interface in non-interactive mode. (#2076)
ac55c0ef35ac80aaef9998376887da1c1c95ee8d Add an example for the SSH-based git protocol. (#2068)
41a3b1204ee9836faf5cce5c255d311974681df6 add a progress bar to precompile process (#2128)
8da19e0f3db3f09239bcb07d9a5dc8339915d61c fixup to progress printing when downloading (#2136)
87873f8037fcd47712578dc0f39eeba9418f9376 send Pkg server value itself as a header to the Pkg server (#2134)
1698ee9377736f10081b63e4ea0997d7dee80640 sort jlls together in status printing (#1987)
88afa647445c65bf50d987f81cfbf85a380618c1 remove using latest registry version when no version in Project (#2133)
5100e0b687236bb24976b3a0dd7e7f8cd4d331bf removed unused argument (#2132)
1e480a5a3185d83abd9dbf3d343452506dd9490b show a progress bar for downloads and build (#2130)
KristofferC pushed a commit that referenced this issue Oct 20, 2020
$ git log --pretty=oneline --abbrev=commit 0314b79..fb9c7eb
fb9c7eb1db30d90f5bfade4dcea2e7c7b1e1c8e7 Reset JULIA_PROJECT environment variable during testing. (#2140)
a9a152d08aa4b874613e59376cfbc6bc61cbd4c7 Precompile: Fix and test per-project precomp suspension state retention (#2129)
e0539a9d0de08cf3e3da1e8bcb2e9f44435c5381 Delete the `bors.toml` file (#2139)
9d1b2188c11234b57790185b1d17b5b89f94b4d6 Docs: moved Julia 1.4 compat below the section (#1867)
6d2dc3fcefe160cf829fbf5664878733be64816a Print a warning when using the REPL interface in non-interactive mode. (#2076)
ac55c0ef35ac80aaef9998376887da1c1c95ee8d Add an example for the SSH-based git protocol. (#2068)
41a3b1204ee9836faf5cce5c255d311974681df6 add a progress bar to precompile process (#2128)
8da19e0f3db3f09239bcb07d9a5dc8339915d61c fixup to progress printing when downloading (#2136)
87873f8037fcd47712578dc0f39eeba9418f9376 send Pkg server value itself as a header to the Pkg server (#2134)
1698ee9377736f10081b63e4ea0997d7dee80640 sort jlls together in status printing (#1987)
88afa647445c65bf50d987f81cfbf85a380618c1 remove using latest registry version when no version in Project (#2133)
5100e0b687236bb24976b3a0dd7e7f8cd4d331bf removed unused argument (#2132)
1e480a5a3185d83abd9dbf3d343452506dd9490b show a progress bar for downloads and build (#2130)
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

4 participants