Skip to content

Nil is returned instead of categories and forums #13

@borisboho

Description

@borisboho

Windows 10, Ruby 3.2.0

No file .zenpush.yml:

c:\develop\md\zenpush>zp categories
C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/zenpush-0.3.1/lib/zenpush/zendesk.rb:32:in `block in initialize': uri is nil (RuntimeError)
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/zenpush-0.3.1/lib/zenpush/zendesk.rb:32:in `each_pair'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/zenpush-0.3.1/lib/zenpush/zendesk.rb:32:in `initialize'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/zenpush-0.3.1/lib/zenpush.rb:11:in `new'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/zenpush-0.3.1/lib/zenpush.rb:11:in `z'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/zenpush-0.3.1/lib/zenpush/runner.rb:10:in `categories'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/boson-1.3.0/lib/boson/runner_library.rb:12:in `block (3 levels) in delegate_runner_methods'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/boson-1.3.0/lib/boson/scientist.rb:87:in `call'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/boson-1.3.0/lib/boson/scientist.rb:87:in `block (2 levels) in redefine_command_block'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/boson-1.3.0/lib/boson/scientist.rb:123:in `call_original_command'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/boson-1.3.0/lib/boson/scientist.rb:115:in `during_analyze'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/boson-1.3.0/lib/boson/scientist.rb:107:in `analyze'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/boson-1.3.0/lib/boson/scientist.rb:86:in `block in redefine_command_block'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/boson-1.3.0/lib/boson.rb:79:in `full_invoke'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/boson-1.3.0/lib/boson/bare_runner.rb:42:in `execute_command'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/boson-1.3.0/lib/boson/runner.rb:35:in `execute_command'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/boson-1.3.0/lib/boson/runner.rb:31:in `execute'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/boson-1.3.0/lib/boson/runner.rb:26:in `start'
        from C:/Ruby32-x64/lib/ruby/gems/3.2.0/gems/zenpush-0.3.1/bin/zp:4:in `<top (required)>'
        from C:/Ruby32-x64/bin/zp:32:in `load'
        from C:/Ruby32-x64/bin/zp:32:in `<main>'```

Created `.zenpush.yml` in `c:\Users\boris`:

c:\develop\md\zenpush>zp forums
nil

c:\develop\md\zenpush>zp categories
nil

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions