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

Nil is returned instead of categories and forums #13

Open
borisboho opened this issue Jun 7, 2023 · 0 comments
Open

Nil is returned instead of categories and forums #13

borisboho opened this issue Jun 7, 2023 · 0 comments

Comments

@borisboho
Copy link

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

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

1 participant