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

copy out of range #226

Open
robmcmullen opened this issue Jul 4, 2017 · 0 comments
Open

copy out of range #226

robmcmullen opened this issue Jul 4, 2017 · 0 comments

Comments

@robmcmullen
Copy link
Owner

Select range including last byte of image:

Traceback (most recent call last):
  File "/noaa/maproom-deps/omnivore/omnivore8bit/ui/bytegrid.py", line 718, in on_right_down
    self.editor.popup_context_menu_from_actions(self, actions, popup_data)
  File "/noaa/maproom-deps/omnivore/omnivore/framework/editor.py", line 809, in popup_context_menu_from_actions
    action.perform(action_event)
  File "/noaa/maproom-deps/omnivore/omnivore/framework/actions.py", line 365, in perform
    self.active_editor.copy()
  File "/noaa/maproom-deps/omnivore/omnivore/framework/editor.py", line 320, in copy
    data_obj = self.create_clipboard_data_object()
  File "/noaa/maproom-deps/omnivore/omnivore8bit/hex_edit/hex_editor.py", line 264, in create_clipboard_data_object
    metadata = self.get_selected_index_metadata(indexes)
  File "/noaa/maproom-deps/omnivore/omnivore8bit/hex_edit/hex_editor.py", line 320, in get_selected_index_metadata
    style = self.segment.get_style_at_indexes(indexes)
  File "/noaa/maproom-deps/omnivore/atrcopy/segments.py", line 861, in get_style_at_indexes
    return self.style[indexes]
IndexError: index 772 is out of bounds for axis 0 with size 772
@robmcmullen robmcmullen added this to the 1.0 milestone Jul 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant