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

generation failed for Pipelines.jl (v0.1.2) #169

Open
vdayanand opened this issue Apr 12, 2021 · 1 comment
Open

generation failed for Pipelines.jl (v0.1.2) #169

vdayanand opened this issue Apr 12, 2021 · 1 comment
Assignees

Comments

@vdayanand
Copy link
Collaborator

  [8f0d3306] DocumentationGenerator v0.3.14
  [682c06a0] JSON v0.21.1
  [8416b438] LogCompose v0.2.0
  [c41e01d8] LogRoller v0.4.2
  [35b68a49] LogRollerCompose v0.2.0 `https://github.com/tanmaykm/LogRollerCompose.jl#v0.2.0`
  [56ddb016] Logging
  [44cfe95a] Pkg

┌ Warning: No GitHub token found. Skipping metadata retrieval.
└ @ DocumentationGenerator ~/.julia/packages/DocumentationGenerator/pn7Ng/src/metadata.jl:41
[ Info: Pipelines specifies docs of type vendored.
 Activating new environment at `/tmp/jl_T8klVB/Project.toml`
   Updating registry at `~/.julia/registries/General`

   Updating git-repo `https://github.com/JuliaRegistries/General.git`


  Resolving package versions...


  Installed Pipelines ─ v0.1.2
Updating `/tmp/jl_T8klVB/Project.toml`
  [ef544631] + Pipelines v0.1.2
Updating `/tmp/jl_T8klVB/Manifest.toml`
  [e6f89c97] + LoggingExtras v0.4.6
  [ef544631] + Pipelines v0.1.2
  [ade2ca70] + Dates
  [56ddb016] + Logging
  [de0858da] + Printf
  [9a3f8284] + Random
  [ea8e919c] + SHA
  [9e88b42a] + Serialization
  [cf7118a7] + UUIDs
  [4ec0a83e] + Unicode
ERROR: LoadError:
MethodError: no method matching shouldlog(::LoggingExtras.TransformerLogger{Logging.ConsoleLogger,Pipelines.var"#1#2"}, ::Base.CoreLogging.LogLevel, ::Module, ::Symbol, ::Symbol)
The applicable method may be too new: running in world age 31435, while current world is 31617.
Closest candidates are:
  shouldlog(::LoggingExtras.TransformerLogger, ::Any...) at /juliateam/.julia/packages/LoggingExtras/ReT7S/src/transformer.jl:32 (method too new to be called from this world context.)
  shouldlog(!Matched::Base.CoreLogging.NullLogger, ::Any...) at logging.jl:93
  shouldlog(!Matched::Base.CoreLogging.SimpleLogger, ::Any, ::Any, ::Any, ::Any) at logging.jl:540
  ...
Stacktrace:
 [1] _invoked_shouldlog at ./logging.jl:78 [inlined]
 [2] macro expansion at ./logging.jl:327 [inlined]
 [3] build_package_docs(::Pkg.Types.PackageSpec, ::String, ::String; src_prefix::String, href_prefix::String) at /juliateam/.julia/packages/DocumentationGenerator/pn7Ng/src/DocumentationGenerator.jl:65
 [4]
(::var"#1#3"{String,String,String,String,String,Pkg.Types.PackageSpec})() at /juliateam/.julia/packages/DocumentationGenerator/pn7Ng/src/workerfile.jl:22
 [5] withenv(::var"#1#3"{String,String,String,String,String,Pkg.Types.PackageSpec}, ::Pair{String,String}, ::Vararg{Pair{String,String},N} where N) at ./env.jl:161
 [6] build(::String, ::String, ::String, ::String, ::String, ::String, ::String, ::String, ::String, ::String) at /juliateam/.julia/packages/DocumentationGenerator/pn7Ng/src/workerfile.jl:9
 [7] top-level scope at /juliateam/.julia/packages/DocumentationGenerator/pn7Ng/src/workerfile.jl:73
 [8] include(::Function, ::Module, ::String) at ./Base.jl:380
 [9] include(::Module, ::String) at ./Base.jl:368
 [10] exec_options(::Base.JLOptions) at ./client.jl:296
 [11] _start() at ./client.jl:506
in expression starting at /juliateam/.julia/packages/DocumentationGenerator/pn7Ng/src/workerfile.jl:70
caused by [exception 2]
MethodError: no method matching shouldlog(::LoggingExtras.TransformerLogger{Logging.ConsoleLogger,Pipelines.var"#1#2"}, ::Base.CoreLogging.LogLevel, ::Module, ::Symbol, ::Symbol)
The applicable method may be too new: running in world age 31435, while current world is 31617.
Closest candidates are:
  shouldlog(::LoggingExtras.TransformerLogger, ::Any...) at /juliateam/.julia/packages/LoggingExtras/ReT7S/src/transformer.jl:32 (method too new to be called from this world context.)
  shouldlog(!Matched::Base.CoreLogging.NullLogger, ::Any...) at logging.jl:93
  shouldlog(!Matched::Base.CoreLogging.SimpleLogger, ::Any, ::Any, ::Any, ::Any) at logging.jl:540
  ...
Stacktrace:
 [1] _invoked_shouldlog at ./logging.jl:78 [inlined]
 [2] macro expansion at ./logging.jl:327 [inlined]
 [3] (::DocumentationGenerator.var"#36#38"{Bool,String,String,Pkg.Types.PackageSpec,String})(::String) at /juliateam/.julia/packages/DocumentationGenerator/pn7Ng/src/builders.jl:128
 [4] mktempdir(::DocumentationGenerator.var"#36#38"{Bool,String,String,Pkg.Types.PackageSpec,String}, ::String; prefix::String) at ./file.jl:682
 [5] mktempdir at ./file.jl:680 [inlined] (repeats 2 times)
 [6] build_local_docs(::Pkg.Types.PackageSpec, ::String, ::Nothing, ::Nothing; gitdirdocs::Bool, src_prefix::String, href_prefix::String) at /juliateam/.julia/packages/DocumentationGenerator/pn7Ng/src/builders.jl:85
 [7] build_package_docs(::Pkg.Types.PackageSpec, ::String, ::String; src_prefix::String, href_prefix::String) at /juliateam/.julia/packages/DocumentationGenerator/pn7Ng/src/DocumentationGenerator.jl:57
 [8] (::var"#1#3"{String,String,String,String,String,Pkg.Types.PackageSpec})() at /juliateam/.julia/packages/DocumentationGenerator/pn7Ng/src/workerfile.jl:22
 [9] withenv(::var"#1#3"{String,String,String,String,String,Pkg.Types.PackageSpec}, ::Pair{String,String}, ::Vararg{Pair{String,String},N} where N) at ./env.jl:161
 [10] build(::String, ::String, ::String, ::String, ::String, ::String, ::String, ::String, ::String, ::String) at /juliateam/.julia/packages/DocumentationGenerator/pn7Ng/src/workerfile.jl:9
 [11] top-level scope at /juliateam/.julia/packages/DocumentationGenerator/pn7Ng/src/workerfile.jl:73
 [12] include(::Function, ::Module, ::String) at ./Base.jl:380
 [13] include(::Module, ::String) at ./Base.jl:368
 [14] exec_options(::Base.JLOptions) at ./client.jl:296
 [15] _start() at ./client.jl:506
caused by [exception 1]
MethodError: no method matching shouldlog(::LoggingExtras.TransformerLogger{Logging.ConsoleLogger,Pipelines.var"#1#2"}, ::Base.CoreLogging.LogLevel, ::Module, ::Symbol, ::Symbol)
The applicable method may be too new: running in world age 31435, while current world is 31617.
Closest candidates are:
  shouldlog(::LoggingExtras.TransformerLogger, ::Any...) at /juliateam/.julia/packages/LoggingExtras/ReT7S/src/transformer.jl:32 (method too new to be called from this world context.)
  shouldlog(!Matched::Base.CoreLogging.NullLogger, ::Any...) at logging.jl:93
  shouldlog(!Matched::Base.CoreLogging.SimpleLogger, ::Any, ::Any, ::Any, ::Any) at logging.jl:540
  ...
Stacktrace:
 [1] _invoked_shouldlog at ./logging.jl:78 [inlined]
 [2] macro expansion at ./logging.jl:327 [inlined]
 [3] (::DocumentationGenerator.var"#36#38"{Bool,String,String,Pkg.Types.PackageSpec,String})(::String) at /juliateam/.julia/packages/DocumentationGenerator/pn7Ng/src/builders.jl:108
 [4] mktempdir(::DocumentationGenerator.var"#36#38"{Bool,String,String,Pkg.Types.PackageSpec,String}, ::String; prefix::String) at ./file.jl:682
 [5] mktempdir at ./file.jl:680 [inlined] (repeats 2 times)
 [6] build_local_docs(::Pkg.Types.PackageSpec, ::String, ::Nothing, ::Nothing; gitdirdocs::Bool, src_prefix::String, href_prefix::String) at /juliateam/.julia/packages/DocumentationGenerator/pn7Ng/src/builders.jl:85
 [7] build_package_docs(::Pkg.Types.PackageSpec, ::String, ::String; src_prefix::String, href_prefix::String) at /juliateam/.julia/packages/DocumentationGenerator/pn7Ng/src/DocumentationGenerator.jl:57
 [8] (::var"#1#3"{String,String,String,String,String,Pkg.Types.PackageSpec})() at /juliateam/.julia/packages/DocumentationGenerator/pn7Ng/src/workerfile.jl:22
 [9] withenv(::var"#1#3"{String,String,String,String,String,Pkg.Types.PackageSpec}, ::Pair{String,String}, ::Vararg{Pair{String,String},N} where N) at ./env.jl:161
 [10] build(::String, ::String, ::String, ::String, ::String, ::String, ::String, ::String, ::String, ::String) at /juliateam/.julia/packages/DocumentationGenerator/pn7Ng/src/workerfile.jl:9
 [11] top-level scope at /juliateam/.julia/packages/DocumentationGenerator/pn7Ng/src/workerfile.jl:73
 [12] include(::Function, ::Module, ::String) at ./Base.jl:380
 [13] include(::Module, ::String) at ./Base.jl:368
 [14] exec_options(::Base.JLOptions) at ./client.jl:296
 [15] _start() at ./client.jl:506

@cihga39871
Copy link

I removed the dependency (LoggingExtras) in Pipelines v0.2.0 and registered the new version. DocumentationGenerator works fine with the new version.

However, it may not mean the issue is fixed. Thanks for posting and your help.

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

3 participants