Skip to content

Align columns fails with this exact string #15

Description

@AlexLamson

String to reproduce error:

ReportId, ActivityId, Name, GroupId, CommonGroupId, GroupListId, CommonGroupListId, IsActive, IsBillable, StartLocalTime, StartUtcTime, EndLocalTime, EndUtcTime, Notes, RelatedActivityId, SourceId, CurrentChangeSequence, CurrentChangeRandomValue, Other
(3, 611, 'ReportId, ActivityId, Name, GroupId, CommonGroupId • (Quantified Self, manictime sample) - Sublime Text (UNREGISTERED)', 62, 12, None, None, 1, None, '2018-06-27 13:39:31', '2018-06-27 17:39:31', '2018-06-27 13:39:36', '2018-06-27 17:39:36', None, None, None, 1500, 1218390469, '{}')

Stack trace:

  File "C:\Program Files\Sublime Text 3\sublime_plugin.py", line 1072, in run_
    return self.run(edit)
  File "C:\Users\Alex\AppData\Roaming\Sublime Text 3\Packages\User\DataWrangler.py", line 205, in run
    column_widths = detect_col_widths(self, sep, num_columns)
  File "C:\Users\Alex\AppData\Roaming\Sublime Text 3\Packages\User\DataWrangler.py", line 59, in detect_col_widths
    column_widths[i] = max(len(cell_string), column_widths[i])
IndexError: list index out of range

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions