GithubHelp home page GithubHelp logo

Comments (2)

bzimmer avatar bzimmer commented on August 18, 2024

Same issue with node.

~/Development/src/github.com/bzimmer/smugmug (34-missing-user) > ma ls node 7CMcv
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x13044ac]

goroutine 1 [running]:
github.com/bzimmer/smugmug.(*NodeService).expand(0xc00019f758, 0xc000456240, 0x1359c00)
        /Users/bzimmer/Development/pkg/mod/github.com/bzimmer/[email protected]/node.go:66 +0x2c
github.com/bzimmer/smugmug.(*NodeService).node(0xc000124140, 0x1)
        /Users/bzimmer/Development/pkg/mod/github.com/bzimmer/[email protected]/node.go:48 +0x7b
github.com/bzimmer/smugmug.(*NodeService).Node(0xc000124140, {0x146df50, 0xc000114000}, {0x7ffeefbff563, 0x10}, {0xc0001241f0, 0x1, 0x1})
        /Users/bzimmer/Development/pkg/mod/github.com/bzimmer/[email protected]/node.go:111 +0x116
github.com/bzimmer/smugmug.(*NodeService).WalkN(0x2, {0x146df50, 0xc000114000}, {0x7ffeefbff563, 0x5}, 0xc000128d80, 0xffffffffffffffff, {0xc0001241f0, 0x1, 0x1})
        /Users/bzimmer/Development/pkg/mod/github.com/bzimmer/[email protected]/node.go:203 +0x1a5
github.com/bzimmer/ma.node(0xc000128d40)
        /Users/bzimmer/Development/src/github.com/bzimmer/ma/ls.go:65 +0x305
github.com/urfave/cli/v2.(*Command).Run(0xc00013ca20, 0xc000128980)
        /Users/bzimmer/Development/pkg/mod/github.com/urfave/cli/[email protected]/command.go:163 +0x64a
github.com/urfave/cli/v2.(*App).RunAsSubcommand(0xc000117380, 0xc000128840)
        /Users/bzimmer/Development/pkg/mod/github.com/urfave/cli/[email protected]/app.go:434 +0x9a6
github.com/urfave/cli/v2.(*Command).startApp(0xc00013c7e0, 0xc000128840)
        /Users/bzimmer/Development/pkg/mod/github.com/urfave/cli/[email protected]/command.go:278 +0x713
github.com/urfave/cli/v2.(*Command).Run(0xc000128840, 0x7ffeefbff55b)
        /Users/bzimmer/Development/pkg/mod/github.com/urfave/cli/[email protected]/command.go:94 +0x7bc
github.com/urfave/cli/v2.(*App).RunContext(0xc000117040, {0x146df50, 0xc000114000}, {0xc000128040, 0x4, 0x4})
        /Users/bzimmer/Development/pkg/mod/github.com/urfave/cli/[email protected]/app.go:313 +0x81e
main.main()
        /Users/bzimmer/Development/src/github.com/bzimmer/ma/cmd/ma/main.go:173 +0xef6

from smugmug.

bzimmer avatar bzimmer commented on August 18, 2024

Tested a patch with ma:

~/Development/src/github.com/bzimmer/ma (main) > ./dist/ma ls node 7CMcv
2021-10-24T15:27:44-07:00 INF ls albumKey=WJvpCp imageCount=19 name="SmugMug's green hair" nodeID=7CMcv type=Album
2021-10-24T15:27:44-07:00 INF counters count=1 metric=ma.ls.node
~/Development/src/github.com/bzimmer/ma (main) > ./dist/ma ls album WJvpCp               
2021-10-24T15:28:01-07:00 INF ls albumKey=WJvpCp imageCount=19 name="SmugMug's green hair" nodeID=7CMcv type=Album
2021-10-24T15:28:01-07:00 INF counters count=1 metric=ma.ls.album

from smugmug.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.