question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Prev/Next Channel gives traceback when encountering workspace

See original GitHub issue

Workflow to reproduce this (either in Ginga 2.6.5 or dev):

  1. Start Ginga.
  2. Create a workspace.
  3. Press left or right arrow to cycle between channels. The workspace would still be in focus but I see the following traceback on the terminal.
Error making callback 'activated': 'ws1'
Traceback:
  File ".../ginga/misc/Callback.py", line 123, in make_callback
    res = method(*cb_args, **cb_kwdargs)

  File ".../ginga/rv/plugins/Toolbar.py", line 79, in <lambda>
    lambda w: self.fv.next_channel()),

  File ".../ginga/rv/Control.py", line 793, in next_channel
    self.next_channel_ws(ws)

  File ".../ginga/rv/Control.py", line 785, in next_channel_ws
    self.change_channel(chname, raisew=True)

  File ".../ginga/rv/Control.py", line 958, in change_channel
    channel = self.get_channel(name)

  File ".../ginga/rv/Control.py", line 1003, in get_channel
    return self.channel[name]

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:10 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
ejeschkecommented, Jan 31, 2018

I’ll look at adding something to disable the buttons if there are no images to cycle.

Sorry, please wait a little until I add a couple more commits!

1reaction
ejeschkecommented, Nov 21, 2017

Then I believe it the arrows in each workspace toolbar will not surprise anyone with their actions.

Have to qualify this somewhat: when a workspace is added as a subworkspace, and the upper workspace is shown in “grid” mode, there appears to be a bug in how that is displayed. I’ll raise this as a separate issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Performing a Combination — pyhf Tutorial
To do so, we'll use a simple workspace to demonstrate functionality of combinations. import json import pyhf. with open("data/2-bin_1-channel.json") as ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found