Skip to content

Bug on 1.11.0? #3

Description

@PallHaraldsson
shell> julia --project=.
julia> @time using Stipple
  1.721656 seconds (958.61 k allocations: 70.250 MiB, 9.36% gc time, 13.36% compilation time)

While on 1.11:

Precompiling StippleMarkdown...
  62 dependencies successfully precompiled in 123 seconds. 38 already precompiled.
  1 dependency had output during precompilation:
┌ Stipple
│  ┌ Info: 
│  └ Web Server starting at http://127.0.0.1:8883 
│  [ Info: Listening on: 127.0.0.1:8883, thread id: 1
│  [ Info: GET / 200
│  [ Info: Server on 127.0.0.1:8883 closing
└  
ERROR: InitError: MethodError: no method matching dirname(::Nothing)
The function `dirname` exists, but no method is defined for this combination of argument types.

Closest candidates are:
  dirname(::FilePathsBase.AbstractPath)
   @ FilePathsBase ~/.julia/packages/FilePathsBase/Laclt/src/aliases.jl:12
  dirname(::AbstractString)
   @ Base path.jl:183

Stacktrace:
  [1] __init__()
    @ StippleMarkdown ~/.julia/packages/StippleMarkdown/yPAaL/src/StippleMarkdown.jl:34
..

That seems like an actual bug in your package.

For 1.11 possibly self-inflicted, though I'm not sure how, or how to fix... I tend to CTRL-C when precompiling, usually without any bad effect, and in 1.10 I didn't manage to start with my dirty environment, then trying to fix got the strange error...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions